link-header-parser.gemspec in link-header-parser-2.1.0 vs link-header-parser.gemspec in link-header-parser-2.2.0
- old
+ new
@@ -1,9 +1,9 @@
require_relative 'lib/link_header_parser/version'
Gem::Specification.new do |spec|
- spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 2.8')
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 4')
spec.name = 'link-header-parser'
spec.version = LinkHeaderParser::VERSION
spec.authors = ['Jason Garber']
spec.email = ['jason@sixtwothree.org']
@@ -11,16 +11,16 @@
spec.summary = 'Parse HTTP Link headers.'
spec.description = spec.summary
spec.homepage = 'https://github.com/jgarber623/link-header-parser-ruby'
spec.license = 'MIT'
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|spec)/}) }
- end
+ spec.files = Dir['lib/**/*'].reject { |f| File.directory?(f) }
+ spec.files += %w[LICENSE CHANGELOG.md CONTRIBUTING.md README.md]
+ spec.files += %w[link-header-parser.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.add_runtime_dependency 'absolutely', '~> 5.0'
+ spec.add_runtime_dependency 'absolutely', '~> 5.1'
end