aws-cfn-compiler 0.8.3 → 0.8.4
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/lib/aws/cfn/compiler/mixins/parse.rb +5 -4
- data/lib/aws/cfn/compiler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODQ3MmQyOTA3MzJiY2M1NGVhOWExMGE1MjYzNmRkZWI1NzlkNDE5OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDUwNzAxZTlmN2M5OWVlY2Y2ZmVjMzllODkyNDE3MDk4ZmVmNTA4OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODNjMjk2MTM2MzJjZGFhNzBlOWRiMGVmZjJjOWI4NzE0MDNiMjFlMmRjNTVl
|
10
|
+
ZGY4ZDVhNGY5NGY5MGZkYmZkNjU3NGE5MGE2Mzk2NzM0M2Q1YzNkNDE1ZWI1
|
11
|
+
NDE4Y2ZlMzAwYjhiZGZiZTUzMjdlNmNjOTViOWFhYjAxZTYyMzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTMwN2M4OWIzYzUzZGI2OTE2YTdiN2E4ZjM5YmMyMzhiZTgyZDZiYTA1OGQ2
|
14
|
+
MzNhYjQzMGY1MzQ1NWY3MThlODkwZDU1NTI3NWFlNTQ0ZmJlOWZhNGVhYzk4
|
15
|
+
MWY5ODAwZThmOWExYzY5NGM1Yzc5YzIxYTQyMDY5OGM4NzVhMzU=
|
@@ -98,18 +98,19 @@ module Aws
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def sym_to_s(hash)
|
101
|
-
|
101
|
+
case hash.class.name
|
102
|
+
when /Hash/
|
102
103
|
item = {}
|
103
104
|
hash.each { |k,v|
|
104
105
|
item[k.to_s] = sym_to_s(v)
|
105
106
|
}
|
106
107
|
item
|
107
|
-
|
108
|
+
when /Array/
|
108
109
|
hash.map{|e| sym_to_s(e) }
|
109
|
-
|
110
|
+
when /String|TrueClass|FalseClass/
|
110
111
|
hash
|
111
112
|
else
|
112
|
-
abort! "#{hash} is a #{hash.class.name}"
|
113
|
+
abort! "Internal error: #{hash} is a #{hash.class.name} which our Ruby parsing is not prepared for. Fix #{__FILE__}::sym_to_s"
|
113
114
|
end
|
114
115
|
end
|
115
116
|
|