mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 01:54:00 +02:00
* lib/rubygems: Update to RubyGems 2.0.5.
The patch provided by drbrain (Eric Hodel). [ruby-core:55896] [Backport #8617] * test/rubygems: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
65dc7d004e
commit
b264a7ac99
37 changed files with 362 additions and 116 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue