From edb76e8765b7f165237c8ca6155cff1cc0f18cf9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 22 Dec 2020 18:18:32 +0900 Subject: Prepare to release json-2.5.0 --- ext/json/VERSION | 2 +- ext/json/lib/json/common.rb | 1 + ext/json/lib/json/version.rb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/json') diff --git a/ext/json/VERSION b/ext/json/VERSION index 005119baaa..437459cd94 100644 --- a/ext/json/VERSION +++ b/ext/json/VERSION @@ -1 +1 @@ -2.4.1 +2.5.0 diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb index d58c7eae90..3e390f2d6b 100644 --- a/ext/json/lib/json/common.rb +++ b/ext/json/lib/json/common.rb @@ -71,6 +71,7 @@ module JSON end self.state = generator::State const_set :State, self.state + const_set :SAFE_STATE_PROTOTYPE, State.new # for JRuby ensure $VERBOSE = old end diff --git a/ext/json/lib/json/version.rb b/ext/json/lib/json/version.rb index 5502a4d273..2a0a6e8e55 100644 --- a/ext/json/lib/json/version.rb +++ b/ext/json/lib/json/version.rb @@ -1,7 +1,7 @@ # frozen_string_literal: false module JSON # JSON version - VERSION = '2.4.1' + VERSION = '2.5.0' VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc: VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc: VERSION_MINOR = VERSION_ARRAY[1] # :nodoc: -- cgit v1.2.3