kaminari 0.12.4 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kaminari might be problematic. Click here for more details.
- data/.travis.yml +6 -0
- data/CHANGELOG +62 -0
- data/{LICENSE.txt → MIT-LICENSE} +0 -0
- data/README.rdoc +81 -14
- data/kaminari.gemspec +18 -5
- data/lib/generators/kaminari/templates/kaminari_config.rb +1 -0
- data/lib/generators/kaminari/views_generator.rb +1 -1
- data/lib/kaminari.rb +73 -2
- data/lib/kaminari/config.rb +3 -1
- data/lib/kaminari/helpers/action_view_extension.rb +74 -20
- data/lib/kaminari/helpers/paginator.rb +23 -5
- data/lib/kaminari/helpers/sinatra_helpers.rb +119 -0
- data/lib/kaminari/hooks.rb +35 -0
- data/lib/kaminari/models/active_record_extension.rb +12 -15
- data/lib/kaminari/models/active_record_model_extension.rb +20 -0
- data/lib/kaminari/models/active_record_relation_methods.rb +23 -13
- data/lib/kaminari/models/array_extension.rb +33 -15
- data/lib/kaminari/models/data_mapper_collection_methods.rb +15 -0
- data/lib/kaminari/models/data_mapper_extension.rb +48 -0
- data/lib/kaminari/models/mongo_mapper_extension.rb +3 -3
- data/lib/kaminari/models/mongoid_criteria_methods.rb +15 -10
- data/lib/kaminari/models/mongoid_extension.rb +7 -5
- data/lib/kaminari/models/page_scope_methods.rb +27 -26
- data/lib/kaminari/models/plucky_criteria_methods.rb +9 -12
- data/lib/kaminari/railtie.rb +2 -31
- data/lib/kaminari/sinatra.rb +13 -0
- data/lib/kaminari/version.rb +1 -1
- data/spec/config/config_spec.rb +1 -1
- data/spec/fake_app.rb +4 -0
- data/spec/fake_gem.rb +6 -0
- data/spec/helpers/action_view_extension_spec.rb +105 -10
- data/spec/helpers/helpers_spec.rb +1 -1
- data/spec/helpers/sinatra_helpers_spec.rb +174 -0
- data/spec/helpers/tags_spec.rb +1 -1
- data/spec/models/active_record_relation_methods_spec.rb +1 -1
- data/spec/models/array_spec.rb +17 -1
- data/spec/models/data_mapper_spec.rb +181 -0
- data/spec/models/default_per_page_spec.rb +1 -1
- data/spec/models/mongo_mapper_spec.rb +14 -11
- data/spec/models/mongoid_spec.rb +63 -6
- data/spec/models/scopes_spec.rb +154 -140
- data/spec/{acceptance → requests}/users_spec.rb +3 -2
- data/spec/spec_helper.rb +3 -1
- data/spec/spec_helper_for_sinatra.rb +13 -0
- data/spec/support/matchers.rb +6 -0
- metadata +263 -170
- data/spec/acceptance/acceptance_helper.rb +0 -5
- data/spec/acceptance/support/helpers.rb +0 -5
- data/spec/acceptance/support/paths.rb +0 -9
@@ -1,12 +1,13 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
require
|
2
|
+
require 'spec_helper'
|
3
3
|
|
4
4
|
feature 'Users' do
|
5
5
|
background do
|
6
|
+
User.delete_all
|
6
7
|
1.upto(100) {|i| User.create! :name => "user#{'%03d' % i}" }
|
7
8
|
end
|
8
9
|
scenario 'navigating by pagination links' do
|
9
|
-
visit
|
10
|
+
visit '/users'
|
10
11
|
|
11
12
|
within 'nav.pagination' do
|
12
13
|
within 'span.page.current' do
|
data/spec/spec_helper.rb
CHANGED
@@ -2,6 +2,7 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
2
2
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
3
|
require 'rails'
|
4
4
|
require 'mongoid'
|
5
|
+
require 'dm-core'
|
5
6
|
require 'kaminari'
|
6
7
|
require 'database_cleaner'
|
7
8
|
# Ensure we use 'syck' instead of 'psych' in 1.9.2
|
@@ -12,7 +13,8 @@ require 'database_cleaner'
|
|
12
13
|
if RUBY_VERSION >= '1.9.2'
|
13
14
|
YAML::ENGINE.yamler = 'syck'
|
14
15
|
end
|
15
|
-
require
|
16
|
+
require 'fake_gem'
|
17
|
+
require 'fake_app'
|
16
18
|
|
17
19
|
require 'rspec/rails'
|
18
20
|
# Requires supporting files with custom matchers and macros, etc,
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'kaminari/sinatra'
|
2
|
+
require 'rack/test'
|
3
|
+
require 'sinatra/test_helpers'
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
config.include Rack::Test::Methods
|
7
|
+
config.include Sinatra::TestHelpers
|
8
|
+
end
|
9
|
+
|
10
|
+
require 'nokogiri'
|
11
|
+
def last_document
|
12
|
+
Nokogiri::HTML(last_response.body)
|
13
|
+
end
|
data/spec/support/matchers.rb
CHANGED
metadata
CHANGED
@@ -1,198 +1,286 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaminari
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.13.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 12
|
9
|
-
- 4
|
10
|
-
version: 0.12.4
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Akira Matsuda
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
date: 2011-12-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activesupport
|
16
|
+
requirement: &70223286119560 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.0.0
|
22
|
+
type: :runtime
|
22
23
|
prerelease: false
|
23
|
-
|
24
|
+
version_requirements: *70223286119560
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: actionpack
|
27
|
+
requirement: &70223286119040 !ruby/object:Gem::Requirement
|
24
28
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 7
|
29
|
-
segments:
|
30
|
-
- 3
|
31
|
-
- 0
|
32
|
-
- 0
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
33
32
|
version: 3.0.0
|
34
33
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: bundler
|
38
34
|
prerelease: false
|
39
|
-
|
35
|
+
version_requirements: *70223286119040
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: railties
|
38
|
+
requirement: &70223286118440 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 3.0.0
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70223286118440
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: bundler
|
49
|
+
requirement: &70223286117960 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
49
54
|
version: 1.0.0
|
50
55
|
type: :development
|
51
|
-
|
52
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70223286117960
|
58
|
+
- !ruby/object:Gem::Dependency
|
53
59
|
name: sqlite3
|
60
|
+
requirement: &70223286117460 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70223286117460
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activerecord
|
71
|
+
requirement: &70223286116800 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 3.0.0
|
77
|
+
type: :development
|
54
78
|
prerelease: false
|
55
|
-
|
79
|
+
version_requirements: *70223286116800
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: activemodel
|
82
|
+
requirement: &70223286132700 !ruby/object:Gem::Requirement
|
56
83
|
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
version: "0"
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 3.0.0
|
64
88
|
type: :development
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
name: mongoid
|
68
89
|
prerelease: false
|
69
|
-
|
90
|
+
version_requirements: *70223286132700
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: sinatra
|
93
|
+
requirement: &70223286132120 !ruby/object:Gem::Requirement
|
70
94
|
none: false
|
71
|
-
requirements:
|
72
|
-
- -
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
segments:
|
76
|
-
- 2
|
77
|
-
version: "2"
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '1.3'
|
78
99
|
type: :development
|
79
|
-
|
80
|
-
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70223286132120
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: mongoid
|
104
|
+
requirement: &70223286131640 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '2'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70223286131640
|
113
|
+
- !ruby/object:Gem::Dependency
|
81
114
|
name: mongo_mapper
|
115
|
+
requirement: &70223286131080 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0.9'
|
121
|
+
type: :development
|
82
122
|
prerelease: false
|
83
|
-
|
123
|
+
version_requirements: *70223286131080
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: dm-core
|
126
|
+
requirement: &70223286130520 !ruby/object:Gem::Requirement
|
84
127
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
segments:
|
90
|
-
- 0
|
91
|
-
- 9
|
92
|
-
version: "0.9"
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.1.0
|
93
132
|
type: :development
|
94
|
-
version_requirements: *id005
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: rspec
|
97
133
|
prerelease: false
|
98
|
-
|
134
|
+
version_requirements: *70223286130520
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: dm-migrations
|
137
|
+
requirement: &70223286130040 !ruby/object:Gem::Requirement
|
99
138
|
none: false
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
104
|
-
segments:
|
105
|
-
- 0
|
106
|
-
version: "0"
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 1.1.0
|
107
143
|
type: :development
|
108
|
-
version_requirements: *id006
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: rspec-rails
|
111
144
|
prerelease: false
|
112
|
-
|
145
|
+
version_requirements: *70223286130040
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: dm-aggregates
|
148
|
+
requirement: &70223286129460 !ruby/object:Gem::Requirement
|
113
149
|
none: false
|
114
|
-
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
|
118
|
-
segments:
|
119
|
-
- 0
|
120
|
-
version: "0"
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 1.1.0
|
121
154
|
type: :development
|
122
|
-
version_requirements: *id007
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: rr
|
125
155
|
prerelease: false
|
126
|
-
|
156
|
+
version_requirements: *70223286129460
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: dm-sqlite-adapter
|
159
|
+
requirement: &70223286128980 !ruby/object:Gem::Requirement
|
127
160
|
none: false
|
128
|
-
requirements:
|
129
|
-
- -
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
version: "0"
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.1.0
|
135
165
|
type: :development
|
136
|
-
version_requirements: *id008
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: steak
|
139
166
|
prerelease: false
|
140
|
-
|
167
|
+
version_requirements: *70223286128980
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: rspec
|
170
|
+
requirement: &70223286128420 !ruby/object:Gem::Requirement
|
141
171
|
none: false
|
142
|
-
requirements:
|
143
|
-
- -
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
segments:
|
147
|
-
- 0
|
148
|
-
version: "0"
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
149
176
|
type: :development
|
150
|
-
version_requirements: *id009
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: capybara
|
153
177
|
prerelease: false
|
154
|
-
|
178
|
+
version_requirements: *70223286128420
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: rspec-rails
|
181
|
+
requirement: &70223286127860 !ruby/object:Gem::Requirement
|
182
|
+
none: false
|
183
|
+
requirements:
|
184
|
+
- - ! '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
type: :development
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: *70223286127860
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: rr
|
192
|
+
requirement: &70223286127320 !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: *70223286127320
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: capybara
|
203
|
+
requirement: &70223286126800 !ruby/object:Gem::Requirement
|
155
204
|
none: false
|
156
|
-
requirements:
|
157
|
-
- -
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
|
160
|
-
segments:
|
161
|
-
- 0
|
162
|
-
version: "0"
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '1.0'
|
163
209
|
type: :development
|
164
|
-
|
165
|
-
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: *70223286126800
|
212
|
+
- !ruby/object:Gem::Dependency
|
166
213
|
name: database_cleaner
|
214
|
+
requirement: &70223286126260 !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
216
|
+
requirements:
|
217
|
+
- - ! '>='
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
type: :development
|
167
221
|
prerelease: false
|
168
|
-
|
222
|
+
version_requirements: *70223286126260
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: padrino-helpers
|
225
|
+
requirement: &70223286125740 !ruby/object:Gem::Requirement
|
169
226
|
none: false
|
170
|
-
requirements:
|
171
|
-
- -
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
|
174
|
-
segments:
|
175
|
-
- 0
|
176
|
-
version: "0"
|
227
|
+
requirements:
|
228
|
+
- - ~>
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0.10'
|
177
231
|
type: :development
|
178
|
-
|
179
|
-
|
180
|
-
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: *70223286125740
|
234
|
+
- !ruby/object:Gem::Dependency
|
235
|
+
name: rack-test
|
236
|
+
requirement: &70223286125200 !ruby/object:Gem::Requirement
|
237
|
+
none: false
|
238
|
+
requirements:
|
239
|
+
- - ! '>='
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: *70223286125200
|
245
|
+
- !ruby/object:Gem::Dependency
|
246
|
+
name: sinatra-contrib
|
247
|
+
requirement: &70223286141060 !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
249
|
+
requirements:
|
250
|
+
- - ~>
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '1.3'
|
253
|
+
type: :development
|
254
|
+
prerelease: false
|
255
|
+
version_requirements: *70223286141060
|
256
|
+
- !ruby/object:Gem::Dependency
|
257
|
+
name: nokogiri
|
258
|
+
requirement: &70223286140580 !ruby/object:Gem::Requirement
|
259
|
+
none: false
|
260
|
+
requirements:
|
261
|
+
- - ! '>='
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: '0'
|
264
|
+
type: :development
|
265
|
+
prerelease: false
|
266
|
+
version_requirements: *70223286140580
|
267
|
+
description: Kaminari is a Scope & Engine based, clean, powerful, agnostic, customizable
|
268
|
+
and sophisticated paginator for Rails 3
|
269
|
+
email:
|
181
270
|
- ronnie@dio.jp
|
182
271
|
executables: []
|
183
|
-
|
184
272
|
extensions: []
|
185
|
-
|
186
|
-
extra_rdoc_files:
|
273
|
+
extra_rdoc_files:
|
187
274
|
- README.rdoc
|
188
|
-
files:
|
275
|
+
files:
|
189
276
|
- .document
|
190
277
|
- .gemtest
|
191
278
|
- .gitignore
|
192
279
|
- .rspec
|
280
|
+
- .travis.yml
|
193
281
|
- CHANGELOG
|
194
282
|
- Gemfile
|
195
|
-
- LICENSE
|
283
|
+
- MIT-LICENSE
|
196
284
|
- README.rdoc
|
197
285
|
- Rakefile
|
198
286
|
- app/views/kaminari/_first_page.html.erb
|
@@ -226,86 +314,91 @@ files:
|
|
226
314
|
- lib/kaminari/engine.rb
|
227
315
|
- lib/kaminari/helpers/action_view_extension.rb
|
228
316
|
- lib/kaminari/helpers/paginator.rb
|
317
|
+
- lib/kaminari/helpers/sinatra_helpers.rb
|
229
318
|
- lib/kaminari/helpers/tags.rb
|
319
|
+
- lib/kaminari/hooks.rb
|
230
320
|
- lib/kaminari/models/active_record_extension.rb
|
321
|
+
- lib/kaminari/models/active_record_model_extension.rb
|
231
322
|
- lib/kaminari/models/active_record_relation_methods.rb
|
232
323
|
- lib/kaminari/models/array_extension.rb
|
233
324
|
- lib/kaminari/models/configuration_methods.rb
|
325
|
+
- lib/kaminari/models/data_mapper_collection_methods.rb
|
326
|
+
- lib/kaminari/models/data_mapper_extension.rb
|
234
327
|
- lib/kaminari/models/mongo_mapper_extension.rb
|
235
328
|
- lib/kaminari/models/mongoid_criteria_methods.rb
|
236
329
|
- lib/kaminari/models/mongoid_extension.rb
|
237
330
|
- lib/kaminari/models/page_scope_methods.rb
|
238
331
|
- lib/kaminari/models/plucky_criteria_methods.rb
|
239
332
|
- lib/kaminari/railtie.rb
|
333
|
+
- lib/kaminari/sinatra.rb
|
240
334
|
- lib/kaminari/version.rb
|
241
|
-
- spec/acceptance/acceptance_helper.rb
|
242
|
-
- spec/acceptance/support/helpers.rb
|
243
|
-
- spec/acceptance/support/paths.rb
|
244
|
-
- spec/acceptance/users_spec.rb
|
245
335
|
- spec/config/config_spec.rb
|
246
336
|
- spec/fake_app.rb
|
337
|
+
- spec/fake_gem.rb
|
247
338
|
- spec/helpers/action_view_extension_spec.rb
|
248
339
|
- spec/helpers/helpers_spec.rb
|
340
|
+
- spec/helpers/sinatra_helpers_spec.rb
|
249
341
|
- spec/helpers/tags_spec.rb
|
250
342
|
- spec/models/active_record_relation_methods_spec.rb
|
251
343
|
- spec/models/array_spec.rb
|
344
|
+
- spec/models/data_mapper_spec.rb
|
252
345
|
- spec/models/default_per_page_spec.rb
|
253
346
|
- spec/models/mongo_mapper_spec.rb
|
254
347
|
- spec/models/mongoid_spec.rb
|
255
348
|
- spec/models/scopes_spec.rb
|
349
|
+
- spec/requests/users_spec.rb
|
256
350
|
- spec/spec_helper.rb
|
351
|
+
- spec/spec_helper_for_sinatra.rb
|
257
352
|
- spec/support/database_cleaner.rb
|
258
353
|
- spec/support/matchers.rb
|
259
354
|
homepage: https://github.com/amatsuda/kaminari
|
260
|
-
licenses:
|
355
|
+
licenses:
|
261
356
|
- MIT
|
262
357
|
post_install_message:
|
263
358
|
rdoc_options: []
|
264
|
-
|
265
|
-
require_paths:
|
359
|
+
require_paths:
|
266
360
|
- lib
|
267
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
361
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
268
362
|
none: false
|
269
|
-
requirements:
|
270
|
-
- -
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
|
273
|
-
segments:
|
363
|
+
requirements:
|
364
|
+
- - ! '>='
|
365
|
+
- !ruby/object:Gem::Version
|
366
|
+
version: '0'
|
367
|
+
segments:
|
274
368
|
- 0
|
275
|
-
|
276
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
369
|
+
hash: 1990752312542125094
|
370
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
371
|
none: false
|
278
|
-
requirements:
|
279
|
-
- -
|
280
|
-
- !ruby/object:Gem::Version
|
281
|
-
|
282
|
-
segments:
|
372
|
+
requirements:
|
373
|
+
- - ! '>='
|
374
|
+
- !ruby/object:Gem::Version
|
375
|
+
version: '0'
|
376
|
+
segments:
|
283
377
|
- 0
|
284
|
-
|
378
|
+
hash: 1990752312542125094
|
285
379
|
requirements: []
|
286
|
-
|
287
380
|
rubyforge_project: kaminari
|
288
|
-
rubygems_version: 1.
|
381
|
+
rubygems_version: 1.8.10
|
289
382
|
signing_key:
|
290
383
|
specification_version: 3
|
291
|
-
summary: A pagination engine plugin for Rails 3
|
292
|
-
test_files:
|
293
|
-
- spec/acceptance/acceptance_helper.rb
|
294
|
-
- spec/acceptance/support/helpers.rb
|
295
|
-
- spec/acceptance/support/paths.rb
|
296
|
-
- spec/acceptance/users_spec.rb
|
384
|
+
summary: A pagination engine plugin for Rails 3 or other modern frameworks
|
385
|
+
test_files:
|
297
386
|
- spec/config/config_spec.rb
|
298
387
|
- spec/fake_app.rb
|
388
|
+
- spec/fake_gem.rb
|
299
389
|
- spec/helpers/action_view_extension_spec.rb
|
300
390
|
- spec/helpers/helpers_spec.rb
|
391
|
+
- spec/helpers/sinatra_helpers_spec.rb
|
301
392
|
- spec/helpers/tags_spec.rb
|
302
393
|
- spec/models/active_record_relation_methods_spec.rb
|
303
394
|
- spec/models/array_spec.rb
|
395
|
+
- spec/models/data_mapper_spec.rb
|
304
396
|
- spec/models/default_per_page_spec.rb
|
305
397
|
- spec/models/mongo_mapper_spec.rb
|
306
398
|
- spec/models/mongoid_spec.rb
|
307
399
|
- spec/models/scopes_spec.rb
|
400
|
+
- spec/requests/users_spec.rb
|
308
401
|
- spec/spec_helper.rb
|
402
|
+
- spec/spec_helper_for_sinatra.rb
|
309
403
|
- spec/support/database_cleaner.rb
|
310
404
|
- spec/support/matchers.rb
|
311
|
-
has_rdoc:
|