Skip to content

Fix use of open for GitHub URI - #20

Merged
bwillis merged 1 commit into
bwillis:masterfrom
kriation:bug/deprecated-open
Dec 6, 2020
Merged

bwillis merged 1 commit into
bwillis:masterfrom
kriation:bug/deprecated-open

Conversation

@kriation

@kriation kriation commented Dec 5, 2020

Copy link
Copy Markdown
Contributor

The original code used 'open' which was apparently calling Kernel#open
versus URI#open which I assume the author originally expected to use
since open-uri was being required at the top of the file. This fix
forces the use of the open method in the URI library.

This PR is intended to address issue #19.

The original code used 'open' which was apparently calling Kernel#open
versus URI#open which I assume the author originally expected to use
since open-uri was being required at the top of the file. This fix
forces the use of the open method in the URI library.
@bwillis

bwillis commented Dec 6, 2020

Copy link
Copy Markdown
Owner

Looks great 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