capistrano_multiconfig_parallel 0.11.1 → 0.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b653b45d5d3f58d974343ae030e98ff377e5ef
|
4
|
+
data.tar.gz: f750a49d6e43cbdb14b814ab720f99702b3b2e92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7911b3e0870cd261a9d68d67580d7c5810db76835457fb0e6efc95e8056675388e0d3c4a0f9b33e73feb9d223a11db18bf3323bcefba9a97104f13392c0e7558
|
7
|
+
data.tar.gz: d906087062964a83e84f326a7a2f224243905185d6ce668a2e00f6ce70ec48613131bc9e57aafbf3eabbfd2f1569a36a6a94388209b6f8afd2f3d4b91deac0ed
|
@@ -6,8 +6,7 @@ module CapistranoMulticonfigParallel
|
|
6
6
|
|
7
7
|
attr_accessor :env, :client, :job_id, :action, :task,
|
8
8
|
:task_approved, :successfull_subscription,
|
9
|
-
:subscription_channel, :publisher_channel, :stdin_result
|
10
|
-
:questions_prompted, :nitialize_options
|
9
|
+
:subscription_channel, :publisher_channel, :stdin_result
|
11
10
|
|
12
11
|
|
13
12
|
|
@@ -144,12 +143,8 @@ module CapistranoMulticonfigParallel
|
|
144
143
|
get_question_details(data).present?
|
145
144
|
end
|
146
145
|
|
147
|
-
def has_asked_question?(question)
|
148
|
-
@questions_prompted.include?(question)
|
149
|
-
end
|
150
|
-
|
151
146
|
def user_prompt_needed?(data)
|
152
|
-
return
|
147
|
+
return unless printing_question?(data)
|
153
148
|
|
154
149
|
details = get_question_details(data)
|
155
150
|
default = details.second.present? ? details.second : nil
|
@@ -159,7 +154,6 @@ module CapistranoMulticonfigParallel
|
|
159
154
|
default: default.delete('()'),
|
160
155
|
job_id: @job_id
|
161
156
|
})
|
162
|
-
@questions_prompted << data
|
163
157
|
wait_for_stdin_input
|
164
158
|
|
165
159
|
end
|