Skip to content

Remove deprecated and unused Gem::List#9161

Merged
hsbt merged 1 commit intomasterfrom
removed-gem-list
Dec 17, 2025
Merged

Remove deprecated and unused Gem::List#9161
hsbt merged 1 commit intomasterfrom
removed-gem-list

Conversation

@hsbt
Copy link
Copy Markdown
Member

@hsbt hsbt commented Dec 5, 2025

I forgot to remove this at 4.0.0. It will be removed at 4.1.0 release.

Copilot AI review requested due to automatic review settings December 5, 2025 02:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the deprecated and unused Gem::List class that was marked for removal. The class was previously deprecated and is now being fully removed from the codebase.

  • Deleted the entire lib/rubygems/util/list.rb file containing the Gem::List class implementation
  • Removed all require_relative "util/list" statements from files that imported it
  • Updated the project manifest to reflect the file removal

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
lib/rubygems/util/list.rb Deleted file containing the deprecated Gem::List class and its implementation
lib/rubygems/specification.rb Removed unused require statement for util/list
lib/rubygems/resolver.rb Removed unused require statement for util/list
Manifest.txt Removed lib/rubygems/util/list.rb entry from project manifest

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hsbt
Copy link
Copy Markdown
Member Author

hsbt commented Dec 15, 2025

I will merge this after switching development version to 4.1.0.dev.

@hsbt hsbt merged commit ca8ac9f into master Dec 17, 2025
85 checks passed
@hsbt hsbt deleted the removed-gem-list branch December 17, 2025 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants