vmail 2.2.1 → 2.2.2

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.
@@ -92,12 +92,10 @@ module Vmail
92
92
  message.message_id ].join(' | ')
93
93
  end
94
94
 
95
- FLAGMAP = {'Flagged' => '*'}
95
+ FLAGMAP = {'Flagged' => '*'}
96
96
 
97
97
  def format_flags(flags)
98
- # other flags like "Old" should be hidden here
99
- flags = flags.split(',').map {|flag| FLAGMAP[flag]}
100
- flags.delete("Old")
98
+ flags = flags.split(',').map {|flag| FLAGMAP[flag]}.compact
101
99
  if flags.delete('Seen').nil?
102
100
  flags << '+' # unread
103
101
  end
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.2.1'
2
+ VERSION = '2.2.2'
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.2.1
5
+ version: 2.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi