Commit fdfbba0
committed
Provide the now required response object to the smtp exception
mail gem 2.8.0 added ruby 3.1 support[1] which added net-smtp as an explicit gem
dependency because it had recently become an extracted gem.
Previously, we used the ruby stdlib version, which was using gem version 0.1.0
in ruby 2.7.0 and 0.2.1 in ruby 3.0.0.
Starting with net-smtp 0.2.2, the Net::SMTPError types now require a response
object [2] and an optional message. 🤷
[1] https://github.com/mikel/mail/pull/1472/files
[2] https://github.com/ruby/net-smtp/pull/26/files1 parent dc240dc commit fdfbba0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments