ruby-changes:16309
From: mame <ko1@a...>
Date: Fri, 11 Jun 2010 23:02:31 +0900 (JST)
Subject: [ruby-changes:16309] Ruby:r28281 (ruby_1_9_2): merges r28279 from trunk into ruby_1_9_2.
mame 2010-06-11 23:02:18 +0900 (Fri, 11 Jun 2010) New Revision: 28281 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28281 Log: merges r28279 from trunk into ruby_1_9_2. --- * lib/rubygems/install_update_options.rb (Gem::InstallUpdateOptions#add_install_update_options): deprecate --test option which has not worked. [ruby-core:21714] * test/rubygems/test_gem_command_manager.rb: ditto. Modified files: branches/ruby_1_9_2/ChangeLog branches/ruby_1_9_2/lib/rubygems/install_update_options.rb branches/ruby_1_9_2/test/rubygems/test_gem_command_manager.rb Index: ruby_1_9_2/ChangeLog =================================================================== --- ruby_1_9_2/ChangeLog (revision 28280) +++ ruby_1_9_2/ChangeLog (revision 28281) @@ -1,3 +1,11 @@ +Fri Jun 11 22:39:50 2010 Yusuke Endoh <mame@t...> + + * lib/rubygems/install_update_options.rb + (Gem::InstallUpdateOptions#add_install_update_options): deprecate + --test option which has not worked. [ruby-core:21714] + + * test/rubygems/test_gem_command_manager.rb: ditto. + Fri Jun 11 22:36:25 2010 Yusuke Endoh <mame@t...> * README: add a note about linking a library whose license is not Index: ruby_1_9_2/lib/rubygems/install_update_options.rb =================================================================== --- ruby_1_9_2/lib/rubygems/install_update_options.rb (revision 28280) +++ ruby_1_9_2/lib/rubygems/install_update_options.rb (revision 28281) @@ -59,8 +59,7 @@ end add_option(:"Install/Update", '-t', '--[no-]test', - 'Run unit tests prior to installation') do |value, options| - options[:test] = value + 'Ignored; just for compatiblity') do |value, options| end add_option(:"Install/Update", '-w', '--[no-]wrappers', @@ -110,7 +109,7 @@ # Default options for the gem install command. def install_update_defaults_str - '--rdoc --no-force --no-test --wrappers' + '--rdoc --no-force --wrappers' end end Index: ruby_1_9_2/test/rubygems/test_gem_command_manager.rb =================================================================== --- ruby_1_9_2/test/rubygems/test_gem_command_manager.rb (revision 28280) +++ ruby_1_9_2/test/rubygems/test_gem_command_manager.rb (revision 28281) @@ -67,7 +67,6 @@ check_options = nil @command_manager.process_args( "install --force --test --local --rdoc --install-dir . --version 3.0 --no-wrapper --bindir . ") - assert_equal true, check_options[:test] assert_equal true, check_options[:generate_rdoc] assert_equal true, check_options[:force] assert_equal :local, check_options[:domain] @@ -197,7 +196,6 @@ #check settings check_options = nil @command_manager.process_args("update --force --test --rdoc --install-dir .") - assert_equal true, check_options[:test] assert_equal true, check_options[:generate_rdoc] assert_equal true, check_options[:force] assert_equal Dir.pwd, check_options[:install_dir] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/