2018-07-10 17:18:39 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
lib = File.expand_path('lib', __dir__)
|
2010-04-09 11:08:06 -04:00
|
|
|
$:.unshift lib unless $:.include?(lib)
|
|
|
|
|
|
|
|
require 'capybara/version'
|
2010-02-24 18:17:49 -05:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2018-07-10 17:18:39 -04:00
|
|
|
s.name = 'capybara'
|
2010-04-09 11:08:06 -04:00
|
|
|
s.version = Capybara::VERSION
|
2019-03-25 12:37:25 -04:00
|
|
|
s.required_ruby_version = '>= 2.4.0'
|
2018-07-10 17:18:39 -04:00
|
|
|
s.license = 'MIT'
|
2010-02-24 18:17:49 -05:00
|
|
|
|
2018-07-10 17:18:39 -04:00
|
|
|
s.authors = ['Thomas Walpole', 'Jonas Nicklas']
|
|
|
|
s.email = ['twalpole@gmail.com', 'jonas.nicklas@gmail.com']
|
2019-04-19 18:20:10 -04:00
|
|
|
s.description = 'Capybara is an integration testing tool for rack based web applications. '\
|
|
|
|
'It simulates how a user would interact with a website'
|
2010-04-09 11:08:06 -04:00
|
|
|
|
2019-05-28 08:17:38 -04:00
|
|
|
s.files = Dir.glob('{lib,spec}/**/*') + %w[README.md History.md License.txt .yardopts]
|
2010-04-09 11:08:06 -04:00
|
|
|
|
2018-07-10 17:18:39 -04:00
|
|
|
s.homepage = 'https://github.com/teamcapybara/capybara'
|
2018-06-03 16:42:42 -04:00
|
|
|
s.metadata = {
|
2018-07-10 17:18:39 -04:00
|
|
|
'changelog_uri' => 'https://github.com/teamcapybara/capybara/blob/master/History.md',
|
|
|
|
'source_code_uri' => 'https://github.com/teamcapybara/capybara'
|
2018-06-03 16:42:42 -04:00
|
|
|
}
|
2018-07-10 17:18:39 -04:00
|
|
|
s.require_paths = ['lib']
|
2019-04-19 18:20:10 -04:00
|
|
|
s.summary = 'Capybara aims to simplify the process of integration testing Rack applications, '\
|
|
|
|
'such as Rails, Sinatra or Merb'
|
2018-07-10 17:18:39 -04:00
|
|
|
|
|
|
|
s.add_runtime_dependency('addressable')
|
|
|
|
s.add_runtime_dependency('mini_mime', ['>= 0.1.3'])
|
|
|
|
s.add_runtime_dependency('nokogiri', ['~> 1.8'])
|
|
|
|
s.add_runtime_dependency('rack', ['>= 1.6.0'])
|
|
|
|
s.add_runtime_dependency('rack-test', ['>= 0.6.3'])
|
2019-05-23 19:29:05 -04:00
|
|
|
s.add_runtime_dependency('regexp_parser', ['~>1.5'])
|
2018-10-15 16:51:17 -04:00
|
|
|
s.add_runtime_dependency('xpath', ['~>3.2'])
|
2018-07-10 17:18:39 -04:00
|
|
|
|
2018-11-07 14:36:13 -05:00
|
|
|
s.add_development_dependency('byebug') unless RUBY_PLATFORM == 'java'
|
2019-04-25 03:39:37 -04:00
|
|
|
s.add_development_dependency('coveralls')
|
2018-07-10 17:18:39 -04:00
|
|
|
s.add_development_dependency('cucumber', ['>= 2.3.0'])
|
|
|
|
s.add_development_dependency('erubi') # dependency specification needed by rbx
|
2019-01-03 16:00:38 -05:00
|
|
|
s.add_development_dependency('irb')
|
2018-07-10 17:18:39 -04:00
|
|
|
s.add_development_dependency('launchy', ['>= 2.0.4'])
|
|
|
|
s.add_development_dependency('minitest')
|
|
|
|
s.add_development_dependency('puma')
|
|
|
|
s.add_development_dependency('rake')
|
2018-11-19 13:21:55 -05:00
|
|
|
s.add_development_dependency('rspec', ['>= 3.5.0'])
|
2019-04-30 15:00:15 -04:00
|
|
|
s.add_development_dependency('rspec-instafail')
|
2019-06-25 16:46:33 -04:00
|
|
|
s.add_development_dependency('rubocop', ['~>0.72'])
|
2019-03-27 16:27:40 -04:00
|
|
|
s.add_development_dependency('rubocop-performance')
|
2018-11-07 14:36:13 -05:00
|
|
|
s.add_development_dependency('rubocop-rspec')
|
2019-03-28 14:08:35 -04:00
|
|
|
s.add_development_dependency('sauce_whisk')
|
2018-07-10 17:18:39 -04:00
|
|
|
s.add_development_dependency('selenium-webdriver', ['~>3.5'])
|
2019-01-03 16:00:38 -05:00
|
|
|
s.add_development_dependency('selenium_statistics')
|
2018-07-10 17:18:39 -04:00
|
|
|
s.add_development_dependency('sinatra', ['>= 1.4.0'])
|
2019-05-19 22:03:21 -04:00
|
|
|
s.add_development_dependency('uglifier')
|
2019-04-18 19:18:04 -04:00
|
|
|
s.add_development_dependency('webdrivers', ['>=3.6.0']) # if ENV['CI']
|
2018-07-10 17:18:39 -04:00
|
|
|
s.add_development_dependency('yard', ['>= 0.9.0'])
|
2014-04-08 17:28:16 -04:00
|
|
|
|
2018-05-14 17:30:34 -04:00
|
|
|
if RUBY_ENGINE == 'rbx'
|
2018-07-10 17:18:39 -04:00
|
|
|
s.add_development_dependency('json')
|
|
|
|
s.add_development_dependency('racc')
|
|
|
|
s.add_development_dependency('rubysl')
|
2013-11-19 13:22:36 -05:00
|
|
|
end
|
2014-04-08 17:28:16 -04:00
|
|
|
|
2018-07-10 17:18:39 -04:00
|
|
|
s.signing_key = 'gem-private_key.pem' if File.exist?('gem-private_key.pem')
|
2013-02-15 17:23:18 -05:00
|
|
|
s.cert_chain = ['gem-public_cert.pem']
|
2010-02-24 18:17:49 -05:00
|
|
|
end
|