Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/tags/capistrano_2-2-0/capistrano.gemspec

Revision 8750, 0.9 kB (checked in by minam, 7 months ago)

make sure capistrano only tries to load Net::SSH and Net::SFTP versions less than 1.99.0

Line 
1 require './lib/capistrano/version'
2
3 Gem::Specification.new do |s|
4
5   s.name = 'capistrano'
6   s.version = PKG_VERSION
7   s.platform = Gem::Platform::RUBY
8   s.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
9     Capistrano is a utility and framework for executing commands in parallel
10     on multiple remote machines, via SSH.
11   DESC
12
13   s.files = Dir.glob("{bin,lib,examples,test}/**/*") + %w(README MIT-LICENSE CHANGELOG)
14   s.require_path = 'lib'
15   s.has_rdoc = true
16
17   s.bindir = "bin"
18   s.executables << "cap" << "capify"
19
20   s.add_dependency 'net-ssh', ">= #{Capistrano::Version::SSH_REQUIRED.join(".")}", "< 1.99.0"
21   s.add_dependency 'net-sftp', ">= #{Capistrano::Version::SFTP_REQUIRED.join(".")}", "< 1.99.0"
22   s.add_dependency 'highline'
23
24   s.author = "Jamis Buck"
25   s.email = "jamis@37signals.com"
26   s.homepage = "http://www.capify.org"
27   s.rubyforge_project = "capistrano"
28
29 end
Note: See TracBrowser for help on using the browser.