mongoid-tll 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mongoid/tll.rb +1 -0
  2. metadata +3 -3
data/lib/mongoid/tll.rb CHANGED
@@ -13,6 +13,7 @@ module Mongoid
13
13
  # The linked list pointers.
14
14
  field :tll_top
15
15
  field :tll_prev
16
+ index :tll_top
16
17
 
17
18
  # By default, get the newest only.
18
19
  default_scope where: {tll_top: nil}
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Joris van Rooij
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-04-12 00:00:00 +02:00
17
+ date: 2011-04-13 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency