anemone icon indicating copy to clipboard operation
anemone copied to clipboard

Avoid using URI.escape/unescape when Ruby 2.7 is running

Open ts-3156 opened this issue 4 years ago • 2 comments

Hi,

Thanks for the useful gem! This PR suppresses the below errors.

/BUNDLE_ROOT/ruby/2.7.0/gems/anemone-0.7.2/lib/anemone/page.rb:157: warning: URI.unescape is obsolete
/BUNDLE_ROOT/ruby/2.7.0/gems/anemone-0.7.2/lib/anemone/page.rb:157: warning: URI.escape is obsolete

ts-3156 avatar Mar 20 '20 11:03 ts-3156

@ts-3156 could you re-submit this on my fork at brutuscat/medusa

@chriskite no longer maintain this, but I am trying to re-launch a similar gem using code here in my fork.

brutuscat avatar Mar 20 '20 12:03 brutuscat

BTW I've seen this problem too and I seems fixed in my master branch https://github.com/brutuscat/medusa/blob/master/lib/medusa/page.rb#L161

brutuscat avatar Mar 20 '20 12:03 brutuscat