2016-10-11 21:03:37 -04:00
|
|
|
# frozen_string_literal: true
|
2018-11-10 17:54:07 -05:00
|
|
|
|
2016-06-30 05:21:55 -04:00
|
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
require 'kaminari/activerecord/version'
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "kaminari-activerecord"
|
|
|
|
spec.version = Kaminari::Activerecord::VERSION
|
|
|
|
spec.authors = ["Akira Matsuda"]
|
|
|
|
spec.email = ["ronnie@dio.jp"]
|
|
|
|
|
2016-06-30 05:55:20 -04:00
|
|
|
spec.summary = 'Kaminari Active Record adapter'
|
2016-12-07 14:27:51 -05:00
|
|
|
spec.description = 'kaminari-activerecord lets your Active Record models be paginatable'
|
2017-01-10 21:22:38 -05:00
|
|
|
spec.homepage = 'https://github.com/kaminari/kaminari'
|
2016-06-30 05:21:55 -04:00
|
|
|
spec.license = "MIT"
|
2017-01-18 01:20:20 -05:00
|
|
|
spec.required_ruby_version = '>= 2.0.0'
|
2016-06-30 05:21:55 -04:00
|
|
|
|
|
|
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
2016-12-13 23:15:28 -05:00
|
|
|
spec.add_dependency 'kaminari-core', Kaminari::Activerecord::VERSION
|
2016-06-30 05:53:38 -04:00
|
|
|
spec.add_dependency 'activerecord'
|
|
|
|
|
2016-10-12 17:31:25 -04:00
|
|
|
spec.add_development_dependency "bundler", ">= 1.12"
|
2016-10-12 19:27:28 -04:00
|
|
|
spec.add_development_dependency "rake", ">= 10.0"
|
2016-06-30 05:21:55 -04:00
|
|
|
end
|