Code Monkey home page Code Monkey logo

guard-rails_best_practices's Introduction

Guard - Rails Best Practices

BDD your Rails Best Practices checklist alongside your specs with Guard.

By adding your own checklists, this can be a great way to enforce those code style documents that everyone on your team has forgotten!

Install

In your Rails 3.0+ application, add the guard, rails_best_practices, and guard-rails_best_practices gems to your Gemfile:

group :development do
  gem 'rails_best_practices'
  gem 'guard'
  gem 'guard-rails_best_practices'
end

Add guard definitions to your Guardfile by running:

guard init rails_best_practices

Guard will now inform you of Rails Best Practices warnings.

Options

These options are available (with the following defaults):

options[:vendor]   = true # Include vendor/
options[:spec]     = true # Include spec/
options[:test]     = true # Include test/
options[:features] = true # Include features/
options[:exclude]  = '' # Exclude [PATTERN]
options[:run_at_start] = true # Run checklist when guard starts

See https://github.com/railsbp/rails_best_practices for details.

It is recommended that you run rails_best_practices -g to generate a rails_best_practices.yml file for your application, so you can tune the checklists to your own unique tastes.

You can also extend rails_best_practices by writing your own checklists .

Authors

Logan Koester

guard-rails_best_practices's People

Contributors

logankoester avatar kugaevsky avatar thejchap avatar ressu avatar vyorkin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.