Class: Gem::Commands::MigrateCommand
- Inherits:
-
AbstractCommand
- Object
- AbstractCommand
- Gem::Commands::MigrateCommand
- Defined in:
- lib/commands/migrate.rb
Instance Method Summary collapse
- #description ⇒ Object
- #execute ⇒ Object
-
#initialize ⇒ MigrateCommand
constructor
A new instance of MigrateCommand.
Constructor Details
#initialize ⇒ MigrateCommand
Returns a new instance of MigrateCommand.
6 7 8 |
# File 'lib/commands/migrate.rb', line 6 def initialize super 'migrate', description end |
Instance Method Details
#description ⇒ Object
2 3 4 |
# File 'lib/commands/migrate.rb', line 2 def description 'Deprecate method for migrating a gem you own from Rubyforge to Gemcutter.' end |
#execute ⇒ Object
10 11 12 13 |
# File 'lib/commands/migrate.rb', line 10 def execute say "This command is deprecated, RubyForge accounts/ownerships have been transferred to Gemcutter." say "Please see http://gemcutter.org/pages/migrate for more information" end |