0.01
No commit activity in last 3 years
No release in over 3 years
Guard for refactoring, view code smells in color using Preek
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
~> 3.1.0

Runtime

~> 2.0
~> 1.2
 Project Readme

Gem Version Build Status Dependency Status Coverage Status

Guard::Preek

Do your refactoring with Guard and Preek printing the smells for you. In color!

Installation

$ gem install guard-preek

or

# Add to Gemfile
gem 'guard-preek'

or install it yourself

$ git clone git@github.com:joenas/guard-preek.git
$ cd guard-preek
$ rake install

Usage

To generate template:

$ guard init preek

Examples

guard :preek, run_all_dir: 'lib' do
	watch(/lib\/(.*).rb/)
end

Available options

run_all_dir: 'lib'           # Enter in guard will run Preek on 'lib'
report: :verbose             # Use Preek::VerboseReport, default is QuietReport

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request