vmail 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,8 @@ module Vmail
62
62
 
63
63
  def open
64
64
  @imap = Net::IMAP.new(@imap_server, @imap_port, true, nil, false)
65
- @imap.login(@username, @password)
65
+ log @imap.login(@username, @password)
66
+ list_mailboxes # prefetch mailbox list
66
67
  end
67
68
 
68
69
  def close
@@ -152,6 +153,7 @@ module Vmail
152
153
  map {|name| MailboxAliases.invert[name] || name}
153
154
  @mailboxes.delete("INBOX")
154
155
  @mailboxes.unshift("INBOX")
156
+ log "loaded mailboxes: #{@mailboxes.inspect}"
155
157
  @mailboxes.join("\n")
156
158
  end
157
159
 
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 5
9
- version: 0.9.5
8
+ - 6
9
+ version: 0.9.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi