indieweb-endpoints.gemspec in indieweb-endpoints-6.1.0 vs indieweb-endpoints.gemspec in indieweb-endpoints-7.0.0

- old
+ new

@@ -1,9 +1,11 @@ +# frozen_string_literal: true + require_relative 'lib/indieweb/endpoints/version' Gem::Specification.new do |spec| - spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 4') + spec.required_ruby_version = '>= 2.6', '< 4' spec.name = 'indieweb-endpoints' spec.version = IndieWeb::Endpoints::VERSION spec.authors = ['Jason Garber'] spec.email = ['jason@sixtwothree.org'] @@ -17,13 +19,16 @@ spec.files += %w[LICENSE CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md] spec.files += %w[indieweb-endpoints.gemspec] spec.require_paths = ['lib'] - spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues" - spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md" + spec.metadata = { + 'bug_tracker_uri' => "#{spec.homepage}/issues", + 'changelog_uri' => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md", + 'rubygems_mfa_required' => 'true' + } - spec.add_runtime_dependency 'addressable', '~> 2.7' + spec.add_runtime_dependency 'addressable', '~> 2.8' spec.add_runtime_dependency 'http', '~> 5.0' - spec.add_runtime_dependency 'link-header-parser', '~> 3.0' - spec.add_runtime_dependency 'nokogiri', '~> 1.11' + spec.add_runtime_dependency 'link-header-parser', '~> 4.0' + spec.add_runtime_dependency 'nokogiri', '~> 1.12' end