diff --git a/Gemfile b/Gemfile index b4e778a..85c26f5 100644 --- a/Gemfile +++ b/Gemfile @@ -18,8 +18,4 @@ group :test do gem 'jrjackson', '~> 0.2.9', platforms: :jruby gem 'lines' gem 'thread_safe' - - # Since Ruby-3.4 vendored stdlib logger warns that it will be removed - # Since Ruby-3.5 logger is extracted into a standalone gem - gem 'logger' end diff --git a/lograge.gemspec b/lograge.gemspec index 2d439ea..0d923ed 100644 --- a/lograge.gemspec +++ b/lograge.gemspec @@ -22,11 +22,13 @@ Gem::Specification.new do |s| s.files = `git ls-files lib LICENSE.txt`.split("\n") - # base64, bigdecimal and mutex_m were extracted from the default gems in + # base64, bigdecimal, logger and mutex_m were extracted from the default gems in # Ruby 3.4; older Rails releases still `require` them, and JRuby (which # targets Ruby 3.4) does not bundle them, so declare them explicitly. + # See: https://stdgems.org s.add_development_dependency 'base64' s.add_development_dependency 'bigdecimal' + s.add_development_dependency 'logger' s.add_development_dependency 'mutex_m' # rdoc 8 depends on rbs, whose C extension cannot be built on JRuby. Keep # rdoc on the pre-rbs line so the JRuby test matrix can bundle.