vagabund 0.0.24 → 0.0.25

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: 14759fb852b929c914bb54aeb151448cca174a8b
4
- data.tar.gz: 0f69d2d25a5fb6923c2f6e7c357315ab45d311f4
3
+ metadata.gz: cc401be8d5a00de1834fa42a3e0e4b1b8cc48bc9
4
+ data.tar.gz: 57e4c9dd4c76931c6101a0194eb3de0590902896
5
5
  SHA512:
6
- metadata.gz: 0ad84215bec39a99e79a72f105b8878024b2bcf55f06bf0e2197a7483d51c38deaa4fd7bc55d4aed4462342e4f851096933b770ac9e6b0e6ea376632417e3bcb
7
- data.tar.gz: 1bdae238da0a0f159f2abf4c586c9c5f31eab46fe350a3d56d8836641881de6fb5ee6b8c6a9a5b9d774346c44cd6555a8cad52572c9a67b04d4848fb0bb09835
6
+ metadata.gz: 97f3f257e08c9f5d4d94c69667a8bfdc76109a044ef8d810bc2a154c357fa1b0d78bc63edebda61c0139613934af9c44103bacf7ed5ed80f18e1743479dc965c
7
+ data.tar.gz: f00af0440c47d3c13a46854379bd06f1d792d36ef4e6ab932807483f906881e8d84a47ba6ddbd20773bb7aeecb99e4e7be9a305f9e3d5996e7fbd09b24bcfcc8
@@ -153,6 +153,9 @@ module Vagabund
153
153
  image = ami_json['Images'].select { |img| img['ImageId'] == image_id }.first
154
154
 
155
155
  if image.nil? # sometimes AWS takes a while to even list the AMI
156
+ @env.ui.info " #{image_id}: Image is in state 'unknown'" if last_state != 'unknown'
157
+ last_state = 'unknown'
158
+ else
156
159
  @env.ui.info " #{image_id}: Image is in state '#{image['State']}'" if image['State'] != last_state
157
160
 
158
161
  last_state = image['State']
@@ -163,9 +166,6 @@ module Vagabund
163
166
  elsif image['State'] == state
164
167
  break;
165
168
  end
166
- else
167
- @env.ui.info " #{image_id}: Image is in state 'unknown'" if last_state != 'unknown'
168
- last_state = 'unknown'
169
169
  end
170
170
 
171
171
  sleep 5
@@ -1,3 +1,3 @@
1
1
  module Vagabund
2
- VERSION = "0.0.24"
2
+ VERSION = "0.0.25"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagabund
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rebec