convection 2.2.14 → 2.2.15

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: db4f0ff7ceba52ed22c04a56074eb50a8e47bbb7
4
- data.tar.gz: 451da49003a3086b1d66817c2cefd3533d3e47d1
3
+ metadata.gz: 2b82f44bb43dd2ea466507ec5a442d85abba2298
4
+ data.tar.gz: a21e0831ae8f40fb4635b83e93bec53c93315be2
5
5
  SHA512:
6
- metadata.gz: 3f72ea77bd23236a874b0072481505fc330bf060dff21d6f3cdd2cda4ddf3f285ec05953caeb2634277e3b7302b4669b1dd88718d58d335b187e88dae0b17691
7
- data.tar.gz: 246c0a685b68d385eb9d3cacbf48ba441734f8b352158e30cd162782039b3174aed21e65c72a303195e986171c2f9646f21d7f6ffa4b45211f2355f044bec6fe
6
+ metadata.gz: e6a74fceb048376b9e271e660a9d95ec662dc2ea5cd1eeb7bac7bf0cf481a92908df91169baeb4560968ee1e7a3315a0c4469bd21ebea6f57898b3c650f2a4e6
7
+ data.tar.gz: e9062bd93f33b2f2a1870a5016f516bd738cfea67de87fed228424ef3b0878d70999fab3495b965ec3569e85d4a424ee2256aa6526b2c56768500e19aee52b0c
data/bin/convection CHANGED
@@ -402,7 +402,7 @@ module Convection
402
402
  if options[:cloudfiles].length > 1 && options[:delayed_output]
403
403
  output << { event: event, errors: errors }
404
404
  else
405
- emit_events(event, *errors, region: region)
405
+ emit_events(event, errors, region: region)
406
406
  end
407
407
  semaphore.synchronize { @errors = errors.any? if errors }
408
408
  end
@@ -505,7 +505,7 @@ module Convection
505
505
  print_info(event, region: region)
506
506
  end
507
507
 
508
- errors.each do |error|
508
+ Array(errors).each do |error|
509
509
  error = RuntimeError.new(error) if error.is_a?(String)
510
510
  say "* #{ error.message }"
511
511
  error.backtrace.each { |trace| say " #{ trace }" }
@@ -523,7 +523,7 @@ module Convection
523
523
  puts "Cloud name: #{output[:cloud_name]}. Region: #{output[:region]}."
524
524
  puts '********'
525
525
  output[:logging].each do |hash|
526
- emit_events(hash[:event], *hash[:errors])
526
+ emit_events(hash[:event], Array(hash[:errors]), region: output[:region])
527
527
  end
528
528
  end
529
529
  end
@@ -167,7 +167,7 @@ module Convection
167
167
  # Find errors during stack init
168
168
  stacks.each_value do |stack|
169
169
  if stack.error?
170
- errors << stack.errors.collect { |x| x.exception.message }
170
+ errors += stack.errors.collect { |x| x.exception.message }
171
171
  end
172
172
  end
173
173
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convection
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.14
4
+ version: 2.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Manero