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.
@@ -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
@@ -0,0 +1,3 @@
1
+ iU} �g�䕷��
2
+ f��.]
3
+ kdw����>2ڞ��\�'s�;նl&�u���{R����/�F��J��5t� 7��F6M<
data.tar.gz.sig CHANGED
Binary file
@@ -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|
@@ -1,4 +1,4 @@
1
- require 'json' unless defined?(::JSON)
1
+ require 'json/ext'
2
2
  require 'multi_json/adapters/json_common'
3
3
 
4
4
  module MultiJson
@@ -1,4 +1,4 @@
1
- require 'json/pure' unless defined?(::JSON)
1
+ require 'json/pure'
2
2
  require 'multi_json/adapters/json_common'
3
3
 
4
4
  module MultiJson
@@ -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 = 8 unless defined? MultiJson::Version::PATCH
5
+ PATCH = 9 unless defined? MultiJson::Version::PATCH
6
6
  PRE = nil unless defined? MultiJson::Version::PRE
7
7
 
8
8
  class << self
@@ -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/sferik.pem)
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/**/*']
@@ -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.8
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
- - !binary |-
16
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMakNDQWhhZ0F3SUJB
17
- Z0lCQURBTkJna3Foa2lHOXcwQkFR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V7IcQrz1OaGwdr7r+1D4Y0ZM0bCJVq882UNsqlnLC3tHGMNsPEj+dgrysWp
24
+ c7XRxH+LZHfPVYy2JQ+DmAFZE8yjuRe/BgsAe59j7Zxtxu62BrLk2yWp44YZF0Gx
25
+ nwJh83W7cSmNDGKy72tIsuUAqSUunp3rJ2zkgkY3G9lFQHqIzxQJxdq8Ir0GFlUo
26
+ W6cCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFDti
27
+ +zDBnPhm+3PsLqXqlFWuxiCsMB0GA1UdEQQWMBSBEnBhdmVsQHByYXZvc3VkLmNv
28
+ bTAdBgNVHRIEFjAUgRJwYXZlbEBwcmF2b3N1ZC5jb20wDQYJKoZIhvcNAQEFBQAD
29
+ ggEBAC/fDN75QBrn+A5ERo9qlMd1DcAC3UNvjnWpHvRTva2I1PxIg2zEJphOimDo
30
+ hEvmruC3urPpMwEuAsRfyL6+5SRBnAfLP4Yu7SFYuMRtnZvIYVUgUmxoteISbm7g
31
+ FPXe8v3M5aYJ1e/VM11G+2ZwXsAx/rH4kaAhFBMQadrnamluFHX+tdTVCbEwZW/5
32
+ NrgsYshJ0qFLYhfktlApOAisrXZskGYAeUQSWVu5nzqQlQ3+wXNsPtATuZNtvUaB
33
+ 7BTxdlSpJZDcAK29Ni3NRCRu6Air4wfDln0Ilzeuut6cJ4/j2/RlvsccVSRaEfOa
34
+ wM7GTK5SEdU3qelyBdc4+RRs6uU=
35
+ -----END CERTIFICATE-----
36
+ date: 2013-08-11 00:00:00.000000000 Z
43
37
  dependencies:
44
38
  - !ruby/object:Gem::Dependency
45
39
  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: 1.8.23
115
+ rubygems_version: 2.0.5
125
116
  signing_key:
126
- specification_version: 3
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
- Z�-�R��7����T�j��;���S�`�� ���M��� ��ʶ?�Wf6J���5μRpl&r���/�,�U�ƒQ ��߻f��l0ɲ�FƨfE�Ld)1�H���f.
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%�ꮅ�qw'�!,�ą����7���F8~:�����".�~�״V�%����.����t|�.-b�MC7C�/L;�Yyyb�B��c,���l1U�}��׺�M��T3J�"r��.�El�����