lib/aws/cfn/compiler/mixins/parse.rb in aws-cfn-compiler-0.8.4 vs lib/aws/cfn/compiler/mixins/parse.rb in aws-cfn-compiler-0.8.5
- old
+ new
@@ -105,10 +105,10 @@
item[k.to_s] = sym_to_s(v)
}
item
when /Array/
hash.map{|e| sym_to_s(e) }
- when /String|TrueClass|FalseClass/
+ when /Fixnum|String|TrueClass|FalseClass/
hash
else
abort! "Internal error: #{hash} is a #{hash.class.name} which our Ruby parsing is not prepared for. Fix #{__FILE__}::sym_to_s"
end
end