From 0bfdb5672ccce98f2f5af58557397fefff53865d Mon Sep 17 00:00:00 2001 From: Joel Drapper Date: Fri, 11 Oct 2024 10:45:11 +0100 Subject: [PATCH] Add `logger` as a runtime dependency The default gem `logger` will be removed from Ruby 3.5.0 and must now be installed separately. This also resolves a warning in Ruby 3.3.5. --- Gemfile.lock | 2 ++ vite_ruby/vite_ruby.gemspec | 1 + 2 files changed, 3 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 69f04f5d..b314198c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -16,6 +16,7 @@ PATH specs: vite_ruby (3.8.2) dry-cli (>= 0.7, < 2) + logger (~> 1.6) rack-proxy (~> 0.6, >= 0.6.1) zeitwerk (~> 2.2) @@ -120,6 +121,7 @@ GEM rdoc (>= 4.0.0) reline (>= 0.4.2) json (2.6.3) + logger (1.6.1) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) diff --git a/vite_ruby/vite_ruby.gemspec b/vite_ruby/vite_ruby.gemspec index 4ec6b95a..d8e0d921 100644 --- a/vite_ruby/vite_ruby.gemspec +++ b/vite_ruby/vite_ruby.gemspec @@ -21,6 +21,7 @@ Gem::Specification.new do |s| s.add_dependency 'dry-cli', '>= 0.7', '< 2' s.add_dependency 'rack-proxy', '~> 0.6', '>= 0.6.1' s.add_dependency 'zeitwerk', '~> 2.2' + s.add_dependency 'logger', '~> 1.6' s.add_development_dependency 'm', '~> 1.5' s.add_development_dependency 'minitest', '~> 5.0'