Sha256: 441bfa43b2bd355e4bb2450c226b19c8e51676f467734f367c75f8a2c5e28932
Contents?: true
Size: 609 Bytes
Versions: 10
Compression:
Stored size: 609 Bytes
Contents
class Jeweler module Commands class ValidateGemspec attr_accessor :gemspec_helper, :output def initialize self.output = $stdout end def run 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 def self.build_for(jeweler) command = new command.gemspec_helper = jeweler.gemspec_helper command.output = jeweler.output command end end end end
Version data entries
10 entries across 10 versions & 1 rubygems