lib/commands/tumble.rb in gemcutter-0.0.6 vs lib/commands/tumble.rb in gemcutter-0.0.7
- old
+ new
@@ -1,6 +1,6 @@
-class Gem::Commands::TumbleCommand < Gem::Command
+class Gem::Commands::TumbleCommand < Gem::AbstractCommand
def description
'Enable or disable Gemcutter as your primary gem source.'
end
def initialize
@@ -22,11 +22,11 @@
Gem.configuration.write
end
end
def show_sources
- puts "Your gem sources are now:"
+ say "Your gem sources are now:"
Gem.sources.each do |source|
- puts "- #{source}"
+ say "- #{source}"
end
end
end