jmespath 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jmespath might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/jmespath.rb +10 -2
- data/lib/jmespath/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: ea227ba7f5a217cfd83cfd2284696554284d4bcb
|
4
|
+
data.tar.gz: d1cdbde7824a3d0e6aa8c3d8719df5b35c7f5aa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a512789b170dfd74a9b26dbe9128d9a01cf9f85169ecc3271cf7d3d03fb1f04abf51eeae063b9ceae85796586646914446cd1f0bbc431ad4ec562dd86bcadf3d
|
7
|
+
data.tar.gz: c3a1bc0f0914805ef16f051e1156d73ab12de55f2fcc0aec901e9eea67848c991b42528be0a04fef99824e1039d9e202a29641e0bec4f50a54483fd5d7b0f03d
|
data/lib/jmespath.rb
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
# Attempt to load the native version if available, not availble
|
3
|
+
# by default for Ruby 1.9.3.
|
4
|
+
gem('json', '>= 1.8.1')
|
5
|
+
require 'json/ext'
|
6
|
+
rescue Gem::LoadError
|
7
|
+
# Fallback on the json_pure gem dependency.
|
8
|
+
gem('json_pure', '>= 1.8.1')
|
9
|
+
require 'json/pure'
|
10
|
+
end
|
2
11
|
|
3
|
-
require 'json'
|
4
12
|
require 'stringio'
|
5
13
|
require 'pathname'
|
6
14
|
|
data/lib/jmespath/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jmespath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trevor Rowe
|
@@ -11,7 +11,7 @@ cert_chain: []
|
|
11
11
|
date: 2016-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: json_pure
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|