vmail 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,9 +55,10 @@ module Vmail
55
55
 
56
56
  message = Message[message_id]
57
57
  parts_list = format_parts_info(formatter.list_parts)
58
- headers = format_headers(formatter.extract_headers)
58
+ headers_hash = formatter.extract_headers
59
+ headers_hash['date']
60
+ headers = format_headers headers_hash
59
61
  # replace the date value with the one derived from the envelope
60
- headers['date'] = message.date
61
62
  body = formatter.plaintext_part
62
63
  body.force_encoding("UTF-8")
63
64
  body = Iconv.conv('UTF-8//IGNORE', 'UTF-8', body)
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.0.8'
2
+ VERSION = '2.0.9'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.8
5
+ version: 2.0.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi