# frozen_string_literal: true lib = File.expand_path("lib", __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "capybara/screenshot/diff/version" Gem::Specification.new do |spec| spec.name = "capybara-screenshot-diff" spec.version = Capybara::Screenshot::Diff::VERSION 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 = ">= 2.5.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.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.add_runtime_dependency "actionpack", ">= 4.2", "< 8" spec.add_runtime_dependency "capybara", ">= 2", "< 4" spec.add_runtime_dependency "chunky_png", "~> 1.3" end