1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/kaminari-activerecord/kaminari-activerecord.gemspec
swamp09 f24857a772 Remove magic comment
Since the support version is Ruby 2.0 or later, magic comment is unnecessary.

`The UTF-8 default encoding, which make many magic comments omissible`
https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
2017-10-24 00:45:17 +09:00

26 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