2010-02-24 18:17:49 -05:00
|
|
|
# -*- encoding: utf-8 -*-
|
2010-04-09 11:08:06 -04:00
|
|
|
lib = File.expand_path('../lib/', __FILE__)
|
|
|
|
$:.unshift lib unless $:.include?(lib)
|
|
|
|
|
|
|
|
require 'capybara/version'
|
2010-02-24 18:17:49 -05:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2010-04-09 11:08:06 -04:00
|
|
|
s.name = "capybara"
|
|
|
|
s.version = Capybara::VERSION
|
2016-08-17 21:02:57 -04:00
|
|
|
s.required_ruby_version = ">= 2.2.0"
|
2013-10-04 07:36:03 -04:00
|
|
|
s.license = "MIT"
|
2010-02-24 18:17:49 -05:00
|
|
|
|
2016-01-17 18:25:55 -05:00
|
|
|
s.authors = ["Thomas Walpole", "Jonas Nicklas"]
|
|
|
|
s.email = ["twalpole@gmail.com", "jonas.nicklas@gmail.com"]
|
2010-04-09 11:08:06 -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"
|
|
|
|
|
2016-09-09 19:44:32 -04:00
|
|
|
s.files = Dir.glob("{lib,spec,.yard}/**/*") + %w(README.md History.md License.txt .yardopts)
|
2010-04-09 11:08:06 -04:00
|
|
|
|
2016-11-15 12:14:43 -05:00
|
|
|
s.homepage = "https://github.com/teamcapybara/capybara"
|
2010-02-24 18:17:49 -05:00
|
|
|
s.require_paths = ["lib"]
|
2010-04-09 11:08:06 -04:00
|
|
|
s.summary = "Capybara aims to simplify the process of integration testing Rack applications, such as Rails, Sinatra or Merb"
|
2010-02-24 18:17:49 -05:00
|
|
|
|
2016-08-17 21:43:27 -04:00
|
|
|
s.add_runtime_dependency("nokogiri", [">= 1.6.8"])
|
2016-08-17 21:17:49 -04:00
|
|
|
s.add_runtime_dependency("mime-types", [">= 2.0"])
|
2016-08-17 14:41:40 -04:00
|
|
|
s.add_runtime_dependency("rack", [">= 1.6.0"])
|
|
|
|
s.add_runtime_dependency("rack-test", [">= 0.6.3"])
|
2017-12-27 20:17:12 -05:00
|
|
|
s.add_runtime_dependency("xpath", [">= 2.0", "< 4.0"])
|
2015-12-28 12:34:26 -05:00
|
|
|
s.add_runtime_dependency("addressable")
|
2010-02-24 18:17:49 -05:00
|
|
|
|
2016-08-17 14:41:40 -04:00
|
|
|
s.add_development_dependency("selenium-webdriver", [">= 3.0", "< 4.0", "!=3.4.1"])
|
|
|
|
s.add_development_dependency("sinatra", [">= 1.4.0"])
|
|
|
|
s.add_development_dependency("rspec", [">= 3.4.0"])
|
2012-04-04 19:31:25 -04:00
|
|
|
s.add_development_dependency("launchy", [">= 2.0.4"])
|
2016-08-17 21:43:27 -04:00
|
|
|
s.add_development_dependency("yard", [">= 0.9.0"])
|
|
|
|
s.add_development_dependency("fuubar", [">= 1.0.0"])
|
2016-08-17 14:41:40 -04:00
|
|
|
s.add_development_dependency("cucumber", [">= 2.3.0"])
|
2017-02-08 16:49:46 -05:00
|
|
|
s.add_development_dependency("rake")
|
2017-05-30 14:44:02 -04:00
|
|
|
s.add_development_dependency("puma")
|
2017-02-20 13:54:50 -05:00
|
|
|
s.add_development_dependency("erubi") # dependency specification needed by rbx
|
2014-04-08 17:28:16 -04:00
|
|
|
|
2013-11-19 13:22:36 -05:00
|
|
|
if RUBY_ENGINE == 'rbx' then
|
|
|
|
s.add_development_dependency("racc")
|
|
|
|
s.add_development_dependency("json")
|
|
|
|
s.add_development_dependency("rubysl")
|
|
|
|
end
|
2014-04-08 17:28:16 -04:00
|
|
|
|
2013-02-15 17:23:18 -05:00
|
|
|
if File.exist?("gem-private_key.pem")
|
|
|
|
s.signing_key = 'gem-private_key.pem'
|
|
|
|
end
|
|
|
|
s.cert_chain = ['gem-public_cert.pem']
|
2010-02-24 18:17:49 -05:00
|
|
|
end
|