arkency / image_placeholder

MIT License
58 stars 7 forks source link

Ruby 3 support - Replaces URI.decode with CGI.unescape #6

Open torresga opened 9 months ago

torresga commented 9 months ago

uri removed the deprecated URI.unescape/decode: https://github.com/ruby/uri/commit/61c6a47ebf1f2726b60a2bbd70964d64e14b1f98 .

This PR replaces the call to URI.decode with CGI.unescape. This change was needed to get this gem working with Ruby 3.0.