paginated_table 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paginated_table.rb +1 -0
- data/lib/paginated_table/controller_helpers.rb +4 -1
- data/lib/paginated_table/page.rb +0 -42
- data/lib/paginated_table/railtie.rb +6 -0
- data/lib/paginated_table/version.rb +1 -1
- data/lib/paginated_table/view_helpers.rb +1 -171
- data/test/dummy/app/controllers/data_controller.rb +11 -1
- data/test/dummy/app/views/data/_complex.html.erb +17 -0
- data/test/dummy/app/views/data/complex.html.erb +1 -0
- data/test/dummy/log/test.log +20149 -0
- data/test/dummy/tmp/cache/assets/C4B/9C0/sprockets%2Fc5653d450f0e19225c69a8448202901e +0 -0
- data/test/dummy/tmp/cache/assets/D1A/4D0/sprockets%2F7766b94fd3771a7e336ee60045f0fc7a +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D61/7F0/sprockets%2F13eed08e0333722e08db28efdc037f0c +0 -0
- data/test/dummy/tmp/cache/assets/DF7/210/sprockets%2F424c1b802ed6f5c5f23ef0de59dcd0fa +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/integration/paginated_table_integration_test.rb +15 -9
- data/test/units/column_description_test.rb +97 -0
- data/test/units/config_test.rb +2 -0
- data/test/units/controller_helpers_test.rb +9 -0
- data/test/units/data_page_test.rb +36 -0
- data/test/units/link_renderer_test.rb +44 -0
- data/test/units/page_params_test.rb +48 -0
- data/test/units/page_test.rb +2 -79
- data/test/units/row_description_test.rb +71 -0
- data/test/units/table_description_test.rb +88 -0
- data/test/units/table_renderer_test.rb +234 -0
- data/test/units/view_helpers_test.rb +1 -306
- metadata +30 -4
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paginated_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Donald Ball
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-05-
|
18
|
+
date: 2012-05-14 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
@@ -142,7 +142,9 @@ files:
|
|
142
142
|
- test/dummy/app/controllers/application_controller.rb
|
143
143
|
- test/dummy/app/controllers/data_controller.rb
|
144
144
|
- test/dummy/app/helpers/application_helper.rb
|
145
|
+
- test/dummy/app/views/data/_complex.html.erb
|
145
146
|
- test/dummy/app/views/data/_data.html.erb
|
147
|
+
- test/dummy/app/views/data/complex.html.erb
|
146
148
|
- test/dummy/app/views/data/index.html.erb
|
147
149
|
- test/dummy/app/views/layouts/application.html.erb
|
148
150
|
- test/dummy/config/application.rb
|
@@ -170,14 +172,17 @@ files:
|
|
170
172
|
- test/dummy/Rakefile
|
171
173
|
- test/dummy/README.rdoc
|
172
174
|
- test/dummy/script/rails
|
175
|
+
- test/dummy/tmp/cache/assets/C4B/9C0/sprockets%2Fc5653d450f0e19225c69a8448202901e
|
173
176
|
- test/dummy/tmp/cache/assets/CB7/360/sprockets%2F8334f01490cb91467dfd76ad25b67780
|
174
177
|
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
178
|
+
- test/dummy/tmp/cache/assets/D1A/4D0/sprockets%2F7766b94fd3771a7e336ee60045f0fc7a
|
175
179
|
- test/dummy/tmp/cache/assets/D25/810/sprockets%2F4ff88255fbab9775241c5d8c8c6e2088
|
176
180
|
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
177
181
|
- test/dummy/tmp/cache/assets/D4B/960/sprockets%2F67b395978dc0e3bf33d86d1723a9eba5
|
178
182
|
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
179
183
|
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
180
184
|
- test/dummy/tmp/cache/assets/D5F/7C0/sprockets%2F1dec5fa0315164b27675d43ca2ad8cf2
|
185
|
+
- test/dummy/tmp/cache/assets/D61/7F0/sprockets%2F13eed08e0333722e08db28efdc037f0c
|
181
186
|
- test/dummy/tmp/cache/assets/D62/6D0/sprockets%2F9b8014b0c5371c3bf5dd4f018a5ec71e
|
182
187
|
- test/dummy/tmp/cache/assets/D71/1A0/sprockets%2F32c631252aee35736d93e06f3edffd6d
|
183
188
|
- test/dummy/tmp/cache/assets/D8C/030/sprockets%2F0ced4287b390f2130dfa3e2b811de0ef
|
@@ -185,15 +190,23 @@ files:
|
|
185
190
|
- test/dummy/tmp/cache/assets/DD3/F90/sprockets%2Fc24290dff33aff9c3d2f971f6d8ae04b
|
186
191
|
- test/dummy/tmp/cache/assets/DD4/950/sprockets%2F09e7f24ef1ff59b4fc390bdf415c60af
|
187
192
|
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
193
|
+
- test/dummy/tmp/cache/assets/DF7/210/sprockets%2F424c1b802ed6f5c5f23ef0de59dcd0fa
|
188
194
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
189
195
|
- test/dummy/tmp/capybara/capybara-201204041545476374284085.html
|
190
196
|
- test/dummy/tmp/capybara/capybara-201205040001414070882330.html
|
191
197
|
- test/dummy/tmp/capybara/capybara-201205040002105576336978.html
|
192
198
|
- test/integration/paginated_table_integration_test.rb
|
193
199
|
- test/test_helper.rb
|
200
|
+
- test/units/column_description_test.rb
|
194
201
|
- test/units/config_test.rb
|
195
202
|
- test/units/controller_helpers_test.rb
|
203
|
+
- test/units/data_page_test.rb
|
204
|
+
- test/units/link_renderer_test.rb
|
205
|
+
- test/units/page_params_test.rb
|
196
206
|
- test/units/page_test.rb
|
207
|
+
- test/units/row_description_test.rb
|
208
|
+
- test/units/table_description_test.rb
|
209
|
+
- test/units/table_renderer_test.rb
|
197
210
|
- test/units/view_helpers_test.rb
|
198
211
|
homepage: http://github.com/dball/paginated_table
|
199
212
|
licenses: []
|
@@ -234,7 +247,9 @@ test_files:
|
|
234
247
|
- test/dummy/app/controllers/application_controller.rb
|
235
248
|
- test/dummy/app/controllers/data_controller.rb
|
236
249
|
- test/dummy/app/helpers/application_helper.rb
|
250
|
+
- test/dummy/app/views/data/_complex.html.erb
|
237
251
|
- test/dummy/app/views/data/_data.html.erb
|
252
|
+
- test/dummy/app/views/data/complex.html.erb
|
238
253
|
- test/dummy/app/views/data/index.html.erb
|
239
254
|
- test/dummy/app/views/layouts/application.html.erb
|
240
255
|
- test/dummy/config/application.rb
|
@@ -262,14 +277,17 @@ test_files:
|
|
262
277
|
- test/dummy/Rakefile
|
263
278
|
- test/dummy/README.rdoc
|
264
279
|
- test/dummy/script/rails
|
280
|
+
- test/dummy/tmp/cache/assets/C4B/9C0/sprockets%2Fc5653d450f0e19225c69a8448202901e
|
265
281
|
- test/dummy/tmp/cache/assets/CB7/360/sprockets%2F8334f01490cb91467dfd76ad25b67780
|
266
282
|
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
283
|
+
- test/dummy/tmp/cache/assets/D1A/4D0/sprockets%2F7766b94fd3771a7e336ee60045f0fc7a
|
267
284
|
- test/dummy/tmp/cache/assets/D25/810/sprockets%2F4ff88255fbab9775241c5d8c8c6e2088
|
268
285
|
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
269
286
|
- test/dummy/tmp/cache/assets/D4B/960/sprockets%2F67b395978dc0e3bf33d86d1723a9eba5
|
270
287
|
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
271
288
|
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
272
289
|
- test/dummy/tmp/cache/assets/D5F/7C0/sprockets%2F1dec5fa0315164b27675d43ca2ad8cf2
|
290
|
+
- test/dummy/tmp/cache/assets/D61/7F0/sprockets%2F13eed08e0333722e08db28efdc037f0c
|
273
291
|
- test/dummy/tmp/cache/assets/D62/6D0/sprockets%2F9b8014b0c5371c3bf5dd4f018a5ec71e
|
274
292
|
- test/dummy/tmp/cache/assets/D71/1A0/sprockets%2F32c631252aee35736d93e06f3edffd6d
|
275
293
|
- test/dummy/tmp/cache/assets/D8C/030/sprockets%2F0ced4287b390f2130dfa3e2b811de0ef
|
@@ -277,13 +295,21 @@ test_files:
|
|
277
295
|
- test/dummy/tmp/cache/assets/DD3/F90/sprockets%2Fc24290dff33aff9c3d2f971f6d8ae04b
|
278
296
|
- test/dummy/tmp/cache/assets/DD4/950/sprockets%2F09e7f24ef1ff59b4fc390bdf415c60af
|
279
297
|
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
298
|
+
- test/dummy/tmp/cache/assets/DF7/210/sprockets%2F424c1b802ed6f5c5f23ef0de59dcd0fa
|
280
299
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
281
300
|
- test/dummy/tmp/capybara/capybara-201204041545476374284085.html
|
282
301
|
- test/dummy/tmp/capybara/capybara-201205040001414070882330.html
|
283
302
|
- test/dummy/tmp/capybara/capybara-201205040002105576336978.html
|
284
303
|
- test/integration/paginated_table_integration_test.rb
|
285
304
|
- test/test_helper.rb
|
305
|
+
- test/units/column_description_test.rb
|
286
306
|
- test/units/config_test.rb
|
287
307
|
- test/units/controller_helpers_test.rb
|
308
|
+
- test/units/data_page_test.rb
|
309
|
+
- test/units/link_renderer_test.rb
|
310
|
+
- test/units/page_params_test.rb
|
288
311
|
- test/units/page_test.rb
|
312
|
+
- test/units/row_description_test.rb
|
313
|
+
- test/units/table_description_test.rb
|
314
|
+
- test/units/table_renderer_test.rb
|
289
315
|
- test/units/view_helpers_test.rb
|