fog 0.2.19 → 0.2.20
Sign up to get free protection for your applications and to get access to all the features.
- data/fog.gemspec +1 -1
- data/lib/fog.rb +1 -1
- data/lib/fog/aws/parsers/ec2/describe_security_groups.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.2.
|
10
|
+
s.version = '0.2.20'
|
11
11
|
s.date = '2010-07-25'
|
12
12
|
s.rubyforge_project = 'fog'
|
13
13
|
|
data/lib/fog.rb
CHANGED
@@ -50,13 +50,13 @@ module Fog
|
|
50
50
|
if @in_groups
|
51
51
|
@ip_permission['groups'] << @group
|
52
52
|
@group = {}
|
53
|
-
elsif @in_ip_permissions
|
54
|
-
@security_group['ipPermissions'] << @ip_permission
|
55
|
-
@ip_permission = { 'groups' => [], 'ipRanges' => []}
|
56
53
|
elsif @in_ip_ranges
|
57
54
|
@ip_permission['ipRanges'] << @ip_range
|
58
55
|
@ip_range = {}
|
59
|
-
|
56
|
+
elsif @in_ip_permissions
|
57
|
+
@security_group['ipPermissions'] << @ip_permission
|
58
|
+
@ip_permission = { 'groups' => [], 'ipRanges' => []}
|
59
|
+
else
|
60
60
|
@response['securityGroupInfo'] << @security_group
|
61
61
|
@security_group = { 'ipPermissions' => [] }
|
62
62
|
end
|