c45dddeb71 (master): Tidy up NEWS.md updater leftovers

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Apr 17, 2026, 3:36:12 AM (4 days ago) Apr 17
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-04-17 07:00:43 +0000 (Fri, 17 Apr 2026)

New Revision: c45dddeb71

https://github.com/ruby/ruby/commit/c45dddeb71

Log:
Tidy up NEWS.md updater leftovers

* Drop the bundler- tag-prefix handling from fetch_release_range,
collect_gem_updates, and format_release_diff. collect_gem_updates skips
the bundler gem before any of these run, so the special-case prefix
stripping never had a chance to fire.
* Rename fetch_versions_to_from_news to fetch_versions_from_news now that
the "to" side comes from load_current_versions; the function only
feeds the "from" baseline.
* Use Enumerable#to_h to build result_by_name, and remove a couple of
comments that just restate the immediately following code.

Co-Authored-By: Claude Opus 4.7 (1M context) <nor...@anthropic.com>

Modified files:
tool/update-NEWS-github-release.rb
Reply all
Reply to author
Forward
0 new messages