rexleparser 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rexleparser.rb +8 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7d6d87aedcd1abad97efbb9480032c536e792fe
|
4
|
+
data.tar.gz: ae418f12f80843ed1dc9b325f443c5309b61ac8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9707d7e66a1b7aecd70b34186289cffbc1bb6b22b6f7a07d0b66c99e2a0b88563fca0ffb0b1b2de26e38eb53fb52c3ac19052c04f3ba68f93774fea5a64393bc
|
7
|
+
data.tar.gz: 64f56297be5b6b79ec5e4221be975c62647b05c4cc0ac2752db6c148c283034497722a1faa3829ef4d472a98c6fcd2d31dbdb6bdf4f247ccf5930d46ec6f5585
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rexleparser.rb
CHANGED
@@ -26,7 +26,14 @@ class Attributes < Hash
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def merge(h)
|
29
|
-
|
29
|
+
|
30
|
+
h2 = h.inject({}) do |r, kv|
|
31
|
+
k, raw_v = kv
|
32
|
+
v = raw_v.is_a?(String) ? Value.new(raw_v) : raw_v
|
33
|
+
r.merge(k => v)
|
34
|
+
end
|
35
|
+
|
36
|
+
super(h2)
|
30
37
|
|
31
38
|
end
|
32
39
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|