Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use frozen string literal in actionmailer/ | Kir Shatrov | 2017-07-23 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -5/+5 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | applies new string literal convention in actionmailer/test | Xavier Noria | 2016-08-06 | 1 | -7/+7 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Sendmail default arguments match Mail::SendMail | arktisklada | 2016-04-05 | 1 | -1/+1 |
| | | | | Removes `-t` | ||||
* | tests, define `Rails.root` before loading Action Mailer. | Yves Senn | 2015-11-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | Since `bin/test` would define `Rails.root` before loading AM but `bundle exec rake` would define it after loading AM, this lead to the following test failure when using `bin/test`: ``` --- expected +++ actual @@ -1 +1 @@ -{:location=>"/var/folders/_r/9kh50y4j0vn7zgg2p65z1lcm0000gn/T/mails"} +{:location=>"/Users/senny/Projects/rails/actionmailer/tmp/mails"} ``` This patch ensures that `Rails.root` is defined when loading AM to achieve consistent test results. | ||||
* | Added assertion for error messages for nil and unknown delivery methods | Ronak Jangir | 2015-09-22 | 1 | -2/+4 |
| | | | As `deliver_now` `RuntimeError` for both nil & unknown delivery method so it’s good to have assertion for error messages | ||||
* | Removed mocha from ActionMailer | Ronak Jangir | 2015-08-20 | 1 | -9/+17 |
| | |||||
* | not needed require's | Ankit Gupta | 2015-05-10 | 1 | -1/+0 |
| | | | | | - as core_ext is not used and test pass locally - mail is already required in abstract_unit | ||||
* | Deprecated .deliver / .deliver! to .deliver_now / .deliver_now! | Cristian Bica | 2014-08-20 | 1 | -12/+12 |
| | |||||
* | add test coverage for the action mailer | Dmitry Polushkin | 2014-07-04 | 1 | -1/+1 |
| | |||||
* | Move state restoration from setup/teardown into affected test cases. | Zuhao Wan | 2014-05-13 | 1 | -30/+42 |
| | |||||
* | add actionmailer test coverage for undefined delivery method | Dmitry Polushkin | 2014-02-09 | 1 | -9/+20 |
| | |||||
* | Don't mutate the Base settings by merge!ing the given value | Akira Matsuda | 2013-09-10 | 1 | -0/+3 |
| | |||||
* | Revert "Merge branch 'master' of github.com:rails/docrails" | Vijay Dev | 2013-08-17 | 1 | -3/+0 |
| | | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake. | ||||
* | Don't mutate the Base settings by merge!ing the given value | Akira Matsuda | 2013-07-26 | 1 | -0/+3 |
| | |||||
* | Update actionmailer with new hash syntax. | Kirill Nikitin | 2012-10-07 | 1 | -26/+26 |
| | |||||
* | Allow delivery method options to be set per mail instance | Aditya Sanghi | 2012-09-04 | 1 | -0/+39 |
| | |||||
* | Revert "Merge pull request #7202 from asanghi/perform_deliveries_in_mail" | José Valim | 2012-08-07 | 1 | -13/+0 |
| | | | | | | Reverting because it feels backward to specify a delivery to not be performed while the e-mail is being composed. It is simpler (and makes more sense) to delegate the responsibility to the calling code. | ||||
* | allow perform deliveries to be set within mailer action | Aditya Sanghi | 2012-07-30 | 1 | -0/+13 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -3/+3 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -2/+4 |
| | |||||
* | Got AM working with Mail yield on delivery_handler and updated tests | José Valim and Mikel Lindsaar | 2010-01-25 | 1 | -2/+2 |
| | |||||
* | Added delivery_handler method to mail and implemented in ActionMailer to ↵ | José Valim and Mikel Lindsaar | 2010-01-25 | 1 | -5/+25 |
| | | | | deliver inside of instrumentation | ||||
* | Add tests to mail helper. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -30/+30 |
| | |||||
* | Move old tests to a specific folder and add some delivery method tests. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -17/+95 |
| | |||||
* | Finish cleaning up delivery methods implementation. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -0/+72 |