Parent

Class Index [+]

Quicksearch

Jeweler::Commands::ReleaseToGemcutter

Attributes

gemspec[RW]
version[RW]
output[RW]
gemspec_helper[RW]

Public Class Methods

build_for(jeweler) click to toggle source
    # File lib/jeweler/commands/release_to_gemcutter.rb, line 16
16:       def self.build_for(jeweler)
17:         command = new
18:         command.gemspec        = jeweler.gemspec
19:         command.gemspec_helper = jeweler.gemspec_helper
20:         command.version        = jeweler.version
21:         command.output         = jeweler.output
22:         command
23:       end
new() click to toggle source
   # File lib/jeweler/commands/release_to_gemcutter.rb, line 6
6:       def initialize
7:         self.output = $stdout
8:       end

Public Instance Methods

run() click to toggle source
    # File lib/jeweler/commands/release_to_gemcutter.rb, line 10
10:       def run
11:         command = "gem push #{@gemspec_helper.gem_path}"
12:         output.puts "Executing #{command.inspect}:"
13:         sh command
14:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.