Fix Travis build by pinning Rspec at 2.14.x and switching to rbx-2
This should fix the "Requested binary installation but no rubies are available to download" error in Travis for rbx.
Switch to high-quality SVG badges
This is so that the badges don't look like a blurry mess on retina screens. Note that this also fixes the Travis status, which was previously reporting green. It is now correctly showing "error", matching the status shown here: https://travis-ci.org/capistrano/capistrano
Clean up Capfile comments
Fixing typo in database_password
The 3.2.1 release was made before the ask()-highline refactor was merged. It should therefore be in the master section of the CHANGELOG, not 3.2.1.
Cucumber tests will now run with latest version of Vagrant
This removes the dependency on the `kuroko` gem and uses the Vagrant command line application to control the virtual environment. The `vagrant` command should be in your path, but if it isn't the path can be set with the `VAGRANT_BIN` environment variable. This may even work on older versions of Vagrant, but they are untested. The `VagrantHelpers` module was added to mimic some of the API that was provided by `kuroko`. The `RemoteCommandHelpers` module was modified to accommodate those changes. Any non-zero exit status on a remote command will raise a `VagrantHelpers::VagrantSSHCommandError` and should be expected by any tests using the command helpers. All existing tests work as expected. In addition, a couple of minor changes were made. The TestApp utilizes the Pathname library but does not require it. This was causing the suite to fail for me so I added an explicit require. Also, the test for the existence of a release directory would give a false positive on subsequent runs if the `KEEP_RUNNING` option was used. I added an `at_exit` that removes the test deployment directory to clean up the box for the next run. Documentation was also added to the README for how to run the test suites.
Improve the output of cap --help.
Fix compatibility with FreeBSD tar
Remove options documentation for rake options that aren't applicable to capistrano, briefly explain correct cap usage, and point users to http://capistranorb.com.
Refactor ask() to use HighLine; support echo:false
Added tests for before/after hooks
#1004 The changes of #938 affect the order the task executes. The "prerequisite" task seems to be running as if it was defined in a after block, which makes sense, since it is now invoked by the task instead of being a prerequisite. Since there were missed tests and @juanibiapina added simple tests in #1005, and were modified in this commit to cover current business logic of the master.
Note: a gem dependency for highline has been added by this commit.
Update dsl#local_user method
- uses more portable `Etc#getlogin`. - previous implementation with `whoami` returns a string with a newline at the end. This implementation returns a clean string. As a consequence `revisions.log` does not have a trailing `;` character at the end.
Revert short sha1 revision.
This deletion has been introduced on a previous PR. Added changelog. Fixed typo.
- fixed double `starting` key - changed asking question to more standard format (like common unix commandline tools) - removing dirty double quotes
Updating the version of capistrano in the readme
Fixed typos in README, password authentication section