diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-11 13:42:54 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-11 13:42:54 +0000 |
commit | 48c5afeba09c3d3098bff1176b79a7b169469dfd (patch) | |
tree | 77deddc0949bea2c7e887210a26c8083bb468914 /lib | |
parent | 22ce9f81c335a81a3728ac4ef8faac965bc6fcbf (diff) | |
download | ruby-48c5afeba09c3d3098bff1176b79a7b169469dfd.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/install_update_options.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rubygems/install_update_options.rb b/lib/rubygems/install_update_options.rb index c3fa2d5edd..4e7f9e7952 100644 --- a/lib/rubygems/install_update_options.rb +++ b/lib/rubygems/install_update_options.rb @@ -59,8 +59,7 @@ module Gem::InstallUpdateOptions 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 @@ module Gem::InstallUpdateOptions # Default options for the gem install command. def install_update_defaults_str - '--rdoc --no-force --no-test --wrappers' + '--rdoc --no-force --wrappers' end end |