will_paginate_mongoid 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ require "mongoid"
2
+ require "will_paginate"
1
3
  require "will_paginate_mongoid/version"
2
4
  require "will_paginate_mongoid/mongoid_paginator"
3
- require "will_paginate_mongoid/engine"
5
+
6
+ ::Mongoid::Document.send :include, WillPaginateMongoid::MongoidPaginator
7
+ ::Mongoid::Criteria.send :include, WillPaginateMongoid::MongoidPaginator
@@ -1,3 +1,3 @@
1
1
  module WillPaginateMongoid
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_paginate_mongoid
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 17
4
5
  prerelease:
5
- version: 1.0.2
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 3
10
+ version: 1.0.3
6
11
  platform: ruby
7
12
  authors:
8
13
  - Lucas Souza
@@ -10,8 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2012-01-23 00:00:00 -02:00
14
- default_executable:
18
+ date: 2012-02-08 00:00:00 Z
15
19
  dependencies:
16
20
  - !ruby/object:Gem::Dependency
17
21
  name: mongoid
@@ -21,6 +25,10 @@ dependencies:
21
25
  requirements:
22
26
  - - ~>
23
27
  - !ruby/object:Gem::Version
28
+ hash: 11
29
+ segments:
30
+ - 2
31
+ - 4
24
32
  version: "2.4"
25
33
  type: :runtime
26
34
  version_requirements: *id001
@@ -32,6 +40,10 @@ dependencies:
32
40
  requirements:
33
41
  - - ~>
34
42
  - !ruby/object:Gem::Version
43
+ hash: 5
44
+ segments:
45
+ - 1
46
+ - 5
35
47
  version: "1.5"
36
48
  type: :runtime
37
49
  version_requirements: *id002
@@ -43,6 +55,11 @@ dependencies:
43
55
  requirements:
44
56
  - - ~>
45
57
  - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 3
61
+ - 0
62
+ - 2
46
63
  version: 3.0.2
47
64
  type: :runtime
48
65
  version_requirements: *id003
@@ -62,14 +79,12 @@ files:
62
79
  - README.md
63
80
  - Rakefile
64
81
  - lib/will_paginate_mongoid.rb
65
- - lib/will_paginate_mongoid/engine.rb
66
82
  - lib/will_paginate_mongoid/mongoid_paginator.rb
67
83
  - lib/will_paginate_mongoid/version.rb
68
84
  - spec/fake_app.rb
69
85
  - spec/integration/mongoid_paginator_spec.rb
70
86
  - spec/spec_helper.rb
71
87
  - will_paginate_mongoid.gemspec
72
- has_rdoc: true
73
88
  homepage: ""
74
89
  licenses: []
75
90
 
@@ -83,21 +98,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
98
  requirements:
84
99
  - - ">="
85
100
  - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
86
104
  version: "0"
87
105
  required_rubygems_version: !ruby/object:Gem::Requirement
88
106
  none: false
89
107
  requirements:
90
108
  - - ">="
91
109
  - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
92
113
  version: "0"
93
114
  requirements: []
94
115
 
95
116
  rubyforge_project: will_paginate_mongoid
96
- rubygems_version: 1.5.0
117
+ rubygems_version: 1.8.11
97
118
  signing_key:
98
119
  specification_version: 3
99
120
  summary: An extension that becomes possible use paginate method with Mongoid
100
- test_files:
101
- - spec/fake_app.rb
102
- - spec/integration/mongoid_paginator_spec.rb
103
- - spec/spec_helper.rb
121
+ test_files: []
122
+
@@ -1,12 +0,0 @@
1
- require 'rails'
2
- require 'mongoid'
3
- require 'will_paginate'
4
-
5
- module WillPaginateMongoid
6
- class Engine < ::Rails::Engine
7
- initializer "including extensions" do
8
- ::Mongoid::Document.send :include, WillPaginateMongoid::MongoidPaginator
9
- ::Mongoid::Criteria.send :include, WillPaginateMongoid::MongoidPaginator
10
- end
11
- end
12
- end