summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/json/json.gemspec4
-rw-r--r--ext/json/lib/json/version.rb2
-rw-r--r--test/json/test_helper.rb6
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec
index 30f5d70..cfa3c03 100644
--- a/ext/json/json.gemspec
+++ b/ext/json/json.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = "json"
- s.version = "2.3.0"
+ s.version = "2.3.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
@@ -135,5 +135,5 @@ Gem::Specification.new do |s|
s.test_files = ["tests/test_helper.rb"]
s.add_development_dependency("rake", [">= 0"])
- s.add_development_dependency("test-unit", ["~> 2.0"])
+ s.add_development_dependency("test-unit", [">= 2.0", "< 4.0"])
end
diff --git a/ext/json/lib/json/version.rb b/ext/json/lib/json/version.rb
index 9d781df..e4dd3e3 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.3.0'
+ VERSION = '2.3.1'
VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb
index 446c020..c5ec0fc 100644
--- a/test/json/test_helper.rb
+++ b/test/json/test_helper.rb
@@ -1,12 +1,12 @@
case ENV['JSON']
when 'pure'
- $:.unshift File.join(__dir__, '../lib')
+ $:.unshift 'lib'
require 'json/pure'
when 'ext'
- $:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib')
+ $:.unshift 'ext', 'lib'
require 'json/ext'
else
- $:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib')
+ $:.unshift 'ext', 'lib'
require 'json'
end