vmail 1.8.8 → 1.8.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,19 +11,20 @@ if DB[:version].count == 0
11
11
  DB[:version].insert(:vmail_version => Vmail::VERSION)
12
12
  end
13
13
 
14
- class Vmail::Message < Sequel::Model(:messages)
15
- set_primary_key :message_id
16
- one_to_many :labelings
17
- many_to_many :labels, :join_table => 'labelings'
14
+ module Vmail
15
+ class Message < Sequel::Model(:messages)
16
+ set_primary_key :message_id
17
+ one_to_many :labelings
18
+ many_to_many :labels, :join_table => 'labelings'
19
+ end
20
+
21
+ class Label < Sequel::Model(:labels)
22
+ set_primary_key :label_id
23
+ one_to_many :labelings
24
+ many_to_many :messages, :join_table => 'labelings'
25
+ end
26
+
27
+ class Labeling < Sequel::Model(:labelings)
28
+ end
18
29
  end
19
30
 
20
- class Vmail::Label < Sequel::Model(:labels)
21
- set_primary_key :label_id
22
- one_to_many :labelings
23
- many_to_many :messages, :join_table => 'labelings'
24
- end
25
-
26
- class Vmail::Labeling < Sequel::Model(:labelings)
27
- end
28
-
29
-
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.8.8'
2
+ VERSION = '1.8.9'
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.8.8
5
+ version: 1.8.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi