summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAntoine Marguerie <antoine@basesecrete.com>2025-05-21 15:07:54 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-06-05 19:12:39 +0900
commit11492bd88d98edeaac4d3e35dd0d59bf67a79569 (patch)
tree60b2a79af6d74b74c7250ec74f7161c245d4809e /lib
parent803dae70cbed180079beb717dee23a4bc8dabf1b (diff)
[rubygems/rubygems] Fix headings levels in Changelogs
And adapt release scripts and configuration to the new structure. https://github.com/rubygems/rubygems/commit/3deb1aedae
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/commands/setup_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb
index 301ce25314..85e28ccedd 100644
--- a/lib/rubygems/commands/setup_command.rb
+++ b/lib/rubygems/commands/setup_command.rb
@@ -7,8 +7,8 @@ require_relative "../command"
# RubyGems checkout or tarball.
class Gem::Commands::SetupCommand < Gem::Command
- HISTORY_HEADER = %r{^#\s*[\d.a-zA-Z]+\s*/\s*\d{4}-\d{2}-\d{2}\s*$}
- VERSION_MATCHER = %r{^#\s*([\d.a-zA-Z]+)\s*/\s*\d{4}-\d{2}-\d{2}\s*$}
+ HISTORY_HEADER = %r{^##\s*[\d.a-zA-Z]+\s*/\s*\d{4}-\d{2}-\d{2}\s*$}
+ VERSION_MATCHER = %r{^##\s*([\d.a-zA-Z]+)\s*/\s*\d{4}-\d{2}-\d{2}\s*$}
ENV_PATHS = %w[/usr/bin/env /bin/env].freeze