font_awesome5_rails 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -1
- data/app/assets/javascripts/font_awesome5.js +5 -1
- data/app/assets/stylesheets/font_awesome5.css +4 -0
- data/lib/font_awesome5_rails/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27a43c098b377f19a8761db082155cf33a7e083e9291513c14b1bcf78887a661
|
4
|
+
data.tar.gz: 8d47a048749a336176ec44970f0e7a75cc876f7e21351ac5232fb088e4f87120
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f38d01540cc29a64e7f978c365e3aaa6e76b988f4436282b1073355885233bbdeac22104f809d92f1ebcb4a764781188b7ec0e904ce58ee2de1ea9319e96f39
|
7
|
+
data.tar.gz: 6f9028a86ea033727f5b5c8708540b727372480fcc9afab49a2747556e2968f83c14ed41e891a982f36da5fc66d6e89e90d81f31683878db87316659cba50081
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Font Awesome 5 Rails
|
2
2
|
[![Build Status](https://travis-ci.org/tomkra/font_awesome5_rails.svg?branch=master)](https://travis-ci.org/tomkra/font_awesome5_rails)
|
3
3
|
[![HitCount](http://hits.dwyl.io/tomkra/tomkra/font_awesome5_rails.svg)](http://hits.dwyl.io/tomkra/tomkra/font_awesome5_rails)
|
4
4
|
|
@@ -6,6 +6,8 @@ font_awesome5_rails provides the [Font-Awesome5](https://fontawesome.com/) web f
|
|
6
6
|
|
7
7
|
This gem provides only Free icons from Font-Awesome.
|
8
8
|
|
9
|
+
Keep track of changes in [Changelog](https://github.com/tomkra/font_awesome5_rails/blob/master/CHANGELOG.md).
|
10
|
+
|
9
11
|
## Table of Contents
|
10
12
|
**[Instalation](#instalation)** <br />
|
11
13
|
**[Usage](#usage)** <br />
|
@@ -15,6 +17,7 @@ This gem provides only Free icons from Font-Awesome.
|
|
15
17
|
- **[Layered and Stacked icons](#layered-and-stacked-icons)** <br />
|
16
18
|
|
17
19
|
**[Use as images](#use-as-images)** <br />
|
20
|
+
**[FontAwesome 5 Pro icons](#fontawesome-5-pro-icons)** <br />
|
18
21
|
|
19
22
|
|
20
23
|
## Installation
|
@@ -181,6 +184,16 @@ More examples can be found in specs.
|
|
181
184
|
|
182
185
|
More animation and data attributes can be found on [FontAwesome documentation](https://fontawesome.com/how-to-use/svg-with-js).
|
183
186
|
|
187
|
+
## FontAwesome 5 Pro icons
|
188
|
+
Due to licence policy this gem pack only free FA5 icons. However ```fa_icon``` helper support all types of icons. If you buyed FA5 Pro icons and want to use helpers provided by this gem it's possible.
|
189
|
+
1. Add this gem to your ```Gemfile``` without including anything to ```application.css``` and ```application.js```.
|
190
|
+
2. Download your FA5 pro icons and unpack them.
|
191
|
+
3. Now you will have to manualy include all FA5 files you want to use to your ```/assets``` folder.
|
192
|
+
4. If you're using ```svg``` files do not forget to include ```*.svg``` in your ```assets.rb``` file.
|
193
|
+
5. You should now be able to use all FA5 Pro icons with helpers provided by this gem.
|
194
|
+
|
195
|
+
If you have any questions feel free to create new issue.
|
196
|
+
|
184
197
|
## License
|
185
198
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
186
199
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: font_awesome5_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tomkra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '4.2'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '5.
|
22
|
+
version: '5.3'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '4.2'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '5.
|
32
|
+
version: '5.3'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: activesupport
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|