<commit_before>[![Build Status](https://travis-ci.org/DALove1025/directory_monitor.svg?branch=master)](https://travis-ci.org/DALove1025/directory_monitor)
[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/codeclimate/codeclimate/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/test_coverage)](https://codeclimate.com/github/codeclimate/codeclimate/test_coverage)

# DirectoryMonitor

The DirectoryMonitor is a very simple utility class used to watch for file
modifications in a directory tree. In addition to the DirectoryMonitor class,
this gem also includes an executable, `watch`, which is a command line wrapper
for invoking the `DirectoryMonitor#on_change` method and executing a shell-
command whenever changes are detected.

## Installation

Add this line to your application's Gemfile:

    gem 'directory_monitor'<commit_msg>Typo in README's badge links<commit_after>[![Build Status](https://travis-ci.org/DALove1025/directory_monitor.svg?branch=master)](https://travis-ci.org/DALove1025/directory_monitor)
[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/DALove1025/directory_monitor/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/test_coverage)](https://codeclimate.com/github/DALove1025/directory_monitor/test_coverage)

# DirectoryMonitor

The DirectoryMonitor is a very simple utility class used to watch for file
modifications in a directory tree. In addition to the DirectoryMonitor class,
this gem also includes an executable, `watch`, which is a command line wrapper
for invoking the `DirectoryMonitor#on_change` method and executing a shell-
command whenever changes are detected.

## Installation

Add this line to your application's Gemfile:

    gem 'directory_monitor'
{'fraction_non_alphanumeric': 0.10252447192168986, 'fraction_numerical': 0.03709428129829984, 'mean_word_length': 6.7370517928286855, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '5335508', 'n_tokens_mistral': 652, 'n_tokens_neox': 593, 'n_words': 137}