diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-04-30 11:41:34 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-04-30 02:42:10 +0000 |
| commit | c649d2027842281996baf9ff3d57889cdfa9dd95 (patch) | |
| tree | c0006066ce465960da2c2bdf23a053f440fe650d /enumerator.c | |
| parent | 7dda33be196c926d79cc2a819312bc72eec7cf78 (diff) | |
[ruby/rubygems] Skip bundler self-checksum on ruby-core in test
fixtures
(https://github.com/ruby/rubygems/pull/9506)
* Skip bundler self-checksum on ruby-core in test fixtures
In ruby-core test setup, bundler is loaded as a default gem and the
bundler.gem cache file is not present on disk where
LockfileGenerator#bundler_checksum looks for it. As a result, the
generator omits the bundler checksum from the regenerated lockfile,
while the test's checksums_section helper still adds it, making the
"does not change the lock" expectations in setup_spec.rb fail on
ruby-core CI for release branches (where Bundler::VERSION does not end
in .dev). Mirror the generator's give-up conditions in the helper so
that test fixtures and the regenerated lockfile stay in sync.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
https://github.com/ruby/rubygems/commit/40112f7663
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Diffstat (limited to 'enumerator.c')
0 files changed, 0 insertions, 0 deletions
