forked from dmitry/proximal_records
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proximal_records.gemspec
28 lines (24 loc) · 1.21 KB
/
proximal_records.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'proximal_records/version'
Gem::Specification.new do |spec|
spec.name = 'proximal_records'
spec.version = ProximalRecords::VERSION
spec.authors = ['Dmitry Polushkin']
spec.email = ['dmitry.polushkin@gmail.com']
spec.summary = %q{Find next / previous ActiveRecord records out of the scope in one query}
spec.description = %q{ActiveRecord extension to find out near by (proximal) previous and next records from the ActiveRelation scopes (using AREL). Uses special sub-queries. Supported mysql2 and postgresql adapters.}
spec.homepage = ''
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
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 'appraisal'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'mysql2'
spec.add_development_dependency 'pg'
end