# File lib/gauntlet_rubygems.rb, line 20 def run(name) warn name spec = begin Gem::Specification.load 'gemspec' rescue SyntaxError Gem::Specification.from_yaml File.read('gemspec') end spec.validate self.data[name] = false self.dirty = true rescue SystemCallError, Gem::InvalidSpecificationException => e self.data[name] = e.message self.dirty = true end