vmail 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +3 -0
- data/lib/vmail.rb +10 -5
- data/lib/vmail/version.rb +1 -1
- metadata +10 -10
data/README.markdown
CHANGED
@@ -210,6 +210,9 @@ messages. If it detects a new message, it will alert you through your
|
|
210
210
|
notification program. **NOTE**: This is an alert mechanism only;
|
211
211
|
you will still have to manually check for new messages in the Vmail
|
212
212
|
interface to force the new messages to display.
|
213
|
+
|
214
|
+
To disable inbox polling put the line `polling: false` in your
|
215
|
+
`.vmailrc`.
|
213
216
|
|
214
217
|
## Switching mailboxes, moving messages, copying messages to another mailbox
|
215
218
|
|
data/lib/vmail.rb
CHANGED
@@ -3,7 +3,7 @@ require 'vmail/options'
|
|
3
3
|
require 'vmail/imap_client'
|
4
4
|
require 'vmail/query'
|
5
5
|
require 'vmail/message_formatter'
|
6
|
-
|
6
|
+
|
7
7
|
require 'iconv'
|
8
8
|
|
9
9
|
module Vmail
|
@@ -56,10 +56,15 @@ module Vmail
|
|
56
56
|
|
57
57
|
puts "Starting vmail imap client for #{config['username']}"
|
58
58
|
|
59
|
-
#
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
# inbox poller
|
60
|
+
if config['polling'] == false
|
61
|
+
puts "INBOX polling disabled."
|
62
|
+
else
|
63
|
+
require 'vmail/inbox_poller'
|
64
|
+
inbox_poller = Vmail::InboxPoller.start config
|
65
|
+
Thread.new do
|
66
|
+
inbox_poller.start_polling
|
67
|
+
end
|
63
68
|
end
|
64
69
|
|
65
70
|
drb_uri = begin
|
data/lib/vmail/version.rb
CHANGED
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.
|
4
|
+
version: 2.4.3
|
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-11-
|
12
|
+
date: 2011-11-25 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mail
|
16
|
-
requirement: &
|
16
|
+
requirement: &8957860 !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: *
|
24
|
+
version_requirements: *8957860
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: highline
|
27
|
-
requirement: &
|
27
|
+
requirement: &8926160 !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: *
|
35
|
+
version_requirements: *8926160
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sequel
|
38
|
-
requirement: &
|
38
|
+
requirement: &8925680 !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: *
|
46
|
+
version_requirements: *8925680
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: sqlite3
|
49
|
-
requirement: &
|
49
|
+
requirement: &8925220 !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: *
|
57
|
+
version_requirements: *8925220
|
58
58
|
description: Manage your email with Vim
|
59
59
|
email:
|
60
60
|
- dhchoi@gmail.com
|