Groups
Groups
Sign in
Groups
Groups
ruby-cvs
Conversations
About
Send feedback
Help
1e91f56642 (master): [ruby/rubygems] Fix test suite that will start to fail whenever we attempt a release:
0 views
Skip to first unread message
Edouard CHIN
unread,
9:04 AM (10 hours ago)
9:04 AM
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby...@g.ruby-lang.org
Edouard CHIN 2026-03-26 13:01:40 +0000 (Thu, 26 Mar 2026)
New Revision: 1e91f56642
https://github.com/ruby/ruby/commit/1e91f56642
Log:
[ruby/rubygems] Fix test suite that will start to fail whenever we attempt a release:
- ### Problem
Whenever we bump the bundler `VERSION` to a non development release,
like we recently did in [4.0.9](
https://github.com/ruby/rubygems/pull/9426
)
The test suite will behave differently and will break due to the
Bundler checksum feature introduced in
https://github.com/ruby/rubygems/pull/9366
This is because the expectactions of tests that have a lockfile'
will sometimes include a checksum line for the bundler gem itself
depending on whether this condition evaluates to `true`.
https://github.com/ruby/rubygems/blob/34d19fa8a3f84c50e2ba65e0f39c80045e7cbfb8/bundler/lib/bundler/lockfile_generator.rb#L106
### Solution
We can modify the spec helper `checksums_section_when_enabled` to
automatically append a checksum entry for bundler whenever necesary
Reply all
Reply to author
Forward
0 new messages