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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bed41e770ee77a4463071a2b61e4f51c83a272a
4
- data.tar.gz: a981fb539cd9d1dd953db4a1a57bcc59e2e17503
3
+ metadata.gz: ea227ba7f5a217cfd83cfd2284696554284d4bcb
4
+ data.tar.gz: d1cdbde7824a3d0e6aa8c3d8719df5b35c7f5aa8
5
5
  SHA512:
6
- metadata.gz: a2f7c233ee25bc07603685d0b07323cb2e784e1556cc6c66b468275e4f77f82f350f5fdd0ba540928f18d3695f8fd13058611c3eef416c94be3954a43400cd6f
7
- data.tar.gz: 61f6ef0912a8b437023dc241731b81af831fa35104ed42d6effeca90d3c743f957e269c2f1661a7e9d10d80e8c8fcfa1d672e15f04b7dd14d4e812a605be81a3
6
+ metadata.gz: a512789b170dfd74a9b26dbe9128d9a01cf9f85169ecc3271cf7d3d03fb1f04abf51eeae063b9ceae85796586646914446cd1f0bbc431ad4ec562dd86bcadf3d
7
+ data.tar.gz: c3a1bc0f0914805ef16f051e1156d73ab12de55f2fcc0aec901e9eea67848c991b42528be0a04fef99824e1039d9e202a29641e0bec4f50a54483fd5d7b0f03d
@@ -1,6 +1,14 @@
1
- gem('json', '>= 1.8.1') # fix for Ruby 1.9.3
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
 
@@ -1,3 +1,3 @@
1
1
  module JMESPath
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
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.1
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: json
14
+ name: json_pure
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="