Import json-2.3.0 from flori/json

This commit is contained in:
Hiroshi SHIBATA 2019-12-12 09:14:09 +09:00
Родитель 7d991a0571
Коммит 53e8589c69
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -2,12 +2,12 @@
Gem::Specification.new do |s|
s.name = "json"
s.version = "2.2.0"
s.version = "2.3.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Florian Frank"]
s.date = "2019-02-21"
s.date = "2019-12-11"
s.description = "This is a JSON implementation as a Ruby extension in C."
s.email = "flori@ping.de"
s.extensions = ["ext/json/ext/generator/extconf.rb", "ext/json/ext/parser/extconf.rb", "ext/json/extconf.rb"]
@ -124,7 +124,7 @@ Gem::Specification.new do |s|
s.licenses = ["Ruby"]
s.rdoc_options = ["--title", "JSON implemention for Ruby", "--main", "README.md"]
s.required_ruby_version = Gem::Requirement.new(">= 1.9")
s.rubygems_version = "3.0.2"
s.rubygems_version = "3.0.3"
s.summary = "JSON Implementation for Ruby"
s.test_files = ["tests/test_helper.rb"]

Просмотреть файл

@ -1,7 +1,7 @@
# frozen_string_literal: false
module JSON
# JSON version
VERSION = '2.2.0'
VERSION = '2.3.0'
VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:

Просмотреть файл

@ -49,6 +49,7 @@ EOT
end
def test_remove_const_segv
return if RUBY_ENGINE == 'jruby'
stress = GC.stress
const = JSON::SAFE_STATE_PROTOTYPE.dup