From a497d99b2108a7fe4341d5520274acd37873a034 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sun, 2 Feb 2025 15:56:14 -0800 Subject: [PATCH] Add logger runtime dependency 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. --- sshkit.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/sshkit.gemspec b/sshkit.gemspec index acda77e8..7a69ba65 100644 --- a/sshkit.gemspec +++ b/sshkit.gemspec @@ -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')