mail-jdec 1.0.7 → 1.0.8

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: 771926a9ac210b89bde65b6a6081baa75cfe1cc18ef51a7e549615c2760be0bb
4
- data.tar.gz: 21bf2742a6b42daeb24da45d7a60a2eb09e6f7ce278ebd4b38d7203f8d97b1e2
3
+ metadata.gz: a75b14c21a8928bb25ec161bc6232159f2e343c076cbd0b799e73e686aa03c5f
4
+ data.tar.gz: 91f162a48af9ad8e77da22bcdb89e3239746e71f417a8cb23b0b1b62627a6284
5
5
  SHA512:
6
- metadata.gz: 9e6e9f45f57696da4535d8cff239de15b7a4e2b907043595165e2176392c4ae6b57d650e9759157601a414c17e0142fc3cb2628a7c08713515c9e37a0d15b937
7
- data.tar.gz: 7a150a01169bc9f17e784a22bb0978ebdb3c61d02f7c6155dd252ebe97b271fbe2f9a9817e31fd9a450f7b287a20b85445b3485a0e84baa208e6843e793df206
6
+ metadata.gz: bff93ec2c49b2dad225f6785c7569644777ef92a6a6d9c7b5246cfd63c7e6aa7fe716740ff06858672eca080f9f871e1bef4a6e4d42c010047388b22de266bb3
7
+ data.tar.gz: 1ede593a0e8ccefc853971935e0ce225a7b620819fe202b1f76f9eea84a66c68573e0c039b583bfd69f3373d08acbbeb09885bbce38cc245430609bd79a296c4
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.0.8
4
+
5
+ * Prefer utf-8 to us-ascii for header's charset.
6
+
3
7
  ## 1.0.7
4
8
 
5
9
  * Force us-ascii when header's charset is not detected.
@@ -11,7 +11,7 @@ module Mail
11
11
  charset = detected[:encoding].to_s
12
12
  text = Mail::Encodings.transcode_charset(text.dup.force_encoding(charset), charset, 'utf-8')
13
13
  else
14
- text = Mail::Encodings.transcode_charset(text, text.encoding, 'us-ascii')
14
+ text = Mail::Encodings.transcode_charset(text, text.encoding, 'utf-8')
15
15
  end
16
16
 
17
17
  text
@@ -1,5 +1,5 @@
1
1
  module Mail
2
2
  module Jdec
3
- VERSION = '1.0.7'
3
+ VERSION = '1.0.8'
4
4
  end
5
5
  end
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.7
4
+ version: 1.0.8
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-05-10 00:00:00.000000000 Z
11
+ date: 2019-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail