Skip to content

Commit

Permalink
Add logger runtime dependency
Browse files Browse the repository at this point in the history
Using sshkit on Ruby 3.4 causes the following warning to be printed:

> warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
> You can add logger to your Gemfile or gemspec to silence this warning.

To avoid this warning, and to allow sshkit to work on Ruby 3.5+, this
commit adds the `logger` gem as a runtime dependency to sshkit.
  • Loading branch information
mattbrictson committed Feb 2, 2025
1 parent 6fa1ad6 commit a497d99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sshkit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.5"

gem.add_runtime_dependency('base64')
gem.add_runtime_dependency('logger')
gem.add_runtime_dependency('net-ssh', '>= 2.8.0')
gem.add_runtime_dependency('net-scp', '>= 1.1.2')
gem.add_runtime_dependency('net-sftp', '>= 2.1.2')
Expand Down

0 comments on commit a497d99

Please sign in to comment.