Skip to content

Commit

Permalink
relax test-unit version for old ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Nov 29, 2019
1 parent 05de02f commit 87379e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if defined?(Gem) and defined?(Gem::PackageTask)

s.require_path = 'lib'
s.add_development_dependency 'rake'
s.add_development_dependency 'test-unit', '~> 3.0'
s.add_development_dependency 'test-unit', '~> 2.0'

s.extra_rdoc_files << 'README.md'
s.rdoc_options <<
Expand Down Expand Up @@ -127,7 +127,7 @@ if defined?(Gem) and defined?(Gem::PackageTask)

s.require_path = 'lib'
s.add_development_dependency 'rake'
s.add_development_dependency 'test-unit', '~> 3.0'
s.add_development_dependency 'test-unit', '~> 2.0'

s.extra_rdoc_files << 'README.md'
s.rdoc_options <<
Expand Down
2 changes: 1 addition & 1 deletion ext/json/ext/parser/parser.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* This file is automatically generated from parser.rl by using ragel */

#line 1 "parser.rl"
#include "../fbuffer/fbuffer.h"
#include "parser.h"
Expand Down
6 changes: 3 additions & 3 deletions json-java.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,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>, ["~> 3.0"])
s.add_development_dependency(%q<test-unit>, ["~> 2.0"])
else
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<test-unit>, ["~> 3.0"])
s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
else
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<test-unit>, ["~> 3.0"])
s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
end

Expand Down
4 changes: 2 additions & 2 deletions json_pure.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Gem::Specification.new do |s|

if s.respond_to? :add_runtime_dependency then
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
s.add_development_dependency(%q<test-unit>.freeze, ["~> 3.0"])
s.add_development_dependency(%q<test-unit>.freeze, ["~> 2.0"])
else
s.add_dependency(%q<rake>.freeze, [">= 0"])
s.add_dependency(%q<test-unit>.freeze, ["~> 3.0"])
s.add_dependency(%q<test-unit>.freeze, ["~> 2.0"])
end
end

0 comments on commit 87379e6

Please sign in to comment.