Sha256: f713a148edd9834deca2c3ddb17e756e76037213b7f75966c758f350515266b1
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
require 'cocaine' module Anvil class Rubygems class << self def build(gemspec) line = Cocaine::CommandLine.new 'gem', 'build :gemspec' line.run gemspec: gemspec end def install(gem_file) line = Cocaine::CommandLine.new 'gem', 'install :gem_file' line.run gem_file: gem_file end def push(gem_file) line = Cocaine::CommandLine.new 'gem', 'push :gem_file' line.run gem_file: gem_file end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
anvil-core-0.0.1.pre.alpha.3 | lib/anvil/rubygems.rb |
anvil-core-0.0.1.pre.alpha.2 | lib/anvil/rubygems.rb |