mail-jdec 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mail/jdec/message_patch.rb +1 -1
- data/lib/mail/jdec/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: d8eb539ef041f4711f6c84bd47a9629b0dda45660d5db86e6af8bcd8dcb60edf
|
4
|
+
data.tar.gz: 0deef48a46ee7e19d1c996e21439918de347a8ee71161d4402d8af0100d36c30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf8e2069d17990a73c364efc5643f25f3ba675ab69c131a6d62cb8af22d53eee54fb066663c964c51610d86093847e3b097a0caa4f798c75cf41e918b93e8f1e
|
7
|
+
data.tar.gz: 0304f8449be0056c128e1755f9eeed5c4d25bf9e44e6ef18cacc192709ae9c213d57214addc6596cc143950e59d508733c8972a83edf0ff53314c08bb80351ed
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ module Mail
|
|
4
4
|
def decoded
|
5
5
|
decoded = super
|
6
6
|
|
7
|
-
if Jdec.enabled? && (!has_content_type? || (!has_charset? && !attachment? && !multipart?))
|
7
|
+
if Jdec.enabled? && (!has_content_type? || (text? && !has_charset? && !attachment? && !multipart?))
|
8
8
|
detected = Detector.detect(decoded)
|
9
9
|
if detected && detected[:type] == :text
|
10
10
|
charset = detected[:encoding].downcase
|
data/lib/mail/jdec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail-jdec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|