# File lib/jeweler/commands/release_to_rubygems.rb, line 12 def run command = "gem push #{@gemspec_helper.gem_path}" output.puts "Executing #{command.inspect}:" sh command end
# File lib/jeweler/commands/release_to_rubygems.rb, line 18 def self.build_for(jeweler) command = new command.gemspec = jeweler.gemspec command.gemspec_helper = jeweler.gemspec_helper command.version = jeweler.version command.output = jeweler.output command end
# File lib/jeweler/commands/release_to_rubygems.rb, line 8 def initialize self.output = $stdout end