mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import json-2.3.0 from flori/json
This commit is contained in:
parent
7d991a0571
commit
53e8589c69
3 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue