chaoite 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cff96a640576390a9d96a6a08b8861a2cb0ad054
4
- data.tar.gz: 7f94b31c8f13b5c3461fe4d38e24afdf7b9e5dcd
3
+ metadata.gz: 2a43a7b9e8d94c49f539e6ca651c826c803df5a2
4
+ data.tar.gz: 8a44621e891f393650562999535438389fdd47a7
5
5
  SHA512:
6
- metadata.gz: d0b3292ec41b1508e056611570a703280e26e154aac918a195c19c344490f130c17ad3c7eba748d631d9001926b2d0c0d578d717f3e76328bc632ebfb9fc2c96
7
- data.tar.gz: 2220675fbd090b9ffbb1d490003bb82fa210673aac54f4796cd3108cfb43bcd8e755e0243506a3509dac624ce7877a424321f1c32b921f6884fdc24d20dbe65a
6
+ metadata.gz: b56178cd81b5a8265fb231eb1e57ef6aaa7f81c7ca92ea5f5b46039d8d000d69cc02dcabcc6b7e4b65c91036ebbe2bcbf6972b3502500be03916f6c794008657
7
+ data.tar.gz: e82673c783dd912d8dac9410580d2ffce28d8127d135a4679738e56df64553cd2cae6c8036790ea316da7488475c7ce74b9abc8333b7ae1e3a6a266d1f145fe6
@@ -64,7 +64,7 @@ module Handler
64
64
  key = resolve_json_path(data, config["key"])
65
65
  value = resolve_json_path(data, config["jsonvalue"])
66
66
  raise "json parser: key count should equal value count" if (key.length != value.length)
67
- key.zip(value).to_h
67
+ Hash[key.zip(value)]
68
68
  end
69
69
 
70
70
  end
@@ -1,3 +1,3 @@
1
1
  module Chaoite
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chaoite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aswin