capistrano_multiconfig_parallel 0.11.1 → 0.11.2

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: 95d112a7d34cb32412f8d4bbb8f70c3b464fcaef
4
- data.tar.gz: fc8616fda85279eb878497eda85f0d56790c1208
3
+ metadata.gz: 23b653b45d5d3f58d974343ae030e98ff377e5ef
4
+ data.tar.gz: f750a49d6e43cbdb14b814ab720f99702b3b2e92
5
5
  SHA512:
6
- metadata.gz: a64c12ae32608b4668d19059f82d1a5debc29ec16b2fa819ab6f4ca81c741d29c7d9df5a613da925bbdbfafad013e7fe7d254c783c53b9386213d7e2d5687fa8
7
- data.tar.gz: a59df410677f45e4d09138128082d86201fb0815efde6e136f7e812620c658998003ef4c49c4f0151061d7f475bf39765d55c4c734422f12612b56586b23b1eb
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 if !printing_question?(data) || has_asked_question?(data)
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
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 0
10
10
  MINOR = 11
11
- TINY = 1
11
+ TINY = 2
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.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada