lib/gemsmith/gem/specification.rb in gemsmith-13.1.0 vs lib/gemsmith/gem/specification.rb in gemsmith-13.2.0

- old
+ new

@@ -62,12 +62,12 @@ private attr_reader :file_path, :spec def validate - return if spec.is_a?(self.class.specification) + return if spec.is_a? self.class.specification - fail(Errors::Specification, %(Unknown gem specification: "#{file_path}".)) + fail Errors::Specification, %(Unknown gem specification: "#{file_path}".) end end end end