[x] Add dependency for base64 in gemspec for newer rubies
Why?
Ruby is moving certain libraries out of the stdlib into bundled gems, and therefore needs a dependency on them in our dependencies, rather than just magically being available. Ruby 3.3.0 is emitting a warning for us requiring base64 now without having it in the dependencies first.
Naturally the base64 gem doesn't work on Rubies older than 2.4.0, so we can't just depend on it in the gemspec and be done with it. Instead lets depend on it for Ruby 3.3 or newer.
What?
base64
in gemspec for newer rubiesWhy?
Ruby is moving certain libraries out of the stdlib into bundled gems, and therefore needs a dependency on them in our dependencies, rather than just magically being available. Ruby 3.3.0 is emitting a warning for us requiring base64 now without having it in the dependencies first.
Naturally the base64 gem doesn't work on Rubies older than 2.4.0, so we can't just depend on it in the gemspec and be done with it. Instead lets depend on it for Ruby 3.3 or newer.