-
Notifications
You must be signed in to change notification settings - Fork 16
/
rspec-page-regression.gemspec
41 lines (35 loc) · 1.78 KB
/
rspec-page-regression.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rspec/page-regression/version'
Gem::Specification.new do |spec|
spec.name = "rspec-page-regression"
spec.version = RSpec::PageRegression::VERSION
spec.authors = ["ronen barzel"]
spec.email = ["ronen@barzel.org"]
spec.summary = %q{Web page rendering (HTML, CSS, and JavasSript) regression for RSpec}
spec.description = %q{Rspec-page-regression provides a mechanism for headless regression testing of web page renders in RSpec. It takes into account HTML, CSS, and JavaScript, by virtue of using PhantomJS (via the Poltergeist gem) to render snapshots. It provides an RSpec matcher that compares the test snapshot to an expected image, and facilitates management of the images.}
spec.homepage = "https://github.com/ronen/rspec-page-regression"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "activesupport"
if RUBY_PLATFORM == 'java'
spec.add_dependency "chunky_png"
else
spec.add_dependency "oily_png"
end
spec.add_dependency "poltergeist"
spec.add_dependency "rspec", "~> 3.0"
spec.add_dependency "which_works"
spec.add_development_dependency "bourne"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "mocha"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec-given"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "simplecov-gem-adapter"
spec.add_development_dependency "coveralls"
end