cfndsl 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfndsl/JSONable.rb +1 -1
- data/lib/cfndsl/Metadata.rb +12 -0
- metadata +1 -1
data/lib/cfndsl/JSONable.rb
CHANGED
@@ -68,7 +68,7 @@ module CfnDsl
|
|
68
68
|
if(arguments.length == 0 ||
|
69
69
|
(arguments.length == 1 && arguments[0].instance_of?(Hash)) ) then
|
70
70
|
hash = arguments[0] || {}
|
71
|
-
string.scan( /(.*?)(%(%|\{(\w+)\})|\z)/m ) do |x,y|
|
71
|
+
string.scan( /(.*?)(%(%|\{([\w:]+)\})|\z)/m ) do |x,y|
|
72
72
|
array.push $1 if $1 && $1 != ""
|
73
73
|
if( $3 == '%' ) then
|
74
74
|
array.push '%'
|
data/lib/cfndsl/Metadata.rb
CHANGED