vmail 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,8 +12,12 @@ module Vmail
12
12
 
13
13
  def cached_full_message?(message_id)
14
14
  m = Message[message_id]
15
- log "- found message #{message_id}"
16
- log "- message has plaintext? #{!m.plaintext.nil?}"
15
+ if m
16
+ log "- found message #{message_id}"
17
+ log "- message has plaintext? #{!m.plaintext.nil?}"
18
+ else
19
+ log "- could not found message #{message_id.inspect}"
20
+ end
17
21
  m && !m.plaintext.nil? && m
18
22
  end
19
23
 
data/lib/vmail/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.9.1'
2
+ VERSION = '1.9.2'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.9.1
5
+ version: 1.9.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi