ruby-changes:32953
From: sorah <ko1@a...>
Date: Tue, 18 Feb 2014 14:28:03 +0900 (JST)
Subject: [ruby-changes:32953] sorah:r45032 (trunk): * lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependency
sorah 2014-02-18 14:27:58 +0900 (Tue, 18 Feb 2014) New Revision: 45032 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45032 Log: * 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. Modified files: trunk/ChangeLog trunk/lib/test/unit/test-unit.gemspec trunk/tool/rbinstall.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 45031) +++ ChangeLog (revision 45032) @@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Feb 18 14:24:07 2014 Shota Fukumori <her@s...> + + * 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@f...> * configure.in (FILE_COUNT): Removed. (win32.c defines it in itself.) Index: lib/test/unit/test-unit.gemspec =================================================================== --- lib/test/unit/test-unit.gemspec (revision 45031) +++ lib/test/unit/test-unit.gemspec (revision 45032) @@ -11,4 +11,8 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/lib/test/unit/test-unit.gemspec#L11 "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 Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 45031) +++ tool/rbinstall.rb (revision 45032) @@ -600,6 +600,15 @@ end https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L600 GEMSPEC end + def add_dependency(*) + end + + def add_development_dependency(*) + end + + def add_runtime_dependency(*) + end + def self.unresolved_deps [] end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/