capistrano_multiconfig_parallel 0.21.4 → 0.21.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70473783fd7b721276c59abe41f997a9e3bcaf41
4
- data.tar.gz: 094ffe37d3a9b925a3c31162cec63493478a4979
3
+ metadata.gz: dda394126e743c2240a38b2752bbdc4665ca40cf
4
+ data.tar.gz: 63ea2ed1a40318a09e7babf7c5576fad1b2842f6
5
5
  SHA512:
6
- metadata.gz: 314c079934f520e3212fd12be27fda968b30ecef8bce37fc20770832a5e7e297803590a3b93a8855e262ac3e0349437543f7f34c62fe07d88b18564c57daa623
7
- data.tar.gz: ca80ccba37e32e78b6e10b1f50b215dffee9cc8cf76a794bca96797420294ff2ab6a62aab1d8c249b12aa1730f0da104825072fcd2aad04c0d4462ca1cb76940
6
+ metadata.gz: 6e5ea1d430a503a1d8309fed829c62108b3c0484579ca83addfcfeaf5bcd9b3ac702f6a498b77c8166987d6153561147b4ed9c305655f7ab27515e16c34b24a3
7
+ data.tar.gz: 88c849aa2a225a2ce0261375f7b5d7afd0290c86348dedf453d46988e0af62da27e7301eaa300f21995dcd7b831ab026fc20dcfc8cb03974ecc3b9ead90d8a9d
@@ -58,9 +58,10 @@ module CapistranoMulticonfigParallel
58
58
  end
59
59
 
60
60
  def worker_state(job_id, job)
61
- return unless @manager.alive?
61
+ default = job.status.upcase.red
62
+ return default unless @manager.alive?
62
63
  worker = @manager.get_worker_for_job(job_id)
63
- worker.alive? ? worker.worker_state : job.status.upcase.red
64
+ worker.alive? ? worker.worker_state : default
64
65
  end
65
66
 
66
67
  def filtered_env_keys
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 0
10
10
  MINOR = 21
11
- TINY = 4
11
+ TINY = 5
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.4
4
+ version: 0.21.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada