From 959638435d49189e9b81c18e26c9699442754db2 Mon Sep 17 00:00:00 2001 From: Adam Rice Date: Thu, 26 Dec 2024 18:14:58 +1100 Subject: [PATCH] Explicitly require Logger Ruby has been trying to reduce the surface area of the standard library. From Ruby 3.5, Logger will transition from being in the standard library to being a default gem. This removes the deprecation warnings by explicitly including Logger as a dependency --- roo.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/roo.gemspec b/roo.gemspec index c6561c22..f291d7df 100644 --- a/roo.gemspec +++ b/roo.gemspec @@ -23,6 +23,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.7.0" end + spec.add_dependency 'logger', '~> 1' spec.add_dependency 'nokogiri', '~> 1' spec.add_dependency 'rubyzip', '>= 1.3.0', '< 3.0.0'