fog 0.0.23 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.23
1
+ 0.0.24
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fog}
8
- s.version = "0.0.23"
8
+ s.version = "0.0.24"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["geemus (Wesley Beary)"]
@@ -60,7 +60,7 @@ module Fog
60
60
  end
61
61
 
62
62
  def placement=(new_placement)
63
- if placement.is_a?(Hash)
63
+ if new_placement.is_a?(Hash)
64
64
  @availability_zone = new_placement['availabilityZone']
65
65
  else
66
66
  @availability_zone = new_placement
@@ -7,7 +7,6 @@ describe 'Fog::AWS::EC2::Instance' do
7
7
  it "should remap attributes from parser" do
8
8
  instance = Fog::AWS::EC2::Instance.new({
9
9
  'amiLaunchIndex' => 'ami_launch_index',
10
- 'availabilityZone' => 'availability_zone',
11
10
  'dnsName' => 'dns_name',
12
11
  'groupId' => 'group_id',
13
12
  'imageId' => 'image_id',
@@ -17,6 +16,7 @@ describe 'Fog::AWS::EC2::Instance' do
17
16
  'kernelId' => 'kernel_id',
18
17
  'keyName' => 'key_name',
19
18
  'launchTime' => 'launch_time',
19
+ 'placement' => { 'availabilityZone' => 'availability_zone'},
20
20
  'productCodes' => 'product_codes',
21
21
  'privateDnsName' => 'private_dns_name',
22
22
  'ramdiskId' => 'ramdisk_id'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus (Wesley Beary)