vmail 2.6.2 → 2.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,13 @@ module Vmail
39
39
  return message.plaintext
40
40
  end
41
41
  log "- full message cache miss"
42
- labeling = Labeling[message_id: message_id, label_id: @label.label_id]
42
+ params = {message_id: message_id, label_id: @label.label_id}
43
+ labeling = Labeling[params] || Labeling.create(params)
44
+ if labeling
45
+ log "- found Labeling #{params.inspect}"
46
+ else
47
+ log "- creating Labeling #{params.inspect}"
48
+ end
43
49
  uid = labeling.uid
44
50
 
45
51
  log "- fetching message uid #{uid}"
data/lib/vmail/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.6.2'
2
+ VERSION = '2.6.3'
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.2
4
+ version: 2.6.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-14 00:00:00.000000000 Z
12
+ date: 2012-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mail