# File lib/jeweler/commands/validate_gemspec.rb, line 10 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
# File lib/jeweler/commands/validate_gemspec.rb, line 20 def self.build_for(jeweler) command = new command.gemspec_helper = jeweler.gemspec_helper command.output = jeweler.output command end
# File lib/jeweler/commands/validate_gemspec.rb, line 6 def initialize self.output = $stdout end