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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72a2b0fd80475817b3bddc6d60f9e28f88111416
4
- data.tar.gz: 5146cd3be237c61485ca3f4ce1b6776d74c63a71
3
+ metadata.gz: f7d6d87aedcd1abad97efbb9480032c536e792fe
4
+ data.tar.gz: ae418f12f80843ed1dc9b325f443c5309b61ac8f
5
5
  SHA512:
6
- metadata.gz: 51f607ae609339e52ac4769406ee04d81cc0cf095148f9e766b4ee4566d0672b976224496f0949af605d000a2cfbe67dd99da031ba3f209b45bc56aa2dc77faf
7
- data.tar.gz: 5788b9b82cd0a472bd06528c30176e75b1163c6d98c93015b64f326ff2755063dc2242d9160de5f8abe8aa878f29133916e916520306d3416cee618cb4eef796
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
- super h.inject({}) {|r, kv| k, v = kv; r.merge(k => Value.new(v)) }
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexleparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file