jsonpathv2 0.0.7 → 0.0.8

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: f23e4231290ad706db184bb34ab670e849963295
4
- data.tar.gz: c8855a86cff8cc2fa40054f782bc006bd7b42f3d
3
+ metadata.gz: a1b74bc5a7d7f18153ff9c750d7a105b9c56f912
4
+ data.tar.gz: 0c90224c771b4c0d30219610207df15ceaf20739
5
5
  SHA512:
6
- metadata.gz: da31e03333972e227a8ec457c03cba2fe35efb714245ee8427f479f8414e0e9dad11973ea309d2895e598f8c75e1833fce5c5f6d8c41903c36bbfa1de0418ba6
7
- data.tar.gz: c3750c04010e7fd14e78e8b9b88cbca3cd9e057b71a181692519854551b634786a78813f4e51695788ca9c933e2814d0901eff86facc54019d4b32c30f57ba46
6
+ metadata.gz: 9a4f3445cf35734d3a82eeee264f07188cb7f77d63f356c9720fbca618fca7f4e1d7faad72c8bb1867111f1cdfb8d6937d31fadb8a0ff79883d6428514a7cb10
7
+ data.tar.gz: 7374f0a1c4b7e483d0ab0f4a7d1190b13a3b3358dbabdb4c09627b62622a572eacee7c801d6efff74b704dfd6e13bc7988f4357b8844004169059ad68c857b5d
@@ -63,7 +63,7 @@ class JsonPath
63
63
  next unless start_idx
64
64
  end_idx = (array_args[1] && process_function_or_literal(array_args[1], -1) || (sub_path.count(':') == 0 ? start_idx : -1))
65
65
  next unless end_idx
66
- next if start_idx == end_idx && start_idx > node.size
66
+ next if start_idx == end_idx && start_idx >= node.size
67
67
  end
68
68
  start_idx %= node.size
69
69
  end_idx %= node.size
@@ -1,3 +1,3 @@
1
1
  class JsonPath
2
- VERSION = '0.0.7'.freeze
2
+ VERSION = '0.0.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonpathv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gergely Brautigam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-07 00:00:00.000000000 Z
11
+ date: 2016-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json