<commit_before># RailsUpgrade4

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'rails4_upgrade'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rails4_upgrade

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Adds README<commit_after># rails4\_upgrade [![Build Status](https://secure.travis-ci.org/alindeman/rails4_upgrade.png?branch=master)](http://travis-ci.org/alindeman/rails4_upgrade)

Helps you more easily upgrade to Rails 4. A work in progress, I'm simply
shipping something of a minimum viable product to attract others to
contribute.

Inspired by [rails_upgrade](https://github.com/rails/rails_upgrade) which
helped upgrade applications from Rails 2 to Rails 3.

## Installation

Upgrade to Ruby 1.9.3 if your application does not already use it. Rails 4
requires Ruby 1.9.3, and `rails4_upgrade` uses 1.9-only syntax and semantics.

Add to `Gemfile`:

    gem 'rails4_upgrade', github: 'alindeman/rails4_upgrade'

## Usage

List gems that would currently prevent you from upgrading to Rails 4:

    rake rails4:check_gems

## Contributing

I'm open to accepting pull requests that improve the functionality of the gem.

If there's an upgrade procedure that can be automated or semi-automated, let's
discuss it. Open an
[issue](https://github.com/alindeman/rails4_upgrade/issues).

Ideas:

* Recommending versions of gems that may be compatible with Rails 4
* Removing deprecated configuration options
* Adding newly required or recommended configuration options
{'fraction_non_alphanumeric': 0.07973421926910298, 'fraction_numerical': 0.016611295681063124, 'mean_word_length': 4.542944785276074, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '2417835', 'n_tokens_mistral': 588, 'n_tokens_neox': 518, 'n_words': 216}