multi_json 1.19.0 → 1.19.1
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/multi_json/version.rb +1 -1
- data/lib/multi_json.rb +4 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d32c6ecf7a376a7280adac3692fd9b256d0934b1cff4724955b815a76a8b8d1
|
|
4
|
+
data.tar.gz: f273e11d29ac7ec97954410f1b9af76d4e3f43a299c0507583371e15d01af0cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01ae1a673f2ccb2bbe25ee7e960f1e2984859495c50bdeeab4e1c5aa0315915f2b8f815b88a23bd5de781fed52d35b0ab8f0986a1aad8d74a3e055d554347107
|
|
7
|
+
data.tar.gz: 69f7aa6acd371a2852f12a616d0501f33acd85c01ac0204669ef4c30ebb058b7399cccb4b0fa830c41ec0a4cdd2ad8273ca134d9915b59dc53c4f5c4f6bf664c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.19.1
|
|
4
|
+
* [Restore deprecated encode/decode methods](https://github.com/sferik/multi_json/commit/c5bf2fc95dfdde6b30d63fefb0b2f4aa29633969)
|
|
5
|
+
|
|
3
6
|
## 1.19.0
|
|
4
7
|
* [Fix serialization of ActiveSupport-enhanced objects](https://github.com/sferik/multi_json/commit/03a367813ebd7ed87eb22ea05249cc6453bb3c10)
|
|
5
8
|
|
data/lib/multi_json/version.rb
CHANGED
|
@@ -8,7 +8,7 @@ module MultiJson
|
|
|
8
8
|
# Minor version number
|
|
9
9
|
MINOR = 19 unless defined? MultiJson::Version::MINOR
|
|
10
10
|
# Patch version number
|
|
11
|
-
PATCH =
|
|
11
|
+
PATCH = 1 unless defined? MultiJson::Version::PATCH
|
|
12
12
|
# Pre-release version suffix
|
|
13
13
|
PRE = nil unless defined? MultiJson::Version::PRE
|
|
14
14
|
|
data/lib/multi_json.rb
CHANGED
|
@@ -163,10 +163,12 @@ module MultiJson
|
|
|
163
163
|
# Parses a JSON string into a Ruby object
|
|
164
164
|
#
|
|
165
165
|
# @api private
|
|
166
|
+
# @deprecated Use {.load} instead
|
|
166
167
|
# @return [Object] parsed Ruby object
|
|
167
168
|
# @example
|
|
168
169
|
# MultiJson.decode('{"foo":"bar"}') #=> {"foo" => "bar"}
|
|
169
170
|
alias_method :decode, :load
|
|
171
|
+
module_function :decode
|
|
170
172
|
|
|
171
173
|
# Returns the adapter to use for the given options
|
|
172
174
|
#
|
|
@@ -196,10 +198,12 @@ module MultiJson
|
|
|
196
198
|
# Serializes a Ruby object to a JSON string
|
|
197
199
|
#
|
|
198
200
|
# @api private
|
|
201
|
+
# @deprecated Use {.dump} instead
|
|
199
202
|
# @return [String] JSON string
|
|
200
203
|
# @example
|
|
201
204
|
# MultiJson.encode({foo: "bar"}) #=> '{"foo":"bar"}'
|
|
202
205
|
alias_method :encode, :dump
|
|
206
|
+
module_function :encode
|
|
203
207
|
|
|
204
208
|
# Executes a block using the specified adapter
|
|
205
209
|
#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: multi_json
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.19.
|
|
4
|
+
version: 1.19.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bleigh
|
|
@@ -47,10 +47,10 @@ licenses:
|
|
|
47
47
|
- MIT
|
|
48
48
|
metadata:
|
|
49
49
|
bug_tracker_uri: https://github.com/sferik/multi_json/issues
|
|
50
|
-
changelog_uri: https://github.com/sferik/multi_json/blob/v1.19.
|
|
51
|
-
documentation_uri: https://www.rubydoc.info/gems/multi_json/1.19.
|
|
50
|
+
changelog_uri: https://github.com/sferik/multi_json/blob/v1.19.1/CHANGELOG.md
|
|
51
|
+
documentation_uri: https://www.rubydoc.info/gems/multi_json/1.19.1
|
|
52
52
|
rubygems_mfa_required: 'true'
|
|
53
|
-
source_code_uri: https://github.com/sferik/multi_json/tree/v1.19.
|
|
53
|
+
source_code_uri: https://github.com/sferik/multi_json/tree/v1.19.1
|
|
54
54
|
wiki_uri: https://github.com/sferik/multi_json/wiki
|
|
55
55
|
rdoc_options: []
|
|
56
56
|
require_paths:
|