jekyll-favicon 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 829062a7c126927267b5f08fc5bdc9a7140ad0f9
4
- data.tar.gz: 97800978bf740232d4c60a7aa536b5e0e9b4ec5b
3
+ metadata.gz: 218508fbabc682014853065308c51db130593dfb
4
+ data.tar.gz: 356462e4cfb0b8b6532613c0972fd11a8a4363b6
5
5
  SHA512:
6
- metadata.gz: af184fd8af5f1652b5f377c42812f0e2423f1d1a5d27c2de2cf491a2cb6c1cb89f013a9980084ceecee155cbcacbd8ff8d4627fadf4aed259c24bdce17369c3d
7
- data.tar.gz: ba0f65a228219884b4fce639d4a4ffa02e26fa44575d3cede4efd961f1a052d83c4bbc2df48110c74b9330d36ec740d1e34473b656a75fa970dbdb89801e7b09
6
+ metadata.gz: 44505c0684395214fb9ba940ef4a033b53aaf3419c9ff99f2d25be7119eea6755fd9e0fa815137c34c99fab6deee361af0a4c9f28b018b358fc2576d94c727a0
7
+ data.tar.gz: 2dea6475eabf7a4e44efed4f56ed1c25063aa723997fe4acf39c50b5141b40843dc9e7ffcae808a5802e260ac3747d84056506fec4efd3967e494d8a9caae193
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.7] - 2019-05-27
10
+ ### Fixed
11
+ - Set default background back to none
12
+ - Restore safari-pinned-tab
13
+ ### Changed
14
+ - Update README outdated stuff
15
+ - Correct typos on README
16
+
9
17
  ## [0.2.6] - 2019-03-23
10
18
  ### Added
11
19
  - Readme troubleshooting for librsvg2-bin package missing
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-favicon (0.2.6)
4
+ jekyll-favicon (0.2.7)
5
5
  jekyll (~> 3.0)
6
6
  mini_magick (~> 4.5)
7
7
 
@@ -17,7 +17,7 @@ GEM
17
17
  eventmachine (>= 0.12.9)
18
18
  http_parser.rb (~> 0.6.0)
19
19
  eventmachine (1.2.7)
20
- ffi (1.10.0)
20
+ ffi (1.11.1)
21
21
  forwardable-extended (2.6.0)
22
22
  http_parser.rb (0.6.0)
23
23
  i18n (0.9.5)
@@ -74,7 +74,7 @@ GEM
74
74
  unicode-display_width (~> 1.0, >= 1.0.1)
75
75
  ruby-progressbar (1.10.0)
76
76
  safe_yaml (1.0.5)
77
- sass (3.7.3)
77
+ sass (3.7.4)
78
78
  sass-listen (~> 4.0.0)
79
79
  sass-listen (4.0.0)
80
80
  rb-fsevent (~> 0.9, >= 0.9.4)
data/README.md CHANGED
@@ -17,11 +17,17 @@ Check if it is already installed by running:
17
17
 
18
18
  ```sh
19
19
  $ convert --version
20
- Version: ImageMagick 7.0.7-27 Q16 x86_64 2018-03-18 http://www.imagemagick.org
21
- Copyright: © 1999-2018 ImageMagick Studio LLC
22
- License: http://www.imagemagick.org/script/license.php
23
- Features: Cipher DPC HDRI Modules
24
- Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
20
+ Version: ImageMagick 7.0.8-46 Q16 x86_64 2019-05-19 https://imagemagick.org
21
+ Copyright: © 1999-2019 ImageMagick Studio LLC
22
+ License: https://imagemagick.org/script/license.php
23
+ Features: Cipher DPC HDRI Modules OpenMP(3.1)
24
+ Delegates (built-in): bzlib freetype heic jng jp2 jpeg lcms ltdl lzma openexr png tiff webp xml zlib
25
+ ```
26
+
27
+ If you have a [problem converting SVG files](https://github.com/afaundez/jekyll-favicon/issues/9#issuecomment-473862194), you may need to install the package `librsvg2-bin`. For example, in Ubuntu/Debian systems:
28
+
29
+ ```sh
30
+ sudo apt install librsvg2-bin
25
31
  ```
26
32
 
27
33
  If you have a [problem converting SVG files](https://github.com/afaundez/jekyll-favicon/issues/9#issuecomment-473862194), you may need to install the package `librsvg2-bin`. For example, in Ubuntu/Debian systems:
@@ -35,20 +41,20 @@ sudo apt install librsvg2-bin
35
41
  Add this line to your application's Gemfile:
36
42
 
37
43
  ```ruby
38
- gem 'jekyll-favicon', '~> 0.2.6', group: :jekyll_plugins
44
+ gem 'jekyll-favicon', '~> 0.2.7', group: :jekyll_plugins
39
45
  ```
40
46
 
41
47
  ## Usage
42
48
 
43
- If you are going to use this plugin in a hosted build/service, be sure that they include your plugins as part of the process. You can check [running example](https://afaundez.gitlab.io/jekyll-favicon-example/) hosted by [GitLab](https://about.gitlab.com/features/pages/).
49
+ If you are going to use this plugin in a hosted build/service, be sure that they include your plugins as part of the process. You can check [this running example](https://afaundez.gitlab.io/jekyll-favicon-example/) hosted by [GitLab](https://about.gitlab.com/features/pages/).
44
50
 
45
51
  As [Github Pages](https://pages.github.com) build doesn't load custom plugins, this plugin won't work. As an alternative, you can build your site and push all files (for example, build to `docs`, version it and push it, although this works only for project pages).
46
52
 
47
53
  ### Generator
48
54
 
49
- By installing the plugin, it will be automatically active. It will search for the file `/favicon.svg` and generate set of files in `/assets/images` and few more items at the site's root. It also will exclude the original sources from being copied as a regular static file.
55
+ By installing the plugin, it will be automatically activated. It will search for the file `/favicon.svg` and generate a set of files in `/assets/images` and few more items at the site's root. It also will exclude the original sources from being copied as a regular static file.
50
56
 
51
- You can override whit your sites's `_config.yml`:
57
+ You can override these settings in your sites's `_config.yml`:
52
58
 
53
59
  ```yaml
54
60
  favicon:
@@ -1,9 +1,9 @@
1
1
  favicon:
2
2
  source: favicon.svg
3
3
  path: /assets/images
4
- background: white
4
+ background: none
5
5
  apple-touch-icon:
6
- background: white
6
+ background: none
7
7
  sizes:
8
8
  - 57x57
9
9
  - 76x76
@@ -46,6 +46,7 @@ module Jekyll
46
46
  def generate_icons
47
47
  @site.static_files.push ico_icon
48
48
  @site.static_files.push(*png_icons)
49
+ @site.static_files.push(*svg_icons)
49
50
  end
50
51
 
51
52
  def ico_icon
@@ -60,6 +61,15 @@ module Jekyll
60
61
  end
61
62
  end
62
63
 
64
+ def svg_icons
65
+ return [] unless Favicon.config['source'].svg?
66
+ source = Favicon.config['source']
67
+ %w[safari-pinned-tab.svg].collect do |name|
68
+ target = File.join Favicon.config['path'], name
69
+ Icon.new @site, source, source_path(source), target
70
+ end
71
+ end
72
+
63
73
  def generate_metadata
64
74
  @site.pages.push metadata Browserconfig.new,
65
75
  Favicon.config['ie']['browserconfig']
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Favicon
3
- VERSION = '0.2.6'.freeze
3
+ VERSION = '0.2.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-favicon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alvaro Faundez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-23 00:00:00.000000000 Z
11
+ date: 2019-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler