vmail 2.6.9 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -229,14 +229,13 @@ mode if you're in the message list window or `,u` if you are in the
229
229
  message window. Watch the status line.
230
230
 
231
231
  If you have `notify-send` (Linux) or `growlnotify` (OS X) installed on
232
- your system, Vmail will also poll your INBOX every 30 seconds for new
232
+ your system, Vmail can also poll your INBOX every 30 seconds for new
233
233
  messages. If it detects a new message, it will alert you through your
234
234
  notification program. **NOTE**: This is an alert mechanism only;
235
235
  you will still have to manually check for new messages in the Vmail
236
236
  interface to force the new messages to display.
237
237
 
238
- To disable inbox polling put the line `polling: false` in your
239
- `.vmailrc`.
238
+ To enable automatic inbox polling put the line `polling: true` in your `.vmailrc`.
240
239
 
241
240
  ## Switching mailboxes, moving messages, copying messages to another mailbox
242
241
 
data/lib/vmail.rb CHANGED
@@ -62,14 +62,14 @@ module Vmail
62
62
  puts "Starting vmail imap client for #{config['username']}"
63
63
 
64
64
  # inbox poller
65
- if config['polling'] == false
66
- puts "INBOX polling disabled."
67
- else
65
+ if config['polling'] == true
68
66
  require 'vmail/inbox_poller'
69
67
  inbox_poller = Vmail::InboxPoller.start config
70
68
  Thread.new do
71
69
  inbox_poller.start_polling
72
70
  end
71
+ else
72
+ puts "INBOX polling disabled."
73
73
  end
74
74
 
75
75
  puts "WORKING DIR: #{Dir.pwd}"
data/lib/vmail/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.6.9'
2
+ VERSION = '2.7.0'
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.6.9
4
+ version: 2.7.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: