diff --git a/kaminari-actionview/kaminari-actionview.gemspec b/kaminari-actionview/kaminari-actionview.gemspec index b0af5f5..f03db66 100644 --- a/kaminari-actionview/kaminari-actionview.gemspec +++ b/kaminari-actionview/kaminari-actionview.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.description = 'kaminari-actionview provides pagination helpers for your Action View templates' spec.homepage = 'https://github.com/kaminari/kaminari' spec.license = "MIT" - s.required_ruby_version = '>= 2.0.0' + 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"] diff --git a/kaminari-activerecord/kaminari-activerecord.gemspec b/kaminari-activerecord/kaminari-activerecord.gemspec index 245488f..81d7766 100644 --- a/kaminari-activerecord/kaminari-activerecord.gemspec +++ b/kaminari-activerecord/kaminari-activerecord.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.description = 'kaminari-activerecord lets your Active Record models be paginatable' spec.homepage = 'https://github.com/kaminari/kaminari' spec.license = "MIT" - s.required_ruby_version = '>= 2.0.0' + 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"] diff --git a/kaminari-core/kaminari-core.gemspec b/kaminari-core/kaminari-core.gemspec index 362e6d5..95ff92d 100644 --- a/kaminari-core/kaminari-core.gemspec +++ b/kaminari-core/kaminari-core.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.description = 'kaminari-core includes pagination logic independent from ORMs and view libraries' spec.homepage = 'https://github.com/kaminari/kaminari' spec.license = "MIT" - s.required_ruby_version = '>= 2.0.0' + 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"] diff --git a/kaminari.gemspec b/kaminari.gemspec index 6fb2065..76e9a04 100644 --- a/kaminari.gemspec +++ b/kaminari.gemspec @@ -3,29 +3,29 @@ $:.push File.expand_path("../lib", __FILE__) require "kaminari/version" -Gem::Specification.new do |s| - s.name = 'kaminari' - s.version = Kaminari::VERSION - s.authors = ['Akira Matsuda', 'Yuki Nishijima', 'Zachary Scott', 'Hiroshi Shibata'] - s.email = ['ronnie@dio.jp'] - s.homepage = 'https://github.com/kaminari/kaminari' - s.summary = 'A pagination engine plugin for Rails 4+ and other modern frameworks' - s.description = 'Kaminari is a Scope & Engine based, clean, powerful, agnostic, customizable and sophisticated paginator for Rails 4+' - s.license = "MIT" +Gem::Specification.new do |spec| + spec.name = 'kaminari' + spec.version = Kaminari::VERSION + spec.authors = ['Akira Matsuda', 'Yuki Nishijima', 'Zachary Scott', 'Hiroshi Shibata'] + spec.email = ['ronnie@dio.jp'] + spec.homepage = 'https://github.com/kaminari/kaminari' + spec.summary = 'A pagination engine plugin for Rails 4+ and other modern frameworks' + spec.description = 'Kaminari is a Scope & Engine based, clean, powerful, agnostic, customizable and sophisticated paginator for Rails 4+' + spec.license = "MIT" - s.files = `git ls-files | egrep -v 'kaminari-(core|actionview|activerecord)' | grep -v '^test'`.split("\n") - s.require_paths = ['lib'] + spec.files = `git ls-files | egrep -v 'kaminari-(core|actionview|activerecord)' | grep -v '^test'`.split("\n") + spec.require_paths = ['lib'] - s.required_ruby_version = '>= 2.0.0' + spec.required_ruby_version = '>= 2.0.0' - s.add_dependency 'activesupport', '>= 4.1.0' - s.add_dependency 'kaminari-core', Kaminari::VERSION - s.add_dependency 'kaminari-actionview', Kaminari::VERSION - s.add_dependency 'kaminari-activerecord', Kaminari::VERSION + spec.add_dependency 'activesupport', '>= 4.1.0' + spec.add_dependency 'kaminari-core', Kaminari::VERSION + spec.add_dependency 'kaminari-actionview', Kaminari::VERSION + spec.add_dependency 'kaminari-activerecord', Kaminari::VERSION - s.add_development_dependency 'test-unit-rails' - s.add_development_dependency 'bundler', '>= 1.0.0' - s.add_development_dependency 'rake', '>= 0' - s.add_development_dependency 'rr', '>= 0' - s.add_development_dependency 'capybara', '>= 1.0' + spec.add_development_dependency 'test-unit-rails' + spec.add_development_dependency 'bundler', '>= 1.0.0' + spec.add_development_dependency 'rake', '>= 0' + spec.add_development_dependency 'rr', '>= 0' + spec.add_development_dependency 'capybara', '>= 1.0' end