font_awesome5_rails 0.4.3 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -2
- data/app/assets/fonts/fa-brands-400.eot +0 -0
- data/app/assets/fonts/fa-brands-400.svg +3293 -1257
- data/app/assets/fonts/fa-brands-400.ttf +0 -0
- data/app/assets/fonts/fa-brands-400.woff +0 -0
- data/app/assets/fonts/fa-brands-400.woff2 +0 -0
- data/app/assets/fonts/fa-regular-400.eot +0 -0
- data/app/assets/fonts/fa-regular-400.svg +796 -468
- data/app/assets/fonts/fa-regular-400.ttf +0 -0
- data/app/assets/fonts/fa-regular-400.woff +0 -0
- data/app/assets/fonts/fa-regular-400.woff2 +0 -0
- data/app/assets/fonts/fa-solid-900.eot +0 -0
- data/app/assets/fonts/fa-solid-900.svg +4513 -2757
- data/app/assets/fonts/fa-solid-900.ttf +0 -0
- data/app/assets/fonts/fa-solid-900.woff +0 -0
- data/app/assets/fonts/fa-solid-900.woff2 +0 -0
- data/app/assets/images/fa5/brands/accusoft.svg +1 -1
- data/app/assets/images/fa5/brands/acquisitions-incorporated.svg +1 -1
- data/app/assets/images/fa5/brands/amilia.svg +1 -1
- data/app/assets/images/fa5/brands/canadian-maple-leaf.svg +1 -1
- data/app/assets/images/fa5/brands/cc-amex.svg +1 -1
- data/app/assets/images/fa5/brands/cc-discover.svg +1 -1
- data/app/assets/images/fa5/brands/cc-stripe.svg +1 -1
- data/app/assets/images/fa5/brands/cpanel.svg +1 -1
- data/app/assets/images/fa5/brands/creative-commons-pd-alt.svg +1 -1
- data/app/assets/images/fa5/brands/d-and-d-beyond.svg +1 -1
- data/app/assets/images/fa5/brands/delicious.svg +1 -1
- data/app/assets/images/fa5/brands/digital-ocean.svg +1 -1
- data/app/assets/images/fa5/brands/draft2digital.svg +1 -1
- data/app/assets/images/fa5/brands/ebay.svg +1 -1
- data/app/assets/images/fa5/brands/ember.svg +1 -1
- data/app/assets/images/fa5/brands/erlang.svg +1 -1
- data/app/assets/images/fa5/brands/facebook-f.svg +1 -1
- data/app/assets/images/fa5/brands/fedora.svg +1 -1
- data/app/assets/images/fa5/brands/figma.svg +1 -1
- data/app/assets/images/fa5/brands/firefox.svg +1 -1
- data/app/assets/images/fa5/brands/font-awesome-alt.svg +1 -1
- data/app/assets/images/fa5/brands/fonticons.svg +1 -1
- data/app/assets/images/fa5/brands/fort-awesome-alt.svg +1 -1
- data/app/assets/images/fa5/brands/gitlab.svg +1 -1
- data/app/assets/images/fa5/brands/gripfire.svg +1 -1
- data/app/assets/images/fa5/brands/grunt.svg +1 -1
- data/app/assets/images/fa5/brands/hips.svg +1 -1
- data/app/assets/images/fa5/brands/hooli.svg +1 -1
- data/app/assets/images/fa5/brands/imdb.svg +1 -1
- data/app/assets/images/fa5/brands/java.svg +1 -1
- data/app/assets/images/fa5/brands/jedi-order.svg +1 -1
- data/app/assets/images/fa5/brands/joget.svg +1 -1
- data/app/assets/images/fa5/brands/kaggle.svg +1 -1
- data/app/assets/images/fa5/brands/linux.svg +1 -1
- data/app/assets/images/fa5/brands/mailchimp.svg +1 -1
- data/app/assets/images/fa5/brands/markdown.svg +1 -1
- data/app/assets/images/fa5/brands/megaport.svg +1 -1
- data/app/assets/images/fa5/brands/mendeley.svg +1 -1
- data/app/assets/images/fa5/brands/optin-monster.svg +1 -1
- data/app/assets/images/fa5/brands/pied-piper-alt.svg +1 -1
- data/app/assets/images/fa5/brands/python.svg +1 -1
- data/app/assets/images/fa5/brands/quinscape.svg +1 -1
- data/app/assets/images/fa5/brands/react.svg +1 -1
- data/app/assets/images/fa5/brands/reacteurope.svg +1 -1
- data/app/assets/images/fa5/brands/sass.svg +1 -1
- data/app/assets/images/fa5/brands/shirtsinbulk.svg +1 -1
- data/app/assets/images/fa5/brands/slack.svg +1 -1
- data/app/assets/images/fa5/brands/slideshare.svg +1 -1
- data/app/assets/images/fa5/brands/stack-overflow.svg +1 -1
- data/app/assets/images/fa5/brands/staylinked.svg +1 -1
- data/app/assets/images/fa5/brands/sticker-mule.svg +1 -1
- data/app/assets/images/fa5/brands/strava.svg +1 -1
- data/app/assets/images/fa5/brands/stripe-s.svg +1 -1
- data/app/assets/images/fa5/brands/stripe.svg +1 -1
- data/app/assets/images/fa5/brands/teamspeak.svg +1 -1
- data/app/assets/images/fa5/brands/the-red-yeti.svg +1 -1
- data/app/assets/images/fa5/brands/think-peaks.svg +1 -1
- data/app/assets/images/fa5/brands/trade-federation.svg +1 -1
- data/app/assets/images/fa5/brands/typo3.svg +1 -1
- data/app/assets/images/fa5/brands/uniregistry.svg +1 -1
- data/app/assets/images/fa5/brands/yelp.svg +1 -1
- data/app/assets/images/fa5/regular/calendar-alt.svg +1 -1
- data/app/assets/images/fa5/regular/clipboard.svg +1 -1
- data/app/assets/images/fa5/regular/eye-slash.svg +1 -1
- data/app/assets/images/fa5/regular/eye.svg +1 -1
- data/app/assets/images/fa5/regular/file-archive.svg +1 -1
- data/app/assets/images/fa5/regular/file-code.svg +1 -1
- data/app/assets/images/fa5/regular/folder-open.svg +1 -1
- data/app/assets/images/fa5/regular/trash-alt.svg +1 -1
- data/app/assets/images/fa5/solid/bacon.svg +1 -0
- data/app/assets/images/fa5/solid/book-dead.svg +1 -1
- data/app/assets/images/fa5/solid/book-medical.svg +1 -0
- data/app/assets/images/fa5/solid/box-open.svg +1 -1
- data/app/assets/images/fa5/solid/bread-slice.svg +1 -0
- data/app/assets/images/fa5/solid/chair.svg +1 -1
- data/app/assets/images/fa5/solid/cheese.svg +1 -0
- data/app/assets/images/fa5/solid/chess-board.svg +1 -1
- data/app/assets/images/fa5/solid/chess.svg +1 -1
- data/app/assets/images/fa5/solid/clinic-medical.svg +1 -0
- data/app/assets/images/fa5/solid/cog.svg +1 -1
- data/app/assets/images/fa5/solid/comment-medical.svg +1 -0
- data/app/assets/images/fa5/solid/crutch.svg +1 -0
- data/app/assets/images/fa5/solid/drumstick-bite.svg +1 -1
- data/app/assets/images/fa5/solid/egg.svg +1 -0
- data/app/assets/images/fa5/solid/eye-slash.svg +1 -1
- data/app/assets/images/fa5/solid/eye.svg +1 -1
- data/app/assets/images/fa5/solid/file-archive.svg +1 -1
- data/app/assets/images/fa5/solid/file-export.svg +1 -1
- data/app/assets/images/fa5/solid/file-import.svg +1 -1
- data/app/assets/images/fa5/solid/fire-alt.svg +1 -0
- data/app/assets/images/fa5/solid/fire.svg +1 -1
- data/app/assets/images/fa5/solid/flag-checkered.svg +1 -1
- data/app/assets/images/fa5/solid/font.svg +1 -1
- data/app/assets/images/fa5/solid/gopuram.svg +1 -1
- data/app/assets/images/fa5/solid/hamburger.svg +1 -0
- data/app/assets/images/fa5/solid/hand-middle-finger.svg +1 -0
- data/app/assets/images/fa5/solid/hand-rock.svg +1 -1
- data/app/assets/images/fa5/solid/hand-spock.svg +1 -1
- data/app/assets/images/fa5/solid/hard-hat.svg +1 -0
- data/app/assets/images/fa5/solid/home.svg +1 -1
- data/app/assets/images/fa5/solid/hotdog.svg +1 -0
- data/app/assets/images/fa5/solid/ice-cream.svg +1 -0
- data/app/assets/images/fa5/solid/language.svg +1 -1
- data/app/assets/images/fa5/solid/laptop-medical.svg +1 -0
- data/app/assets/images/fa5/solid/motorcycle.svg +1 -1
- data/app/assets/images/fa5/solid/pager.svg +1 -0
- data/app/assets/images/fa5/solid/pepper-hot.svg +1 -0
- data/app/assets/images/fa5/solid/pizza-slice.svg +1 -0
- data/app/assets/images/fa5/solid/rocket.svg +1 -1
- data/app/assets/images/fa5/solid/shield-alt.svg +1 -1
- data/app/assets/images/fa5/solid/sort-alpha-down.svg +1 -1
- data/app/assets/images/fa5/solid/sort-alpha-up.svg +1 -1
- data/app/assets/images/fa5/solid/subscript.svg +1 -1
- data/app/assets/images/fa5/solid/superscript.svg +1 -1
- data/app/assets/images/fa5/solid/toggle-on.svg +1 -1
- data/app/assets/images/fa5/solid/torah.svg +1 -1
- data/app/assets/images/fa5/solid/trademark.svg +1 -1
- data/app/assets/images/fa5/solid/trash-alt.svg +1 -1
- data/app/assets/images/fa5/solid/trash-restore-alt.svg +1 -0
- data/app/assets/images/fa5/solid/trash-restore.svg +1 -0
- data/app/assets/images/fa5/solid/trash.svg +1 -1
- data/app/assets/images/fa5/solid/user-nurse.svg +1 -0
- data/app/assets/images/fa5/solid/won-sign.svg +1 -1
- data/app/assets/images/fa5/solid/yen-sign.svg +1 -1
- data/app/assets/javascripts/all.min.js +1 -5
- data/app/assets/stylesheets/all.scss +70 -3
- data/app/assets/stylesheets/svg-with-js.min.css +1 -5
- data/app/helpers/font_awesome5/rails/icon_helper.rb +12 -0
- data/lib/font_awesome5_rails/version.rb +2 -2
- data/spec/font_awesome5_rails_spec.rb +32 -0
- metadata +23 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 447750ec36545354ded2726a3b36f74991db9496ee946b9ba27c1880b0ac4c1e
|
4
|
+
data.tar.gz: c46196b174c947dac669889f100776a2157624a1e3b376e887b27bd8284e0cdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a725ead18597d18362a8b38ea57f0edd097e740b913dfd47becf22535a6fd489c2762bd16d212f8de2b479b51d3c1102c204c47da76f55af87a972853f14ccdc
|
7
|
+
data.tar.gz: de8ea973f2fb09f1734f645ff761c81d65a76b6a4a57bb1495b3f3271e02bde2807463f305ce37ae607a374c8701600e25ddb78cfaeb6c469adbbdc4c4d87675
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Font Awesome 5 Rails
|
2
|
-
[![Gem Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=rb&type=6&v=0.
|
3
|
-
[![FA5 version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=5.
|
2
|
+
[![Gem Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=rb&type=6&v=0.5.0&x2=0)](https://badge.fury.io/rb/font_awesome5_rails)
|
3
|
+
[![FA5 version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=5.7.0&x2=0)](https://github.com/tomkra/font_awesome5_rails/blob/master/lib/font_awesome5_rails/version.rb)
|
4
4
|
[![Build Status](https://travis-ci.org/tomkra/font_awesome5_rails.svg?branch=master)](https://travis-ci.org/tomkra/font_awesome5_rails)
|
5
5
|
[![HitCount](http://hits.dwyl.io/tomkra/tomkra/font_awesome5_rails.svg)](http://hrits.dwyl.io/tomkra/tomkra/font_awesome5_rails)
|
6
6
|
|
@@ -107,6 +107,29 @@ fa_icon('camera-retro', type: :fab)
|
|
107
107
|
|
108
108
|
```
|
109
109
|
|
110
|
+
Each icon type has its own helper method so you don't need to provide the ```type``` attribute in every call.
|
111
|
+
Which can be overridden, if it is provided.
|
112
|
+
```ruby
|
113
|
+
far_icon('camera-retro')
|
114
|
+
# => <i class="far fa-camera-retro"></i>
|
115
|
+
|
116
|
+
far_icon('camera-retro', type: :fab)
|
117
|
+
# => <i class="fab fa-camera-retro"></i>
|
118
|
+
|
119
|
+
far_stacked_icon('camera', base: 'circle')
|
120
|
+
# => <span class="fa-stack">
|
121
|
+
# => <i class="far fa-circle fa-stack-2x"></i>
|
122
|
+
# => <i class="far fa-camera fa-stack-1x"></i>
|
123
|
+
# => </span>
|
124
|
+
|
125
|
+
far_stacked_icon('camera', base: 'circle', type: :fal)
|
126
|
+
# => <span class="fa-stack">
|
127
|
+
# => <i class="fal fa-circle fa-stack-2x"></i>
|
128
|
+
# => <i class="fal fa-camera fa-stack-1x"></i>
|
129
|
+
# => </span>
|
130
|
+
|
131
|
+
```
|
132
|
+
|
110
133
|
### Animations and data attributes
|
111
134
|
FontAwesome 5 provides new animations and data attributes. Here are some examples how to use them:
|
112
135
|
```ruby
|
Binary file
|