Skip to content

Commit

Permalink
Add base64 and logger gem as dependency for Ruby 3.4 and 3.5
Browse files Browse the repository at this point in the history
The `base64` gem was marked as bundled gem for Ruby 3.4.
Ref. ruby/ruby@6500f85

And, the `logger` gem was marked as bundled gem for Ruby 3.5.
Ref. ruby/ruby@d7e558e

This patch will suppress the following warning message:

```
socket_manager.rb:23: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec.

config_loader.rb:18: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
```

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
  • Loading branch information
Watson1978 authored and ashie committed Sep 3, 2024
1 parent 9db1065 commit 4a54362
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serverengine.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.3.0"

gem.add_dependency "sigdump", ["~> 0.2.2"]
gem.add_dependency "base64", ["~> 0.1"]
gem.add_dependency "logger", ["~> 1.4"]

# rake v12.x doesn't work with rspec 2. rspec should be updated to 3
gem.add_development_dependency "rake", ["~> 13.0"]
Expand Down

0 comments on commit 4a54362

Please sign in to comment.