Class: Gem::Commands::MigrateCommand

Inherits:
AbstractCommand
  • Object
show all
Defined in:
lib/commands/migrate.rb

Instance Method Summary collapse

Constructor Details

#initializeMigrateCommand

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

#descriptionObject



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

#executeObject



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