forked from teamcapybara/capybara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
capybara.gemspec
75 lines (65 loc) · 3.02 KB
/
capybara.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$:.unshift lib unless $:.include?(lib)
require 'capybara/version'
Gem::Specification.new do |s|
s.name = 'capybara'
s.version = Capybara::VERSION
s.required_ruby_version = '>= 3.0.0'
s.license = 'MIT'
s.authors = ['Thomas Walpole', 'Jonas Nicklas']
s.email = ['twalpole@gmail.com', 'jonas.nicklas@gmail.com']
s.description = 'Capybara is an integration testing tool for rack based web applications. ' \
'It simulates how a user would interact with a website'
# Test files are included in the gem to allow third-party driver packages to
# run the Capybara test suite and ensure compatibility.
s.files = Dir.glob('{lib,spec}/**/*') + %w[README.md History.md License.txt .yardopts]
s.homepage = 'https://github.com/teamcapybara/capybara'
s.metadata = {
'changelog_uri' => 'https://github.com/teamcapybara/capybara/blob/master/History.md',
'source_code_uri' => 'https://github.com/teamcapybara/capybara',
'rubygems_mfa_required' => 'true'
}
s.require_paths = ['lib']
s.summary = 'Capybara aims to simplify the process of integration testing Rack applications, ' \
'such as Rails, Sinatra or Merb'
s.add_runtime_dependency('addressable')
s.add_runtime_dependency('matrix')
s.add_runtime_dependency('mini_mime', ['>= 0.1.3'])
s.add_runtime_dependency('nokogiri', ['~> 1.11'])
s.add_runtime_dependency('rack', ['>= 1.6.0'])
s.add_runtime_dependency('rack-test', ['>= 0.6.3'])
s.add_runtime_dependency('regexp_parser', ['>=1.5', '<3.0'])
s.add_runtime_dependency('xpath', ['~>3.2'])
s.add_development_dependency('byebug') unless RUBY_PLATFORM == 'java'
s.add_development_dependency('coveralls')
s.add_development_dependency('cucumber', ['>= 2.3.0'])
s.add_development_dependency('erubi') # dependency specification needed by rbx
s.add_development_dependency('irb')
s.add_development_dependency('launchy', ['>= 2.0.4'])
s.add_development_dependency('minitest')
s.add_development_dependency('puma')
s.add_development_dependency('rake')
s.add_development_dependency('rspec', ['>= 3.5.0'])
s.add_development_dependency('rspec-instafail')
s.add_development_dependency('rubocop', ['~>1.1'])
s.add_development_dependency('rubocop-minitest')
s.add_development_dependency('rubocop-performance')
s.add_development_dependency('rubocop-rake')
s.add_development_dependency('rubocop-rspec', ['~>2.0'])
s.add_development_dependency('sauce_whisk')
s.add_development_dependency('selenium_statistics')
s.add_development_dependency('selenium-webdriver', ['~>4.8'])
s.add_development_dependency('sinatra', ['>= 1.4.0'])
s.add_development_dependency('uglifier')
s.add_development_dependency('yard', ['>= 0.9.0'])
if RUBY_ENGINE == 'rbx'
s.add_development_dependency('json')
s.add_development_dependency('racc')
s.add_development_dependency('rubysl')
end
if File.exist?('gem-private_key.pem')
s.signing_key = 'gem-private_key.pem'
s.cert_chain = ['gem-public_cert.pem']
end
end