capistrano_multiconfig_parallel 0.25.1 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano_multiconfig_parallel/celluloid/celluloid_manager.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/configuration/default.yml +7 -0
- data/lib/capistrano_multiconfig_parallel/helpers/configuration.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/helpers/core_helper.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c9443f1342e6cef04998b05550359bda1c1865f
|
4
|
+
data.tar.gz: b8d384ffc6569933a2e281c0b52fd8bc29b06aae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10bb19ccb40fd6601ec3dddddc7493fae7e592f4cfa93cbabf13ab4c003da1d285e1e5cf468c89c99c55eba793d51953eed11168e375431481df238ee67e894c
|
7
|
+
data.tar.gz: dc3877c7d91879f0931c91f3d57f3b1ff59f1e5c1743dd5c58234d65f5424a4820e5b6d8b17ff7d4321928448cd83d85f32611463f7d5902225f6d4d48df022d
|
@@ -26,7 +26,7 @@ module CapistranoMulticonfigParallel
|
|
26
26
|
@workers = @worker_supervisor.pool(CapistranoMulticonfigParallel::CelluloidWorker, as: :workers, size: 10)
|
27
27
|
Actor.current.link @workers
|
28
28
|
@worker_supervisor.supervise_as(:terminal_server, CapistranoMulticonfigParallel::TerminalTable, Actor.current, @job_manager)
|
29
|
-
@worker_supervisor.supervise_as(:web_server, CapistranoMulticonfigParallel::WebServer, websocket_config)
|
29
|
+
@worker_supervisor.supervise_as(:web_server, CapistranoMulticonfigParallel::WebServer, [websocket_config])
|
30
30
|
|
31
31
|
# Get a handle on the PoolManager
|
32
32
|
# http://rubydoc.info/gems/celluloid/Celluloid/PoolManager
|
@@ -20,6 +20,13 @@ default_config:
|
|
20
20
|
default: 'false'
|
21
21
|
required: false
|
22
22
|
|
23
|
+
- name: 'websocket_server.use_redis'
|
24
|
+
type: 'boolean'
|
25
|
+
description: >-
|
26
|
+
Enables use of redis reactor for publish subscribe communication
|
27
|
+
default: 'false'
|
28
|
+
required: false
|
29
|
+
|
23
30
|
- name: 'development_stages'
|
24
31
|
type: 'Array'
|
25
32
|
description: >-
|
@@ -87,7 +87,7 @@ module CapistranoMulticonfigParallel
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def check_configuration
|
90
|
-
check_boolean_props(%w(multi_debug multi_secvential websocket_server.enable_debug))
|
90
|
+
check_boolean_props(%w(multi_debug multi_secvential websocket_server.enable_debug websocket_server.use_redis))
|
91
91
|
check_array_props(%w(task_confirmations development_stages apply_stage_confirmation))
|
92
92
|
verify_application_dependencies(@check_config['application_dependencies'], %w(app priority dependencies))
|
93
93
|
end
|
@@ -97,7 +97,7 @@ module CapistranoMulticonfigParallel
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def websocket_config
|
100
|
-
websocket_server_config.merge('enable_debug' => debug_websocket
|
100
|
+
websocket_server_config.merge('enable_debug' => debug_websocket?, 'use_redis' => false)
|
101
101
|
end
|
102
102
|
|
103
103
|
def execute_with_rescue(output = nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano_multiconfig_parallel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bogdanRada
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid-pmap
|