EasyPost/easypost-ruby

URI.escape is obsolete warning under ruby 2.7.0

Closed this issue · 6 comments

Ruby 2.7.0 is generating warning for '/gems/easypost-3.0.1/lib/easypost/util.rb:120: warning: URI.escape is obsolete'

I would love to get this fixed as it is noisy with ruby 2.7.1 as well

We were using URI.escape when we still supported Ruby 1.x, but now that we're on 2.x only, I think it's fine to go to CGI.escape.

att14 commented

This is resolved by #89.

Is there going to be a release for these changes? last release was from 2018

@AdnanTheExcellent we released a new version today: https://rubygems.org/gems/easypost v3.1.0 should take care of this.