[DOC] Prism is a new default gem

This commit is contained in:
Takashi Kokubun 2023-10-19 16:25:08 -07:00
parent 6d42f4dd2d
commit c221af2c3d
2 changed files with 10 additions and 5 deletions

View File

@ -102,6 +102,10 @@ Note: We're only listing outstanding class updates.
* Random::Formatter#alphanumeric is extended to accept optional `chars`
keyword argument. [[Feature #18183]]
The following default gem is added.
* prism 0.15.1
The following default gems are updated.
* RubyGems 3.5.0.dev
@ -115,7 +119,6 @@ The following default gems are updated.
* nkf 0.1.3
* openssl 3.2.0
* optparse 0.4.0.pre.1
* prism 0.15.1
* psych 5.1.1.1
* reline 0.3.9
* stringio 3.0.9

View File

@ -28,12 +28,14 @@ ARGV.each do |type|
next unless v
[g, v] unless last[g] == v
end
if type == 'bundled'
changed, added = changed.partition {|g, _| last[g]}
end
changed, added = changed.partition {|g, _| last[g]}
update[changed, type] or next
if added and !added.empty?
update[added, 'default', 'now bundled'] or next
if type == 'bundled'
update[added, 'default', 'now bundled'] or next
else
update[added, 'default', 'added'] or next
end
end
File.write("NEWS.md", news)
end