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.encode obsolete warnings in Ruby 2.7 #46

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

redscode
Copy link
Contributor

Since Ruby 2.7 URI.encode now throws warnings about being obsolete.
This PR replaces the uri_encode method with URI.encode_www_form which handles the same functionality.

@samfader
Copy link
Contributor

Sorry for the delay, @redscode. This looks good. I'll merge it and release it with #48 once I look that over.

@samfader samfader merged commit 475d79b into mapbox:master Nov 23, 2020
@samfader
Copy link
Contributor

released in 2.3.2 https://rubygems.org/gems/mapbox-sdk

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.

None yet

3 participants