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
3k stars 321 forks source link

Update base64 dependency version #780

Closed SleepingInsomniac closed 2 months ago

SleepingInsomniac commented 6 months ago

Hi, I'm getting the following error when trying to use the HTTP gem with Rails 7.1.3:

You have already activated base64 0.1.1, but your Gemfile requires base64 0.2.0. Since base64 is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports base64 as a default gem. (Gem::LoadError)

RUBY VERSION ruby 3.2.3p157

BUNDLED WITH 2.5.6

It looks like this will happen until ruby 3.4 when base64 is removed from the default gems. Since there weren't any API changes in the base64 gem since 0.1.1 despite the minor version update, it looks like this version is safe to bump: https://github.com/ruby/base64/releases.

I think removing the dependency like in #778 is preferable, but while that awaits review, we can bump the version here.

tarcieri commented 2 months ago

Thanks!