Sha256: 40ebb3571d1f78e999520d91a00c8f5a1bb6e20c92f6d84783ab730c8e9d20d5
Contents?: true
Size: 674 Bytes
Versions: 17
Compression:
Stored size: 674 Bytes
Contents
class Juwelier module Commands class ReleaseToRubygems include FileUtils attr_accessor :gemspec, :version, :output, :gemspec_helper def initialize self.output = $stdout end def run command = "gem push #{@gemspec_helper.gem_path}" output.puts "Executing #{command.inspect}:" sh command end def self.build_for(juwelier) command = new command.gemspec = juwelier.gemspec command.gemspec_helper = juwelier.gemspec_helper command.version = juwelier.version command.output = juwelier.output command end end end end
Version data entries
17 entries across 17 versions & 1 rubygems