Skip to content

Commit 98c835a

Browse files
committed
Add logger as a dependency for Ruby 3.4 warnings
This commit addreses the following warning that logger will be part of default gem. ``` $ ruby -v ruby 3.4.0preview2 (2024-10-07 master 32c733f57b) +PRISM [x86_64-linux] $ bundle exec rspec -w Running Specs under Ruby Version 3.4.0 Running Specs for Mail Version 2.9.0.edge logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add logger to your Gemfile or gemspec to silence this warning. ... snip ... ``` Refer to https://bugs.ruby-lang.org/issues/20309 ruby/ruby@d7e558e
1 parent 9a7e2bf commit 98c835a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mail.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
1515

1616
s.required_ruby_version = ">= 2.5"
1717

18+
s.add_dependency('logger')
1819
s.add_dependency('mini_mime', '>= 0.1.1')
1920
s.add_dependency('net-smtp')
2021
s.add_dependency('net-imap')

0 commit comments

Comments
 (0)