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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92b9e67123205941b72a91a16c5c42998c4cb449
4
- data.tar.gz: f14ce4e2eccfce862cc596547a5d01ec99a94f9f
3
+ metadata.gz: 98579909e2c94b50d6d0f5905160c7bb2e033bb9
4
+ data.tar.gz: 4c5f6152afa7a9853c0a80ade457367124f65598
5
5
  SHA512:
6
- metadata.gz: 69ef6ab2cb372b9f77377cda9746f8f6adfbb3595d225d044497d90ba9f317b772a84af100cb6132c9fc66a3da38e87b61cd8e04f39421005b3f5fdbf2ddbf55
7
- data.tar.gz: 785e9f58bf67b9125096e606d0420d0024b4197730eb4f54f6449e784bf03b733ed65738c6139498c7c3e7207e1ca7fea003abe2f8c31c04fdaca79227d81005
6
+ metadata.gz: 0d37543235669ff4bfbdf7b6f17aaaaba20eb7375734f633902c49bd5df38aa5308f359f2e4ad82fbb9d8d2d8d4f8e56770a8347fc01c27dfdede867969daffc
7
+ data.tar.gz: d342f24025ce2b7b2880d1870318b83cae302b9027e8ed6357cb4f35542146db853d195c0687716209b0f55efa958d812db05235db8917f82ab6039e8ca02d2f
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Cfn
3
3
  module Compiler
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
6
6
  end
7
7
  end
@@ -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 SourceSecurityGroupName CacheSecurityGroupNames SecurityGroupNames}.include? key
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.0
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-19 00:00:00.000000000 Z
11
+ date: 2014-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print