Commit Graph

33 Commits

Author SHA1 Message Date
William Johnston b53e550fc0 Fix Style/StringLiterals 2016-02-28 17:56:07 -06:00
Matt Brictson 3a04ebdbd2 Require latest SSHKit for Airbrussh compatibility 2016-02-24 09:03:54 -08:00
Matt Brictson 77d96309f7 Require airbrussh >= 1.0.0.beta1
1.0.0.beta1 is the first version that supports configuration via options hash,
which is what Capistrano needs for `set :format_options, ...`.
2016-02-24 09:03:54 -08:00
Matt Brictson d6a3b3efa6 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).
2016-02-24 09:03:54 -08:00
Matt Brictson 6084ffbb65 Add RuboCop lint to default rake task 2016-01-23 13:14:19 -08:00
Matt Brictson 60ed6a32f0 Require SSHKit >= 1.7.1 2015-10-19 13:22:12 -07:00
Thomas Kriechbaumer 003212fb12 remove post-install message 2015-03-03 11:29:02 +00:00
Lee Hambley 251e39c193 Update capistrano.gemspec
Remove the dependency on `capistrano-stats`, we collected some useful data, but it's just too annoying.
2015-02-04 10:03:19 +01:00
Lee Hambley 948a4404d8 Rely on a new (privacy fixed) version of capistrano-stats 2014-12-10 11:08:08 +01:00
Lee Hambley 6906e88542 Preparing Release v3.3.3 2014-11-27 10:35:36 +01:00
Isaac Betesh 56dac6c8a3 replaced suggestion in config/deploy.rb to re-implement restart task for passenger with a suggestion to use capistrano-passenger gem 2014-09-10 15:49:17 -04:00
Kai Kuchenbecker 9c7ab25661 made ruby version requirement explicit 2014-08-21 11:50:00 +02:00
Kai Kuchenbecker 5333e507ad removed HighLine in favor of ruby's noecho 2014-08-05 16:01:21 +02:00
Matt Brictson 4aebffe718 Refactor ask() to use Highline; support echo:false.
Note: a gem dependency for highline has been added by this commit.
2014-04-22 22:14:04 -04:00
Michael Nikitochkin 8bba22579c 🐼 Fixed failed tests
After update to new version of sskit there were a lot of failed tests.
2014-01-09 01:47:05 +02:00
Jeremy Ward 682eca112d Fixes https://github.com/capistrano/capistrano/issues/863
Removed vagrant development dependency.
2014-01-07 11:18:50 -08:00
Thomas Kriechbaumer 1a83c72973 bump SSHKit dependency 2014-01-03 11:41:35 +01:00
Kir Shatrov 49dbab9d1f Cleaning up signing_key in gem spec 2014-01-03 10:48:12 +01:00
Kir Shatrov 0b511e3bae Capistrano 3.1 post_install_message #813 2014-01-03 10:47:53 +01:00
Lee Hambley 7d7cf634a9 Fix licensing 2013-10-18 13:12:28 +02:00
Lee Hambley 83d64d7be7 Prefer the MIT Licence in README and LICENSE and .gemspec 2013-10-18 13:12:11 +02:00
Kir Shatrov a43a71aa2c Added homepage to gemspec 2013-10-13 10:44:52 +02:00
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
Kir Shatrov b67960153e Advice to read the upgrade guide 2013-07-28 16:46:48 +04:00
Lee Hambley df93237dee Preparing 3.0.0.pre7 2013-07-04 09:43:51 +02:00
Lee Hambley ec790c42b7 Preparing 3.0.0.pre6 2013-07-02 12:05:01 +02:00
Lee Hambley 8b7643c0cc Licence and Gembuild changes 2013-06-30 17:33:59 +02:00
Lee Hambley 78073ed75a Force a newer version of SSHKit 2013-04-01 14:44:11 +02:00
seenmyfate 9dd67c7fac update gemspec 2013-03-22 16:30:24 +00:00
seenmyfate 13e7b72b8e add multistage support, i18n 2013-02-08 13:49:04 +00:00
seenmyfate de6367af4e Add default tasks, handle configuration 2013-02-01 17:19:00 +00:00
seenmyfate 687526930a installation - running cap install capifies app 2013-02-01 14:51:50 +00:00
seenmyfate 3d88a6755a initial commit 2013-02-01 09:19:14 +00:00