<commit_before># Guard::Brakeman [![Build Status](https://secure.travis-ci.org/guard/guard-brakeman.png)](http://travis-ci.org/oreoshake/guard-brakeman)

Guard::Brakeman allows you to automatically run [Brakeman](http://brakemanscanner.org/) tests when files are modified.

Use guard-brakeman >= 0.4.0 for brakeman >= 1.5.3
--------------
And use < 0.4.0 for brakeman < 1.5.3

## Install

The simplest way to install Guard is to use [Bundler](http://gembundler.com/).
Please make sure to have [Guard](https://github.com/guard/guard) installed before continue.

Add Guard::Brakeman to your `Gemfile`:

```bash
group :development do
  gem 'guard-brakeman'
end
```

Add the default Guard::Brakeman template to your `Guardfile` by running:

```bash
$ guard init brakeman
```

## Use sublime Text 2?

Check out [sublime_guard](https://github.com/cyphactor/sublime_guard)!  It gives you control Guard without leaving the editor.  This is even more powerful with Growl notifications.  Enter distraction-free mode and never leave!

## Usage

Please read the [Guard usage documentation](https://github.com/guard/guard#readme).

## Guardfile

Guard::Brakeman can be adapted to all kind of projects and comes with a default template that looks like this:

```ruby
guard 'brakeman' do
  watch(%r{^app/.+\.(erb|haml|rhtml|rb)$})
  watch(%r{^config/.+\.rb$})
  watch(%r{^lib/.+\.rb$})
  watch('Gemfile')
end
```

Please read the [Guard documentation](http://github.com/guard/guard#readme) for more information about the Guardfile DSL.



### List of available options

```ruby
:output_file    => 'donkey.html' # write the results to the specified file
:notifications  => false    # display Growl notifications, defaults to true
:run_on_start   => true     # run all checks on startup, defaults to false
:min_confidence => 3        # only alert on warnings above a threshold, defaults to 1
:chatty         => true     # notify on ALL changes.  Defaults to false, only new or fixed warnings trigger a Growl
```

## Brakeman configuration

Issues
------

You can report issues and feature requests to [GitHub Issues](https://github.com/oreoshake/guard-brakeman/issues). Try to figure out
where the issue belongs to: Is it an issue with Guard itself or with Guard::Brakeman? Please don't
ask the question in the issue tracker, instead join us in our [Google group](http://groups.google.com/group/guard-dev) or on
`#guard` (irc.freenode.net).
<commit_msg>Fix output_files option in README<commit_after># Guard::Brakeman [![Build Status](https://secure.travis-ci.org/guard/guard-brakeman.png)](http://travis-ci.org/oreoshake/guard-brakeman)

Guard::Brakeman allows you to automatically run [Brakeman](http://brakemanscanner.org/) tests when files are modified.

Use guard-brakeman >= 0.4.0 for brakeman >= 1.5.3
--------------
And use < 0.4.0 for brakeman < 1.5.3

## Install

The simplest way to install Guard is to use [Bundler](http://gembundler.com/).
Please make sure to have [Guard](https://github.com/guard/guard) installed before continue.

Add Guard::Brakeman to your `Gemfile`:

```bash
group :development do
  gem 'guard-brakeman'
end
```

Add the default Guard::Brakeman template to your `Guardfile` by running:

```bash
$ guard init brakeman
```

## Use sublime Text 2?

Check out [sublime_guard](https://github.com/cyphactor/sublime_guard)!  It gives you control Guard without leaving the editor.  This is even more powerful with Growl notifications.  Enter distraction-free mode and never leave!

## Usage

Please read the [Guard usage documentation](https://github.com/guard/guard#readme).

## Guardfile

Guard::Brakeman can be adapted to all kind of projects and comes with a default template that looks like this:

```ruby
guard 'brakeman' do
  watch(%r{^app/.+\.(erb|haml|rhtml|rb)$})
  watch(%r{^config/.+\.rb$})
  watch(%r{^lib/.+\.rb$})
  watch('Gemfile')
end
```

Please read the [Guard documentation](http://github.com/guard/guard#readme) for more information about the Guardfile DSL.



### List of available options

```ruby
:output_files   => %w(donkey.html) # write the results to the specified files
:notifications  => false    # display Growl notifications, defaults to true
:run_on_start   => true     # run all checks on startup, defaults to false
:min_confidence => 3        # only alert on warnings above a threshold, defaults to 1
:chatty         => true     # notify on ALL changes.  Defaults to false, only new or fixed warnings trigger a Growl
```

## Brakeman configuration

Issues
------

You can report issues and feature requests to [GitHub Issues](https://github.com/oreoshake/guard-brakeman/issues). Try to figure out
where the issue belongs to: Is it an issue with Guard itself or with Guard::Brakeman? Please don't
ask the question in the issue tracker, instead join us in our [Google group](http://groups.google.com/group/guard-dev) or on
`#guard` (irc.freenode.net).

{'fraction_non_alphanumeric': 0.1268641470888662, 'fraction_numerical': 0.006128702757916241, 'mean_word_length': 4.132075471698113, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3643653', 'n_tokens_mistral': 1564, 'n_tokens_neox': 1489, 'n_words': 534}