lib/gemsmith/gem/specification.rb in gemsmith-12.3.0 vs lib/gemsmith/gem/specification.rb in gemsmith-12.4.0
- old
+ new
@@ -63,9 +63,10 @@
attr_reader :file_path, :spec
def validate
return if spec.is_a?(self.class.specification)
+
fail(Errors::Specification, %(Unknown gem specification: "#{file_path}".))
end
end
end
end