Conversation
Remove outdated TODO in RemoteFetcher (cherry picked from commit e88e69d)
Ensure revision is always re-resolved in `git_proxy.rb` (cherry picked from commit d3512d0)
Update vendored resolv to 0.7.0 (cherry picked from commit 9c6ecda)
Lock diff-lcs < 2.0 (cherry picked from commit 89f7a86)
Fallback git/path sources to default source (cherry picked from commit 5b7c8af)
Clarify local gem override docs to require git-sourced gems (cherry picked from commit d0f6a30)
Fix gzip cache corruption when recovering from HTTP 416 responses (cherry picked from commit 999afe3)
Contributor
There was a problem hiding this comment.
Pull request overview
This is a release preparation pull request for RubyGems 4.0.6 and Bundler 4.0.6, updating version numbers, dependencies, and including several bug fixes with corresponding test coverage.
Changes:
- Updated RubyGems from 4.0.5 to 4.0.6 and Bundler from 4.0.5 to 4.0.6
- Updated vendored resolv library from 0.6.2 to 0.7.0
- Fixed HTTP 416 response handling to prevent gzip cache corruption
- Fixed git/path source fallback behavior to properly check for spec existence
- Enhanced documentation for local gem overrides to clarify git source requirement
Reviewed changes
Copilot reviewed 46 out of 56 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| lib/rubygems.rb | Version bump to 4.0.6 |
| bundler/lib/bundler/version.rb | Version bump to 4.0.6 |
| bundler/lib/bundler/fetcher/downloader.rb | Removed Accept-Encoding header addition on HTTP 416 retry to fix gzip corruption |
| bundler/lib/bundler/source/git/git_proxy.rb | Changed @revision to revision method call for proper re-resolution |
| bundler/lib/bundler/definition.rb | Added specs[s]&.any? check to prevent using non-existent specs from path sources |
| lib/rubygems/remote_fetcher.rb | Removed TODO comment |
| lib/rubygems/vendor/resolv/lib/resolv.rb | Updated vendored resolv to 0.7.0 with documentation improvements |
| tool/bundler/vendor_gems.rb | Updated resolv dependency to 0.7.0 |
| tool/automatiek/vendor.rb | Updated resolv patch name reference |
| tool/automatiek/resolv-v0.7.0.patch | Added patch file for resolv 0.7.0 vendoring |
| bundler/spec/spec_helper.rb | Added diff-lcs version constraint to prevent compatibility issues |
| bundler/spec/install/gemfile/sources_spec.rb | Added test coverage for path and git source fallback behavior |
| bundler/spec/bundler/fetcher/downloader_spec.rb | Added test coverage for HTTP 416 handling without Accept-Encoding header |
| bundler/lib/bundler/man/*.1 | Updated manual page dates from September 2025 to February 2026 |
| bundler/lib/bundler/man/bundle-config.1.ronn | Enhanced documentation clarifying local gem override requirements |
| bundler/lib/bundler/man/bundle-config.1 | Generated manual page from .ronn source with documentation improvements |
| CHANGELOG.md | Added RubyGems 4.0.6 changelog entry |
| bundler/CHANGELOG.md | Added Bundler 4.0.6 changelog entry with bug fixes and documentation |
| Multiple .lock files | Updated BUNDLED WITH version to 4.0.6 and updated dependency versions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's release day!