Method: Jeweler::Commands::ReleaseToGit.build_for

Defined in:
lib/jeweler/commands/release_to_git.rb

.build_for(jeweler) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/jeweler/commands/release_to_git.rb', line 48

def self.build_for(jeweler)
  command = self.new

  command.base_dir = jeweler.base_dir
  command.gemspec = jeweler.gemspec
  command.version = jeweler.version
  command.repo = jeweler.repo
  command.output = jeweler.output
  command.gemspec_helper = jeweler.gemspec_helper

  command
end