summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-18 05:27:58 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-18 05:27:58 +0000
commit7c030a5ded8acc4b29b25a6f416347e41125197f (patch)
treee6eae120674f2275ea1d1870ff0c07e83f376b89 /lib
parentbf6279bc2b7e181118caa0b0e58e2220856f0ec9 (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit/test-unit.gemspec4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/test/unit/test-unit.gemspec b/lib/test/unit/test-unit.gemspec
index 6c7d22379d..363fd50c02 100644
--- a/lib/test/unit/test-unit.gemspec
+++ b/lib/test/unit/test-unit.gemspec
@@ -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