- 07 5月, 2020 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 02 5月, 2020 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 31 3月, 2020 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 19 12月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 14 12月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 10 12月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 27 11月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 05 11月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 01 11月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 31 10月, 2019 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Merge pull request #37608 from bogdanvlviv/fix-assertions-for-mail-with-legacy-parameterized-delivery-job Fix ActionMailer assertions don't work for parameterized mail with legacy delivery job
-
- 17 8月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 23 7月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 25 4月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 11 3月, 2019 1 次提交
-
-
由 eileencodes 提交于
* Update RAILS_VERSION * Bundle * rake update_versions * rake changelog:header
-
- 26 2月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 19 1月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 28 12月, 2018 1 次提交
-
-
由 George Claghorn 提交于
-
- 20 12月, 2018 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Generally followed the pattern for https://github.com/rails/rails/pull/32034 * Removes needless CI configs for 2.4 * Targets 2.5 in rubocop * Updates existing CHANGELOG entries for fewer merge conflicts * Removes Hash#slice extension as that's inlined on Ruby 2.5. * Removes the need for send on define_method in MethodCallAssertions.
-
- 05 12月, 2018 1 次提交
-
-
由 Gannon McGibbon 提交于
Add `MailDeliveryJob` for delivering both regular and parameterized mail. Deprecate using `DeliveryJob` and `Parameterized::DeliveryJob`.
-
- 23 11月, 2018 1 次提交
-
-
由 Gannon McGibbon 提交于
Deliver parameterized mail with `ActionMailer::DeliveryJob` and remove `ActionMailer::Parameterized::DeliveryJob`.
-
- 22 11月, 2018 1 次提交
-
-
由 Edouard CHIN 提交于
- If a Mail defines a custom delivery_job, all ActionMailer assertion helper (assert_emails, assert_enqueued_emails ...) wouldn't work. ```ruby MyMailer < ApplicationMailer self.delivery_job = MyJob end # This assertion will fail assert_emails(1) do MyMailer.my_mail.deliver_later end This PR leverage the new ActiveJob feature that accepts Procs for the `only` keyword and check if the delivery job is one of ActionMailer registered ones.
-
- 06 10月, 2018 1 次提交
-
-
由 Luke Pearce 提交于
Setting parameterized_delivery_job on a mailer class will cause Parameterized::MessageDelivery to use the specified job instead of ActionMailer::Parameterized::DeliveryJob: class MyMailer < ApplicationMailer self.parameterized_delivery_job = MyCustomDeliveryJob ... end
-
- 13 9月, 2018 1 次提交
-
-
由 bogdanvlviv 提交于
Since these changes related to the public API, I think we should add changelog entries. Related to #33838, #33849
-
- 09 9月, 2018 1 次提交
-
-
由 Yoshiyuki Kinjo 提交于
-
- 08 9月, 2018 1 次提交
-
-
由 Yoshiyuki Kinjo 提交于
-
- 29 6月, 2018 1 次提交
-
-
由 bogdanvlviv 提交于
Example of `assert_enqueued_with` with no block ```ruby def test_assert_enqueued_with MyJob.perform_later(1,2,3) assert_enqueued_with(job: MyJob, args: [1,2,3], queue: 'low') MyJob.set(wait_until: Date.tomorrow.noon).perform_later assert_enqueued_with(job: MyJob, at: Date.tomorrow.noon) end ``` Example of `assert_enqueued_email_with` with no block: ```ruby def test_email ContactMailer.welcome.deliver_later assert_enqueued_email_with ContactMailer, :welcome end def test_email_with_arguments ContactMailer.welcome("Hello", "Goodbye").deliver_later assert_enqueued_email_with ContactMailer, :welcome, args: ["Hello", "Goodbye"] end ``` Related to #33243
-
- 31 5月, 2018 1 次提交
-
-
由 Kota Miyake 提交于
* ActionMailer::Base can unregister observer(s) and interceptor(s). One or multiple mail observers can be unregistered using `ActionMailer::Base.unregister_observers` or `ActionMailer::Base.unregister_observer`. One or multiple mail interceptors can be unregistered using `ActionMailer::Base.unregister_interceptors` or `ActionMailer::Base.unregister_interceptor`. For preview interceptors, it's possible to use `ActionMailer::Base.unregister_preview_interceptors` or `ActionMailer::Base.unregister_preview_interceptor`. * Ensure to be reset registered observer(s) and interceptor(s) * Add explanation to CHANGELOG * Add original author's name [Kota Miyake + Rafael Mendonça França + Claudio Ortolina]
-
- 24 5月, 2018 1 次提交
-
-
由 Samuel Cochran 提交于
* Eager autoload mail gem when eager load is true We had a production issue where our Sidekiq worker threads all became deadlocked while autoloading a file within the mail gem, required via ActionMailer, despite setting our Rails applicaiton to eager load. `Mail.eager_autoload!` exists and works great, ActionMailer just doesn't call it during eager loading. Adding it to the ActionMailer Railtie's eager_load_namespaces takes care of calling `Mail.eager_autoload!` during the `eager_load!` initializer. * 'Mail' isn't defined yet, use before_eager_load instead * Make sure mail is loaded * Move eager load of Mail into ActionMailer.eager_load! [Samuel Cochran + Rafael Mendonça França]
-
- 18 2月, 2018 1 次提交
-
-
由 Jeremy Daer 提交于
Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug. References #32028
-
- 31 1月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
:tada::tada::tada:
-
- 29 11月, 2017 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 28 11月, 2017 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 04 10月, 2017 1 次提交
-
-
由 Ryuta Kamizono 提交于
* Add missing credit * Add backticks * Fix indentation * Remove trailing spaces And some minor tweaks.
-
- 28 9月, 2017 1 次提交
-
-
由 Mikkel Malmberg 提交于
-
- 29 8月, 2017 1 次提交
-
-
由 Jimmy Bourassa 提交于
PR #29270 changed the number of arguments that gets passed to Procs defined in ActionMail::Base.default. With this changeset, Procs can now have 1 or 0 arguments Also adds test coverage for AM::Base.default Proc arity.
-
- 15 6月, 2017 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Matthew Mongeau 提交于
Setting delivery_job on a mailer class will cause MessageDelivery to use the specified job instead of ActionMailer::DeliveryJob: class MyMailer < ApplicationMailer self.delivery_job = MyCustomDeliveryJob ... end
-
- 22 3月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
-
- 24 2月, 2017 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 22 2月, 2017 1 次提交
-
-
由 Jon Moss 提交于
[ci skip]
-