mail_daemon 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mail_daemon/imap/connection.rb +6 -2
- data/lib/mail_daemon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8bbe62745c7cf4dfdb277a56c9d6cf01928ec5a
|
4
|
+
data.tar.gz: 1880610827713d450f72195fe5e3bf42fccf89ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66da45cc2568ed56b63ab6c29250190b5a600c5530c9fd5455ea6a46bad5d10a33848dcda5463df92ebf31ec1bd4f60a86dc30e0ed61b24576967211fe2ccd2f
|
7
|
+
data.tar.gz: 38bdc195d5604dc7c087e0bb550890c7a2981157d373f2918009bd89fdcc775671f517d6a1e6748f2d17f555c3307fbf32a3eef4e04e51a2c93a8937632bf5c1
|
@@ -125,9 +125,13 @@ module MailDaemon
|
|
125
125
|
|
126
126
|
def logout
|
127
127
|
puts "Logging out" if @options[:debug]
|
128
|
-
|
128
|
+
begin
|
129
|
+
@imap.idle_done if @idleing
|
130
|
+
rescue => e
|
131
|
+
puts e.message
|
132
|
+
end
|
129
133
|
set_status(LOGGING_OFF)
|
130
|
-
@imap.logout
|
134
|
+
@imap.logout unless imap.disconnected?
|
131
135
|
set_status(LOGGED_OFF)
|
132
136
|
end
|
133
137
|
|
data/lib/mail_daemon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail_daemon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EmergeAdapt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|