This repository has been archived by the owner on Mar 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcursor_pagination.gemspec
31 lines (27 loc) · 1.61 KB
/
cursor_pagination.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'cursor_pagination/version'
Gem::Specification.new do |spec|
spec.name = "cursor_pagination"
spec.version = CursorPagination::VERSION
spec.authors = ["Sergey Kukunin"]
spec.email = ["[email protected]"]
spec.description = %q{ActiveRecord plugin for cursor based pagination. Uses some column and rpp (results per page) to paginate your content. The main advantage against traditional pagination (limmit and offset), that the one URL on specific page will contain the data set, despite the newly added entities. It may be useful on the projects, where new entities are added often, and specific page now isn't specific page tomorrow.}
spec.summary = %q{ActiveRecord plugin for cursor based pagination}
spec.homepage = "https://github.com/Kukunin/cursor_pagination"
spec.license = "MIT"
spec.add_dependency "activerecord", ['>= 3.1']
spec.add_dependency "actionpack", ['>= 3.1']
spec.add_development_dependency "rspec-rails"
spec.add_development_dependency "railties"
spec.add_development_dependency "capybara"
spec.add_development_dependency "sqlite3-ruby"
spec.add_development_dependency "database_cleaner", ['< 1.1.0']
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end