capistrano_multiconfig_parallel 0.20.8 → 0.20.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb9d81743bb7797aad849b28341801909a634659
|
4
|
+
data.tar.gz: fdc6ba3368a3cfdede894bb150ac831a17b240c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feebf247d9aa8bccb9d2108e956808aacdbc18190eae4bd27436619339b2aa10a304ecbc3651a0a285980e8ec5ee66f746df25ed32aea9123d59e980c8e3415e
|
7
|
+
data.tar.gz: 0213a80c1f4b394c508247c0e426d4dd1941352c688bc087fad15de27d29142341d3d7e677b3108d489c95ba7acd5f286aa69846d8ec92003e17c38984e59e36
|
@@ -17,7 +17,7 @@ module CapistranoMulticonfigParallel
|
|
17
17
|
default_printing
|
18
18
|
result = show_all_websites_interactive_menu
|
19
19
|
print "#{@msg}\n"
|
20
|
-
|
20
|
+
result.present? ? result.split(',') : []
|
21
21
|
end
|
22
22
|
|
23
23
|
private
|
@@ -33,7 +33,7 @@ module CapistranoMulticonfigParallel
|
|
33
33
|
result += "#{option_name}," if choices[index].present?
|
34
34
|
print_option_name(option_name, index)
|
35
35
|
end
|
36
|
-
result
|
36
|
+
strip_characters_from_string(result)
|
37
37
|
end
|
38
38
|
|
39
39
|
def print_option_name(option_name, index)
|
@@ -43,7 +43,7 @@ module CapistranoMulticonfigParallel
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def confirm_option_selected
|
46
|
-
print
|
46
|
+
print "Enter a comma-separated list of option numbers or one single option number (again to uncheck, ENTER when done): "
|
47
47
|
$stdin.gets.squeeze(' ').strip
|
48
48
|
end
|
49
49
|
|