1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox
Jonathan Hefner 33fdae0584 Fix backtraces for generated plugin tests
`Minitest.plugin_rails_init` sets `Minitest.backtrace_filter` to
`Rails.backtrace_cleaner` right before tests are run, overwriting the
value set in test_helper.rb.

`Rails.backtrace_cleaner` silences backtrace lines that do not start
with `Rails.root` followed by e.g. "lib/" or "test/".  Thus when
`Rails.root` is a subdirectory of the project directory -- for example,
when testing a plugin that has a dummy app -- all lines of the backtrace
are silenced.

This commit adds a fallback such that when all backtrace lines are
silenced, the original `Minitest.backtrace_filter` is used instead.

Additionally, this commit refactors and expands existing test coverage.
2020-10-07 15:40:56 -05:00
..
app Extract ActionMailbox::Record 2020-09-29 11:59:14 -04:00
bin
config Add a route to handle Mandrill's webhook URL check 2020-04-07 13:22:36 +01:00
db/migrate Allow changing text and blob size without giving the limit option 2019-01-29 06:49:32 +09:00
lib Replace 'Stubs out' with 'Generates' in generator USAGE's [ci skip] 2020-06-03 08:51:47 +02:00
test Fix backtraces for generated plugin tests 2020-10-07 15:40:56 -05:00
.gitignore Remove redundant .gitignore entries 2020-02-07 14:05:23 -06:00
actionmailbox.gemspec Update the Rails mailing list URLs to new discuss discourse URL [ci skip] 2020-04-02 22:00:28 +05:30
CHANGELOG.md Sendgrid: prepend X-Original-To header with envelope recipients 2020-07-21 19:38:38 -04:00
MIT-LICENSE Bump license years from 2019 to 2020 [ci skip] 2020-01-01 15:10:31 +05:30
Rakefile add new frameworks to tasks/release.rb 2019-01-08 10:36:33 -08:00
README.md Remove the Amazon SES ingress 2019-04-14 12:15:54 -04:00

Action Mailbox

Action Mailbox routes incoming emails to controller-like mailboxes for processing in Rails. It ships with ingresses for Mailgun, Mandrill, Postmark, and SendGrid. You can also handle inbound mails directly via the built-in Exim, Postfix, and Qmail ingresses.

The inbound emails are turned into InboundEmail records using Active Record and feature lifecycle tracking, storage of the original email on cloud storage via Active Storage, and responsible data handling with on-by-default incineration.

These inbound emails are routed asynchronously using Active Job to one or several dedicated mailboxes, which are capable of interacting directly with the rest of your domain model.

You can read more about Action Mailbox in the Action Mailbox Basics guide.

License

Action Mailbox is released under the MIT License.