Closed redscode closed 3 years ago
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.
Sorry for the delay, @redscode. This looks good. I'll merge it and release it with https://github.com/mapbox/mapbox-sdk-rb/pull/48 once I look that over.
released in 2.3.2 https://rubygems.org/gems/mapbox-sdk
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.