capistrano_multiconfig_parallel 0.13.1 → 0.13.2

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: c0d7fbfdddb1813c37500eed17d8d200fa162d35
4
- data.tar.gz: f28477691b9551c1e59040c561869a4246e2ef0c
3
+ metadata.gz: d0f0c74f784649cbdf4950e848e78676f34b1fd9
4
+ data.tar.gz: d35b2181b44c3003e8724ebd6c709ceeca5b3197
5
5
  SHA512:
6
- metadata.gz: 38032af4671c6b73fe789c0014d7d6d410a4fe72e1dc5563f2645ec1df061aaef191cfa2e5b183c2396f4d6697ef804f4e1e1236168d030cb81286d46c915423
7
- data.tar.gz: 8e4c41d88e958835fa3682180809c9fd11f8dfa02425d9b020ee204c283dcd894e9514f6db4227fe8fce7931faddf5d9a28c13469b1fefbc614193b56abf1686
6
+ metadata.gz: 4898438e1a2f8b9fb5941952a7b12833f45df7404308234529b1f792dedf2c2e10d320727c24f80c97a1f41b683f825c340fac0fc4647302218f365d22905097
7
+ data.tar.gz: 14453f7bc72253e071cd6228c3e3f48a82600236f316330a72f2fab81ced31efaf7f8b6ebdbd2e55f3d81e9c6cf37533fdeccf6da066b85eefd05a9b568fed78
@@ -19,7 +19,7 @@ module CapistranoMulticonfigParallel
19
19
  }
20
20
 
21
21
  class << self
22
- attr_accessor :execute_in_sequence, :logger, :original_args, :interactive_menu
22
+ attr_accessor :logger, :original_args
23
23
 
24
24
  def root
25
25
  File.expand_path(File.dirname(__dir__))
@@ -109,7 +109,6 @@ module CapistranoMulticonfigParallel
109
109
 
110
110
  def check_additional_config(c)
111
111
  CapistranoMulticonfigParallel::CelluloidManager.debug_enabled = true if c[:multi_debug].to_s.downcase == 'true'
112
- CapistranoMulticonfigParallel.execute_in_sequence = true if c[:multi_secvential].to_s.downcase == 'true'
113
112
  end
114
113
  end
115
114
  end
@@ -115,7 +115,7 @@ module CapistranoMulticonfigParallel
115
115
 
116
116
  def process_jobs
117
117
  return unless @jobs.present?
118
- if CapistranoMulticonfigParallel.execute_in_sequence
118
+ if configuration.multi_secvential.to_s.downcase == 'true'
119
119
  @jobs.each { |job| CapistranoMulticonfigParallel::StandardDeploy.new(job) }
120
120
  else
121
121
  run_async_jobs
@@ -209,7 +209,7 @@ module CapistranoMulticonfigParallel
209
209
  end
210
210
 
211
211
  def wait_jobs_termination
212
- return if CapistranoMulticonfigParallel.execute_in_sequence
212
+ return if configuration.multi_secvential.to_s.downcase == 'true'
213
213
  result = @condition.wait
214
214
  return unless result.present?
215
215
  @manager.terminate
@@ -14,7 +14,6 @@ module CapistranoMulticonfigParallel
14
14
  end
15
15
 
16
16
  def run_custom_command(options)
17
- CapistranoMulticonfigParallel.interactive_menu = true
18
17
  stages = fetch_multi_stages
19
18
  return if stages.blank?
20
19
  stages = check_multi_stages(stages)
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 0
10
10
  MINOR = 13
11
- TINY = 1
11
+ TINY = 2
12
12
  PRE = nil
13
13
 
14
14
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_multiconfig_parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada