<commit_before>### Exemplify

Rake tasks to help keep your production configurations out of the source control.

#### How to use it
1. Simply copy exemplify [rake task](lib/tasks/exemplify.rake) to your `lib/tasks/` directory.
2. For every configuration file in your `config/` directory containing any secure information (like `config/database.yml`) prepare template file with `.example` extension (e.g. `config/database.yml.example`), it could look something like this: 
```ruby
# Example database configuration
development:
  adapter: mysql2
  encoding: utf8
  database: INSERT_DATABASE_HERE
  pool: 5
  timeout: 5000
  username: INSERT_USERNAME_HERE
  password: <PASSWORD>
  reconnect: true
```
3. Commit this file into your repository and ignore original files from the source control (e.g. `echo config/database.yml >> .gitignore`)
4. Remove original files from the source control: `git rm --cached config/database.yml` - this will make sure the file is not present in repository, still keeping it locally. Do not forget to [clear any sensitive information from git history](https://help.github.com/articles/remove-sensitive-data)
4. Run `rake exemplify:FILENAME` to copy template contents into the file, like this: `rake exemplify:config/database.yml`

**ProTips&trade;:** 
- Run `rake exemplify:all` to copy all files at once, or use `rake -T` to see what example files you have prepared
- You can include additional rake logic for specific example files (so it will run right before exemplify task) like so:
```ruby
file 'config/database.yml' do
  # Something happens here
end
```<commit_msg>fix typo in README<commit_after>### Exemplify

Rake tasks to help keep your production configurations out of the source control.

#### How to use it
1. Simply copy exemplify [rake task](lib/tasks/exemplify.rake) to your `lib/tasks/` directory.
2. For every configuration file in your `config/` directory containing any secure information (like `config/database.yml`) prepare template file with `.example` extension (e.g. `config/database.yml.example`), it could look something like this: 
```ruby
# Example database configuration
development:
  adapter: mysql2
  encoding: utf8
  database: INSERT_DATABASE_HERE
  pool: 5
  timeout: 5000
  username: INSERT_USERNAME_HERE
  password: <PASSWORD>
  reconnect: true
```
3. Commit this file into your repository and ignore original files from the source control (e.g. `echo config/database.yml >> .gitignore`)
4. Remove original files from the source control: `git rm --cached config/database.yml` - this will make sure the file is not present in repository, still keeping it locally. Do not forget to [clear any sensitive information from git history](https://help.github.com/articles/remove-sensitive-data)
4. Run `rake exemplify:FILENAME` to copy template contents into the file, like this: `rake exemplify:config/database.yml`

**ProTips&trade;:** 
- Run `rake exemplify:all` to copy all files at once, or use `rake -T` to see what example files you have prepared
- You can include additional rake logic for specific example files (so it will run right before exemplify task) like so:
```ruby
file 'config/database.yml.example' do
  # Something happens here
end
```
{'fraction_non_alphanumeric': 0.08932461873638345, 'fraction_numerical': 0.007469654528478058, 'mean_word_length': 4.708703374777975, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '6729474', 'n_tokens_mistral': 912, 'n_tokens_neox': 863, 'n_words': 405}