vmail 1.4.4 → 1.4.5

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.
@@ -142,14 +142,14 @@ module Vmail
142
142
  log 'loading mailboxes...'
143
143
  @mailboxes ||= ((@imap.list("[#@prefix]/", "%") || []) + (@imap.list("", "*")) || []).
144
144
  select {|struct| struct.attr.none? {|a| a == :Noselect} }.
145
- map {|struct| struct.name}.
146
- map {|name| mailbox_aliases.invert[name] || name}
145
+ map {|struct| struct.name}
147
146
  @mailboxes.delete("INBOX")
148
147
  @mailboxes.unshift("INBOX")
149
148
  log "loaded mailboxes: #{@mailboxes.inspect}"
150
149
  if @mailboxes.detect {|m| m =~ /^\[Google Mail\]/}
151
150
  @prefix = "Google Mail"
152
151
  end
152
+ @mailboxes = @mailboxes.map {|name| mailbox_aliases.invert[name] || name}
153
153
  @mailboxes.join("\n")
154
154
  end
155
155
 
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "1.4.4"
2
+ VERSION = "1.4.5"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 4
8
- - 4
9
- version: 1.4.4
8
+ - 5
9
+ version: 1.4.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi
@@ -162,5 +162,20 @@ rubygems_version: 1.3.7
162
162
  signing_key:
163
163
  specification_version: 3
164
164
  summary: A Vim interface to Gmail
165
- test_files: []
166
-
165
+ test_files:
166
+ - test/address_quoter_test.rb
167
+ - test/base64_test.rb
168
+ - test/fixtures/euc-kr-header.eml
169
+ - test/fixtures/euc-kr-html.eml
170
+ - test/fixtures/google-affiliate.eml
171
+ - test/fixtures/htmlbody.eml
172
+ - test/fixtures/moleskine-html.eml
173
+ - test/fixtures/reply-template-encoding-test.eml
174
+ - test/fixtures/reply_all.eml
175
+ - test/fixtures/rfc_part.eml
176
+ - test/fixtures/textbody-nocontenttype.eml
177
+ - test/fixtures/with-attachments.eml
178
+ - test/message_formatter_test.rb
179
+ - test/reply_template_test.rb
180
+ - test/test_helper.rb
181
+ - test/time_format_test.rb