awsum 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/awsum.rb +1 -1
  2. data/lib/awsum/ec2.rb +2 -3
  3. metadata +3 -3
@@ -11,7 +11,7 @@ require 'awsum/requestable'
11
11
  require 'awsum/support'
12
12
 
13
13
  module Awsum
14
- VERSION = "0.5.3"
14
+ VERSION = "0.5.4"
15
15
 
16
16
  API_VERSION = '2010-08-31'
17
17
  SIGNATURE_VERSION = 2
@@ -207,9 +207,8 @@ module Awsum
207
207
  #NOTE: This relies on the assumption that the region code is
208
208
  # always one less character than the availability zone
209
209
  region_code = availability_zone.chop
210
- region(region_code) do
211
- instance instance_id
212
- end
210
+ region(region_code).use
211
+ instance instance_id
213
212
  rescue OpenURI::HTTPError => e
214
213
  nil
215
214
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awsum
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Timberlake