From bd2aee67c172b033f8b18fc2182b5f4d2ef50bec Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 19 Oct 2023 16:33:23 -0700 Subject: [PATCH] [DOC] "is now bundled" is ambiguous I think it meant it's now a bundled "gem", but "is now bundled" implies it's a new gem that was neither default nor bundled gems. So I changed wording. I also want to change the subjects and reorder them so that it will read: "The following default gem" (new) -> "The following default gem" (updated) -> "The following bundled gem" (new) -> "The following bundled gem" (updated). --- NEWS.md | 10 +++++----- tool/update-NEWS-gemlist.rb | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/NEWS.md b/NEWS.md index 1042b684f4..1bfeb9c077 100644 --- a/NEWS.md +++ b/NEWS.md @@ -128,6 +128,10 @@ The following default gems are updated. * timeout 0.4.0 * uri 0.12.2 +The following bundled gem is promoted from default gems. + +* racc 1.7.1 + The following bundled gems are updated. * minitest 5.20.0 @@ -140,10 +144,6 @@ The following bundled gems are updated. * typeprof 0.21.8 * debug 1.8.0 -The following default gem is now bundled. - -* racc 1.7.1 - See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or changelog for details of the default gems or bundled gems. @@ -153,7 +153,7 @@ changelog for details of the default gems or bundled gems. ## Stdlib compatibility issues -* `racc` is promoted bundled gems. +* `racc` is promoted to bundled gems. * You need to add `racc` to your `Gemfile` if you use `racc` under bundler environment. * `ext/readline` is retired * We have `reline` that is pure Ruby implementation compatible with `ext/readline` API. We rely on `reline` in the future. If you need to use `ext/readline`, you can install `ext/readline` via rubygems.org with `gem install readline-ext`. diff --git a/tool/update-NEWS-gemlist.rb b/tool/update-NEWS-gemlist.rb index aea471aa4e..8e4d39046b 100755 --- a/tool/update-NEWS-gemlist.rb +++ b/tool/update-NEWS-gemlist.rb @@ -32,9 +32,9 @@ ARGV.each do |type| update[changed, type] or next if added and !added.empty? if type == 'bundled' - update[added, 'default', 'now bundled'] or next + update[added, type, 'promoted from default gems'] or next else - update[added, 'default', 'added'] or next + update[added, type, 'added'] or next end end File.write("NEWS.md", news)