build-cloud 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d181ba7cccd9ca15986dfdf6edbfb676233fbb12
4
- data.tar.gz: 6e4fb65d0d9669b1d8ccff0f18e4e65981cced97
3
+ metadata.gz: e89edfc847873da470dc2cb857b9ea871353e83e
4
+ data.tar.gz: 144ebaa84bc4a7e494586ac695df6bd5edf5fa55
5
5
  SHA512:
6
- metadata.gz: a75b937b90c8a53d5c2e4f2486ef3b0c6da68056bf264c1a919c3d34eeb86cdc6811becac4d39436ee410cb1a86df4415bd24834c3acac122715b1d78d9c5990
7
- data.tar.gz: 760d264891134c408a019339aab87fa084ab1adfbdea3a48de69969189708309350b415fe8c240b49d3132de1ccd4dba04060b044ac2a04174fe06f490629c63
6
+ metadata.gz: 4807c0d850f5fc5f98995800c73884707d4f587065ef96e697bf85a0bc76f56348585e7bbe9df5f7db0d192649e81915dc24aab2483c5cc9fe6b126c3d3e60ee
7
+ data.tar.gz: 610a9f5e311fbd67e68cd9c2a7b8f34e6b37f9c93e1c2944b044cbdc059a1356fba29cac241febb57b0e1fdb1012d5e7687b9c173a73af6554f81c8e5e566033
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ 2016-02-02 - version 0.0.16 - fix bug which prevented security groups containing multiple references to other security groups being updated
4
+
3
5
  2015-11-10 - version 0.0.15 - allow private_ip to be optional when creating an ENI
4
6
 
5
7
  2015-10-12 - version 0.0.14 - now allows defaults in interpolated variables, if the variable doesn't exist. Format is `%{variablename||default}` eg. `%{node_instance_type||t2.large}`
data/build-cloud.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "build-cloud"
7
- spec.version = "0.0.15"
7
+ spec.version = "0.0.16"
8
8
  spec.authors = ["The Scale Factory"]
9
9
  spec.email = ["info@scalefactory.com"]
10
10
  spec.summary = %q{Tools for building resources in AWS}
@@ -82,15 +82,19 @@ class BuildCloud::SecurityGroup
82
82
 
83
83
  if r['groups'] != []
84
84
 
85
+ r['groups'].each do |group|
86
+
85
87
  c = {
86
88
  :min_port => r['fromPort'],
87
89
  :max_port => r['toPort'],
88
90
  :ip_protocol => r['ipProtocol'],
89
- :name => @compute.security_groups.select { |sg| sg.group_id == r['groups'].first['groupId'] }.first.name,
91
+ :name => @compute.security_groups.select { |sg| sg.group_id == group['groupId'] }.first.name,
90
92
  }
91
93
 
92
94
  current_rules << c
93
95
 
96
+ end
97
+
94
98
  end
95
99
 
96
100
  if r['ipRanges'] != []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Scale Factory
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-10 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler