├── .gitignore ├── .rspec ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── Gemfile.rails-edge ├── Gemfile.rails-edge.lock ├── Gemfile.rails4.1 ├── Gemfile.rails4.1.lock ├── LICENSE ├── README.md ├── init.rb ├── lib ├── will_paginate.rb └── will_paginate │ ├── active_record.rb │ ├── array.rb │ ├── collection.rb │ ├── core_ext.rb │ ├── data_mapper.rb │ ├── deprecation.rb │ ├── i18n.rb │ ├── locale │ └── en.yml │ ├── mongoid.rb │ ├── page_number.rb │ ├── per_page.rb │ ├── railtie.rb │ ├── sequel.rb │ ├── version.rb │ ├── view_helpers.rb │ └── view_helpers │ ├── action_view.rb │ ├── link_renderer.rb │ ├── link_renderer_base.rb │ └── sinatra.rb ├── script ├── each-gemfile └── test_all ├── spec ├── collection_spec.rb ├── console ├── console_fixtures.rb ├── database.yml ├── fake_rubygems.rb ├── finders │ ├── active_record_spec.rb │ ├── activerecord_test_connector.rb │ ├── data_mapper_spec.rb │ ├── data_mapper_test_connector.rb │ ├── mongoid_spec.rb │ ├── sequel_spec.rb │ └── sequel_test_connector.rb ├── fixtures │ ├── admin.rb │ ├── developer.rb │ ├── developers_projects.yml │ ├── project.rb │ ├── projects.yml │ ├── replies.yml │ ├── reply.rb │ ├── schema.rb │ ├── topic.rb │ ├── topics.yml │ ├── user.rb │ └── users.yml ├── matchers │ ├── deprecation_matcher.rb │ ├── phrase_matcher.rb │ └── query_count_matcher.rb ├── page_number_spec.rb ├── per_page_spec.rb ├── spec_helper.rb └── view_helpers │ ├── action_view_spec.rb │ ├── base_spec.rb │ ├── link_renderer_base_spec.rb │ └── view_example_group.rb └── will_paginate.gemspec /.gitignore: -------------------------------------------------------------------------------- 1 | .bundle 2 | doc 3 | *.gem 4 | coverage 5 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Gemfile.rails-edge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/Gemfile.rails-edge -------------------------------------------------------------------------------- /Gemfile.rails-edge.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/Gemfile.rails-edge.lock -------------------------------------------------------------------------------- /Gemfile.rails4.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/Gemfile.rails4.1 -------------------------------------------------------------------------------- /Gemfile.rails4.1.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/Gemfile.rails4.1.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/README.md -------------------------------------------------------------------------------- /init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/init.rb -------------------------------------------------------------------------------- /lib/will_paginate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate.rb -------------------------------------------------------------------------------- /lib/will_paginate/active_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/active_record.rb -------------------------------------------------------------------------------- /lib/will_paginate/array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/array.rb -------------------------------------------------------------------------------- /lib/will_paginate/collection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/collection.rb -------------------------------------------------------------------------------- /lib/will_paginate/core_ext.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/core_ext.rb -------------------------------------------------------------------------------- /lib/will_paginate/data_mapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/data_mapper.rb -------------------------------------------------------------------------------- /lib/will_paginate/deprecation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/deprecation.rb -------------------------------------------------------------------------------- /lib/will_paginate/i18n.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/i18n.rb -------------------------------------------------------------------------------- /lib/will_paginate/locale/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/locale/en.yml -------------------------------------------------------------------------------- /lib/will_paginate/mongoid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/mongoid.rb -------------------------------------------------------------------------------- /lib/will_paginate/page_number.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/page_number.rb -------------------------------------------------------------------------------- /lib/will_paginate/per_page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/per_page.rb -------------------------------------------------------------------------------- /lib/will_paginate/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/railtie.rb -------------------------------------------------------------------------------- /lib/will_paginate/sequel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/sequel.rb -------------------------------------------------------------------------------- /lib/will_paginate/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/version.rb -------------------------------------------------------------------------------- /lib/will_paginate/view_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/view_helpers.rb -------------------------------------------------------------------------------- /lib/will_paginate/view_helpers/action_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/view_helpers/action_view.rb -------------------------------------------------------------------------------- /lib/will_paginate/view_helpers/link_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/view_helpers/link_renderer.rb -------------------------------------------------------------------------------- /lib/will_paginate/view_helpers/link_renderer_base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/view_helpers/link_renderer_base.rb -------------------------------------------------------------------------------- /lib/will_paginate/view_helpers/sinatra.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/lib/will_paginate/view_helpers/sinatra.rb -------------------------------------------------------------------------------- /script/each-gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/script/each-gemfile -------------------------------------------------------------------------------- /script/test_all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/script/test_all -------------------------------------------------------------------------------- /spec/collection_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/collection_spec.rb -------------------------------------------------------------------------------- /spec/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/console -------------------------------------------------------------------------------- /spec/console_fixtures.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/console_fixtures.rb -------------------------------------------------------------------------------- /spec/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/database.yml -------------------------------------------------------------------------------- /spec/fake_rubygems.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fake_rubygems.rb -------------------------------------------------------------------------------- /spec/finders/active_record_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/finders/active_record_spec.rb -------------------------------------------------------------------------------- /spec/finders/activerecord_test_connector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/finders/activerecord_test_connector.rb -------------------------------------------------------------------------------- /spec/finders/data_mapper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/finders/data_mapper_spec.rb -------------------------------------------------------------------------------- /spec/finders/data_mapper_test_connector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/finders/data_mapper_test_connector.rb -------------------------------------------------------------------------------- /spec/finders/mongoid_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/finders/mongoid_spec.rb -------------------------------------------------------------------------------- /spec/finders/sequel_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/finders/sequel_spec.rb -------------------------------------------------------------------------------- /spec/finders/sequel_test_connector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/finders/sequel_test_connector.rb -------------------------------------------------------------------------------- /spec/fixtures/admin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/admin.rb -------------------------------------------------------------------------------- /spec/fixtures/developer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/developer.rb -------------------------------------------------------------------------------- /spec/fixtures/developers_projects.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/developers_projects.yml -------------------------------------------------------------------------------- /spec/fixtures/project.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/project.rb -------------------------------------------------------------------------------- /spec/fixtures/projects.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/projects.yml -------------------------------------------------------------------------------- /spec/fixtures/replies.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/replies.yml -------------------------------------------------------------------------------- /spec/fixtures/reply.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/reply.rb -------------------------------------------------------------------------------- /spec/fixtures/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/schema.rb -------------------------------------------------------------------------------- /spec/fixtures/topic.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/topic.rb -------------------------------------------------------------------------------- /spec/fixtures/topics.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/topics.yml -------------------------------------------------------------------------------- /spec/fixtures/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /spec/fixtures/users.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/fixtures/users.yml -------------------------------------------------------------------------------- /spec/matchers/deprecation_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/matchers/deprecation_matcher.rb -------------------------------------------------------------------------------- /spec/matchers/phrase_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/matchers/phrase_matcher.rb -------------------------------------------------------------------------------- /spec/matchers/query_count_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/matchers/query_count_matcher.rb -------------------------------------------------------------------------------- /spec/page_number_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/page_number_spec.rb -------------------------------------------------------------------------------- /spec/per_page_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/per_page_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/view_helpers/action_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/view_helpers/action_view_spec.rb -------------------------------------------------------------------------------- /spec/view_helpers/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/view_helpers/base_spec.rb -------------------------------------------------------------------------------- /spec/view_helpers/link_renderer_base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/view_helpers/link_renderer_base_spec.rb -------------------------------------------------------------------------------- /spec/view_helpers/view_example_group.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/spec/view_helpers/view_example_group.rb -------------------------------------------------------------------------------- /will_paginate.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatack/will_paginate/HEAD/will_paginate.gemspec --------------------------------------------------------------------------------