minitest-keyword.gemspec in minitest-keyword-1.0.0 vs minitest-keyword.gemspec in minitest-keyword-1.0.1

- old
+ new

@@ -1,30 +1,39 @@ # frozen_string_literal: true -lib = File.expand_path('lib', __dir__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'minitest/keyword/version' +require_relative 'lib/minitest/keyword/version' +version = Minitest::Keyword::VERSION +repository = 'https://github.com/kddnewton/minitest-keyword' + Gem::Specification.new do |spec| spec.name = 'minitest-keyword' - spec.version = Minitest::Keyword::VERSION - spec.authors = ['Kevin Deisz'] - spec.email = ['kevin.deisz@gmail.com'] + spec.version = version + spec.authors = ['Kevin Newton'] + spec.email = ['kddnewton@gmail.com'] spec.summary = 'Use Minitest assertions with keyword arguments' - spec.homepage = 'https://github.com/kddeisz/minitest-keyword' + spec.homepage = repository spec.license = 'MIT' - spec.files = `git ls-files -z`.split("\x0").reject do |f| + spec.metadata = { + 'bug_tracker_uri' => "#{repository}/issues", + 'changelog_uri' => "#{repository}/blob/v#{version}/CHANGELOG.md", + 'source_code_uri' => repository, + 'rubygems_mfa_required' => 'true' + } + + 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.add_dependency 'minitest', '~> 5.0' spec.add_development_dependency 'bundler', '~> 2.0' - spec.add_development_dependency 'rake', '~> 12.3' - spec.add_development_dependency 'rubocop', '~> 0.62' - spec.add_development_dependency 'simplecov', '~> 0.15' + spec.add_development_dependency 'rake', '~> 13.0' + spec.add_development_dependency 'rubocop', '~> 1.12' + spec.add_development_dependency 'simplecov', '~> 0.17' end