Skip to content
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

Fix URI::RFC2396_PARSER issue with older Rubies #94

Merged

Conversation

tekin
Copy link
Contributor

@tekin tekin commented Jan 10, 2025

Switching to URI::RFC2396_PARSER in 028fd33 resulted in problems with older versions of Ruby where URI::RFC2396_PARSER is not defined. Although URI::RFC2396_PARSER was added and backported to the vendored uri library in older versions of Ruby, we check for URI::RFC2396_PARSER's presence such that the warnings are avoided when using a newer non-vendored version of the gem. See ruby/uri#118.

Switching to URI::RFC2396_PARSER in 028fd33 resulted in
problems with older versions of Ruby where URI::RFC2396_PARSER is not
defined. Although URI::RFC2396_PARSER was added and backported to the
vendored uri library in older versions of Ruby, we check for
URI::RFC2396_PARSER's presence such that the warnings are avoided when
using a newer non-vendored version of the gem.
@whitequark
Copy link
Owner

Thanks much!

@whitequark whitequark merged commit f2a6335 into whitequark:main Jan 10, 2025
@whitequark
Copy link
Owner

Huh, why did the CI not run on the pull request?.. I'm confused.

@whitequark
Copy link
Owner

In any case, released as 1.10.1, many thanks!

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