1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailer/lib/action_mailer
Edouard CHIN 859f3bf024 Deprecate custom Action Mailer delivery job:
- Action Mailer delivery job should modify their `perform` method
  signature in order to receive the new payload that Action Mailer
  sends.

  Before:

  ```ruby
    def perform(mailer, mail_method, delivery_method, *args)
    end
  ```

  After:

  ```ruby
    def perform(mailer, mail_method, delivery_method, args:)
    end
  ```

  This new behaviour was introduced couple years ago in a attempt to
  get rid of the necessity to have a different job for paramterized
  mailers. A deprecation was introduced for custom jobs inheriting
  from `ActionMailer::DeliveryJob` but for jobs that didn't it went
  unnoticed.
  The deprecated behaviour was supposed to be removed in Rails 6.1
  but we couldn't and it got reverted https://github.com/rails/rails/pull/39257
2020-08-26 17:48:47 +02:00
..
base.rb Merge pull request #26445 from dracos/multiparty 2020-08-19 10:10:36 -07:00
collector.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
delivery_job.rb Revert "Remove deprecated ActionMailer::DeliveryJob and ActionMailer::Parameterized::DeliveryJob" 2020-05-12 15:20:07 -04:00
delivery_methods.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
gem_version.rb Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
inline_preview_interceptor.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00
log_subscriber.rb Remove deprecated ActionMailer::Base.receive in favor of Action Mailbox 2020-05-05 00:06:22 -04:00
mail_delivery_job.rb Fix keyword arguments warnings in Action Mailer 2020-01-21 09:23:15 +09:00
mail_helper.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
message_delivery.rb Deprecate custom Action Mailer delivery job: 2020-08-26 17:48:47 +02:00
parameterized.rb Revert "Remove deprecated ActionMailer::DeliveryJob and ActionMailer::Parameterized::DeliveryJob" 2020-05-12 15:20:07 -04:00
preview.rb Address to false negative for Performance/DeletePrefix,DeleteSuffix 2020-06-14 13:04:47 +09:00
railtie.rb Heed config.force_ssl when building URL 2020-04-05 18:19:31 -05:00
rescuable.rb Use tt in doc for action_mailer [ci skip] 2017-08-26 08:40:18 +09:00
test_case.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
test_helper.rb Revert "Remove deprecated ActionMailer::DeliveryJob and ActionMailer::Parameterized::DeliveryJob" 2020-05-12 15:20:07 -04:00
version.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00