Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
41.41k stars 9.74k forks source link

Remove OpenStruct dependency #18777

Open dduugg opened 2 hours ago

dduugg commented 2 hours ago

Verification

Provide a detailed description of the proposed feature

ostruct will no longer be a default gem as of Ruby 3.5: https://github.com/ruby/ruby/pull/10428 It's already discouraged for "performance, version compatibility, and potential security issues".

We have two instances to clean up:

Library/Homebrew/cli/args.rb Library/Homebrew/cmd/uses.rb

What is the motivation for the feature?

☝️

How will the feature be relevant to at least 90% of Homebrew users?

resolution of the performance, version compatibility, and potential security issues described above.

What alternatives to the feature have been considered?

None

MikeMcQuaid commented 2 hours ago

Agreed, we should do this.