diff options
author | Florian Frank <flori@ping.de> | 2016-02-25 11:35:16 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2016-06-07 12:43:35 +0200 |
commit | 073120714efbda55d42190ee9e3989afc568ec48 (patch) | |
tree | 7032488c8fb66b1e26f672bf187b1bdfb0946fdb | |
parent | 817098cc16d1b3a76c57de743ffc9b7f5171be21 (diff) | |
download | json-073120714efbda55d42190ee9e3989afc568ec48.tar.gz |
Use ~> 2.0 test-unit that runs on 1.8 rubies as well
-rw-r--r-- | Rakefile | 4 | ||||
-rw-r--r-- | json-java.gemspec | 6 | ||||
-rw-r--r-- | json.gemspec | bin | 4456 -> 4462 bytes | |||
-rw-r--r-- | json_pure.gemspec | 6 |
4 files changed, 8 insertions, 8 deletions
@@ -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 Binary files differindex 39ecd4f..ca023f7 100644 --- a/json.gemspec +++ b/json.gemspec 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 |