<commit_before># Sudo Mode

Sudo Mode helps you easily require a password confirmation before any controller action of your choice.

This is inspired (heavily) by [Github's implementation](https://github.com/blog/1513-introducing-github-sudo-mode).

## Usage
<commit_msg>Add install instructions to README<commit_after># Sudo Mode

Sudo Mode helps you easily require a password confirmation before any controller action of your choice.

This is inspired (heavily) by [Github's implementation](https://github.com/blog/1513-introducing-github-sudo-mode).

## Installation

Add `sudo_mode` to your Gemfile:

```ruby
gem "sudo_mode"
```

And install:

```bash
$ bundle install
```

## Usage

{'fraction_non_alphanumeric': 0.10334788937409024, 'fraction_numerical': 0.011644832605531296, 'mean_word_length': 5.142857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3883190', 'n_tokens_mistral': 220, 'n_tokens_neox': 199, 'n_words': 72}