amakanize.gemspec in amakanize-0.7.0 vs amakanize.gemspec in amakanize-0.8.0

- old
+ new

@@ -1,22 +1,21 @@ -lib = File.expand_path("../lib", __FILE__) +# frozen_string_literal: true + +lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "amakanize/version" +require 'amakanize/version' Gem::Specification.new do |spec| - spec.name = "amakanize" + spec.name = 'amakanize' spec.version = Amakanize::VERSION - spec.authors = ["Ryo Nakamura"] - spec.email = ["r7kamura@gmail.com"] - spec.summary = "Utilities to canonicalize series names and author names." - spec.homepage = "https://github.com/amakan/amakanize" - spec.license = "MIT" + spec.authors = ['Ryo Nakamura'] + spec.email = ['r7kamura@gmail.com'] + spec.summary = 'Utilities to canonicalize Japanese comic series names and author names.' + spec.homepage = 'https://github.com/amakan/amakanize' + spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 2.5" + spec.require_paths = ['lib'] + spec.required_ruby_version = '>= 2.7' - spec.add_development_dependency "bundler" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "3.5.0" - spec.add_development_dependency "rubocop", "0.44.1" + spec.add_development_dependency 'bundler' end