lib/gemsmith/gem/specification.rb in gemsmith-14.2.0 vs lib/gemsmith/gem/specification.rb in gemsmith-14.3.0

- old
+ new

@@ -42,14 +42,14 @@ def homepage_url String spec.homepage end def allowed_push_key - spec.metadata.fetch("allowed_push_key") { "rubygems_api_key" } + spec.metadata.fetch "allowed_push_key", "rubygems_api_key" end def allowed_push_host - spec.metadata.fetch("allowed_push_host") { self.class.default_gem_host } + spec.metadata.fetch "allowed_push_host", self.class.default_gem_host end def package_file_name "#{name}-#{version}.gem" end