multi_json 1.8.3 → 1.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7df801671d8999a51f6f424a4021fb0ba92b02f5
4
- data.tar.gz: 868ed7197a1c723fa44ad4dba0933abdb21224d2
3
+ metadata.gz: 631aa02f675904f755e9ffe210bf01dc1a57bc7a
4
+ data.tar.gz: 4e9460040fba9ffb2e8849dd7c26b4512c4fcb3c
5
5
  SHA512:
6
- metadata.gz: a256f92792b885140a950127425c9ead3c60d41fcea230ad81a9dfa053f0c7e01b55798b4b5db984ffb083a9116236c1c8dd3a0ecf5d951cca7f9f7ddc4f0c6d
7
- data.tar.gz: 47be9e4bc4f779987890b995db6f5bfa5e98801e8f2e8c5c1def2fc3fdaa590bc91a42f74cb1fd4c750f4f6b44e7fa2963a43486b91cd1494be5939336bfc10d
6
+ metadata.gz: a1de940e0b4ac279e3a2cf2b7ca9e7f8a67eb18a4b7ad543a3cfd0221db01aed24bd061103a735670b87fe9975b00077fb5955aa98627c151d53347dee1241c9
7
+ data.tar.gz: f7d1295fa499d9b2b8a258ce91116b03ee6b135b4605c9df541a0c6e575186890c7b6b1367d59d91a6d4688eb81320a856aa46f4b3fb935760868433c154d928
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,7 @@
1
+ 1.8.4
2
+ -----
3
+ * [Make Gson adapter explicitly read StringIO object](https://github.com/intridea/multi_json/commit/b58b498747ff6e94f41488c971b2a30a98760ef2)
4
+
1
5
  1.8.3
2
6
  -----
3
7
  * [Make JrJackson explicitly read StringIO objects](https://github.com/intridea/multi_json/commit/e1f162d5b668e5e4db5afa175361a601a8aa2b05)
@@ -8,6 +8,7 @@ module MultiJson
8
8
  ParseError = ::Gson::DecodeError
9
9
 
10
10
  def load(string, options={})
11
+ string = string.read if StringIO === string
11
12
  ::Gson::Decoder.new(options).decode(string)
12
13
  end
13
14
 
@@ -2,7 +2,7 @@ module MultiJson
2
2
  class Version
3
3
  MAJOR = 1 unless defined? MultiJson::Version::MAJOR
4
4
  MINOR = 8 unless defined? MultiJson::Version::MINOR
5
- PATCH = 3 unless defined? MultiJson::Version::PATCH
5
+ PATCH = 4 unless defined? MultiJson::Version::PATCH
6
6
  PRE = nil unless defined? MultiJson::Version::PRE
7
7
 
8
8
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 1.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
8
8
  - Josh Kalderimis
9
9
  - Erik Michaels-Ober
10
10
  - Pavel Pravosud
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain:
14
14
  - |
@@ -33,25 +33,23 @@ cert_chain:
33
33
  7BTxdlSpJZDcAK29Ni3NRCRu6Air4wfDln0Ilzeuut6cJ4/j2/RlvsccVSRaEfOa
34
34
  wM7GTK5SEdU3qelyBdc4+RRs6uU=
35
35
  -----END CERTIFICATE-----
36
- date: 2014-01-09 00:00:00.000000000 Z
36
+ date: 2014-01-10 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: bundler
40
- requirement: !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
44
  version: '1.0'
45
- type: :development
46
- prerelease: false
47
- version_requirements: !ruby/object:Gem::Requirement
45
+ requirement: !ruby/object:Gem::Requirement
48
46
  requirements:
49
47
  - - ~>
50
48
  - !ruby/object:Gem::Version
51
49
  version: '1.0'
52
- description: A common interface to multiple JSON libraries, including Oj, Yajl, the
53
- JSON gem (with C-extensions), the pure-Ruby JSON gem, NSJSONSerialization, gson.rb,
54
- JrJackson, and OkJson.
50
+ prerelease: false
51
+ type: :development
52
+ description: 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.
55
53
  email:
56
54
  - michael@intridea.com
57
55
  - josh.kalderimis@gmail.com
@@ -104,7 +102,7 @@ homepage: http://github.com/intridea/multi_json
104
102
  licenses:
105
103
  - MIT
106
104
  metadata: {}
107
- post_install_message:
105
+ post_install_message:
108
106
  rdoc_options: []
109
107
  require_paths:
110
108
  - lib
@@ -119,9 +117,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
117
  - !ruby/object:Gem::Version
120
118
  version: 1.3.5
121
119
  requirements: []
122
- rubyforge_project:
123
- rubygems_version: 2.2.0
124
- signing_key:
120
+ rubyforge_project:
121
+ rubygems_version: 2.2.1
122
+ signing_key:
125
123
  specification_version: 4
126
124
  summary: A common interface to multiple JSON libraries.
127
125
  test_files:
@@ -133,9 +131,9 @@ test_files:
133
131
  - spec/nsjsonserialization_adapter_spec.rb
134
132
  - spec/oj_adapter_spec.rb
135
133
  - spec/ok_json_adapter_spec.rb
134
+ - spec/spec_helper.rb
135
+ - spec/yajl_adapter_spec.rb
136
136
  - spec/shared/adapter.rb
137
137
  - spec/shared/json_common_adapter.rb
138
138
  - spec/shared/options.rb
139
- - spec/spec_helper.rb
140
- - spec/yajl_adapter_spec.rb
141
- has_rdoc:
139
+ has_rdoc:
metadata.gz.sig CHANGED
Binary file