ec2launcher 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.6.2
2
+
3
+ * Fixed bug launching VPC instances.
4
+
1
5
  ## 1.6.1
2
6
 
3
7
  * Added option to force termination of an instance, even if the environment tag is missing.
data/lib/ec2launcher.rb CHANGED
@@ -600,7 +600,7 @@ module EC2Launcher
600
600
  end
601
601
 
602
602
  launch_mapping[:iam_instance_profile] = launch_options[:iam_profile] if launch_options[:iam_profile]
603
- launch_mapping[:subnet] = launch_options[:vpc_subnet] if launch_options[:vpc_subnet]
603
+ launch_mapping[:subnet] = launch_options[:subnet] if launch_options[:subnet]
604
604
 
605
605
  new_instance = @ec2.instances.create(launch_mapping)
606
606
  end
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2012 Sean Laurent
3
3
  #
4
4
  module EC2Launcher
5
- VERSION = "1.6.1"
5
+ VERSION = "1.6.2"
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.1
4
+ version: 1.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: