* lib/rubygems: Import RubyGems 2.1.0 Release Candidate

* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-08-26 20:24:51 +00:00
parent cddd93a575
commit e487a7f53c
49 changed files with 888 additions and 354 deletions

View file

@ -8,7 +8,13 @@ class Gem::Commands::PushCommand < Gem::Command
include Gem::GemcutterUtilities
def description # :nodoc:
'Push a gem up to RubyGems.org'
<<-EOF
The push command uploads a gem to the push server (the default is
https://rubygems.org) and adds it to the index.
The gem can be removed from the index (but only the index) using the yank
command. For further discussion see the help for the yank command.
EOF
end
def arguments # :nodoc:
@ -20,7 +26,7 @@ class Gem::Commands::PushCommand < Gem::Command
end
def initialize
super 'push', description, :host => self.host
super 'push', 'Push a gem up to the gem server', :host => self.host
add_proxy_option
add_key_option