vmail 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -128,7 +128,7 @@ module Vmail
128
128
  elsif address_struct.name
129
129
  "#{Mail::Encodings.unquote_and_convert_to(address_struct.name, 'UTF-8')} <#{[address_struct.mailbox, address_struct.host].join('@')}>"
130
130
  else
131
- [address_struct.mailbox, address_struct.host].join('@')
131
+ [Mail::Encodings.unquote_and_convert_to(address_struct.mailbox, 'UTF-8'), Mail::Encodings.unquote_and_convert_to(address_struct.host, 'UTF-8')].join('@')
132
132
  end
133
133
  if @mailbox == '[Gmail]/Sent Mail' && envelope.to && envelope.cc
134
134
  total_recips = (envelope.to + envelope.cc).size
@@ -158,6 +158,8 @@ module Vmail
158
158
  subject.col(subject_col_width),
159
159
  number_to_human_size(size).rcol(6),
160
160
  flags.rcol(7)].join(' ')
161
+ rescue
162
+ "#{uid.to_s} : error extracting this header"
161
163
  end
162
164
 
163
165
  UNITS = [:b, :kb, :mb, :gb].freeze
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
@@ -32,6 +32,7 @@
32
32
  <li><a href="https://github.com/danchoi/vmail">github repo</a></li>
33
33
  <li><a href="https://rubygems.org/gems/vmail">rubygems page</a></li>
34
34
  <li><a href="https://github.com/danchoi/vmail/issues">issue tracker</a></li>
35
+ <li><a href="http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=vmail+vim#hl=en&tbo=1&tbs=mbl:1,mbl_sv:0&q=link:http://danielchoi.com/software/vmail.html&sa=X&ei=iw0JTYnsPMT_lgfgvMC1AQ&ved=0CAUQ6QcwCg&fp=1&cad=b">web reactions</a></li>
35
36
  </ul>
36
37
  </div>
37
38
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 6
9
- version: 0.3.6
8
+ - 7
9
+ version: 0.3.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi