Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4 from rmm5t/deprecate-gem
Browse files Browse the repository at this point in the history
Consider deprecating this gem in favor of font-awesome-rails
  • Loading branch information
balexand committed Jun 4, 2013
2 parents aeb6f16 + 9c0ef0d commit 3b54c44
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 2,730 deletions.
18 changes: 0 additions & 18 deletions .gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions Gemfile

This file was deleted.

22 changes: 0 additions & 22 deletions LICENSE

This file was deleted.

59 changes: 5 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,9 @@
# FontAwesome
# CLOSED FOR BUSINESS

Font Awesome for the Rails asset pipeline. Doesn't depend on SASS or LESS and properly generates digests using the `asset_path` method.
This gem is deprecated. Please feel free to continue to use existing versions, but please switch to the [font-awesome-rails][newgem] gem at your convenience.

## Installation
For more information, see [#6](https://github.com/balexand/font_awesome/issues/4).

Add this line to your application's Gemfile:
## Please open all future issues, send all future pull requests and direct all future inquiries to [font-awesome-rails][newgem].

```ruby
gem 'font_awesome', '~> 3.0'
```

Or if you prefer Font Awesome 2.0, use:

```ruby
gem 'font_awesome', '~> 2.0'
```

And then execute:

$ bundle

## Usage

Just require it at the top of your CSS file:

```css
/*
*= require font-awesome
*/
```

Then insert an icon in your HTML:

```html
<i class="icon-camera-retro"></i>
```

Check out the [Font Awesome website](http://fortawesome.github.com/Font-Awesome/) for details.

## Versioning

The versioning of this gem roughly tracks the versioning of Font Awesome starting at 2.0. In order to accomodate patches to this gem that don't package a new version of Font Awesome, versions are calculated [like this](https://github.com/balexand/font_awesome/blob/master/lib/font_awesome/version.rb). For example, version `3.1.0` of this gem packages Font Awesome `3.0.1`.

## Modifications

I've made the following minimal changes the Font Awesome code:

1. Use the `asset_path` helper so that assets are loaded from the correct path and digests are generated.
2. ~~Remove the `svgz` font declaration until the Font Awesome maintainer adds the file ([see issue](https://github.com/FortAwesome/Font-Awesome/issues/233)).~~

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
[newgem]: https://github.com/bokmann/font-awesome-rails
2 changes: 0 additions & 2 deletions Rakefile

This file was deleted.

Binary file removed app/assets/font/FontAwesome.otf
Binary file not shown.
Binary file removed app/assets/font/fontawesome-webfont.eot
Binary file not shown.
339 changes: 0 additions & 339 deletions app/assets/font/fontawesome-webfont.svg

This file was deleted.

Binary file removed app/assets/font/fontawesome-webfont.ttf
Binary file not shown.
Binary file removed app/assets/font/fontawesome-webfont.woff
Binary file not shown.
17 changes: 0 additions & 17 deletions font_awesome.gemspec

This file was deleted.

5 changes: 0 additions & 5 deletions lib/font_awesome.rb

This file was deleted.

6 changes: 0 additions & 6 deletions lib/font_awesome/rails/engine.rb

This file was deleted.

12 changes: 0 additions & 12 deletions lib/font_awesome/version.rb

This file was deleted.

Loading

0 comments on commit 3b54c44

Please sign in to comment.