<commit_before># OrderlyGarden

A set of tools for Rake and Ruby workflows, to help keep things neat and tidy.

* `parent_task`: Automatically run all sub-tasks in a namespace when the namespace-named task is run.
* Limit the number of Rake threads to a sane number by default.
* Lint metric for code volume if `cloc` is installed.
* Ruby style enforcement, and slightly saner Rubocop defaults.
* Dependency checking with `bundler-audit`, and `bundle outdated`.


## Installation

Add this line to your application's Gemfile:

```ruby
gem "orderly_garden", require: false, git: "<EMAIL>:MrJoy/orderly_garden.git"
```

And then execute:<commit_msg>Add a bit more documentation.<commit_after># OrderlyGarden

A set of tools for Rake and Ruby workflows, to help keep things neat and tidy.

* `parent_task`: Automatically run all sub-tasks in a namespace when the namespace-named task is run.
* Limit the number of Rake threads to a sane number by default.
* Lint metric for code volume if `cloc` is installed.
* Ruby style enforcement, and slightly saner Rubocop defaults.
* Dependency checking with `bundler-audit`, and `bundle outdated`.
* `with_tempfile`: Manage a temp file for you, and optionally replace a destination path with it upon success.
* `write_file`: Write an array of strings to a file ensuring they're joined by newlines and have a trailing newline.


## Installation

Add this line to your application's Gemfile:

```ruby
gem "orderly_garden", require: false, git: "<EMAIL>:MrJoy/orderly_garden.git"
```

And then execute:
{'fraction_non_alphanumeric': 0.07867360208062418, 'fraction_numerical': 0.0, 'mean_word_length': 4.785714285714286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '2383426', 'n_tokens_mistral': 463, 'n_tokens_neox': 432, 'n_words': 211}