capybara-screenshot-diff.gemspec in capybara-screenshot-diff-0.10.2 vs capybara-screenshot-diff.gemspec in capybara-screenshot-diff-0.11.0
- old
+ new
@@ -1,8 +1,6 @@
-# coding: utf-8
-
-lib = File.expand_path('../lib', __FILE__)
+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'
@@ -18,16 +16,16 @@
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', '<5.2'
+ spec.add_runtime_dependency 'actionpack', '>= 4.2', '<5.3'
spec.add_runtime_dependency 'capybara', '~> 2.0'
spec.add_runtime_dependency 'chunky_png', '~> 1.3'
spec.add_development_dependency 'bundler', '~> 1.11'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'minitest-reporters'
spec.add_development_dependency 'rake'
- spec.add_development_dependency 'rubocop', '~> 0.39'
+ spec.add_development_dependency 'rubocop', '~> 0.54'
spec.add_development_dependency 'simplecov', '~> 0.11'
end