aws-cfn-compiler 0.9.18 → 0.9.19
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/aws-cfn-compiler.iml +35 -0
- data/lib/aws/cfn/compiler/mixins/compile.rb +7 -4
- data/lib/aws/cfn/compiler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c314214182b86cc683ff569ba9948f457229e0e6
|
4
|
+
data.tar.gz: 9f228fb599828fd39c469efcded246d7669ece82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feceea17b40dd88c919ac4ee56dc1edf46770611e1703340b3a203863b5dc963c0f8b00ee2eff6e5d991718007bdcf9c1e6e476719ec83b408ea92bbbe5e3c8d
|
7
|
+
data.tar.gz: 399d6dc20b812448e942c77755ccc0eeb8052c8ecb0a0b2d683798c2cc746e32f4217ff6ace7225331872c0ae28eaa39fa9ba17eaa5cdf12855f65357c167fca
|
data/aws-cfn-compiler.iml
CHANGED
@@ -10,6 +10,40 @@
|
|
10
10
|
<orderEntry type="sourceFolder" forTests="false" />
|
11
11
|
<orderEntry type="module" module-name="aws-cfn-dsl" />
|
12
12
|
<orderEntry type="module" module-name="cloudformation-ruby-dsl" />
|
13
|
+
<orderEntry type="module-library">
|
14
|
+
<library name="aws-cfn-dsl (v0.9.6, /Users/cdelange/Dropbox/DLDInternet/ws/gems-ws/aws-cfn-dsl) [path][gem]">
|
15
|
+
<CLASSES>
|
16
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/bin" />
|
17
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/lib" />
|
18
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/pkg" />
|
19
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/.idea" />
|
20
|
+
</CLASSES>
|
21
|
+
<JAVADOC />
|
22
|
+
<SOURCES>
|
23
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/bin" />
|
24
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/lib" />
|
25
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/pkg" />
|
26
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/.idea" />
|
27
|
+
</SOURCES>
|
28
|
+
</library>
|
29
|
+
</orderEntry>
|
30
|
+
<orderEntry type="module-library">
|
31
|
+
<library name="cloudformation-ruby-dsl (v[path], /Users/cdelange/Dropbox/DLDInternet/ws/gems-ws/cloudformation-ruby-dsl) [path][gem]">
|
32
|
+
<CLASSES>
|
33
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/bin" />
|
34
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/lib" />
|
35
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/.idea" />
|
36
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/vendor" />
|
37
|
+
</CLASSES>
|
38
|
+
<JAVADOC />
|
39
|
+
<SOURCES>
|
40
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/bin" />
|
41
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/lib" />
|
42
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/.idea" />
|
43
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/vendor" />
|
44
|
+
</SOURCES>
|
45
|
+
</library>
|
46
|
+
</orderEntry>
|
13
47
|
<orderEntry type="module-library">
|
14
48
|
<library name="dldinternet-mixlib-cli (v0.2.0, /Users/cdelange/Dropbox/DLDInternet/ws/gems-ws/dldinternet-mixlib-cli) [path][gem]">
|
15
49
|
<CLASSES>
|
@@ -45,6 +79,7 @@
|
|
45
79
|
</library>
|
46
80
|
</orderEntry>
|
47
81
|
<orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.2.0, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
82
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.6.2, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
48
83
|
<orderEntry type="library" scope="PROVIDED" name="detabulator (v0.1.0, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
49
84
|
<orderEntry type="library" scope="PROVIDED" name="inifile (v2.0.2, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
50
85
|
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.1, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
@@ -187,17 +187,20 @@ module Aws
|
|
187
187
|
newparent = key
|
188
188
|
end
|
189
189
|
if %w{Ref}.include? key
|
190
|
-
h = { hash[key] => [type,newparent] }
|
190
|
+
# h = { hash[key] => [type,newparent] }
|
191
|
+
h[hash[key]] = [type,newparent]
|
191
192
|
elsif 'Fn::GetAtt' == key
|
192
|
-
h = { hash[key].first => [type,newparent] }
|
193
|
+
# h = { hash[key].first => [type,newparent] }
|
194
|
+
h[hash[key].first] = [type,newparent]
|
193
195
|
elsif 'DependsOn' == key
|
194
196
|
if hash[key].is_a?(Array)
|
195
|
-
h = {}
|
197
|
+
# h = {}
|
196
198
|
hash[key].map { |dep|
|
197
199
|
h[dep] = [type,newparent]
|
198
200
|
}
|
199
201
|
else
|
200
|
-
h = { hash[key] => [type,newparent] }
|
202
|
+
# h = { hash[key] => [type,newparent] }
|
203
|
+
h[hash[key]] = [type,newparent]
|
201
204
|
end
|
202
205
|
else
|
203
206
|
a = find_refs(hash[key],type,newparent)
|