Kinit helps to enforce best practices in your project. For example, kinit can be used to check whether your project uses important gems like 'rubocop', 'rails_best_practices' etc. and strictly follows their guidelines.
Kinit gem, once included in the project and run using command "run_kinit" will enforce these practices in the project and will show a report along with suggestions.
Add this line to your application's Gemfile:
gem 'kinit'
And then execute:
$ bundle
To use kinit you can run following command on your application root
run_kinit
To configure Kinit checks for your project, define following file in your app config folder
config/kinit_config.yml
bestPracticesGems:
- bullet
- rails_best_practices
- reek
- rubocop
- simplecov
testingGems:
- rspec
suggestions:
- CodeClimate
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Rohan Daxini at Kiprosh (www.kiprosh.com)
Ruby License, see the COPYING file included in the source distribution. The Ruby License includes the GNU General Public License (GPL), Version 2, so see the file GPL as well.
The latest version of this library can be downloaded at rubygems.org/gems/kinit