Sha256: f0940f42fb74954da03d96d12008a8ad2ea104a0f982f21a43bdfdd3454ab666

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

class Gem::Commands::DowngradeCommand < Gem::Command
  def description
    'Return to using RubyForge as your primary gem source'
  end

  def initialize
    super 'downgrade', description
  end

  def execute
    say "Your primary gem source is now gems.rubyforge.org"
    Gem.sources.delete URL
    Gem.configuration.write
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
qrush-gemcutter-0.0.4 lib/commands/downgrade.rb
qrush-gemcutter-0.0.5 lib/commands/downgrade.rb
gemcutter-0.0.5 lib/commands/downgrade.rb
gemcutter-0.0.4 lib/commands/downgrade.rb