mail_daemon 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adeb6c1d708a1c275f706ea1a9b45f336dd1acbb
4
- data.tar.gz: 6c90be4d828aff1fe6d15a2d4fa83bcec90758f8
3
+ metadata.gz: aef552ccad528c4300f5fa67aef39c18ce70d943
4
+ data.tar.gz: b4335f2fcb39edbf6990f910f2f5a1f5bce6f8bc
5
5
  SHA512:
6
- metadata.gz: fd8f2b32bf3f3c38fc3ffc17f19be95fe76df86ece4340ceb86e27079f882e4bdb0a08979072c722e0ad9e1b4a54676d85158c8341ec92bda8f38fb5788e918d
7
- data.tar.gz: e0021e2d53f84046ea1460cb15a296edd04c78c4a608bd5dea5590035bbdc9c52e1e4a07f7687e09d11aaca7fd0cba14adc3bcbb2fc983d329d5a1cb237868ae
6
+ metadata.gz: 5f3f081d568d37a551535927d93f6efe6933fadea19c77f5b97492757e8fe31c14ecd0088f512fe7af0942bddc8c172fbb600e540e80976fafc9cba9ab13a834
7
+ data.tar.gz: cd2661b36490902b4547ea99e74ab4d824a5e42475d4173263a8a2c854eb181dd63d9cd31aaf884bf5de4f959ea428938c58c8fe5476f490d1150cbb82f4ea9a
@@ -131,7 +131,7 @@ module MailDaemon
131
131
  puts e.message
132
132
  end
133
133
  set_status(LOGGING_OFF)
134
- @imap.logout unless imap.disconnected?
134
+ @imap.logout unless @imap.disconnected?
135
135
  set_status(LOGGED_OFF)
136
136
  end
137
137
 
@@ -150,7 +150,7 @@ module MailDaemon
150
150
  end
151
151
 
152
152
  def running?
153
- !@imap.disconnected?
153
+ @imap && !@imap.disconnected?
154
154
  end
155
155
 
156
156
  private
@@ -1,3 +1,3 @@
1
1
  module MailDaemon
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - EmergeAdapt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-23 00:00:00.000000000 Z
11
+ date: 2018-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.5.1
113
+ rubygems_version: 2.4.5.1
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: IMAP account daemon to watch for new mail and to execute a ruby block with