lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-11.1.0 vs lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-11.2.0

- old
+ new

@@ -8,14 +8,13 @@ spec.authors = ["<%= config.dig(:author, :name) %>"] spec.email = ["<%= config.dig(:author, :email) %>"] spec.homepage = "<%= config.dig(:gem, :url) %>" spec.summary = "" spec.license = "MIT" + <%- if config.dig(:generate, :security) -%> - if File.exist?(Gem.default_key_path) && File.exist?(Gem.default_cert_path) - spec.signing_key = Gem.default_key_path - spec.cert_chain = [Gem.default_cert_path] - end + spec.signing_key = Gem.default_key_path + spec.cert_chain = [Gem.default_cert_path] <%- end -%> spec.required_ruby_version = "~> <%= config.dig(:versions, :ruby)[/\d+\.\d+/] %>" <%- if config.dig(:generate, :rails) -%> spec.add_dependency "rails", "~> <%= config.dig(:versions, :rails) %>"