search_lingo.gemspec in search_lingo-2.0.0 vs search_lingo.gemspec in search_lingo-3.0.0.pre1

- old
+ new

@@ -2,11 +2,10 @@ lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'search_lingo/version' -# rubocop:disable Metrics/BlockLength Gem::Specification.new do |spec| spec.name = 'search_lingo' spec.version = SearchLingo::VERSION spec.authors = ['John Parker'] spec.email = ['jparker@urgetopunt.com'] @@ -17,27 +16,28 @@ translating them into application-specific queries. DESCRIPTION spec.homepage = 'https://github.com/jparker/search_lingo' spec.license = 'MIT' - spec.files = `git ls-files -z`.split("\x0").reject { |f| + spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) - } + end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.rdoc_options += ['-x', 'examples/', '-x', 'test/'] - spec.required_ruby_version = '>= 2.3' + spec.required_ruby_version = '>= 2.7' - spec.add_development_dependency 'bundler', '~> 1.9' + spec.add_development_dependency 'bundler', '~> 2.0' spec.add_development_dependency 'minitest' spec.add_development_dependency 'minitest-focus' spec.add_development_dependency 'mocha' spec.add_development_dependency 'pry' - spec.add_development_dependency 'rake', '~> 10.0' - spec.add_development_dependency 'rubocop' + spec.add_development_dependency 'rake', '~> 13.0' + spec.add_development_dependency 'rubocop', '~> 1.12' + spec.add_development_dependency 'rubocop-minitest' spec.add_development_dependency 'sequel', '~> 5.0' spec.add_development_dependency 'sqlite3' + spec.metadata['rubygems_mfa_required'] = 'true' end -# rubocop:enable Metrics/BlockLength