Sha256: 7783b29e65be3769744a55a9004ff12ab546e49b75f44b750f9d871cb1288901

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

[![Build Status](https://travis-ci.org/lonelyplanet/bestie.svg?branch=master)](https://travis-ci.org/lonelyplanet/bestie)

# Bestie

Utility gem to enforce generic best practice for rails application

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'bestie'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install bestie

## Usage

In applicaiton's `Rakefile`, add

```
load 'tasks/bestie.rake'
```

Rake tasks are available after including the gem:

- [brakeman](https://github.com/presidentbeef/brakeman)
- [debride](https://github.com/seattlerb/debride)
- [fasterer](https://github.com/DamirSvrtan/fasterer)
- [flay](https://github.com/seattlerb/flay)
- [reek](https://github.com/troessner/reek)
- [rubocop](https://github.com/bbatsov/rubocop)
- [rubycritic](https://github.com/whitesmith/rubycritic)
- `bestie` => run all :point_up: tasks to check ruby best practice

## Configure individual quality check

### RuboCop

```
bundle exec rails g rubo_cop:config
```

### SimpleCov

```
bundle exec rails g simple_cov:config
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/lonelyplanet/bestie.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bestie-0.2.0 README.md