2013-02-01 09:19:14 +00:00
|
|
|
# -*- 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
|
2013-07-02 11:45:47 +02:00
|
|
|
gem.authors = ["Tom Clements", "Lee Hambley"]
|
|
|
|
gem.email = ["seenmyfate@gmail.com", "lee.hambley@gmail.com"]
|
2013-07-04 09:43:51 +02:00
|
|
|
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}
|
2013-10-13 10:44:52 +02:00
|
|
|
gem.homepage = "http://capistranorb.com/"
|
2013-02-01 09:19:14 +00:00
|
|
|
|
|
|
|
gem.files = `git ls-files`.split($/)
|
2013-10-16 10:16:06 +02:00
|
|
|
gem.executables = ['cap', 'capify']
|
2013-02-01 09:19:14 +00:00
|
|
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
|
|
gem.require_paths = ["lib"]
|
2013-02-01 14:41:51 +00:00
|
|
|
|
2013-10-18 13:07:13 +02:00
|
|
|
gem.licenses = ['MIT']
|
|
|
|
|
2014-08-21 11:50:00 +02:00
|
|
|
gem.required_ruby_version = '>= 1.9.3'
|
2015-12-27 15:54:28 -08:00
|
|
|
gem.add_dependency 'airbrussh', '>= 1.0.0.beta1'
|
2013-02-08 11:15:27 +00:00
|
|
|
gem.add_dependency 'i18n'
|
Make Airbrussh the default format; add format opts
To accommodate Airbrussh, this commit makes the following changes:
1. Adds the airbrussh gem as a dependency
2. Bumps the sshkit dependency to 1.8.0 (for the new `use_format` method)
3. Introduces a `:format_options` setting
Out of the box, Capistrano now defaults to the following:
set :format, :airbussh
It also requires the airbrussh gem at the appropriate point in the Capistrano
boot process, which allows Airbrussh to register its `deploy:failed` hook.
We also change the default Airbrussh settings slightly, to acknowledge the fact
that Airbrussh will now be the first impression new Capistrano users have of the
tool.
Specifically:
* Enable command output (hiding the command output is tidy but probably will
confuse new users who will not know what their deploy script is doing)
* Disable the "using airbrussh format" banner at startup
Finally, this commit adds an official mechanism for sending a hash of options to
the formatter initializer. This lets users easily change Airbrussh's settings.
set :format_options, color: false, truncate: false, ...
If `:format_options` are set, Capistrano will send them to the formatter object
using SSHKit's `use_format` factory method. As of the latest SSHKit, all
formatters inheriting from `Formatter::Abstract` now accept an options hash
(although currently only Airbrussh does anything with them).
2015-12-25 18:40:34 -08:00
|
|
|
gem.add_dependency 'rake', '>= 10.0.0'
|
2016-02-23 11:13:51 -08:00
|
|
|
gem.add_dependency 'sshkit', '>= 1.9.0.rc1'
|
2013-02-01 14:41:51 +00:00
|
|
|
|
|
|
|
gem.add_development_dependency 'rspec'
|
|
|
|
gem.add_development_dependency 'mocha'
|
2016-01-23 13:07:52 -08:00
|
|
|
gem.add_development_dependency 'rubocop'
|
2013-02-01 09:19:14 +00:00
|
|
|
end
|