forked from caxlsx/caxlsx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
uri_parser
method for RFC2396 compatibility
This commit introduces a new class method `uri_parser` to handle URI parsing in a way that's compatible with both newer and older versions of Ruby's URI library. It checks for the presence of `URI::RFC2396_PARSER` and falls back to `URI::DEFAULT_PARSER` if not available, ensuring consistent behavior across different Ruby versions. Close caxlsx#397 Ref: ruby/uri#114
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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