1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox
Yasuo Honda c5e3c537a4 Ignore SQLite3 database files generated by parallel testing
Rails 6.0 introduces parallel testing and the default degree of parallelism is configured based on the number of CPU.
refer https://github.com/rails/rails/pull/34735 https://github.com/rails/rails/pull/31900

When any minitest executed under the OS where 2 or more CPU available,
SQLite 3 database files are not git-ignored.

Also updated other files which ignores SQLite database files.

* Steps to reproduce

```
$ git clone https://github.com/yahonda/rep_ignore_sqlite3_databases.git
$ cd rep_ignore_sqlite3_databases/
$ bin/rails test
$ git status
```

* Expected behavior:

- No `Untracked files:`

* Actual behavior:

- SQLite 3 database files appeared

```
$ git status
On branch master
Untracked files:
  (use "git add <file>..." to include in what will be committed)

	db/test.sqlite3-0
	db/test.sqlite3-1
	db/test.sqlite3-2
	db/test.sqlite3-3
	db/test.sqlite3-4
	db/test.sqlite3-5

nothing added to commit but untracked files present (use "git add" to track)
$
```
2019-08-27 11:42:04 +00:00
..
app Fix filenames of attachments created via the inbound email conductor 2019-07-25 21:11:29 -04:00
bin
config Remove the Amazon SES ingress 2019-04-14 12:15:54 -04:00
db/migrate Allow changing text and blob size without giving the limit option 2019-01-29 06:49:32 +09:00
lib Allow testing multipart emails in Action Mailbox 2019-08-07 10:12:13 -04:00
test Correct the assertion argument order 2019-08-08 00:06:34 +05:30
.gitignore Ignore SQLite3 database files generated by parallel testing 2019-08-27 11:42:04 +00:00
actionmailbox.gemspec Add CHANGELOG.md to actionmailbox gem specification 2018-12-31 19:38:13 +02:00
CHANGELOG.md Allow testing multipart emails in Action Mailbox 2019-08-07 10:12:13 -04:00
MIT-LICENSE Bump license years for 2019 2018-12-31 10:24:38 +07:00
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.