httprb / http

HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
MIT License
3.01k stars 321 forks source link

Add `base64` to runtime dependency #759

Closed koic closed 1 year ago

koic commented 1 year ago

This PR adds base64 to runtime dependency to suppress the following Ruby 3.3's warning:

$ ruby -wve 'require "http"'
ruby 3.3.0dev (2023-08-14T15:48:39Z master 52837fcec2) [x86_64-darwin22]
/Users/koic/.rbenv/versions/3.3.0-dev/lib/ruby/gems/3.3.0+0/gems/http-5.1.1/lib/http/chainable.rb:3:
warning: base64 which will be not part of the default gems since Ruby 3.4.0

cf: https://github.com/rails/rails/pull/48907