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
|
2018-05-10 16:20:23 -04:00
|
|
|
s.required_ruby_version = ">= 2.3.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"
|
|
|
|
|
2018-06-01 17:20:26 -04:00
|
|
|
s.files = Dir.glob("{lib,spec}/**/*") + %w[README.md History.md License.txt]
|
2010-04-09 11:08:06 -04:00
|
|
|
|
2016-11-15 12:14:43 -05:00
|
|
|
s.homepage = "https://github.com/teamcapybara/capybara"
|
2018-06-03 16:42:42 -04:00
|
|
|
s.metadata = {
|
|
|
|
"changelog_uri" => "https://github.com/teamcapybara/capybara/blob/master/History.md",
|
|
|
|
"source_code_uri" => "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
|
|
|
|
2018-01-08 15:23:54 -05:00
|
|
|
s.add_runtime_dependency("addressable")
|
2017-08-01 23:58:36 -04:00
|
|
|
s.add_runtime_dependency("mini_mime", [">= 0.1.3"])
|
2018-01-08 15:23:54 -05:00
|
|
|
s.add_runtime_dependency("nokogiri", ["~> 1.8"])
|
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"])
|
2018-05-26 12:18:24 -04:00
|
|
|
s.add_runtime_dependency("xpath", ["~>3.1"])
|
2010-02-24 18:17:49 -05:00
|
|
|
|
2016-08-17 14:41:40 -04:00
|
|
|
s.add_development_dependency("cucumber", [">= 2.3.0"])
|
2018-05-14 17:30:34 -04:00
|
|
|
s.add_development_dependency("erubi") # dependency specification needed by rbx
|
2018-01-08 15:23:54 -05:00
|
|
|
s.add_development_dependency("fuubar", [">= 1.0.0"])
|
|
|
|
s.add_development_dependency("launchy", [">= 2.0.4"])
|
2017-03-07 22:34:26 -05:00
|
|
|
s.add_development_dependency("minitest")
|
2017-05-30 14:44:02 -04:00
|
|
|
s.add_development_dependency("puma")
|
2018-01-08 15:23:54 -05:00
|
|
|
s.add_development_dependency("rake")
|
|
|
|
s.add_development_dependency("rspec", [">= 3.4.0"])
|
2018-06-22 17:53:28 -04:00
|
|
|
s.add_development_dependency("selenium-webdriver", ["~>3.5"])
|
2018-01-08 15:23:54 -05:00
|
|
|
s.add_development_dependency("sinatra", [">= 1.4.0"])
|
2018-03-16 14:10:31 -04:00
|
|
|
s.add_development_dependency("webdrivers") if ENV['CI']
|
2018-01-08 15:23:54 -05: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'
|
2013-11-19 13:22:36 -05:00
|
|
|
s.add_development_dependency("json")
|
2018-01-08 15:23:54 -05:00
|
|
|
s.add_development_dependency("racc")
|
2013-11-19 13:22:36 -05:00
|
|
|
s.add_development_dependency("rubysl")
|
|
|
|
end
|
2014-04-08 17:28:16 -04:00
|
|
|
|
2018-05-14 17:30:34 -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
|