-
Notifications
You must be signed in to change notification settings - Fork 168
/
capybara-screenshot.gemspec
46 lines (41 loc) · 1.99 KB
/
capybara-screenshot.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
42
43
44
45
46
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "capybara-screenshot/version"
Gem::Specification.new do |s|
s.name = "capybara-screenshot"
s.version = Capybara::Screenshot::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Matthew O'Riordan"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/mattheworiordan/capybara-screenshot"
s.summary = %q{Automatically create snapshots when Cucumber steps fail with Capybara and Rails}
s.description = %q{When a Cucumber step fails, it is useful to create a screenshot image and HTML file of the current page}
s.license = 'MIT'
s.metadata = {
"bug_tracker_uri" => "https://github.com/mattheworiordan/capybara-screenshot/issues",
"changelog_uri" => "https://github.com/mattheworiordan/capybara-screenshot/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/capybara-screenshot/#{s.version}",
"source_code_uri" => "https://github.com/mattheworiordan/capybara-screenshot/tree/v#{s.version}",
}
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("1.9")
s.add_dependency 'capybara', ['>= 1.0', '< 2']
elsif Gem::Version.new(RUBY_VERSION) <= Gem::Version.new("2.2.2")
s.add_dependency 'capybara', ['>= 1.0', '< 3']
else
s.add_dependency 'capybara', ['>= 1.0', '< 4']
end
s.add_dependency 'launchy'
s.add_development_dependency 'rspec'
s.add_development_dependency 'timecop'
s.add_development_dependency 'cucumber'
s.add_development_dependency 'aruba'
s.add_development_dependency 'sinatra'
s.add_development_dependency 'test-unit'
s.add_development_dependency 'spinach'
s.add_development_dependency 'minitest'
s.add_development_dependency 'aws-sdk-s3'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end