0.01
No release in over 3 years
Low commit activity in last 3 years
ActiveModel layout cop for Rubocop
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
>= 0
~> 10.0
~> 3.0

Runtime

>= 0.51.0
 Project Readme

Dark Finger

A Rubocop extension containing two cops:

  1. Model Structure. Keep those "macro" methods at the top of your model files clean and consistent across the project.

  2. Migration Constants. Prevent a common source of migration breakage - dependencies on things that are likely to change by the time the migration is actually run.

Installation

Add this line to your application's Gemfile:

gem 'dark_finger'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dark_finger

Usage

See the guides for each of the Cops for details.

License

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