capistrano_multiconfig_parallel 0.21.2 → 0.21.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0678e5d70fde4903fa0371e345387bab14873225
|
4
|
+
data.tar.gz: 84837b0f81864137caaf1d8bc3494fbca894cde9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 412c4da923e6586ae9aa21110b018e4f126eb113d0a882892167e5f93a4e5aa5d8dd54d2f1b7e4fdb3caefcf08ae1510dfeb15d3aa32cbf570181cd41370214b
|
7
|
+
data.tar.gz: d02454de07fea27d614f6877e71d1b1489251500e364517f9a7eccc25c6251d95df91f8f246eb9f3b47f7d065ed22bbdd3e5d644e4d073a0d14a95d991c4940b
|
@@ -27,9 +27,7 @@ module CapistranoMulticonfigParallel
|
|
27
27
|
table = Terminal::Table.new(title: 'Deployment Status Table', headings: default_headings)
|
28
28
|
jobs = @manager.alive? ? @manager.jobs.dup : []
|
29
29
|
if jobs.present?
|
30
|
-
|
31
|
-
jobs.pmap do |job_id, job|
|
32
|
-
count += 1
|
30
|
+
jobs.each_with_index do |(job_id, job), count|
|
33
31
|
add_job_to_table(table, job_id, job, count)
|
34
32
|
end
|
35
33
|
end
|
@@ -66,7 +64,7 @@ module CapistranoMulticonfigParallel
|
|
66
64
|
end
|
67
65
|
|
68
66
|
def add_job_to_table(table, job_id, job, index)
|
69
|
-
row = [{ value: index.to_s },
|
67
|
+
row = [{ value: (index + 1).to_s },
|
70
68
|
{ value: job_id.to_s },
|
71
69
|
{ value: job.job_stage },
|
72
70
|
{ value: job.capistrano_action },
|