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
|
2013-03-10 14:26:15 -04:00
|
|
|
s.required_ruby_version = ">= 1.9.3"
|
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.rubygems_version = "1.3.6"
|
|
|
|
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
|
|
|
|
2010-04-09 11:08:06 -04:00
|
|
|
s.add_runtime_dependency("nokogiri", [">= 1.3.3"])
|
|
|
|
s.add_runtime_dependency("mime-types", [">= 1.16"])
|
|
|
|
s.add_runtime_dependency("rack", [">= 1.0.0"])
|
2010-06-29 15:21:25 -04:00
|
|
|
s.add_runtime_dependency("rack-test", [">= 0.5.4"])
|
2013-04-09 11:20:44 -04:00
|
|
|
s.add_runtime_dependency("xpath", ["~> 2.0"])
|
2015-12-28 12:34:26 -05:00
|
|
|
s.add_runtime_dependency("addressable")
|
2010-02-24 18:17:49 -05:00
|
|
|
|
2017-03-08 12:31:22 -05:00
|
|
|
s.add_development_dependency("selenium-webdriver", [">= 2.0", "< 4.0"])
|
2010-04-09 11:08:06 -04:00
|
|
|
s.add_development_dependency("sinatra", [">= 0.9.4"])
|
2012-01-26 09:18:46 -05:00
|
|
|
s.add_development_dependency("rspec", [">= 2.2.0"])
|
2012-04-04 19:31:25 -04:00
|
|
|
s.add_development_dependency("launchy", [">= 2.0.4"])
|
2010-07-14 18:24:59 -04:00
|
|
|
s.add_development_dependency("yard", [">= 0.5.8"])
|
2010-11-17 03:34:47 -05:00
|
|
|
s.add_development_dependency("fuubar", [">= 0.0.1"])
|
2012-01-26 09:18:46 -05:00
|
|
|
s.add_development_dependency("cucumber", [">= 0.10.5"])
|
2017-03-03 16:06:07 -05:00
|
|
|
s.add_development_dependency("minitest")
|
2017-02-08 16:49:46 -05:00
|
|
|
s.add_development_dependency("rake")
|
2013-02-15 17:10:53 -05:00
|
|
|
s.add_development_dependency("pry")
|
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
|