capify-ec2 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,7 +81,8 @@ Capistrano::Configuration.instance(:must_exist).load do
81
81
  variables = role_name_or_hash[:variables] || {}
82
82
 
83
83
  instances = capify_ec2.get_instances_by_role(role[:name])
84
- if role[:options].delete(:default)
84
+
85
+ if role[:options] && role[:options].delete(:default)
85
86
  instances.each do |instance|
86
87
  define_role(role, instance)
87
88
  end
@@ -1,6 +1,6 @@
1
1
  module Capify
2
2
  module Ec2
3
- VERSION = "1.3.3"
3
+ VERSION = "1.3.4"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capify-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  requirements: []
101
101
  rubyforge_project: capify-ec2
102
- rubygems_version: 1.8.23
102
+ rubygems_version: 1.8.24
103
103
  signing_key:
104
104
  specification_version: 3
105
105
  summary: Grabs roles from ec2's tags and autogenerates capistrano tasks