json_pure 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d55675fae6550131acdd6d82e4c1f307caf7dfd7654b42e2c4eb44f0c89fad79
4
- data.tar.gz: e715e4be760237f640f151b4ab3e48bdf8521e3a5c9a4155feaa06b9a6f441b3
3
+ metadata.gz: f4e1c25d9bf266db237cc4ff4b8ed5d3eef23970a2955629263bd77cde2a2d22
4
+ data.tar.gz: 17c534038df29705db934ed1142422809303e15e867b10826f2249b593b01b9c
5
5
  SHA512:
6
- metadata.gz: 3cbc869733b4409e9921a45fccc8f03e4b92e646feb19440d04908aaa9639349c3350b63d733361cd0508404b589c1e3a79c18da6095b20a6ed368ec73440e63
7
- data.tar.gz: cf240eeac4109b3bdb13d9ed5c0d725267ba806ac6794f81bdfb24c4d89877655a8c34b72867dc70fdda1b9a912ec87dac688bfa888c185f63ff18625a2d61f4
6
+ metadata.gz: 21d99e851ffb2f991fe4b1abc9aa68afe45fbce41db7bfd46a3e511b5f5436cf8074f9916287bf73b9bb9fb47c50747b49a75461c90c43300cb9dcb196c28856
7
+ data.tar.gz: b4f0783804a87d0274f757085933df8776c4faa7776d43075c9613b210ccff72988cdec0895aef6b94aaec2e02ce03b512c8d093b534bf7d4e4a5778716e51ca
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2020-12-22 (2.5.1)
4
+
5
+ * Restore the compatibility for constants of JSON class.
6
+
3
7
  ## 2020-12-22 (2.5.0)
4
8
 
5
9
  * Ready to Ractor-safe at Ruby 3.0.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.0
1
+ 2.5.1
@@ -72,6 +72,8 @@ module JSON
72
72
  self.state = generator::State
73
73
  const_set :State, self.state
74
74
  const_set :SAFE_STATE_PROTOTYPE, State.new # for JRuby
75
+ const_set :FAST_STATE_PROTOTYPE, create_fast_state
76
+ const_set :PRETTY_STATE_PROTOTYPE, create_pretty_state
75
77
  ensure
76
78
  $VERBOSE = old
77
79
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
  module JSON
3
3
  # JSON version
4
- VERSION = '2.5.0'
4
+ VERSION = '2.5.1'
5
5
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
6
6
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
7
7
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_pure
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank