mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
Merge rubygems master.
This is RC version of Rubygems 2.7.0.
688fb7e83c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6b05153a3a
commit
c00e84327f
96 changed files with 2021 additions and 701 deletions
|
@ -11,19 +11,11 @@ class Gem::Commands::YankCommand < Gem::Command
|
|||
|
||||
def description # :nodoc:
|
||||
<<-EOF
|
||||
The yank command removes a gem you pushed to a server from the server's
|
||||
index.
|
||||
|
||||
Note that if you push a gem to rubygems.org the yank command does not
|
||||
prevent other people from downloading the gem via the download link.
|
||||
The yank command permanently removes a gem you pushed to a server.
|
||||
|
||||
Once you have pushed a gem several downloads will happen automatically
|
||||
via the webhooks. If you accidentally pushed passwords or other sensitive
|
||||
via the webhooks. If you accidentally pushed passwords or other sensitive
|
||||
data you will need to change them immediately and yank your gem.
|
||||
|
||||
If you are yanking a gem due to intellectual property reasons contact
|
||||
http://help.rubygems.org for permanent removal. Be sure to mention this
|
||||
as the reason for the removal request.
|
||||
EOF
|
||||
end
|
||||
|
||||
|
@ -42,7 +34,8 @@ as the reason for the removal request.
|
|||
add_platform_option("remove")
|
||||
|
||||
add_option('--host HOST',
|
||||
'Yank from another gemcutter-compatible host') do |value, options|
|
||||
'Yank from another gemcutter-compatible host',
|
||||
' (e.g. https://rubygems.org)') do |value, options|
|
||||
options[:host] = value
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue