ironfan 4.11.2 → 4.11.3

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v4.11.3
2
+ * Removing unnecessary check for groups (caused failures when in VPC)
3
+
1
4
  # v4.11.2
2
5
  * Several changes to ec2/machine, from earlier call of to_s during register call (thanks @brandonbell, @rottmanj)
3
6
  * testing for possible nil result from tags
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.11.2
1
+ 4.11.3
data/ironfan.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ironfan"
8
- s.version = "4.11.2"
8
+ s.version = "4.11.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Infochimps"]
12
- s.date = "2013-06-27"
12
+ s.date = "2013-07-13"
13
13
  s.description = "Ironfan allows you to orchestrate not just systems but clusters of machines. It includes a powerful layer on top of knife and a collection of cloud cookbooks."
14
14
  s.email = "coders@infochimps.com"
15
15
  s.extra_rdoc_files = [
@@ -87,17 +87,17 @@ module Ironfan
87
87
  groups_to_create << dsl_group.name
88
88
 
89
89
  groups_to_create << dsl_group.group_authorized.map do |other_group|
90
- most_appropriate_group_name(other_group, cloud.vpc, groups_that_should_exist)
90
+ most_appropriate_group_name(other_group, cloud.vpc)
91
91
  end
92
92
 
93
93
  groups_to_create << dsl_group.group_authorized_by.map do |other_group|
94
- most_appropriate_group_name(other_group, cloud.vpc, groups_that_should_exist)
94
+ most_appropriate_group_name(other_group, cloud.vpc)
95
95
  end
96
96
 
97
97
  authorizations_to_ensure << dsl_group.group_authorized.map do |other_group|
98
98
  {
99
- :grantor => most_appropriate_group_name(dsl_group.name, cloud.vpc, groups_that_should_exist),
100
- :grantee => most_appropriate_group_name(other_group, cloud.vpc, groups_that_should_exist),
99
+ :grantor => most_appropriate_group_name(dsl_group.name, cloud.vpc),
100
+ :grantee => most_appropriate_group_name(other_group, cloud.vpc),
101
101
  :grantee_type => :group,
102
102
  :range => WIDE_OPEN,
103
103
  }
@@ -105,8 +105,8 @@ module Ironfan
105
105
 
106
106
  authorizations_to_ensure << dsl_group.group_authorized_by.map do |other_group|
107
107
  {
108
- :grantor => most_appropriate_group_name(other_group, cloud.vpc, groups_that_should_exist),
109
- :grantee => most_appropriate_group_name(dsl_group.name, cloud.vpc, groups_that_should_exist),
108
+ :grantor => most_appropriate_group_name(other_group, cloud.vpc),
109
+ :grantee => most_appropriate_group_name(dsl_group.name, cloud.vpc),
110
110
  :grantee_type => :group,
111
111
  :range => WIDE_OPEN,
112
112
  }
@@ -172,8 +172,8 @@ module Ironfan
172
172
  vpc_id.nil? ? name.to_s : "#{vpc_id}:#{name.to_s}"
173
173
  end
174
174
 
175
- def self.most_appropriate_group_name(group, vpc_id, all_valid_groups)
176
- all_valid_groups.include?(group_name_with_vpc(group, vpc_id)) ? group_name_with_vpc(group, vpc_id) : group
175
+ def self.most_appropriate_group_name(group, vpc_id)
176
+ vpc_id.present? ? group_name_with_vpc(group, vpc_id) : group
177
177
  end
178
178
 
179
179
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ironfan
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.2
4
+ version: 4.11.3
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-06-27 00:00:00.000000000 Z
12
+ date: 2013-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -381,7 +381,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
381
381
  version: '0'
382
382
  segments:
383
383
  - 0
384
- hash: -334978853826199168
384
+ hash: 4157015172636706371
385
385
  required_rubygems_version: !ruby/object:Gem::Requirement
386
386
  none: false
387
387
  requirements: