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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbd188e00110aefb75102d74b3fa24b398c81b77
4
- data.tar.gz: 14cc3ce59b216670eefe294cae51609a32a25e81
3
+ metadata.gz: 443e94c09367e5c1e67a6cb891aef56aa3f23ab1
4
+ data.tar.gz: d6de491246c06fd3ab3e1e1b9c47acddb26fa991
5
5
  SHA512:
6
- metadata.gz: e288264a41d763912a449cddd32ced02c5c8a4e5ee50ec5d82d7a60572e8a102f2eb17d9b5ec1ddff50700818b8dda514362d2a148af6a91532fe76a09b4d8f1
7
- data.tar.gz: d372844d2a429c9ea72ecae3f16e41ad464e4df4bac5aed340410c1bdc551edbd93b713b2fe45c30c052c1849299c4968dab4fd7a1f60874dab17d9ea3cc2920
6
+ metadata.gz: e76cb021bd23622d1c13119b4f611ecac63a8edc8090aa16226a6a90fbc5680fb0724301d301f13231dfbae548d490f9f6b391530c6c4a7a7cc4442e43256df3
7
+ data.tar.gz: cc18361ec385ae8e81ef9da922f462b16b27a579a028b2c8f075a684635a2b7c1a79aabbeb8bc9639c6f1df1fc9c74b42d5da40dfb5d1def4cd75a4006868c27
data/.gitignore CHANGED
@@ -8,4 +8,5 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
 
11
- /.idea
11
+ /.idea
12
+ /ffavicon-0.1.0.gem
data/README.md CHANGED
@@ -1,14 +1,14 @@
1
- # FFavicon Maker for Rails
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
- ## Install
5
+ ### Install
6
6
 
7
7
  Add the following line to your Gemfile:
8
8
 
9
9
  gem 'ffavicon'
10
10
 
11
- ## Usage
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
- ## License
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
 
@@ -11,7 +11,8 @@ namespace :ffavicon do
11
11
  sizes = FFavicon::SIZES
12
12
 
13
13
  from 'favicon.png' do
14
- icon 'apple-touch-icon-precomposed.png', size: '180x180' #Обрезанные края 180x180
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"
@@ -1,3 +1,3 @@
1
1
  module FFavicon
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -4,6 +4,7 @@ module FFavicon
4
4
  sizes = FFavicon::SIZES
5
5
  tags = []
6
6
 
7
+ tags << favicon_link_tag("/favicon.ico")
7
8
  tags << sizes[:apple].collect do |s|
8
9
  favicon_link_tag("/apple-touch-icon-#{s}.png", size: s, rel: "apple-touch-icon")
9
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffavicon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - telray