Sha256: 075beaabb6e6987ee983fc83d0704995417537a5dab7a2987d646ba6b7a3ee66
Contents?: true
Size: 648 Bytes
Versions: 17
Compression:
Stored size: 648 Bytes
Contents
class Juwelier module Commands class ValidateGemspec attr_accessor :gemspec_helper, :output def initialize self.output = $stdout end def run begin gemspec_helper.parse output.puts "#{gemspec_helper.path} is valid." rescue Exception => e output.puts "#{gemspec_helper.path} is invalid. See the backtrace for more details." raise end end def self.build_for(juwelier) command = new command.gemspec_helper = juwelier.gemspec_helper command.output = juwelier.output command end end end end
Version data entries
17 entries across 17 versions & 1 rubygems