kumogata 0.5.11 → 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kumogata/client.rb +2 -0
- data/lib/kumogata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ea7126527bd64c5a14fce9c5853db85c20fff03
|
4
|
+
data.tar.gz: 25c72906643bdd0302d6f531a91fb53d242d343b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 949364f0b7ce8aed0c931c053089aff2a8b50780c6f34270daf9c2351c36134cd03acaa6886745d7edae4d7bf2c378c0c04104627ea553cbea5dd390eb742f54
|
7
|
+
data.tar.gz: c273d39e8f14cc131b0f19fcaee8bc3134ba5c4f6ee4c93166a2ff74d592e71f36cb7f19813a667a9419ccb9eea43339441e7bafc8666835e17457831d7bb946
|
data/lib/kumogata/client.rb
CHANGED
@@ -261,6 +261,7 @@ class Kumogata::Client
|
|
261
261
|
|
262
262
|
def devaluate_template(template)
|
263
263
|
exclude_key = proc do |k|
|
264
|
+
k = k.to_s.gsub(':', '_')
|
264
265
|
k = k.to_s.gsub('::', '__')
|
265
266
|
k !~ /\A[_a-z]\w+\Z/i and k !~ %r|\A/\S*\Z|
|
266
267
|
end
|
@@ -277,6 +278,7 @@ class Kumogata::Client
|
|
277
278
|
end
|
278
279
|
end
|
279
280
|
else
|
281
|
+
k.gsub(':', '_')
|
280
282
|
k.gsub('::', '__')
|
281
283
|
end
|
282
284
|
end
|
data/lib/kumogata/version.rb
CHANGED