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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4406aad1e2b562a23995602fd08b59f1ab2529d7
4
- data.tar.gz: 772ec9e548a8361cfc6d0cfd1169bca547b3f1e4
3
+ metadata.gz: 5e5ff979e688a898177944ce2e7c2d7adaf3ea74
4
+ data.tar.gz: 85917a7d613e1fec4d8efb68c2e0d12ce84a128d
5
5
  SHA512:
6
- metadata.gz: 1389f634a99e73edf2f2bd4fdfb54884f11e940d01b0fc51c1fafeffd9ca9c42c001ce94fd75579653aa14e60e2029521db2f285c89ee839169df007d6d0db53
7
- data.tar.gz: be4d8cdabc61204c738adb06adeab5ec1a169a4f2cee23b56ff4bbd47b2bace68abe6922aaafa7d551332805b00158d813c27e6266afcb6c9020b444fd40f642
6
+ metadata.gz: bd59fb150573dbbce86de92a846d39c6ef074031720d72878b8767f69a74a403a43120c22b33582d09210e81c3661dce037b64423636174aaf26ea5ff24ad4d1
7
+ data.tar.gz: 53052efe106749676d43ad13c9547308aec6c4d9079dbb079a18b6576acdfb99dff6b0448eb77c32f3704f22abada0e06c074f19fbe0232b3941fbe56e647fac
@@ -2,7 +2,7 @@
2
2
 
3
3
  Vmail is a Vim interface to Gmail.
4
4
 
5
- [screenshots]
5
+ [screenshots](http://danielchoi.com/software/vmail.html)
6
6
 
7
7
  Why Vmail? Because some people are 1000 times more productive and happy in [Vim][vim]
8
8
  than in any web browser or GUI program.
@@ -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
- body = body.encode!('utf-8', conv_from, undef: :replace, invalid: :replace)
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
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.9.10'
2
+ VERSION = '2.9.11'
3
3
  end
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.10
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: 2018-12-04 00:00:00.000000000 Z
11
+ date: 2019-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail