grape-kaminari.gemspec in grape-kaminari-0.1.9 vs grape-kaminari.gemspec in grape-kaminari-0.2.0

- old
+ new

@@ -1,28 +1,28 @@ -# coding: utf-8 -lib = File.expand_path('../lib', __FILE__) +lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'grape/kaminari/version' Gem::Specification.new do |spec| - spec.name = "grape-kaminari" + spec.name = 'grape-kaminari' spec.version = Grape::Kaminari::VERSION - spec.authors = ["Tymon Tobolski"] - spec.email = ["tymon.tobolski@monterail.com"] - spec.description = %q{kaminari paginator integration for grape API framework} - spec.summary = %q{kaminari integration for grape} - spec.homepage = "" - spec.license = "MIT" + spec.authors = ['Tymon Tobolski', 'Black Square Media'] + spec.email = ['info@blacksquaremedia.com'] + spec.description = 'kaminari paginator integration for grape API framework' + spec.summary = 'kaminari integration for grape' + spec.homepage = '' + spec.license = 'MIT' - 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.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?('spec/') } + spec.test_files = `git ls-files -z -- spec/*`.split("\x0") + spec.require_paths = ['lib'] + spec.required_ruby_version = '>= 2.5' + spec.add_runtime_dependency 'grape', '>= 1.0' + spec.add_runtime_dependency 'kaminari-grape' - spec.add_runtime_dependency "grape" - spec.add_runtime_dependency "kaminari" - - spec.add_development_dependency "bundler", "~> 1.3" - spec.add_development_dependency "rake" - spec.add_development_dependency 'rspec', '~> 2.9' + spec.add_development_dependency 'bundler' + spec.add_development_dependency 'rack-test' + spec.add_development_dependency 'rake' + spec.add_development_dependency 'rspec' + spec.add_development_dependency 'rubocop' end