mournmail 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mournmail/config.rb +2 -1
- data/lib/mournmail/summary.rb +2 -1
- data/lib/mournmail/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae379bf40c63688588064eaabc9eebdbff4c393be7ecf8ece7fb882417b0497b
|
4
|
+
data.tar.gz: 1264ad23254aca9c1550f2f568aac09e298867a7573ad05ddc045e324af0b48b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99fe3e9ef1651a1acfb06aa2ce210e7e4342a73f51781c82ab28d8d1a1d940e4233eef8e0ae66d7663dbc14917e121a5d3c268b26ff1ff9a8372bb190c3ab19f
|
7
|
+
data.tar.gz: 324f77413cf03ddbb281edfabd881dabd97134d6b01c83c81f6560c802dd1c19f66827d391c0779890cbd96d2b8682431b15070f5a2ac745712dc6027abf4f39
|
data/lib/mournmail/config.rb
CHANGED
@@ -9,6 +9,7 @@ module Textbringer
|
|
9
9
|
"From",
|
10
10
|
"To",
|
11
11
|
"Cc",
|
12
|
+
"Bcc",
|
12
13
|
"Reply-To",
|
13
14
|
"User-Agent",
|
14
15
|
"X-Mailer",
|
@@ -35,7 +36,7 @@ module Textbringer
|
|
35
36
|
CONFIG[:mournmail_link_open_comamnd] = "xdg-open"
|
36
37
|
end
|
37
38
|
CONFIG[:mournmail_addresses_path] = File.expand_path("~/.addresses")
|
38
|
-
CONFIG[:mournmail_signature_regexp] =
|
39
|
+
CONFIG[:mournmail_signature_regexp] = /^-- /
|
39
40
|
CONFIG[:mournmail_allowed_attachment_extensions] = [
|
40
41
|
"txt",
|
41
42
|
"md",
|
data/lib/mournmail/summary.rb
CHANGED
@@ -142,7 +142,8 @@ module Mournmail
|
|
142
142
|
s = data[0].attr["BODY[]"]
|
143
143
|
mail = Mournmail.parse_mail(s)
|
144
144
|
spam_mailbox = Mournmail.account_config[:spam_mailbox]
|
145
|
-
if
|
145
|
+
if spam_mailbox.nil? ||
|
146
|
+
@mailbox != Net::IMAP.encode_utf7(spam_mailbox)
|
146
147
|
item.cache_id = Mournmail.write_mail_cache(s)
|
147
148
|
Mournmail.index_mail(item.cache_id, mail)
|
148
149
|
end
|
data/lib/mournmail/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mournmail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shugo Maeda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: textbringer
|