lib/kumogata/client.rb in kumogata-0.5.11 vs lib/kumogata/client.rb in kumogata-0.5.12

- old
+ new

@@ -259,10 +259,11 @@ return {} unless triggers end def devaluate_template(template) exclude_key = proc do |k| + k = k.to_s.gsub(':', '_') k = k.to_s.gsub('::', '__') k !~ /\A[_a-z]\w+\Z/i and k !~ %r|\A/\S*\Z| end key_conv = proc do |k| @@ -275,9 +276,10 @@ else "_path #{k.inspect}, #{v}" end end else + k.gsub(':', '_') k.gsub('::', '__') end end value_conv = proc do |v|