leshill-will_paginate 2.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. data/CHANGELOG.rdoc +110 -0
  2. data/LICENSE +18 -0
  3. data/README.rdoc +111 -0
  4. data/Rakefile +53 -0
  5. data/examples/apple-circle.gif +0 -0
  6. data/examples/index.haml +69 -0
  7. data/examples/index.html +92 -0
  8. data/examples/pagination.css +90 -0
  9. data/examples/pagination.sass +91 -0
  10. data/init.rb +1 -0
  11. data/lib/will_paginate.rb +90 -0
  12. data/lib/will_paginate/array.rb +16 -0
  13. data/lib/will_paginate/collection.rb +146 -0
  14. data/lib/will_paginate/core_ext.rb +43 -0
  15. data/lib/will_paginate/finder.rb +264 -0
  16. data/lib/will_paginate/named_scope.rb +170 -0
  17. data/lib/will_paginate/named_scope_patch.rb +37 -0
  18. data/lib/will_paginate/version.rb +9 -0
  19. data/lib/will_paginate/view_helpers.rb +432 -0
  20. data/test/boot.rb +21 -0
  21. data/test/collection_test.rb +143 -0
  22. data/test/console +8 -0
  23. data/test/database.yml +22 -0
  24. data/test/finder_test.rb +473 -0
  25. data/test/fixtures/admin.rb +3 -0
  26. data/test/fixtures/developer.rb +14 -0
  27. data/test/fixtures/developers_projects.yml +13 -0
  28. data/test/fixtures/project.rb +15 -0
  29. data/test/fixtures/projects.yml +6 -0
  30. data/test/fixtures/replies.yml +29 -0
  31. data/test/fixtures/reply.rb +7 -0
  32. data/test/fixtures/schema.rb +38 -0
  33. data/test/fixtures/topic.rb +10 -0
  34. data/test/fixtures/topics.yml +30 -0
  35. data/test/fixtures/user.rb +2 -0
  36. data/test/fixtures/users.yml +35 -0
  37. data/test/helper.rb +40 -0
  38. data/test/lib/activerecord_test_case.rb +43 -0
  39. data/test/lib/activerecord_test_connector.rb +75 -0
  40. data/test/lib/load_fixtures.rb +11 -0
  41. data/test/lib/view_test_process.rb +180 -0
  42. data/test/tasks.rake +59 -0
  43. data/test/view_test.rb +405 -0
  44. metadata +127 -0
metadata ADDED
@@ -0,0 +1,127 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: leshill-will_paginate
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.11
5
+ platform: ruby
6
+ authors:
7
+ - Les Hill
8
+ - "Mislav Marohni\xC4\x87"
9
+ - PJ Hyett
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+
14
+ date: 2009-10-11 00:00:00 -04:00
15
+ default_executable:
16
+ dependencies: []
17
+
18
+ description: The will_paginate library provides a simple, yet powerful and extensible API for ActiveRecord pagination and rendering of pagination links in ActionView templates.
19
+ email: leshill@gmail.com
20
+ executables: []
21
+
22
+ extensions: []
23
+
24
+ extra_rdoc_files:
25
+ - README.rdoc
26
+ - LICENSE
27
+ - CHANGELOG.rdoc
28
+ files:
29
+ - CHANGELOG.rdoc
30
+ - LICENSE
31
+ - README.rdoc
32
+ - Rakefile
33
+ - examples/apple-circle.gif
34
+ - examples/index.haml
35
+ - examples/index.html
36
+ - examples/pagination.css
37
+ - examples/pagination.sass
38
+ - init.rb
39
+ - lib/will_paginate.rb
40
+ - lib/will_paginate/array.rb
41
+ - lib/will_paginate/collection.rb
42
+ - lib/will_paginate/core_ext.rb
43
+ - lib/will_paginate/finder.rb
44
+ - lib/will_paginate/named_scope.rb
45
+ - lib/will_paginate/named_scope_patch.rb
46
+ - lib/will_paginate/version.rb
47
+ - lib/will_paginate/view_helpers.rb
48
+ - test/boot.rb
49
+ - test/collection_test.rb
50
+ - test/console
51
+ - test/database.yml
52
+ - test/finder_test.rb
53
+ - test/fixtures/admin.rb
54
+ - test/fixtures/developer.rb
55
+ - test/fixtures/developers_projects.yml
56
+ - test/fixtures/project.rb
57
+ - test/fixtures/projects.yml
58
+ - test/fixtures/replies.yml
59
+ - test/fixtures/reply.rb
60
+ - test/fixtures/schema.rb
61
+ - test/fixtures/topic.rb
62
+ - test/fixtures/topics.yml
63
+ - test/fixtures/user.rb
64
+ - test/fixtures/users.yml
65
+ - test/helper.rb
66
+ - test/lib/activerecord_test_case.rb
67
+ - test/lib/activerecord_test_connector.rb
68
+ - test/lib/load_fixtures.rb
69
+ - test/lib/view_test_process.rb
70
+ - test/tasks.rake
71
+ - test/view_test.rb
72
+ has_rdoc: true
73
+ homepage: http://github.com/leshill/will_paginate
74
+ licenses: []
75
+
76
+ post_install_message:
77
+ rdoc_options:
78
+ - --main
79
+ - README.rdoc
80
+ - --inline-source
81
+ - --charset=UTF-8
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: "0"
89
+ version:
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: "0"
95
+ version:
96
+ requirements: []
97
+
98
+ rubyforge_project:
99
+ rubygems_version: 1.3.5
100
+ signing_key:
101
+ specification_version: 3
102
+ summary: Fork of the Most awesome pagination solution for Rails
103
+ test_files:
104
+ - test/boot.rb
105
+ - test/collection_test.rb
106
+ - test/console
107
+ - test/database.yml
108
+ - test/finder_test.rb
109
+ - test/fixtures/admin.rb
110
+ - test/fixtures/developer.rb
111
+ - test/fixtures/developers_projects.yml
112
+ - test/fixtures/project.rb
113
+ - test/fixtures/projects.yml
114
+ - test/fixtures/replies.yml
115
+ - test/fixtures/reply.rb
116
+ - test/fixtures/schema.rb
117
+ - test/fixtures/topic.rb
118
+ - test/fixtures/topics.yml
119
+ - test/fixtures/user.rb
120
+ - test/fixtures/users.yml
121
+ - test/helper.rb
122
+ - test/lib/activerecord_test_case.rb
123
+ - test/lib/activerecord_test_connector.rb
124
+ - test/lib/load_fixtures.rb
125
+ - test/lib/view_test_process.rb
126
+ - test/tasks.rake
127
+ - test/view_test.rb