Skip to content

Commit

Permalink
Add base64 to runtime dependency (#759)
Browse files Browse the repository at this point in the history
This PR adds `base64` to runtime dependency to suppress the following Ruby 3.3's warning:

```console
$ 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: rails/rails#48907
  • Loading branch information
koic committed Aug 16, 2023
1 parent 9bfcdfb commit a47c436
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http.gemspec
Expand Up @@ -28,6 +28,7 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.6"

gem.add_runtime_dependency "addressable", "~> 2.8"
gem.add_runtime_dependency "base64", "~> 0.1"
gem.add_runtime_dependency "http-cookie", "~> 1.0"
gem.add_runtime_dependency "http-form_data", "~> 2.2"
gem.add_runtime_dependency "llhttp-ffi", "~> 0.5.0"
Expand Down

0 comments on commit a47c436

Please sign in to comment.