summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Emde <martinemde@users.noreply.github.com>2025-07-24 04:50:07 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-07-25 11:10:40 +0900
commit80712140af4229eec4da4e68cf7aaf6a659f5a85 (patch)
treeb08d4ae079b9cdc61616596956c4aac470e229fc
parent416fde11eb28fa01f9da738354facdd728d5ec68 (diff)
[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
-rw-r--r--lib/bundler/templates/newgem/newgem.gemspec.tt6
1 files 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.