Skip to content

Commit

Permalink
Add logger gem as an explicit dependency
Browse files Browse the repository at this point in the history
`logger` will be a bundled gem from Ruby 3.5.
https://bugs.ruby-lang.org/issues/20309

So if we use `logger` as the standard library, Bundler shows the
following warning.

```
src/github.com/nov/openid_connect/lib/openid_connect.rb:2: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0
```

This PR adds the `logger` to explicit dependency to fix the warning.
  • Loading branch information
y-yagi committed Jan 30, 2025
1 parent d0d9cd7 commit 85ed842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openid_connect.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency "swd", "~> 2.0"
s.add_runtime_dependency "webfinger", "~> 2.0"
s.add_runtime_dependency "rack-oauth2", "~> 2.2"
s.add_runtime_dependency "logger"
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "rspec-its"
Expand Down

0 comments on commit 85ed842

Please sign in to comment.