<commit_before>## fontello_rails_converter

[![Build Status](https://travis-ci.org/railslove/fontello_rails_converter.png?branch=master)](https://travis-ci.org/railslove/fontello_rails_converter)

CLI gem for comfortably working with icon fonts from [http://fontello.com](http://fontello.com) for usage in Rails apps.

Main features:

* **Open** up your current fontello font in the browser from the command line
* **Copy & convert** files from the zip into rails app (inclusively Sass enhancements)


## Initial usage

#### Rails app setup

Add the gem to your Gemfile `gem 'fontello_rails_converter'` and run `bundle install`

#### Get your icon font

1. Download your initial `.zip` file from [http://fontello.com](http://fontello.com) and save it to `myapp/tmp/fontello.zip`

1. Run `fontello convert --no-download` inside your app's root directory

It will copy all the assets from the `fontello.zip` file into the appropiate places in your app's `vendor/assets/` directory.

#### Use the font in your app<commit_msg>link note about Gemfile environment<commit_after>## fontello_rails_converter

[![Build Status](https://travis-ci.org/railslove/fontello_rails_converter.png?branch=master)](https://travis-ci.org/railslove/fontello_rails_converter)

CLI gem for comfortably working with icon fonts from [http://fontello.com](http://fontello.com) for usage in Rails apps.

Main features:

* **Open** up your current fontello font in the browser from the command line
* **Copy & convert** files from the zip into rails app (inclusively Sass enhancements)


## Initial usage

#### Rails app setup

Add the gem to your Gemfile `gem 'fontello_rails_converter'` and run `bundle install`

Read the [note](https://github.com/railslove/fontello_rails_converter#gemfile-environment) below to decide whether to put the gem into the `production` or `development` group in your Gemfile.

#### Get your icon font

1. Download your initial `.zip` file from [http://fontello.com](http://fontello.com) and save it to `myapp/tmp/fontello.zip`

1. Run `fontello convert --no-download` inside your app's root directory

It will copy all the assets from the `fontello.zip` file into the appropiate places in your app's `vendor/assets/` directory.

#### Use the font in your app
{'fraction_non_alphanumeric': 0.10934041611332448, 'fraction_numerical': 0.0017706949977866313, 'mean_word_length': 4.963060686015831, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2665534', 'n_tokens_mistral': 693, 'n_tokens_neox': 664, 'n_words': 253}