aws-cfn-compiler 0.9.12 → 0.9.13
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 +8 -8
- data/aws-cfn-compiler.iml +35 -2
- data/lib/aws/cfn/compiler/mixins/compile.rb +15 -11
- data/lib/aws/cfn/compiler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OTUwOGYxMWZjY2M2ZGZjYTJhZjVmYzFmNjdiNzI1ZWE0NWZjMDk3NA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDliZDA4OGNlMjM0OTVlNzVlNTdkNzdlNTMzYzM1OTZiMWM0Y2ExMg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZTU3NWQzMDMyM2I5ODg5ODg4NDhiYzAzZDMyNTg3ZWE3MTA2YzczZDAyMGM2
|
|
10
|
+
NjEyNzBhZGMyZjU3NTI3NGU4NWZmNDAxMTM1OTJiNTExZGQ3YTJhZWRkMTA1
|
|
11
|
+
OTM0NWZmMzY1YmE0MDE3NjJmYmY2OWIwMTQyYmQyNjQwOGJhYTI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MjVlMmJhMmI1ODI1NDUyZjllZjdkYTMyZjY4ZDRhOTdlNjI1NTg5ZTgzNDhk
|
|
14
|
+
MzJiOTEzYTM4ZWZjZjlkMTgyY2MwOWQ3ZjljNjNmM2QxMDAzYTZhNDk5ZmEy
|
|
15
|
+
MjY0ZGZmYTBkOGViMjYxMmI0ZTNhNWJkYmJiNDEwYzlkMDNlNTc=
|
data/aws-cfn-compiler.iml
CHANGED
|
@@ -8,8 +8,40 @@
|
|
|
8
8
|
<content url="file://$MODULE_DIR$" />
|
|
9
9
|
<orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p547 [aws-cfn-compile]" jdkType="RUBY_SDK" />
|
|
10
10
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
-
<orderEntry type="module
|
|
12
|
-
|
|
11
|
+
<orderEntry type="module-library">
|
|
12
|
+
<library name="aws-cfn-dsl (v0.9.6, /Users/cdelange/Dropbox/DLDInternet/ws/gems-ws/aws-cfn-dsl) [path][gem]">
|
|
13
|
+
<CLASSES>
|
|
14
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/bin" />
|
|
15
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/lib" />
|
|
16
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/pkg" />
|
|
17
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/.idea" />
|
|
18
|
+
</CLASSES>
|
|
19
|
+
<JAVADOC />
|
|
20
|
+
<SOURCES>
|
|
21
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/bin" />
|
|
22
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/lib" />
|
|
23
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/pkg" />
|
|
24
|
+
<root url="file://$MODULE_DIR$/../aws-cfn-dsl/.idea" />
|
|
25
|
+
</SOURCES>
|
|
26
|
+
</library>
|
|
27
|
+
</orderEntry>
|
|
28
|
+
<orderEntry type="module-library">
|
|
29
|
+
<library name="cloudformation-ruby-dsl (v[path], /Users/cdelange/Dropbox/DLDInternet/ws/gems-ws/cloudformation-ruby-dsl) [path][gem]">
|
|
30
|
+
<CLASSES>
|
|
31
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/bin" />
|
|
32
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/lib" />
|
|
33
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/.idea" />
|
|
34
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/vendor" />
|
|
35
|
+
</CLASSES>
|
|
36
|
+
<JAVADOC />
|
|
37
|
+
<SOURCES>
|
|
38
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/bin" />
|
|
39
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/lib" />
|
|
40
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/.idea" />
|
|
41
|
+
<root url="file://$MODULE_DIR$/../cloudformation-ruby-dsl/vendor" />
|
|
42
|
+
</SOURCES>
|
|
43
|
+
</library>
|
|
44
|
+
</orderEntry>
|
|
13
45
|
<orderEntry type="module-library">
|
|
14
46
|
<library name="dldinternet-mixlib-cli (v0.2.0, /Users/cdelange/Dropbox/DLDInternet/ws/gems-ws/dldinternet-mixlib-cli) [path][gem]">
|
|
15
47
|
<CLASSES>
|
|
@@ -45,6 +77,7 @@
|
|
|
45
77
|
</library>
|
|
46
78
|
</orderEntry>
|
|
47
79
|
<orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.2.0, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
|
80
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.6.2, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
|
48
81
|
<orderEntry type="library" scope="PROVIDED" name="detabulator (v0.1.0, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
|
49
82
|
<orderEntry type="library" scope="PROVIDED" name="inifile (v2.0.2, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
|
50
83
|
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.1, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
|
|
@@ -33,7 +33,7 @@ module Aws
|
|
|
33
33
|
when :DescriptionString
|
|
34
34
|
v = nil
|
|
35
35
|
begin
|
|
36
|
-
dependson = meta(:DependsOn)
|
|
36
|
+
dependson = meta(:DependsOn) || []
|
|
37
37
|
rescue
|
|
38
38
|
dependson = []
|
|
39
39
|
end
|
|
@@ -44,19 +44,23 @@ module Aws
|
|
|
44
44
|
if ok
|
|
45
45
|
required = required.map { |e| e.keys }.flatten
|
|
46
46
|
else
|
|
47
|
-
required =
|
|
47
|
+
required = {}
|
|
48
48
|
end
|
|
49
49
|
rescue
|
|
50
|
-
required =
|
|
50
|
+
required = {}
|
|
51
51
|
end
|
|
52
52
|
raise "Bad Require:Template: meta-data ...\n#{meta(:Require).ai}. Must resolve to a Hash!\nFor example:\nRequire:\n Template:\n - my-template: '>= 0.0.0'" unless required
|
|
53
|
-
|
|
54
|
-
#
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
begin
|
|
54
|
+
# if dependson or required
|
|
55
|
+
# noinspection RubyHashKeysTypesInspection
|
|
56
|
+
parents = {}
|
|
57
|
+
dependson.each { |i| parents[i] = true }
|
|
58
|
+
required.each { |i| parents[i] = true }
|
|
59
|
+
parents = "Parents: [#{parents.keys.join(',')}] "
|
|
60
|
+
# else
|
|
61
|
+
# parents = ''
|
|
62
|
+
# end
|
|
63
|
+
rescue
|
|
60
64
|
parents = ''
|
|
61
65
|
end
|
|
62
66
|
# noinspection RubyExpressionInStringInspection
|
|
@@ -74,7 +78,7 @@ module Aws
|
|
|
74
78
|
if spec[args]
|
|
75
79
|
spec[args]
|
|
76
80
|
else
|
|
77
|
-
raise "Meta:'#{args}' not set"
|
|
81
|
+
nil # raise "Meta:'#{args}' not set"
|
|
78
82
|
end
|
|
79
83
|
else
|
|
80
84
|
nil
|
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.9.
|
|
4
|
+
version: 0.9.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- PKinney
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|