mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
27 lines
1 KiB
Ruby
27 lines
1 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
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"]
|
|
|
|
spec.summary = 'Kaminari Active Record adapter'
|
|
spec.description = 'kaminari-activerecord lets your Active Record models be paginatable'
|
|
spec.homepage = 'https://github.com/kaminari/kaminari'
|
|
spec.license = "MIT"
|
|
spec.required_ruby_version = '>= 2.0.0'
|
|
|
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
spec.require_paths = ["lib"]
|
|
|
|
spec.add_dependency 'kaminari-core', Kaminari::Activerecord::VERSION
|
|
spec.add_dependency 'activerecord'
|
|
|
|
spec.add_development_dependency "bundler", ">= 1.12"
|
|
spec.add_development_dependency "rake", ">= 10.0"
|
|
end
|