1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/capistrano.gemspec
seenmyfate e7399f4692 Integration tests with Vagrant and Cucumber
This commit removes the existing 'local' integration tests and replaces
them with Cucumber features running against VMs.  At this stage,
some of the assertions are pending due to the limited nature of the
response returned when executing commands through Vagrant, but the
framework is there as a starting point to build upon.

To run the suite:

    bundle exec cucumber

During development, avoid scraping the VM between runs:

    bundle exec cucumber KEEPING_RUNNING=1

Ultimately I would like to see the `TestApp` helpers along with the Vagrant
integration packaged and available for use when developing gems that work with
Cap. For now though, this closes #641
2013-09-27 11:45:55 +01:00

35 lines
1.4 KiB
Ruby

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'capistrano/version'
Gem::Specification.new do |gem|
gem.name = "capistrano"
gem.version = Capistrano::VERSION
gem.authors = ["Tom Clements", "Lee Hambley"]
gem.email = ["seenmyfate@gmail.com", "lee.hambley@gmail.com"]
gem.description = %q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
gem.summary = %q{Capistrano - Welcome to easy deployment with Ruby over SSH}
gem.homepage = ""
gem.files = `git ls-files`.split($/)
gem.executables = 'cap'
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.post_install_message = "If you're updating Capistrano from 2.x.x, we recommend you to read the upgrade guide: http://www.capistranorb.com/documentation/upgrading/"
#gem.signing_key = '/Volumes/SD Card/leehambley-private_key.pem'
#gem.cert_chain = ['capistrano-public_cert.pem', 'leehambley-public_cert.pem']
gem.add_dependency 'sshkit', '>= 0.0.23'
gem.add_dependency 'rake', '>= 10.0.0'
gem.add_dependency 'i18n'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'mocha'
gem.add_development_dependency 'vagrant', '~> 1.0.7'
gem.add_development_dependency 'kuroko'
gem.add_development_dependency 'cucumber'
end