1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependency

* tool/rbinstall.rb: Add empty implementations for `add_dependency`,
  `add_runtime_dependency`, `add_development_dependency` for
  Gem::Specification.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
sorah 2014-02-18 05:27:58 +00:00
parent bf6279bc2b
commit 7c030a5ded
3 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,11 @@
Tue Feb 18 14:24:07 2014 Shota Fukumori <her@sorah.jp>
* lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependency
* tool/rbinstall.rb: Add empty implementations for `add_dependency`,
`add_runtime_dependency`, `add_development_dependency` for
Gem::Specification.
Tue Feb 18 12:06:39 2014 Tanaka Akira <akr@fsij.org>
* configure.in (FILE_COUNT): Removed. (win32.c defines it in itself.)

View file

@ -11,4 +11,8 @@ Gem::Specification.new do |s|
"This library implements test/unit compatible API on minitest. " +
"The test/unit means that test/unit which was bundled with Ruby 1.8."
s.executables = ["testrb"]
# Ruby bundled test/unit is a compatibility layer for minitest,
# and it doesn't have support for minitest 5.
s.add_runtime_dependency "minitest", '< 5.0.0'
end

View file

@ -600,6 +600,15 @@ end
GEMSPEC
end
def add_dependency(*)
end
def add_development_dependency(*)
end
def add_runtime_dependency(*)
end
def self.unresolved_deps
[]
end