vmail 2.4.5 → 2.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,7 +89,7 @@ The same applies to `always_bcc:`.
89
89
 
90
90
  If you want to configure Vmail with multiple Gmail accounts, [here's how][multiaccount].
91
91
 
92
- [multiaccount]:https://github.com/danchoi/vmail/wiki/How-can-i-quickly-switch-between-multiple-accounts%3F
92
+ [multiaccount]:https://github.com/danchoi/vmail/wiki/How-to-use-vmail-with-multiple-Gmail-accounts
93
93
 
94
94
  If you are behind a firewall that blocks IMAP, see these [additional
95
95
  configuration options][firewall] that you can use.
@@ -108,9 +108,9 @@ module Vmail
108
108
 
109
109
  def get_highest_message_id
110
110
  # get highest message ID
111
- res = @imap.fetch([1,"*"], ["ENVELOPE"])
111
+ res = @imap.search(['ALL'])
112
112
  if res
113
- @num_messages = res[-1].seqno
113
+ @num_messages = res[-1]
114
114
  log "Highest seqno: #@num_messages"
115
115
  else
116
116
  @num_messages = 1
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.4.5'
2
+ VERSION = '2.4.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.5
4
+ version: 2.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-23 00:00:00.000000000Z
12
+ date: 2012-02-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mail
16
- requirement: &5749020 !ruby/object:Gem::Requirement
16
+ requirement: &22569300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.2.12
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *5749020
24
+ version_requirements: *22569300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: highline
27
- requirement: &5748080 !ruby/object:Gem::Requirement
27
+ requirement: &22567200 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.6.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *5748080
35
+ version_requirements: *22567200
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sequel
38
- requirement: &5747180 !ruby/object:Gem::Requirement
38
+ requirement: &22548680 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 3.24.1
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *5747180
46
+ version_requirements: *22548680
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sqlite3
49
- requirement: &5746520 !ruby/object:Gem::Requirement
49
+ requirement: &22548200 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 1.3.3
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *5746520
57
+ version_requirements: *22548200
58
58
  description: Manage your email with Vim
59
59
  email:
60
60
  - dhchoi@gmail.com