summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2016-02-25 11:35:16 +0100
committerFlorian Frank <flori@ping.de>2016-06-07 12:43:35 +0200
commit073120714efbda55d42190ee9e3989afc568ec48 (patch)
tree7032488c8fb66b1e26f672bf187b1bdfb0946fdb
parent817098cc16d1b3a76c57de743ffc9b7f5171be21 (diff)
downloadjson-073120714efbda55d42190ee9e3989afc568ec48.tar.gz
Use ~> 2.0 test-unit that runs on 1.8 rubies as well
-rw-r--r--Rakefile4
-rw-r--r--json-java.gemspec6
-rw-r--r--json.gemspecbin4456 -> 4462 bytes
-rw-r--r--json_pure.gemspec6
4 files changed, 8 insertions, 8 deletions
diff --git a/Rakefile b/Rakefile
index 89d2784..4aa311e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -84,7 +84,7 @@ if defined?(Gem) and defined?(Gem::PackageTask)
s.require_path = 'lib'
s.add_development_dependency 'rake'
- s.add_development_dependency 'test-unit'
+ s.add_development_dependency 'test-unit', '~> 2.0'
s.extra_rdoc_files << 'README.md'
s.rdoc_options <<
@@ -121,7 +121,7 @@ if defined?(Gem) and defined?(Gem::PackageTask)
s.require_path = 'lib'
s.add_development_dependency 'rake'
- s.add_development_dependency 'test-unit'
+ s.add_development_dependency 'test-unit', '~> 2.0'
s.extra_rdoc_files << 'README.md'
s.rdoc_options <<
diff --git a/json-java.gemspec b/json-java.gemspec
index e691a3e..1524b1f 100644
--- a/json-java.gemspec
+++ b/json-java.gemspec
@@ -20,14 +20,14 @@ spec = Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rake>, [">= 0"])
- s.add_development_dependency(%q<test-unit>, [">= 0"])
+ s.add_development_dependency(%q<test-unit>, ["~> 2.0"])
else
s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<test-unit>, [">= 0"])
+ s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
else
s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<test-unit>, [">= 0"])
+ s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
end
diff --git a/json.gemspec b/json.gemspec
index 39ecd4f..ca023f7 100644
--- a/json.gemspec
+++ b/json.gemspec
Binary files differ
diff --git a/json_pure.gemspec b/json_pure.gemspec
index cff006e..c2fb15f 100644
--- a/json_pure.gemspec
+++ b/json_pure.gemspec
@@ -25,13 +25,13 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rake>, [">= 0"])
- s.add_development_dependency(%q<test-unit>, [">= 0"])
+ s.add_development_dependency(%q<test-unit>, ["~> 2.0"])
else
s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<test-unit>, [">= 0"])
+ s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
else
s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<test-unit>, [">= 0"])
+ s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
end