ec2launcher 1.6.5 → 1.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
+ ## 1.6.6
2
+
3
+ * Fixed bug with handling missing security groups in VPCs.
4
+
1
5
  ## 1.6.5
2
6
 
3
7
  * Make more methods of BlockDeviceBuilder public.
8
+ * Minor changes to log4r configuration to improve reusability.
4
9
 
5
10
  ## 1.6.4
6
11
 
data/lib/ec2launcher.rb CHANGED
@@ -183,8 +183,11 @@ module EC2Launcher
183
183
  security_group_ids = []
184
184
  missing_security_groups = []
185
185
  security_groups.each do |sg_name|
186
- missing_security_groups << sg_name unless sg_map.has_key?(sg_name)
187
- security_group_ids << sg_map[sg_name].security_group_id
186
+ if sg_map.has_key?(sg_name)
187
+ security_group_ids << sg_map[sg_name].security_group_id
188
+ else
189
+ missing_security_groups << sg_name
190
+ end
188
191
  end
189
192
 
190
193
  if missing_security_groups.length > 0
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2012 Sean Laurent
3
3
  #
4
4
  module EC2Launcher
5
- VERSION = "1.6.5"
5
+ VERSION = "1.6.6"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-11 00:00:00.000000000 Z
12
+ date: 2013-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk