<commit_before># versioner-rails

This gem allows you to easily add, update, and retrieve a version number for your Rails application.

## Installation

Add this line to your application's Gemfile:

    gem 'versioner-rails', :require => 'versioner'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install versioner-rails

Then run the installer:

    $ rails generate versioner:install

## Usage

Version numbers follow the format *Major.Minor.Patch*.

Force a new version number like this:

    $ rake versioner:force[1,0,3]

Then you can update it:<commit_msg>Update README with more information on installed files<commit_after># versioner-rails

This gem allows you to easily add, update, and retrieve a version number for your Rails application.

## Installation

Add this line to your application's Gemfile:

    gem 'versioner-rails', :require => 'versioner'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install versioner-rails

Then run the installer:

    $ rails generate versioner:install

This adds these files:

* **[RAILS_ROOT]/config/versioner.yml** - This is where the version number is stored.
* **[RAILS_ROOT]/config/initializers/versioner.rb** - This is where you can configure options. The only option available right now is **storage_path**, which allows you to change the location of versioner.yml.

## Usage

Version numbers follow the format *Major.Minor.Patch*.

Force a new version number like this:

    $ rake versioner:force[1,0,3]

Then you can update it:
{'fraction_non_alphanumeric': 0.07877604166666667, 'fraction_numerical': 0.00390625, 'mean_word_length': 4.072607260726072, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7497360', 'n_tokens_mistral': 456, 'n_tokens_neox': 423, 'n_words': 186}