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 +4 -4
- data/lib/jsonpathv2/enumerable.rb +1 -1
- data/lib/jsonpathv2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1b74bc5a7d7f18153ff9c750d7a105b9c56f912
|
4
|
+
data.tar.gz: 0c90224c771b4c0d30219610207df15ceaf20739
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/jsonpathv2/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|