multi_json 1.7.8 → 1.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +3 -0
- data.tar.gz.sig +0 -0
- data/lib/multi_json.rb +1 -1
- data/lib/multi_json/adapters/json_gem.rb +1 -1
- data/lib/multi_json/adapters/json_pure.rb +1 -1
- data/lib/multi_json/version.rb +1 -1
- data/multi_json.gemspec +1 -1
- data/spec/multi_json_spec.rb +1 -1
- metadata +29 -38
- metadata.gz.sig +1 -2
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 41b6d822a8f49acf8e64928d23a8738df2a1de8c
|
4
|
+
data.tar.gz: a6671b9d3fa5d5ea4fbbc2b485bcb0ac5f1a7772
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: eb60c056232f49fd75497a5f7b52a2a3286d4eaa37f812ef3233f6cce3a697102a6d2bed2a243ccad46118ba4b12fb9dce6cbfa66951be39aa5b9497bb8d2f0c
|
7
|
+
data.tar.gz: 073200749a3b7e5a94c6131c0f5cbe8764431c3bd2426f67ae35b88be8735d6e19b128391496e078533d505fc5fabee3e9bd800cdf58ec0127a1b43172b5db5f
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/multi_json.rb
CHANGED
@@ -47,7 +47,7 @@ module MultiJson
|
|
47
47
|
return :oj if defined?(::Oj)
|
48
48
|
return :yajl if defined?(::Yajl)
|
49
49
|
return :jr_jackson if defined?(::JrJackson)
|
50
|
-
return :json_gem if defined?(::JSON)
|
50
|
+
return :json_gem if defined?(::JSON::JSON_LOADED)
|
51
51
|
return :gson if defined?(::Gson)
|
52
52
|
|
53
53
|
REQUIREMENT_MAP.each do |library, adapter|
|
data/lib/multi_json/version.rb
CHANGED
@@ -2,7 +2,7 @@ module MultiJson
|
|
2
2
|
class Version
|
3
3
|
MAJOR = 1 unless defined? MultiJson::Version::MAJOR
|
4
4
|
MINOR = 7 unless defined? MultiJson::Version::MINOR
|
5
|
-
PATCH =
|
5
|
+
PATCH = 9 unless defined? MultiJson::Version::PATCH
|
6
6
|
PRE = nil unless defined? MultiJson::Version::PRE
|
7
7
|
|
8
8
|
class << self
|
data/multi_json.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'multi_json/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.add_development_dependency 'bundler', '~> 1.0'
|
8
8
|
spec.authors = ["Michael Bleigh", "Josh Kalderimis", "Erik Michaels-Ober", "Pavel Pravosud"]
|
9
|
-
spec.cert_chain = %w(certs/
|
9
|
+
spec.cert_chain = %w(certs/rwz.pem)
|
10
10
|
spec.description = %q{A common interface to multiple JSON libraries, including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem, NSJSONSerialization, gson.rb, JrJackson, and OkJson.}
|
11
11
|
spec.email = ['michael@intridea.com', 'josh.kalderimis@gmail.com', 'sferik@gmail.com']
|
12
12
|
spec.files = Dir['.yardopts', 'CHANGELOG.md', 'CONTRIBUTING.md', 'LICENSE.md', 'README.md', 'Rakefile', 'multi_json.gemspec', 'Gemfile', '.document', '.rspec', '.travis.yml' ,'spec/**/*', 'lib/**/*']
|
data/spec/multi_json_spec.rb
CHANGED
@@ -73,7 +73,7 @@ describe 'MultiJson' do
|
|
73
73
|
|
74
74
|
it 'defaults to the best available gem' do
|
75
75
|
# Clear cache variable already set by previous tests
|
76
|
-
MultiJson.send(:remove_instance_variable, :@adapter)
|
76
|
+
MultiJson.send(:remove_instance_variable, :@adapter) if MultiJson.instance_variable_defined?(:@adapter)
|
77
77
|
if jruby?
|
78
78
|
expect(MultiJson.adapter.to_s).to eq 'MultiJson::Adapters::JrJackson'
|
79
79
|
else
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multi_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
5
|
-
prerelease:
|
4
|
+
version: 1.7.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michael Bleigh
|
@@ -12,39 +11,33 @@ authors:
|
|
12
11
|
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain:
|
15
|
-
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
aUVaLzZlaHI3WTllClhPZzRlZXVuNUwvSmptakFSb1cya05kdmtSRDNjMkVl
|
39
|
-
U0xxV3ZRUnNCbHlwSGZoczZKSnVMbHlaUEdoVTNSL3YKU2YzbFZLcEJDV2dS
|
40
|
-
cEdUdnk0NVhWcEIrNTl5MzNQSm1FdVExUFRFT1l2UXlhbzlVS01BQWFBTi83
|
41
|
-
cVdRdGpsMApobHc9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
42
|
-
date: 2013-08-04 00:00:00.000000000 Z
|
14
|
+
- |
|
15
|
+
-----BEGIN CERTIFICATE-----
|
16
|
+
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ4wDAYDVQQDDAVwYXZl
|
17
|
+
bDEYMBYGCgmSJomT8ixkARkWCHByYXZvc3VkMRMwEQYKCZImiZPyLGQBGRYDY29t
|
18
|
+
MB4XDTEzMDgxMTE1NDYzNVoXDTE0MDgxMTE1NDYzNVowPzEOMAwGA1UEAwwFcGF2
|
19
|
+
ZWwxGDAWBgoJkiaJk/IsZAEZFghwcmF2b3N1ZDETMBEGCgmSJomT8ixkARkWA2Nv
|
20
|
+
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAO8/eRkT0QewaGvJ4nnV
|
21
|
+
PejBZ50kVhQIQAdc+fdp4JyQX4Nn1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
name: bundler
|
46
40
|
requirement: !ruby/object:Gem::Requirement
|
47
|
-
none: false
|
48
41
|
requirements:
|
49
42
|
- - ~>
|
50
43
|
- !ruby/object:Gem::Version
|
@@ -52,7 +45,6 @@ dependencies:
|
|
52
45
|
type: :development
|
53
46
|
prerelease: false
|
54
47
|
version_requirements: !ruby/object:Gem::Requirement
|
55
|
-
none: false
|
56
48
|
requirements:
|
57
49
|
- - ~>
|
58
50
|
- !ruby/object:Gem::Version
|
@@ -103,27 +95,26 @@ files:
|
|
103
95
|
homepage: http://github.com/intridea/multi_json
|
104
96
|
licenses:
|
105
97
|
- MIT
|
98
|
+
metadata: {}
|
106
99
|
post_install_message:
|
107
100
|
rdoc_options: []
|
108
101
|
require_paths:
|
109
102
|
- lib
|
110
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
-
none: false
|
112
104
|
requirements:
|
113
|
-
- -
|
105
|
+
- - '>='
|
114
106
|
- !ruby/object:Gem::Version
|
115
107
|
version: '0'
|
116
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
109
|
requirements:
|
119
|
-
- -
|
110
|
+
- - '>='
|
120
111
|
- !ruby/object:Gem::Version
|
121
112
|
version: 1.3.5
|
122
113
|
requirements: []
|
123
114
|
rubyforge_project:
|
124
|
-
rubygems_version:
|
115
|
+
rubygems_version: 2.0.5
|
125
116
|
signing_key:
|
126
|
-
specification_version:
|
117
|
+
specification_version: 4
|
127
118
|
summary: A common interface to multiple JSON libraries.
|
128
119
|
test_files:
|
129
120
|
- spec/adapter_shared_example.rb
|
metadata.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
N_`~�{\Q�f��8���"�8�e�"#��)1;�G�_']��/���<��·4���7��WEh"�71.�4�y�T��˦0EPi���ZG91n�)��9WI��x�)�(�k�յ��N��!����g�Mbʘ
|
1
|
+
����]�{Րp��~���ċ��_A�T�B�1��L�0�D�ۋ+��(�%��b�.a�L6����j:C�{_��o�~�zjX��4˸� �WCЀsR���?7���et.q%�ꮅ�q�w'�!,�ą����7���F8~:�����".�~�״V�%����.����t|�.-b�MC7C�/L;�Yyyb�B��c,���l1U�}���M��T3J�"r��.�El�����
|