From 80712140af4229eec4da4e68cf7aaf6a659f5a85 Mon Sep 17 00:00:00 2001 From: Martin Emde Date: Thu, 24 Jul 2025 04:50:07 -0700 Subject: [rubygems/rubygems] Fix spacing in bundle gem newgem.gemspec.tt The changelog line was generating indented more than it should. https://github.com/rubygems/rubygems/commit/da6109ef5b --- lib/bundler/templates/newgem/newgem.gemspec.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt index 99a0f8c2cf..c87abda8a0 100644 --- a/lib/bundler/templates/newgem/newgem.gemspec.tt +++ b/lib/bundler/templates/newgem/newgem.gemspec.tt @@ -22,9 +22,9 @@ Gem::Specification.new do |spec| spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "<%= config[:source_code_uri] %>" - <%- if config[:changelog] -%> - spec.metadata["changelog_uri"] = "<%= config[:changelog_uri] %>" - <%- end -%> +<%- if config[:changelog] -%> + spec.metadata["changelog_uri"] = "<%= config[:changelog_uri] %>" +<%- end -%> # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. -- cgit v1.2.3