build-cloud 0.0.15 → 0.0.16
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/build-cloud.gemspec +1 -1
- data/lib/build-cloud/securitygroup.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e89edfc847873da470dc2cb857b9ea871353e83e
|
|
4
|
+
data.tar.gz: 144ebaa84bc4a7e494586ac695df6bd5edf5fa55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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 ==
|
|
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.
|
|
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:
|
|
11
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|