Ruby Gem to check the code for standards compiled in the Rails Style Guide repository. By http://www.rubyeffect.com
Rails Review gem checks your rails applications against style guides present at Rails Style Guide Repository and reports the code snippets where the style guide is not met.
Add this line to your application’s Gemfile in the development group:
And then execute:
Or install it yourself as:
$ gem install rails_review
Run the following rake task to start the rails style guide checks on your application.
$ rake rails_review:start
After checking out the repo, run
bin/setup to install dependencies. Then, run
rake spec to run the tests. You can also run
bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run
bundle exec rake install.
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)
In the current version, 17 Rails Style Guide points are being checked. Further checks would be added in future commits.
The gem is available as open source under the terms of the MIT License.
Sanjay Vedula([email protected])
RubyEffect builds intuitive, live and elegant software that solves real world problems. We love open source and it’s community.
Liked this gem? You may also like the articles we post on our blog. Please do check
We would love to work on your ideas and see them grow. Say hello @ http://rubyeffect.com/contact