font-awesome5-rails 1.0.0 → 1.0.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 +54 -1
- data/lib/font-awesome5-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 672657636b4111846d5a0ccf4038e336b0737565
|
4
|
+
data.tar.gz: e008d79ea6c32fb5bc4fbcf84853cdabb9441fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d668d924f3d1e3371915dca23159be673864f19a489aedf93892865585cee3f624650b39b82cf751decd0f4e0b89bdb9d0111dbf3f3e071d0b6039d02c47ca0
|
7
|
+
data.tar.gz: ac47d30802176b6cf218e9b1785bfe82f0fcbf06705d6f3022892a6e998e2316bd90637687259563ca133ff3b17b62d4de93a195c1d07102242ba32939ae7593
|
data/README.md
CHANGED
@@ -1,2 +1,55 @@
|
|
1
|
-
# font-awesome5-rails
|
2
1
|
An updated version of the font-awesome-rails gem by bokmann See original: https://github.com/bokmann/font-awesome-rails
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
# font-awesome5-rails
|
6
|
+
|
7
|
+
font-awesome-rails provides the
|
8
|
+
[Font-Awesome 5](https://fontawesome.com/) web fonts and
|
9
|
+
stylesheets as a Rails engine for use with the asset pipeline.
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
Add this to your Gemfile:
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
gem "font-awesome5-rails"
|
17
|
+
```
|
18
|
+
|
19
|
+
and run `bundle install`.
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
In your `application.css`, include the css file:
|
24
|
+
|
25
|
+
```css
|
26
|
+
/*
|
27
|
+
*= require font-awesome5
|
28
|
+
*/
|
29
|
+
```
|
30
|
+
Then restart your webserver if it was previously running.
|
31
|
+
|
32
|
+
Congrats! You now have scalable vector icon support. Pick an icon and check out the
|
33
|
+
[FontAwesome Examples](https://fontawesome.com/how-to-use/web-fonts-with-css).
|
34
|
+
|
35
|
+
### Sass Support
|
36
|
+
|
37
|
+
If you prefer [SCSS](http://sass-lang.com/documentation/file.SASS_REFERENCE.html), add this to your
|
38
|
+
`application.css.scss` file:
|
39
|
+
|
40
|
+
```scss
|
41
|
+
@import "font-awesome5";
|
42
|
+
```
|
43
|
+
|
44
|
+
If you use the
|
45
|
+
[Sass indented syntax](http://sass-lang.com/docs/yardoc/file.INDENTED_SYNTAX.html),
|
46
|
+
add this to your `application.css.sass` file:
|
47
|
+
|
48
|
+
```sass
|
49
|
+
@import font-awesome5
|
50
|
+
```
|
51
|
+
|
52
|
+
## License
|
53
|
+
|
54
|
+
* [Font Awesome Free](https://fontawesome.com/license)
|
55
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: font-awesome5-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- murraycatto
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
|
-
description: font-awesome5-rails provides the Font-Awesome web fonts and stylesheets
|
61
|
+
description: font-awesome5-rails provides the Font-Awesome 5 Free web fonts and stylesheets
|
62
62
|
as a Rails engine for use with the asset pipeline.
|
63
63
|
email:
|
64
64
|
- murraycatto@live.co.za
|