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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b758be18cec7a7b8e51d1d1a02cdc8652200800d3c96cd54b471f360e139310
4
- data.tar.gz: d201ace873c79702fec68815cda4276f4d78d8dcb60e982b2d24c43efd014778
3
+ metadata.gz: ae379bf40c63688588064eaabc9eebdbff4c393be7ecf8ece7fb882417b0497b
4
+ data.tar.gz: 1264ad23254aca9c1550f2f568aac09e298867a7573ad05ddc045e324af0b48b
5
5
  SHA512:
6
- metadata.gz: d972e8d6410736c90eb8074f723a96bed957ca7cdd7c74350261c47cce57c3527a692ea422375e08a5f892ee08fbcfcb7d88edbb0b83e9c6ab1adf6f0616383b
7
- data.tar.gz: fa3659729fc83d4373896511009080e36297c1382e857e25ef2c7dfa1421d78ef506bafd23d81e00f504972116a0a281843359b22b4446b2031791e6b115450c
6
+ metadata.gz: 99fe3e9ef1651a1acfb06aa2ce210e7e4342a73f51781c82ab28d8d1a1d940e4233eef8e0ae66d7663dbc14917e121a5d3c268b26ff1ff9a8372bb190c3ab19f
7
+ data.tar.gz: 324f77413cf03ddbb281edfabd881dabd97134d6b01c83c81f6560c802dd1c19f66827d391c0779890cbd96d2b8682431b15070f5a2ac745712dc6027abf4f39
@@ -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] = /^\n-- /
39
+ CONFIG[:mournmail_signature_regexp] = /^-- /
39
40
  CONFIG[:mournmail_allowed_attachment_extensions] = [
40
41
  "txt",
41
42
  "md",
@@ -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 @mailbox != Net::IMAP.encode_utf7(spam_mailbox)
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
@@ -1,3 +1,3 @@
1
1
  module Mournmail
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
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.3
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-09-29 00:00:00.000000000 Z
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: textbringer