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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a49f4b8805ad0baa2d6f7d75add7dadb278c14ae
4
- data.tar.gz: 7c1724b0f9120639edb78c248f963b9832380356
3
+ metadata.gz: 4c9443f1342e6cef04998b05550359bda1c1865f
4
+ data.tar.gz: b8d384ffc6569933a2e281c0b52fd8bc29b06aae
5
5
  SHA512:
6
- metadata.gz: df5faf8df6d2de212401fcfc05391355c14718992b87f4b72cb432336ef04a6044626d21e7b7b6b15845df85fddce5f514f451983c89a48481a76a8ffeb5ee4c
7
- data.tar.gz: c01b21bcb54dc8a9c80ddca82c8ee11e526887ca4aa9c303955b36975c757f5e099f199d2a84215e17722244eeba3ea551da06cc71e85b28b2253cbd009e96db
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)
@@ -7,8 +7,8 @@ module CapistranoMulticonfigParallel
7
7
  # module used for generating the version
8
8
  module VERSION
9
9
  MAJOR = 0
10
- MINOR = 25
11
- TINY = 1
10
+ MINOR = 26
11
+ TINY = 0
12
12
  PRE = nil
13
13
 
14
14
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
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.25.1
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-28 00:00:00.000000000 Z
11
+ date: 2015-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid-pmap