vmail 2.9.10 → 2.9.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +1 -1
- data/lib/vmail/showing_message.rb +3 -1
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e5ff979e688a898177944ce2e7c2d7adaf3ea74
|
4
|
+
data.tar.gz: 85917a7d613e1fec4d8efb68c2e0d12ce84a128d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd59fb150573dbbce86de92a846d39c6ef074031720d72878b8767f69a74a403a43120c22b33582d09210e81c3661dce037b64423636174aaf26ea5ff24ad4d1
|
7
|
+
data.tar.gz: 53052efe106749676d43ad13c9547308aec6c4d9079dbb079a18b6576acdfb99dff6b0448eb77c32f3704f22abada0e06c074f19fbe0232b3941fbe56e647fac
|
data/README.markdown
CHANGED
@@ -70,7 +70,9 @@ module Vmail
|
|
70
70
|
# [\w-]+ matches charsets like ISO-8851
|
71
71
|
if /charset=([\w-]+)/.match(parts_list)
|
72
72
|
conv_from = /charset=([\w-]+)/.match(parts_list)[1].strip
|
73
|
-
|
73
|
+
unless conv_from == 'utf8' or conv_from == 'UTF-8'
|
74
|
+
body = body.encode!('utf-8', conv_from, undef: :replace, invalid: :replace)
|
75
|
+
end
|
74
76
|
else
|
75
77
|
body = body.encode!('us-ascii', 'utf-8', undef: :replace, invalid: :replace)
|
76
78
|
end
|
data/lib/vmail/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vmail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Choi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|