-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require mail >= 2.8.0.rc1 for Ruby 3.1 support #4734
Conversation
mikel/mail@d9d8dcc as reference |
I can live with that, but in case you missed it, there's a typo in the commit message. 🙂 |
Ruby 3.1 removed net-smtp, net-imap and net-pop from standardlib and extracted them into independent gems. The mail gem >= 2.8.0.rc1 added them to their dependencies. Since we require the mail gem in core.rb:17 we need to add the mail gem as dependency and need to make sure it is the Ruby 3.1 compatible version as we support Ruby 3.1
c69fdbf
to
ed4bd8a
Compare
Ha! Thanks :) Fixed |
We can probably remove the |
This was added a long time ago and is actually not necessary anymore. If a shop depends on mail then through actionmailer. Refs solidusio#4734
Closed in favor of #4740 |
Thanks @waiting-for-dev for pointing me to the obvious |
Summary
Ruby 3.1 removed net-smtp, net-imap and net-pop from standardlib and extracted them into independent gems.
The mail gem >= 2.8 added them to their dependencies. Since we require the mail gem in core.rb:17 we need to add the mail gem as dependency and need to make sure it is the Ruby 3.1 compatible version as we support Ruby 3.1
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs: