capistrano_multiconfig_parallel 0.21.5 → 0.21.6

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: dda394126e743c2240a38b2752bbdc4665ca40cf
4
- data.tar.gz: 63ea2ed1a40318a09e7babf7c5576fad1b2842f6
3
+ metadata.gz: 243c50e263028d3c6b611e0f53f21c76166dacda
4
+ data.tar.gz: 43fd764e806b2d26a4ea90430f973a36eca1d24e
5
5
  SHA512:
6
- metadata.gz: 6e5ea1d430a503a1d8309fed829c62108b3c0484579ca83addfcfeaf5bcd9b3ac702f6a498b77c8166987d6153561147b4ed9c305655f7ab27515e16c34b24a3
7
- data.tar.gz: 88c849aa2a225a2ce0261375f7b5d7afd0290c86348dedf453d46988e0af62da27e7301eaa300f21995dcd7b831ab026fc20dcfc8cb03974ecc3b9ead90d8a9d
6
+ metadata.gz: c271ca088192b718525c8fb0af6545c951f5ab4412b7749b476efd891098fb696b9dc002c0debcd3ef8b94808ad9aafb7ef4fa8a771e06fe98f302271da1d011
7
+ data.tar.gz: aaa5ab2e3217d90e8f355e5dad260c34d1c835f2336d774f7c9a5a8c70b70e8c631456815e5911014f80054c5c6041667a3ddd1912d48838cd358eaee2cf0939
@@ -49,16 +49,14 @@ module CapistranoMulticonfigParallel
49
49
  terminal_clear
50
50
  # table.style = { width: 20 }
51
51
  puts "\n#{table}\n"
52
- sleep(0.1)
52
+ sleep(1)
53
53
  if @job_manager.alive? && @manager.alive? && @manager.all_workers_finished?
54
54
  @job_manager.condition.signal('completed')
55
- else
56
- terminate
57
55
  end
58
56
  end
59
57
 
60
58
  def worker_state(job_id, job)
61
- default = job.status.upcase.red
59
+ default = job.status.to_s.upcase.red
62
60
  return default unless @manager.alive?
63
61
  worker = @manager.get_worker_for_job(job_id)
64
62
  worker.alive? ? worker.worker_state : default
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 0
10
10
  MINOR = 21
11
- TINY = 5
11
+ TINY = 6
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.21.5
4
+ version: 0.21.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada