Add an explicit dependency on the logger gem

This is getting the same treatment as `base64`, `mutex_m`, etc.
In Ruby 3.4 it will start to warn: d7e558e3c4

Remoce require from two files that don't seem to need it
This commit is contained in:
Earlopain 2024-06-05 13:53:33 +02:00
parent a6a840f150
commit d9adf17fbe
No known key found for this signature in database
GPG Key ID: 298A57787DC6EF08
5 changed files with 6 additions and 2 deletions

@ -93,6 +93,7 @@ PATH
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger
minitest (>= 5.1)
tzinfo (~> 2.0, >= 2.0.5)
rails (8.0.0.alpha)
@ -325,6 +326,7 @@ GEM
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)

@ -2,7 +2,6 @@
# frozen_string_literal: true
require "abstract_unit"
require "logger"
class TestERBTemplate < ActiveSupport::TestCase
ERBHandler = ActionView::Template::Handlers::ERB.new

@ -1,2 +1,5 @@
* Add `logger` as a dependency since it is a bundled gem candidate for Ruby 3.5
*Earlopain*
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/activesupport/CHANGELOG.md) for previous changes.

@ -42,4 +42,5 @@
s.add_dependency "base64"
s.add_dependency "drb"
s.add_dependency "bigdecimal"
s.add_dependency "logger"
end

@ -2,7 +2,6 @@
require "active_support/core_ext/module/delegation"
require "active_support/core_ext/object/blank"
require "logger"
require "active_support/logger"
module ActiveSupport