capybara-screenshot-diff.gemspec in capybara-screenshot-diff-1.7.1 vs capybara-screenshot-diff.gemspec in capybara-screenshot-diff-1.8.0

- old
+ new

@@ -10,17 +10,20 @@ spec.authors = ["Uwe Kubosch"] spec.email = ["uwe@kubosch.no"] spec.summary = "Track your GUI changes with diff assertions" spec.description = "Save screen shots and track changes with graphical diff" spec.homepage = "https://github.com/donv/capybara-screenshot-diff" - spec.required_ruby_version = defined?(JRUBY_VERSION) ? ">= 2.6.0" : ">= 2.7.0" + spec.required_ruby_version = ">= 3.0.0" spec.license = "MIT" spec.metadata["allowed_push_host"] = "https://rubygems.org/" - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{(^(\.|tmp|bin|test|spec|features|gemfiles|scripts)/)|(^(\.|Dockerfile|CONTRIBUTING|README))}) + end + spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_runtime_dependency "actionpack", ">= 6.0", "< 8" + spec.add_runtime_dependency "actionpack", ">= 6.1", "< 8" spec.add_runtime_dependency "capybara", ">= 2", "< 4" - spec.add_runtime_dependency "chunky_png", "~> 1.3" + spec.add_runtime_dependency "chunky_png", ">= 1.3", "< 2" end