sisimai 5.0.0-java → 5.0.3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/codecovio.yml +33 -0
- data/.github/workflows/rake-test.yml +54 -0
- data/ChangeLog.md +68 -1
- data/Gemfile +2 -0
- data/README-JA.md +224 -112
- data/README.md +56 -33
- data/lib/sisimai/arf.rb +24 -5
- data/lib/sisimai/fact.rb +46 -8
- data/lib/sisimai/lhost/amazonses.rb +0 -1
- data/lib/sisimai/lhost/amazonworkmail.rb +0 -1
- data/lib/sisimai/lhost/aol.rb +0 -1
- data/lib/sisimai/lhost/bigfoot.rb +0 -1
- data/lib/sisimai/lhost/domino.rb +0 -1
- data/lib/sisimai/lhost/exchange2007.rb +1 -1
- data/lib/sisimai/lhost/exim.rb +7 -16
- data/lib/sisimai/lhost/facebook.rb +0 -1
- data/lib/sisimai/lhost/googlegroups.rb +2 -1
- data/lib/sisimai/lhost/gsuite.rb +0 -1
- data/lib/sisimai/lhost/mailmarshalsmtp.rb +1 -1
- data/lib/sisimai/lhost/mailru.rb +8 -17
- data/lib/sisimai/lhost/messagelabs.rb +0 -1
- data/lib/sisimai/lhost/mfilter.rb +1 -1
- data/lib/sisimai/lhost/mxlogic.rb +8 -18
- data/lib/sisimai/lhost/office365.rb +1 -1
- data/lib/sisimai/lhost/outlook.rb +0 -1
- data/lib/sisimai/lhost/postfix.rb +0 -1
- data/lib/sisimai/lhost/receivingses.rb +0 -1
- data/lib/sisimai/lhost/sendgrid.rb +1 -3
- data/lib/sisimai/lhost/sendmail.rb +0 -1
- data/lib/sisimai/lhost/yandex.rb +0 -1
- data/lib/sisimai/message.rb +14 -5
- data/lib/sisimai/reason/authfailure.rb +1 -0
- data/lib/sisimai/reason/blocked.rb +3 -0
- data/lib/sisimai/reason/expired.rb +8 -0
- data/lib/sisimai/reason/filtered.rb +1 -0
- data/lib/sisimai/reason/mailboxfull.rb +4 -0
- data/lib/sisimai/reason/norelaying.rb +1 -0
- data/lib/sisimai/reason/rejected.rb +1 -1
- data/lib/sisimai/reason/securityerror.rb +1 -0
- data/lib/sisimai/reason/spamdetected.rb +1 -0
- data/lib/sisimai/reason/suspend.rb +5 -0
- data/lib/sisimai/reason/userunknown.rb +4 -1
- data/lib/sisimai/rfc5322.rb +120 -64
- data/lib/sisimai/rhost/google.rb +347 -71
- data/lib/sisimai/rhost/microsoft.rb +8 -0
- data/lib/sisimai/rhost/mimecast.rb +9 -2
- data/lib/sisimai/rhost/nttdocomo.rb +3 -3
- data/lib/sisimai/smtp/status.rb +3 -0
- data/lib/sisimai/version.rb +1 -1
- data/lib/sisimai.rb +12 -11
- data/set-of-emails/maildir/bsd/arf-26.eml +27 -0
- data/set-of-emails/maildir/bsd/lhost-sendmail-60.eml +85 -0
- data/set-of-emails/maildir/bsd/rhost-microsoft-04.eml +86 -0
- data/set-of-emails/maildir/bsd/rhost-microsoft-05.eml +83 -0
- metadata +13 -8
- data/.travis.yml +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54c592e5b1c8a3be27062107f12c99a55a70e953523df5c6c575e668a71e0dde
|
4
|
+
data.tar.gz: c6f726ab72d810a9447b3e7df6cccab4c458e899bd52c652c1260b7ba063fd3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 910179d9e65f229fb8775bf104e469bfb7b5c8d04d1888f2bdf1fb9e47cb00a6710e5e76cdb15118ceb4bf1358b8020cc70fecfab5c8a72ff0ab773fafd5b9fd
|
7
|
+
data.tar.gz: 949e5a68e872884ad3718dbc9280107c9c59c18986994878552c3d0bd0e595ac9ced30bf79ef1db33281757956f26fee0f8fcfc7d697159abbc718073006a61a
|
@@ -0,0 +1,33 @@
|
|
1
|
+
name: Upload coverage reports to Codecov
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: ["5-stable"]
|
5
|
+
pull_request:
|
6
|
+
branches: ["5-stable"]
|
7
|
+
jobs:
|
8
|
+
codecov:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
steps:
|
11
|
+
- name: Checkout the repository(CRuby)
|
12
|
+
uses: actions/checkout@v4
|
13
|
+
- name: Setup CRuby
|
14
|
+
uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: "3.3"
|
17
|
+
- name: Install minitest
|
18
|
+
run: gem install minitest -v 5.15.0
|
19
|
+
- name: Install oj
|
20
|
+
run: gem install oj -v 3.10.0
|
21
|
+
- name: Install bundle, rake, simplecov, and simplecov-cobertura
|
22
|
+
run: gem install bundle rake simplecov simplecov-cobertura
|
23
|
+
- name: Check the CRuby version
|
24
|
+
run: ruby -v
|
25
|
+
- name: Execute public tests with the coverage report
|
26
|
+
run: ruby -I./lib ./test/coverage.rb
|
27
|
+
- name: Run Codecov on GitHub Actions
|
28
|
+
uses: codecov/codecov-action@v4.4.0
|
29
|
+
with:
|
30
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
31
|
+
files: ./coverage/coverage.xml
|
32
|
+
verbose: true
|
33
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
name: rake test
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: ["5-stable"]
|
5
|
+
pull_request:
|
6
|
+
branches: ["5-stable"]
|
7
|
+
jobs:
|
8
|
+
test-cruby:
|
9
|
+
name: rake test with CRuby ${{ matrix.cruby }}
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
cruby: ["2.4", "3.3"]
|
15
|
+
steps:
|
16
|
+
- name: Checkout the repository(CRuby)
|
17
|
+
uses: actions/checkout@v4
|
18
|
+
- name: Setup CRuby
|
19
|
+
uses: ruby/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: ${{ matrix.cruby }}
|
22
|
+
- name: Install minitest
|
23
|
+
run: gem install minitest -v 5.15.0
|
24
|
+
- name: Install oj
|
25
|
+
run: gem install oj -v 3.10.0
|
26
|
+
- name: Install bundle and rake
|
27
|
+
run: gem install bundle rake
|
28
|
+
- name: Check the CRuby version
|
29
|
+
run: ruby -v
|
30
|
+
- name: Execute public tests
|
31
|
+
run: rake publictest
|
32
|
+
test-jruby:
|
33
|
+
name: rake test with JRuby ${{ matrix.jruby }}
|
34
|
+
runs-on: ubuntu-latest
|
35
|
+
strategy:
|
36
|
+
fail-fast: false
|
37
|
+
matrix:
|
38
|
+
jruby: ["jruby-9.2", "jruby-9.4"]
|
39
|
+
steps:
|
40
|
+
- name: Checkout the repository(JRuby)
|
41
|
+
uses: actions/checkout@v2
|
42
|
+
- name: Setup JRuby
|
43
|
+
uses: ruby/setup-ruby@v1
|
44
|
+
with:
|
45
|
+
ruby-version: ${{ matrix.jruby }}
|
46
|
+
- name: Install minitest
|
47
|
+
run: gem install minitest -v 5.15.0
|
48
|
+
- name: Install bundle, rake, and jrjackson
|
49
|
+
run: gem install bundle rake jrjackson
|
50
|
+
- name: Check the JRuby version
|
51
|
+
run: jruby -v
|
52
|
+
- name: Execute public tests
|
53
|
+
run: rake publictest
|
54
|
+
|
data/ChangeLog.md
CHANGED
@@ -3,9 +3,76 @@ RELEASE NOTES for Ruby version of Sisimai
|
|
3
3
|
- releases: "https://github.com/sisimai/rb-sisimai/releases"
|
4
4
|
- download: "https://rubygems.org/gems/sisimai"
|
5
5
|
|
6
|
+
v5.0.3
|
7
|
+
---------------------------------------------------------------------------------------------------
|
8
|
+
- release: "Wed, 22 May 2024 14:12:22 +0900 (JST)"
|
9
|
+
- version: "5.0.3"
|
10
|
+
- changes:
|
11
|
+
- Remove `.travis.yml` from this repository
|
12
|
+
- Follow updates in Gmail SMTP errors and codes on Apr 29 and May 10 at `Sisimai::Rhost::Google`
|
13
|
+
#275 #277 #283
|
14
|
+
- https://support.google.com/a/answer/3726730?hl=en
|
15
|
+
- https://github.com/azumakuniyuki/feb-2024-no-auth-no-entry/commit/1d6adede
|
16
|
+
- https://github.com/azumakuniyuki/feb-2024-no-auth-no-entry/commit/d477b178
|
17
|
+
- Implement SMTP error codes as follows: `4.7.23`, `4.7.30`, `4.7.32`, `5.7.29`, and `5.7.30`
|
18
|
+
- Shortened error message patterns to make them more adaptable to minor sentence changes.
|
19
|
+
- Multibyte characters in the code and comments have been replaced with ASCII characters #278
|
20
|
+
- #279 #280 Deal the Apple unsubscribe notification as an ARF message. Thanks to @mnmallea
|
21
|
+
- Add the following error message patterns returned from Exchange Online #281
|
22
|
+
- 4.4.317, 5.4.317: STARTTLS is required to send mail
|
23
|
+
- 4.4.318, 5.4.318: Connection was closed abruptly (SuspiciousRemoteServerError)
|
24
|
+
- #282 Added 16 error message patterns into the following reasons:
|
25
|
+
- `Blocked`
|
26
|
+
- `Expired`
|
27
|
+
- `Filtered`
|
28
|
+
- `MailboxFull`
|
29
|
+
- `NoRelaying`
|
30
|
+
- `Suspend`
|
31
|
+
- `UserUnknown`
|
32
|
+
- #286 Use Codecov for the coverage
|
33
|
+
|
34
|
+
v5.0.2
|
35
|
+
---------------------------------------------------------------------------------------------------
|
36
|
+
- release: "Wed, 13 Mar 2024 13:00:00 +0900 (JST)"
|
37
|
+
- version: "5.0.2"
|
38
|
+
- changes:
|
39
|
+
- #271 #267 Sisimai 5 works on JRuby again. Thanks to @hiroyuki-sato
|
40
|
+
- #159 Implement workarounds at `Sisimai::Fact` and some public tests with `DateTime` class to
|
41
|
+
run Sisimai on JRuby, to avoid failing `strptime()`
|
42
|
+
- #269 Replace `Array#append` with `Array#push` at `Sisimai::RFC5322` because `Array#append` is
|
43
|
+
only available in Ruby 2.5 and above
|
44
|
+
- We have started testing JRuby 9.2 and 9.4 on GitHub Actions
|
45
|
+
- Disable 2 tests in `test/public/mail-test.rb` that fails on GitHub Actions only
|
46
|
+
- `5.7.23` returned from Office365 is an error related to SPF vilation (authfailure)
|
47
|
+
- #272 Fixed an issue that Sisimai could not get the value of `alias` address correctly when an
|
48
|
+
email forwarded and bounced
|
49
|
+
- `Sisimai::RFC5322.received` now returns a list including all the elements except date time and
|
50
|
+
(comments) found in the `Received` header
|
51
|
+
- Update the error message patterns in `Sisimai::Rhost::Mimecast`
|
52
|
+
- Update the error message patterns in the followings:
|
53
|
+
- `AuthFailure`
|
54
|
+
- `Blocked`
|
55
|
+
- `Expired`
|
56
|
+
- `MailboxFull`
|
57
|
+
- `SecurityError`
|
58
|
+
- `SpamDetected`
|
59
|
+
- `Suspend`
|
60
|
+
|
61
|
+
v5.0.1
|
62
|
+
---------------------------------------------------------------------------------------------------
|
63
|
+
- release: "Sun, 3 Mar 2024 17:17:17 +0900 (JST)"
|
64
|
+
- version: "5.0.1"
|
65
|
+
- changes:
|
66
|
+
- #263 Implement three SMTP status codes as follows: `5.7.28`, `5.7.29` and `5.7.30` described in
|
67
|
+
https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
|
68
|
+
- #264 The values of `reason` of `postfix-28.eml` and `postfix-29.eml` in decoded results have
|
69
|
+
been fixed to `notcompliantrfc`.
|
70
|
+
- #265 Implement and update SMTP error codes, reply codes, and error messages described at Google
|
71
|
+
https://support.google.com/a/answer/3726730?hl=en in `Sisimai::Rhost::Google`.
|
72
|
+
|
6
73
|
v5.0.0
|
7
74
|
---------------------------------------------------------------------------------------------------
|
8
|
-
- release: "
|
75
|
+
- release: "Fri, 2 Feb 2024 23:22:22 +0900 (JST)"
|
9
76
|
- version: "5.0.0"
|
10
77
|
- changes:
|
11
78
|
- **INCOMPATIBLE CHANGES SINCE SISIMAI VERSION 4**
|