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.

Files changed (49) hide show
  1. data/.travis.yml +6 -0
  2. data/CHANGELOG +62 -0
  3. data/{LICENSE.txt → MIT-LICENSE} +0 -0
  4. data/README.rdoc +81 -14
  5. data/kaminari.gemspec +18 -5
  6. data/lib/generators/kaminari/templates/kaminari_config.rb +1 -0
  7. data/lib/generators/kaminari/views_generator.rb +1 -1
  8. data/lib/kaminari.rb +73 -2
  9. data/lib/kaminari/config.rb +3 -1
  10. data/lib/kaminari/helpers/action_view_extension.rb +74 -20
  11. data/lib/kaminari/helpers/paginator.rb +23 -5
  12. data/lib/kaminari/helpers/sinatra_helpers.rb +119 -0
  13. data/lib/kaminari/hooks.rb +35 -0
  14. data/lib/kaminari/models/active_record_extension.rb +12 -15
  15. data/lib/kaminari/models/active_record_model_extension.rb +20 -0
  16. data/lib/kaminari/models/active_record_relation_methods.rb +23 -13
  17. data/lib/kaminari/models/array_extension.rb +33 -15
  18. data/lib/kaminari/models/data_mapper_collection_methods.rb +15 -0
  19. data/lib/kaminari/models/data_mapper_extension.rb +48 -0
  20. data/lib/kaminari/models/mongo_mapper_extension.rb +3 -3
  21. data/lib/kaminari/models/mongoid_criteria_methods.rb +15 -10
  22. data/lib/kaminari/models/mongoid_extension.rb +7 -5
  23. data/lib/kaminari/models/page_scope_methods.rb +27 -26
  24. data/lib/kaminari/models/plucky_criteria_methods.rb +9 -12
  25. data/lib/kaminari/railtie.rb +2 -31
  26. data/lib/kaminari/sinatra.rb +13 -0
  27. data/lib/kaminari/version.rb +1 -1
  28. data/spec/config/config_spec.rb +1 -1
  29. data/spec/fake_app.rb +4 -0
  30. data/spec/fake_gem.rb +6 -0
  31. data/spec/helpers/action_view_extension_spec.rb +105 -10
  32. data/spec/helpers/helpers_spec.rb +1 -1
  33. data/spec/helpers/sinatra_helpers_spec.rb +174 -0
  34. data/spec/helpers/tags_spec.rb +1 -1
  35. data/spec/models/active_record_relation_methods_spec.rb +1 -1
  36. data/spec/models/array_spec.rb +17 -1
  37. data/spec/models/data_mapper_spec.rb +181 -0
  38. data/spec/models/default_per_page_spec.rb +1 -1
  39. data/spec/models/mongo_mapper_spec.rb +14 -11
  40. data/spec/models/mongoid_spec.rb +63 -6
  41. data/spec/models/scopes_spec.rb +154 -140
  42. data/spec/{acceptance → requests}/users_spec.rb +3 -2
  43. data/spec/spec_helper.rb +3 -1
  44. data/spec/spec_helper_for_sinatra.rb +13 -0
  45. data/spec/support/matchers.rb +6 -0
  46. metadata +263 -170
  47. data/spec/acceptance/acceptance_helper.rb +0 -5
  48. data/spec/acceptance/support/helpers.rb +0 -5
  49. data/spec/acceptance/support/paths.rb +0 -9
@@ -1,12 +1,13 @@
1
1
  # encoding: UTF-8
2
- require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper')
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 users_path
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 File.join(File.dirname(__FILE__), 'fake_app')
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
@@ -44,3 +44,9 @@ RSpec::Matchers.define :skip do |num|
44
44
  criteria.instance_variable_get('@options')[:skip] == num
45
45
  end
46
46
  end
47
+
48
+ RSpec::Matchers.define :offset do |num|
49
+ match do |collection|
50
+ collection.offset_value == num
51
+ end
52
+ end
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
- hash: 39
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
- date: 2011-05-04 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: rails
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
- requirement: &id001 !ruby/object:Gem::Requirement
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
- requirement: &id002 !ruby/object:Gem::Requirement
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
- hash: 23
45
- segments:
46
- - 1
47
- - 0
48
- - 0
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
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
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
- requirement: &id003 !ruby/object:Gem::Requirement
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
- hash: 3
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
- requirement: &id004 !ruby/object:Gem::Requirement
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
- hash: 7
75
- segments:
76
- - 2
77
- version: "2"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '1.3'
78
99
  type: :development
79
- version_requirements: *id004
80
- - !ruby/object:Gem::Dependency
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
- requirement: &id005 !ruby/object:Gem::Requirement
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
- hash: 25
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
- requirement: &id006 !ruby/object:Gem::Requirement
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
- hash: 3
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
- requirement: &id007 !ruby/object:Gem::Requirement
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
- hash: 3
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
- requirement: &id008 !ruby/object:Gem::Requirement
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
- hash: 3
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
- requirement: &id009 !ruby/object:Gem::Requirement
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
- hash: 3
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
- requirement: &id010 !ruby/object:Gem::Requirement
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
- hash: 3
160
- segments:
161
- - 0
162
- version: "0"
205
+ requirements:
206
+ - - ! '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '1.0'
163
209
  type: :development
164
- version_requirements: *id010
165
- - !ruby/object:Gem::Dependency
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
- requirement: &id011 !ruby/object:Gem::Requirement
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
- hash: 3
174
- segments:
175
- - 0
176
- version: "0"
227
+ requirements:
228
+ - - ~>
229
+ - !ruby/object:Gem::Version
230
+ version: '0.10'
177
231
  type: :development
178
- version_requirements: *id011
179
- description: Kaminari is a Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Rails 3
180
- email:
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.txt
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
- hash: 3
273
- segments:
363
+ requirements:
364
+ - - ! '>='
365
+ - !ruby/object:Gem::Version
366
+ version: '0'
367
+ segments:
274
368
  - 0
275
- version: "0"
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
- hash: 3
282
- segments:
372
+ requirements:
373
+ - - ! '>='
374
+ - !ruby/object:Gem::Version
375
+ version: '0'
376
+ segments:
283
377
  - 0
284
- version: "0"
378
+ hash: 1990752312542125094
285
379
  requirements: []
286
-
287
380
  rubyforge_project: kaminari
288
- rubygems_version: 1.7.2
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: