aws-cfn-compiler 0.3.0 → 0.3.1
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/lib/aws/cfn/compiler/version.rb +1 -1
- data/lib/aws/cfn/compiler.rb +4 -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: 98579909e2c94b50d6d0f5905160c7bb2e033bb9
|
4
|
+
data.tar.gz: 4c5f6152afa7a9853c0a80ade457367124f65598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d37543235669ff4bfbdf7b6f17aaaaba20eb7375734f633902c49bd5df38aa5308f359f2e4ad82fbb9d8d2d8d4f8e56770a8347fc01c27dfdede867969daffc
|
7
|
+
data.tar.gz: d342f24025ce2b7b2880d1870318b83cae302b9027e8ed6357cb4f35542146db853d195c0687716209b0f55efa958d812db05235db8917f82ab6039e8ca02d2f
|
data/lib/aws/cfn/compiler.rb
CHANGED
@@ -173,10 +173,13 @@ module Aws
|
|
173
173
|
elsif %w{Mappings Parameters Resources Outputs}.include? parent
|
174
174
|
newparent = key
|
175
175
|
end
|
176
|
-
if %w{Ref
|
176
|
+
if %w{Ref}.include? key
|
177
177
|
h = { hash[key] => [type,newparent] }
|
178
178
|
elsif 'Fn::GetAtt' == key
|
179
179
|
h = { hash[key].first => [type,newparent] }
|
180
|
+
# elsif %w{SourceSecurityGroupName CacheSecurityGroupNames SecurityGroupNames}.include? key
|
181
|
+
# a = find_refs(hash[key],type,newparent)
|
182
|
+
# h = merge(h, a, *[type,newparent])
|
180
183
|
else
|
181
184
|
a = find_refs(hash[key],type,newparent)
|
182
185
|
h = merge(h, a, *[type,newparent])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-cfn-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PKinney
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|