Class: Gem::Commands::MigrateCommand

Inherits:
Gem::Command
  • Object
show all
Defined in:
lib/rubygems/commands/migrate_command.rb

Instance Method Summary collapse

Constructor Details

#initializeMigrateCommand

Returns a new instance of MigrateCommand.

[View source]

6
7
8
# File 'lib/rubygems/commands/migrate_command.rb', line 6

def initialize
  super 'migrate', description
end

Instance Method Details

#descriptionObject

[View source]

2
3
4
# File 'lib/rubygems/commands/migrate_command.rb', line 2

def description
  'Deprecated method for migrating a gem you own from Rubyforge to Gemcutter.'
end

#executeObject

[View source]

10
11
12
13
# File 'lib/rubygems/commands/migrate_command.rb', line 10

def execute
  say "This command is deprecated, RubyForge accounts/ownerships have been transferred to Gemcutter."
  say "Please see http://rubygems.org/pages/migrate for more information"
end