sparklemotion / mechanize

Mechanize is a ruby library that makes automated web interaction easy.
https://www.rubydoc.info/gems/mechanize/
MIT License
4.39k stars 473 forks source link

Explicitly require gems scheduled for removal from ruby stdlib #628

Closed misdoro closed 8 months ago

misdoro commented 8 months ago

Helps to avoid a warning:

nkf was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add nkf to your Gemfile or gemspec

appearing in ruby 3.3

flavorjones commented 8 months ago

@misdoro Thank you for submitting this! Can you make the nfk dependency conditional to address the JRuby errors?

flavorjones commented 8 months ago

mutex_m is no longer used -- removed in #629

nkf can't be explicitly required right now without breaking jruby. i'm going to close this, and we can revisit it when there's a solution for jruby.