ffavicon 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/README.md +6 -4
- data/lib/ffavicon/tasks.rake +2 -1
- data/lib/ffavicon/version.rb +1 -1
- data/lib/ffavicon/view_helpers.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 443e94c09367e5c1e67a6cb891aef56aa3f23ab1
|
4
|
+
data.tar.gz: d6de491246c06fd3ab3e1e1b9c47acddb26fa991
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e76cb021bd23622d1c13119b4f611ecac63a8edc8090aa16226a6a90fbc5680fb0724301d301f13231dfbae548d490f9f6b391530c6c4a7a7cc4442e43256df3
|
7
|
+
data.tar.gz: cc18361ec385ae8e81ef9da922f462b16b27a579a028b2c8f075a684635a2b7c1a79aabbeb8bc9639c6f1df1fc9c74b42d5da40dfb5d1def4cd75a4006868c27
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
|
1
|
+
## FFavicon Maker for Rails
|
2
2
|
Gem adds a rake task for generating favicons for all major browsers and platforms and add helper for adding all favicons to layout.
|
3
3
|
Use of the [FaviconMaker](https://github.com/follmann/favicon_maker) library.
|
4
4
|
|
5
|
-
|
5
|
+
### Install
|
6
6
|
|
7
7
|
Add the following line to your Gemfile:
|
8
8
|
|
9
9
|
gem 'ffavicon'
|
10
10
|
|
11
|
-
|
11
|
+
### Usage
|
12
12
|
|
13
13
|
1. Create your PNG favicon* in app/assets/images/favicon.png.
|
14
14
|
2. Type `rake ffavicon` in your terminal.
|
@@ -27,8 +27,10 @@ ms_color - color background for [Windows 8 - Tile](http://realfavicongenerator.n
|
|
27
27
|
theme_color - color of the task bar in the [switcher Android Chrome](https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android).
|
28
28
|
|
29
29
|
*`I recommend to use the size of 260x260 for optimal results`
|
30
|
+
### Roadmap
|
31
|
+
1. If the favicon.png doesn't exist then create the favicon for the first letter of the app name.
|
30
32
|
|
31
|
-
|
33
|
+
### License
|
32
34
|
|
33
35
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
34
36
|
|
data/lib/ffavicon/tasks.rake
CHANGED
@@ -11,7 +11,8 @@ namespace :ffavicon do
|
|
11
11
|
sizes = FFavicon::SIZES
|
12
12
|
|
13
13
|
from 'favicon.png' do
|
14
|
-
icon '
|
14
|
+
icon 'favicon.ico', size: '16x16'
|
15
|
+
icon 'apple-touch-icon-precomposed.png', size: '180x180' #TODO rounded edges 180x180
|
15
16
|
|
16
17
|
sizes[:apple].each do |s|
|
17
18
|
icon "apple-touch-icon-#{s}.png"
|
data/lib/ffavicon/version.rb
CHANGED