vmail 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,6 +56,8 @@ module Vmail
56
56
  message = Message[message_id]
57
57
  parts_list = format_parts_info(formatter.list_parts)
58
58
  headers = format_headers(formatter.extract_headers)
59
+ # replace the date value with the one derived from the envelope
60
+ headers['date'] = message.date
59
61
  body = formatter.plaintext_part
60
62
  body.force_encoding("UTF-8")
61
63
  body = Iconv.conv('UTF-8//IGNORE', 'UTF-8', body)
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.0.7'
2
+ VERSION = '2.0.8'
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.7
5
+ version: 2.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi