fog 0.2.19 → 0.2.20

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.
@@ -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.19'
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
@@ -41,7 +41,7 @@ require 'fog/vcloud'
41
41
  module Fog
42
42
 
43
43
  unless const_defined?(:VERSION)
44
- VERSION = '0.2.19'
44
+ VERSION = '0.2.20'
45
45
  end
46
46
 
47
47
  module Mock
@@ -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
- else
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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 19
9
- version: 0.2.19
8
+ - 20
9
+ version: 0.2.20
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)