Skip to content

Remove unused cgi require for Ruby 3.5 compatibility #713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

Earlopain
Copy link
Contributor

@Earlopain Earlopain commented May 9, 2025

In Ruby 3.5 this emits a warning since most of the cgi gem is being removed.

i18n doesn't use this module anymore since the require was added 11 years ago, so it can just be removed to avoid the warning during require. Usage was removed in 6db6403

https://bugs.ruby-lang.org/issues/21258

In Ruby 3.5 this emits a warning since most of the `cgi` gem is being removed.

i18n doesn't use this module anymore since the require was added 11 years ago, so it can just be removed
to avoid the warning during require.

https://bugs.ruby-lang.org/issues/21258
@radar radar merged commit 35d8e5b into ruby-i18n:master Jun 23, 2025
@radar
Copy link
Collaborator

radar commented Jun 23, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants