awful 0.0.37 → 0.0.38

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: dc01ff7e05945c5a7df17207a7a33331b5189899
4
- data.tar.gz: d117f8ea9bb1db41aac08ae8733baf9b90a8d82f
3
+ metadata.gz: 6bddbf8cc43381e35767b345e27342b0eef5d7d6
4
+ data.tar.gz: 89d85092fba21d2ba2ed58391fb75b5701750c01
5
5
  SHA512:
6
- metadata.gz: a799784f0ca082b810950637a8eb93b25194fe9396447e47bedf51e53c2ecc1c5e6f63d3a734801f90ac728fe44380a4cf953bb6ef678b281478dad1a786127f
7
- data.tar.gz: c8d37aafefc44a9fad6caf96d3283c4e3e9b4842e874bace1ef06e27b5cdf58ea89305cc077a5cd93e66443c96078f49a5373039363050b5de800a776c3bcde7
6
+ metadata.gz: 7250389da22f30bf96cbfe66c1bd0531e6c3bf4aeece59b1bf98d00dd565d72a9afef6c00532956555d35680606fd34ee272b5bf77a48f12b044a250828e52d1
7
+ data.tar.gz: b86ff5574c2ffa74bd8e976c38fbb94306f6a9a7219eb246faf4c4939fb64e7797a7c68a83e0f47759cda2bae204298dc91a15381eb90f73e6b9d8fb9a62ae51
@@ -180,8 +180,11 @@ module Awful
180
180
  ids = ins.first(num.to_i).map(&:instance_id)
181
181
  if yes? "Really terminate #{num} instances: #{ids.join(',')}?", :yellow
182
182
  ids.each do |id|
183
+ puts "Terminating instance: #{id}"
183
184
  autoscaling.terminate_instance_in_auto_scaling_group(instance_id: id, should_decrement_desired_capacity: options[:decrement] && true)
184
185
  end
186
+ else
187
+ puts 'Nothing terminated'
185
188
  end
186
189
  end
187
190
  end
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.37"
2
+ VERSION = "0.0.38"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister