mongoid-ordering 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +1 -1
  2. data/lib/mongoid/ordering.rb +2 -0
  3. metadata +12 -12
data/README.md CHANGED
@@ -25,7 +25,7 @@ extracted it into the gem you're looking at right now.
25
25
  Add the following to your Gemfile:
26
26
 
27
27
  ```ruby
28
- gem "mongoid-ordering"
28
+ gem "mongoid-ordering", require: "mongoid/ordering"
29
29
  ```
30
30
 
31
31
  And tell Bundler to install the new gem:
@@ -1,3 +1,5 @@
1
+ require "mongoid/siblings"
2
+
1
3
  module Mongoid
2
4
 
3
5
  # Add 'position' field, multiple methods and multiple callbacks to help with
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-ordering
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-09 00:00:00.000000000 Z
12
+ date: 2012-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
16
- requirement: &70134351207600 !ruby/object:Gem::Requirement
16
+ requirement: &70176192165840 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70134351207600
24
+ version_requirements: *70176192165840
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mongoid-siblings
27
- requirement: &70134351205960 !ruby/object:Gem::Requirement
27
+ requirement: &70176192164100 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.1.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70134351205960
35
+ version_requirements: *70176192164100
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70134351204840 !ruby/object:Gem::Requirement
38
+ requirement: &70176192162520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70134351204840
46
+ version_requirements: *70176192162520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70134351203100 !ruby/object:Gem::Requirement
49
+ requirement: &70176192161460 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70134351203100
57
+ version_requirements: *70176192161460
58
58
  description: mongoid-ordering makes it easy to keep your Mongoid documents in order.
59
59
  email: douwe@selenight.nl
60
60
  executables: []
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  segments:
86
86
  - 0
87
- hash: -533634391627392618
87
+ hash: -3957175832892824933
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  segments:
95
95
  - 0
96
- hash: -533634391627392618
96
+ hash: -3957175832892824933
97
97
  requirements: []
98
98
  rubyforge_project:
99
99
  rubygems_version: 1.8.6