awful 0.0.126 → 0.0.127

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: ba519bdf7cee6a75862b71cb6e48e23fefdeabdf
4
- data.tar.gz: 2c33ac07d9460d2650bb6987e02eb89dd2f602cd
3
+ metadata.gz: 9c8364b35aadf90541c75aa587ccc009496834dd
4
+ data.tar.gz: b63549108ca09ddfbf654044a35d2e004446c6e0
5
5
  SHA512:
6
- metadata.gz: d8d89602eb2213cf4f9ee90972bc2760f04224d0b653413a789e8309af5ee5ac451ebee0279478395699fe515148b234e8799d8a47e9b6e31c7dce2bfa01e44a
7
- data.tar.gz: 8c221dcfb174f17b3e5b288f4dcf69a1615078acd3781626388da49bf865858fd5cffbf034d709a24fe70b4296b6174dca9bf89f9688e2bf9dd18e83873deab1
6
+ metadata.gz: a2d583981434a5e4f75ec1591f7b64ef52af6a9717fb263879056e585dc42d96976d851968213fea0030d49b15b90b6dc52636b13415fd41feef3849108dcdd7
7
+ data.tar.gz: fcd76c096089ccabd2bbf9791ffba0cd023c2110a3eece41b2eeb06aaf56e4ee4dbb643a786548e0cb1e6ea33cc10cfeae45e0482d0d15d1370ee0115c36f263
@@ -373,12 +373,12 @@ module Awful
373
373
  end
374
374
  end
375
375
 
376
- desc 'wait ASG INSTANCES', 'wait for instances to enter given lifecycle state'
376
+ desc 'wait INSTANCES', 'wait for instances to enter given lifecycle state'
377
377
  method_option :state, aliases: '-s', type: :string, default: 'InService', desc: 'poll until instances enter given lifecycle state'
378
378
  method_option :period, aliases: '-p', type: :numeric, default: 5, desc: 'period between polls'
379
- def wait(name, *instance_ids)
379
+ def wait(*instance_ids)
380
380
  until instance_lifecycle_state(*instance_ids).all?{ |s| s == options[:state] }
381
- puts "waiting for #{instance_ids.count} instances to enter state #{options[:state]}"
381
+ puts "waiting for #{instance_ids.count} instances to enter state #{options[:state]}" unless options[:quiet]
382
382
  sleep options[:period]
383
383
  end
384
384
  end
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = '0.0.126'
2
+ VERSION = '0.0.127'
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.126
4
+ version: 0.0.127
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister