local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

Warning: URI.escape is obsolete #193

Closed cdhagmann closed 3 years ago

cdhagmann commented 3 years ago

In Ruby 2.7, URI.escape now shows a warning and in Ruby 3.0 it would not run.

lhc-13.1.0/lib/lhc/request.rb:94: warning: URI.escape is obsolete

marcoroth commented 3 years ago

Hey @cdhagmann,

I think this has already been addressed in this commit.

But there was no release since then. I guess it just needs a release ☺️

marcoroth commented 3 years ago

But you can do this as a workaround in the meantime:

gem 'lhc', git: 'https://github.com/local-ch/lhc'
dimameshcharakou commented 3 years ago

Thanks for the reporting! Should be fixed now: https://github.com/local-ch/lhc/pull/194