No commit activity in last 3 years
No release in over 3 years
Checks for dirty strings in a codebase based on a list of patterns. This may be used to prevent deployment if found.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

>= 3.0.0
 Project Readme

Capistrano::Dirty

A little capistrano task for checking if a codebase is dirty, against a couple of patterns (e.g. FIXMEs, git conflict markers...).

Installation

Add this line to your application's Gemfile:

gem 'capistrano-dirty'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-dirty

To expose the Capistrano task, add the following to your Capfile:

require 'capistrano_dirty'
load 'capistrano_dirty/tasks.rake'

Finally, to fail deploys when something is found, you can do something like this in your Capfile:

before 'deploy:check', 'capistrano_dirty:check'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bluerail/capistrano-dirty

License

The gem is available as open source under the terms of the MIT License.