├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── LICENSE.txt ├── README.md ├── Rakefile ├── app └── views │ └── simple_paginate │ ├── _next_page.html.erb │ ├── _next_page.html.haml │ ├── _next_page.html.slim │ ├── _paginator.html.erb │ ├── _paginator.html.haml │ ├── _paginator.html.slim │ ├── _prev_page.html.erb │ ├── _prev_page.html.haml │ └── _prev_page.html.slim ├── config └── locales │ └── simple_paginate.en.yml ├── gemfiles ├── .bundle │ └── config ├── active_record_42.gemfile ├── active_record_50.gemfile └── active_record_51.gemfile ├── lib ├── generators │ └── simple_paginate │ │ ├── config_generator.rb │ │ ├── templates │ │ └── simple_paginate_config.rb │ │ └── views_generator.rb ├── simple_paginate.rb └── simple_paginate │ ├── config.rb │ ├── engine.rb │ ├── helpers │ ├── action_view_extension.rb │ ├── paginator.rb │ └── tags.rb │ ├── models │ ├── active_record_extension.rb │ └── active_record_model_extension.rb │ ├── railtie.rb │ └── version.rb ├── simple_paginate.gemspec └── spec ├── fake_app ├── active_record │ ├── config.rb │ └── models.rb └── rails_app.rb ├── simple_paginate ├── config_spec.rb ├── helpers │ ├── action_view_extension_spec.rb │ └── tags_spec.rb └── models │ └── active_record_extension_spec.rb ├── spec_helper.rb └── support └── database_cleaner.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/Rakefile -------------------------------------------------------------------------------- /app/views/simple_paginate/_next_page.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_next_page.html.erb -------------------------------------------------------------------------------- /app/views/simple_paginate/_next_page.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_next_page.html.haml -------------------------------------------------------------------------------- /app/views/simple_paginate/_next_page.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_next_page.html.slim -------------------------------------------------------------------------------- /app/views/simple_paginate/_paginator.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_paginator.html.erb -------------------------------------------------------------------------------- /app/views/simple_paginate/_paginator.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_paginator.html.haml -------------------------------------------------------------------------------- /app/views/simple_paginate/_paginator.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_paginator.html.slim -------------------------------------------------------------------------------- /app/views/simple_paginate/_prev_page.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_prev_page.html.erb -------------------------------------------------------------------------------- /app/views/simple_paginate/_prev_page.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_prev_page.html.haml -------------------------------------------------------------------------------- /app/views/simple_paginate/_prev_page.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/app/views/simple_paginate/_prev_page.html.slim -------------------------------------------------------------------------------- /config/locales/simple_paginate.en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/config/locales/simple_paginate.en.yml -------------------------------------------------------------------------------- /gemfiles/.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_JOBS: 8 3 | -------------------------------------------------------------------------------- /gemfiles/active_record_42.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/gemfiles/active_record_42.gemfile -------------------------------------------------------------------------------- /gemfiles/active_record_50.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/gemfiles/active_record_50.gemfile -------------------------------------------------------------------------------- /gemfiles/active_record_51.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/gemfiles/active_record_51.gemfile -------------------------------------------------------------------------------- /lib/generators/simple_paginate/config_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/generators/simple_paginate/config_generator.rb -------------------------------------------------------------------------------- /lib/generators/simple_paginate/templates/simple_paginate_config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/generators/simple_paginate/templates/simple_paginate_config.rb -------------------------------------------------------------------------------- /lib/generators/simple_paginate/views_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/generators/simple_paginate/views_generator.rb -------------------------------------------------------------------------------- /lib/simple_paginate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate.rb -------------------------------------------------------------------------------- /lib/simple_paginate/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/config.rb -------------------------------------------------------------------------------- /lib/simple_paginate/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/engine.rb -------------------------------------------------------------------------------- /lib/simple_paginate/helpers/action_view_extension.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/helpers/action_view_extension.rb -------------------------------------------------------------------------------- /lib/simple_paginate/helpers/paginator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/helpers/paginator.rb -------------------------------------------------------------------------------- /lib/simple_paginate/helpers/tags.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/helpers/tags.rb -------------------------------------------------------------------------------- /lib/simple_paginate/models/active_record_extension.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/models/active_record_extension.rb -------------------------------------------------------------------------------- /lib/simple_paginate/models/active_record_model_extension.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/models/active_record_model_extension.rb -------------------------------------------------------------------------------- /lib/simple_paginate/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/lib/simple_paginate/railtie.rb -------------------------------------------------------------------------------- /lib/simple_paginate/version.rb: -------------------------------------------------------------------------------- 1 | module SimplePaginate 2 | VERSION = '0.2.0'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /simple_paginate.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/simple_paginate.gemspec -------------------------------------------------------------------------------- /spec/fake_app/active_record/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/fake_app/active_record/config.rb -------------------------------------------------------------------------------- /spec/fake_app/active_record/models.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/fake_app/active_record/models.rb -------------------------------------------------------------------------------- /spec/fake_app/rails_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/fake_app/rails_app.rb -------------------------------------------------------------------------------- /spec/simple_paginate/config_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/simple_paginate/config_spec.rb -------------------------------------------------------------------------------- /spec/simple_paginate/helpers/action_view_extension_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/simple_paginate/helpers/action_view_extension_spec.rb -------------------------------------------------------------------------------- /spec/simple_paginate/helpers/tags_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/simple_paginate/helpers/tags_spec.rb -------------------------------------------------------------------------------- /spec/simple_paginate/models/active_record_extension_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/simple_paginate/models/active_record_extension_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/database_cleaner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinminlabs/simple_paginate/HEAD/spec/support/database_cleaner.rb --------------------------------------------------------------------------------