Class: Gem::Commands::PushCommand
- Inherits:
-
Gem::Command
- Object
- Gem::Command
- Gem::Commands::PushCommand
- Defined in:
- lib/rubygems-source-cli/commands/push_command.rb
Constant Summary collapse
- RUBYGEMS_HOST =
"rubygems.org"
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
4 5 6 7 |
# File 'lib/rubygems-source-cli/commands/push_command.rb', line 4 def execute sign_into_rubygems if host_is_rubygems? && !Gem.configuration.rubygems_api_key send_gem get_one_gem_name end |
#sign_into_rubygems ⇒ Object
9 10 11 |
# File 'lib/rubygems-source-cli/commands/push_command.rb', line 9 def sign_into_rubygems sign_in end |