vmail 1.9.4 → 1.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,7 @@ module Vmail
43
43
  # We really just need to update the flags, buy let's update everything
44
44
  message.update params
45
45
 
46
- unless message.labels.include?(@label)
46
+ unless Vmail::Labeling[message_id: message_id, label_id: @label.label_id]
47
47
  params = {message_id: message.message_id, uid: uid, label_id: @label.label_id}
48
48
 
49
49
  Labeling.create params
@@ -16,7 +16,7 @@ module Vmail
16
16
  log "- found message #{message_id}"
17
17
  log "- message has plaintext? #{!m.plaintext.nil?}"
18
18
  else
19
- log "- could not found message #{message_id.inspect}"
19
+ log "- could not find message #{message_id.inspect}"
20
20
  end
21
21
  m && !m.plaintext.nil? && m
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.9.4'
2
+ VERSION = '1.9.5'
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.4
5
+ version: 1.9.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi