fog 0.0.90 → 0.0.91
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.
- data/fog.gemspec +1 -1
- data/lib/fog.rb +1 -1
- data/lib/fog/aws/requests/ec2/allocate_address.rb +1 -1
- data/lib/fog/aws/requests/ec2/create_snapshot.rb +1 -1
- data/lib/fog/aws/requests/ec2/create_volume.rb +1 -1
- data/lib/fog/aws/requests/ec2/disassociate_address.rb +1 -1
- data/lib/fog/aws/requests/ec2/run_instances.rb +4 -4
- metadata +2 -2
data/fog.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
## If your rubyforge_project name is different, then edit it and comment out
|
8
8
|
## the sub! line in the Rakefile
|
9
9
|
s.name = 'fog'
|
10
|
-
s.version = '0.0.
|
10
|
+
s.version = '0.0.91'
|
11
11
|
s.date = '2010-05-05'
|
12
12
|
s.rubyforge_project = 'fog'
|
13
13
|
|
data/lib/fog.rb
CHANGED
@@ -29,7 +29,7 @@ module Fog
|
|
29
29
|
response = Excon::Response.new
|
30
30
|
response.status = 200
|
31
31
|
if address = @data[:addresses][public_ip]
|
32
|
-
address['instanceId'] =
|
32
|
+
address['instanceId'] = nil
|
33
33
|
response.status = 200
|
34
34
|
response.body = {
|
35
35
|
'requestId' => Fog::AWS::Mock.request_id,
|
@@ -107,7 +107,7 @@ module Fog
|
|
107
107
|
instance = {
|
108
108
|
'amiLaunchIndex' => i,
|
109
109
|
'blockDeviceMapping' => [],
|
110
|
-
'dnsName' =>
|
110
|
+
'dnsName' => nil,
|
111
111
|
'imageId' => image_id,
|
112
112
|
'instanceId' => instance_id,
|
113
113
|
'instanceState' => { 'code' => 0, 'name' => 'pending' },
|
@@ -117,17 +117,17 @@ module Fog
|
|
117
117
|
'launchTime' => Time.now,
|
118
118
|
'monitoring' => { 'state' => options['Monitoring.Enabled'] || false },
|
119
119
|
'placement' => { 'availabilityZone' => options['Placement.AvailabilityZone'] || Fog::AWS::Mock.availability_zone },
|
120
|
-
'privateDnsName' =>
|
120
|
+
'privateDnsName' => nil,
|
121
121
|
'productCodes' => [],
|
122
122
|
'ramdiskId' => options['RamdiskId'] || Fog::AWS::Mock.ramdisk_id,
|
123
|
-
'reason' =>
|
123
|
+
'reason' => nil,
|
124
124
|
'rootDeviceType' => 'instance-store'
|
125
125
|
}
|
126
126
|
instances_set << instance
|
127
127
|
@data[:instances][instance_id] = instance.merge({
|
128
128
|
'groupSet' => group_set,
|
129
129
|
'ownerId' => @owner_id,
|
130
|
-
'privateIpAddress' =>
|
130
|
+
'privateIpAddress' => nil,
|
131
131
|
'reservationId' => reservation_id,
|
132
132
|
})
|
133
133
|
end
|