Commit e87e7c6
committed
Add logger as dependency to address warnings against Ruby 3.4.0dev
This commit addresses the `warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.`
against Ruby 3.4.0dev
* Steps to reproduce
```ruby
$ ruby -v
ruby 3.4.0dev (2024-10-21T16:48:53Z master 5131fb5dbe) +PRISM [x86_64-linux]
$ bundle exec rake 2>&1 |grep 'warning: logger'
```
* Warnings addressed by this commit:
```
/path/to/sprockets/lib/sprockets/base.rb:4: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets/cache/file_store.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets/cache.rb:2: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets/manifest_utils.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets.rb:5: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
```
* Refer to the following URL for the background of this change:
https://bugs.ruby-lang.org/issues/20309
ruby/ruby@d7e558e1 parent e4686d5 commit e87e7c6
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments