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.rubyforge_project = "capybara"
|
|
|
|
s.version = Capybara::VERSION
|
2013-01-02 10:53:05 -05:00
|
|
|
s.required_ruby_version = ">= 1.9.0"
|
2010-02-24 18:17:49 -05:00
|
|
|
|
|
|
|
s.authors = ["Jonas Nicklas"]
|
|
|
|
s.email = ["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"
|
|
|
|
|
2012-11-09 16:51:45 -05:00
|
|
|
s.files = Dir.glob("{lib,spec}/**/*") + %w(README.md History.md License.txt)
|
2010-04-09 11:08:06 -04:00
|
|
|
|
|
|
|
s.homepage = "http://github.com/jnicklas/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"])
|
2011-07-29 19:22:34 -04:00
|
|
|
s.add_runtime_dependency("selenium-webdriver", ["~> 2.0"])
|
2010-04-09 11:08:06 -04:00
|
|
|
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"])
|
2012-11-14 05:22:51 -05:00
|
|
|
s.add_runtime_dependency("xpath", ["~> 1.0.0"])
|
2010-02-24 18:17:49 -05:00
|
|
|
|
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"])
|
2011-10-24 01:52:56 -04:00
|
|
|
s.add_development_dependency("rake")
|
2013-02-15 17:10:53 -05:00
|
|
|
s.add_development_dependency("pry")
|
2013-02-15 17:23:18 -05:00
|
|
|
|
|
|
|
if File.exist?("gem-private_key.pem")
|
|
|
|
s.signing_key = 'gem-private_key.pem'
|
|
|
|
else
|
|
|
|
puts "WARNING!! No private key specified, gem will not be signed!"
|
|
|
|
end
|
|
|
|
s.cert_chain = ['gem-public_cert.pem']
|
2010-02-24 18:17:49 -05:00
|
|
|
end
|