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

* lib/rubygems: Update to RubyGems 2.0.4. See

https://github.com/rubygems/rubygems/blob/2.0/History.txt for changes


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-07-08 22:41:03 +00:00
parent fa343a796f
commit 7083cebeae
32 changed files with 306 additions and 111 deletions

View file

@ -10,7 +10,8 @@ class Gem::Commands::PristineCommand < Gem::Command
def initialize
super 'pristine',
'Restores installed gems to pristine condition from files located in the gem cache',
:version => Gem::Requirement.default, :extensions => true,
:version => Gem::Requirement.default,
:extensions => true,
:all => false
add_option('--all',
@ -37,7 +38,7 @@ class Gem::Commands::PristineCommand < Gem::Command
end
def defaults_str # :nodoc:
"--all --extensions"
'--extensions'
end
def description # :nodoc:
@ -52,8 +53,8 @@ for the gem are regenerated.
If the cached gem cannot be found, you will need to use `gem install` to
revert the gem.
If --no-extensions is provided pristine will not attempt to restore gems with
extensions.
If --no-extensions is provided pristine will not attempt to restore gems
with extensions.
EOF
end