middleman-favicon-maker 3.1.2 → 3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzA2MzM4MTI0NDhmNWIwMzg5Y2NjYWZiNjQ5OGRjNGJmM2RhN2FjYw==
4
+ ZTRiMjk3N2FmYzA3OWNjMzE1ZjIzNDQ2YjAwZmY5ZjhiZTBmMjYzMQ==
5
5
  data.tar.gz: !binary |-
6
- MTJiMzI1ZTcwNTE3ODExZjAzOTFjODU3NmIyOTI0YmUzYmM0YjBlNQ==
6
+ Y2U5OWQ1MzEyNTUxYjkyYjQ2MmExMGU1YWE4NmYyZGNjYTI5NjNmMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YWUyMGMxM2YwN2JiMGRhYTIyOTFmZWJiOGM2YmE0YjBmYTVjNWE4ODg3Zjli
10
- Yjk3MjFhMDU3OWUwNWZkNGQyOGQwMWI3ZmYwMDc4NTUzMWQxY2ZhYThhNzc1
11
- ZTcxMDJjNDhkYzFmZWIwMzZjY2JiMjRlYjIzZGMyYmI5NmU2NDQ=
9
+ MjQwYTExYzQxMzk1ZTYzZDA0NDYwZTVkYjBhMWEwODViODJlNTgyMDYxOTRm
10
+ M2MyMzIxMWFkNGZiNGE0YTc0NjU5YWEwOTVjMGUxNzc4OGZjMTIzMjAwZTM5
11
+ NmViZmYzNGE5YzY2ZDAxZGI2NzA1OTBmODQxYmZiNDQ0NWUwODU=
12
12
  data.tar.gz: !binary |-
13
- OWIxOWZlMWE5ZmM2MzVjODc1MDM2ODY4OGQ3MGFhNTY1YmE0ZTE1OGZlMDFi
14
- YzU0MTM3ZTJhNWRiYmRkZTNhOWRiOGMwOGY0NGZmMDBkZDE4MzI0ZDE3NTM0
15
- ZTIxOTk3NThjMjc1NzQ4ZTIyOGEyMzBiZmVhNjE2NWE5NjcwODg=
13
+ ZWJlNGYzZThmODZmOTY3ZDkxYjI4Yzc1NDE2OGNjOWM3ZTUxOTdmNGRjNzEy
14
+ ZTNlYTQwYTg2ZGQzOGNmYWM2ZWUwNmY5NDRjNTIwZTQyY2VhZDQzZDQwZmQ4
15
+ MTA5MGVkNjFhNjcyNDNiNmU0ZjYwZmMxZmQ4MmY4ZjBiYzEzZDc=
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- middleman-favicon-maker
1
+ middleman-favicon-maker [![Build Status](https://secure.travis-ci.org/follmann/middleman-favicon-maker.png)](http://travis-ci.org/[follmann]/[middleman-favicon-maker])
2
2
  =======================
3
3
  Generate favicon files in various sizes from a base image in your [Middleman](http://middlemanapp.com/) project.
4
4
 
@@ -15,11 +15,11 @@ This gem integrates [FaviconMaker](https://github.com/follmann/favicon_maker) ef
15
15
  gem "middleman-favicon-maker"
16
16
 
17
17
  #### Don't forget ImageMagick
18
- > ImageMagick is a dependecy of a dependecy of favicon_maker and therefore of this Gem as well. People tripped over this before, so be sure to have it installed.
18
+ > ImageMagick is a dependecy of a dependecy of favicon_maker and therefore of this Gem as well. People tripped over this before, so be sure to have it installed.
19
19
  > e.g. on OSX a simple ```$ brew install imagemagick``` does it.
20
20
 
21
21
  ## How to integrate into a middleman project
22
- 1. Put a file called **favicon_base.png** into your source folder (ideally with the **dimensions of 114x114 pixels**)
22
+ 1. Put a file called **favicon_base.png** into your source folder (ideally with the **dimensions of 144x144 pixels**)
23
23
  <br><br>
24
24
  2. In your config.rb extend the `configure :build` block with:
25
25
 
@@ -31,9 +31,10 @@ This gem integrates [FaviconMaker](https://github.com/follmann/favicon_maker) ef
31
31
 
32
32
  That results in the following files being created in your middleman build directory:
33
33
 
34
- build/apple-touch-icon-57x57-precomposed.png
35
- build/apple-touch-icon-72x72-precomposed.png
34
+ build/apple-touch-icon-144x144-precomposed.png
36
35
  build/apple-touch-icon-114x114-precomposed.png
36
+ build/apple-touch-icon-72x72-precomposed.png
37
+ build/apple-touch-icon-57x57-precomposed.png
37
38
  build/apple-touch-icon-precomposed.png
38
39
  build/apple-touch-icon.png
39
40
  build/favicon.ico
@@ -58,6 +59,27 @@ You can set the following options for `middleman-favicon-maker`:
58
59
  set :favicon_maker_input_dir, "favicons"
59
60
  set :favicon_maker_custom_versions, {:apple_extreme_retina => {:filename => "apple-touch-icon-228x228-precomposed.png", :dimensions => "228x228", :format => "png"}}
60
61
 
62
+ ## Meta links to include in your markup
63
+ > This is not strictly neccessary if you only want to support iOS devices. Since the filenames used for the icons are picked up automatically by iOS if the files sit in the root dir, similar to how a favicon.ico is found. If you wnat to make sure Android and Blackberry use the icons as well, you have to reference them in the document.
64
+ > More information on this topic: [Everything you always wanted to know about touch icons](http://mathiasbynens.be/notes/touch-icons)
65
+
66
+ ### HTML
67
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png" />
68
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png" />
69
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png" />
70
+ <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png" />
71
+ <link rel="shortcut icon" href="favicon.png" />
72
+ <!-- should actually be placed in your root dir -->
73
+ <link rel="icon" type="image/ico" href="favicon.ico" />
74
+ ### HAML
75
+ %link{ rel: "apple-touch-icon", sizes: "144x144", href: "apple-touch-icon-144x144-precomposed.png" }
76
+ %link{ rel: "apple-touch-icon", sizes: "114x114", href: "apple-touch-icon-114x114-precomposed.png" }
77
+ %link{ rel: "apple-touch-icon", sizes: "72x72", href: "apple-touch-icon-72x72-precomposed.png" }
78
+ %link{ rel: "apple-touch-icon", href: "apple-touch-icon-precomposed.png" }
79
+ %link{ rel: "shortcut icon", href: "favicon.png" }
80
+ / should actually be placed in your root dir
81
+ %link{ rel: "icon", type: "image/ico", href: "favicon.ico" }
82
+
61
83
  ## Copyright
62
84
 
63
85
  &copy; 2011-2013 Andreas Follmann. See LICENSE for details.
@@ -1,9 +1,9 @@
1
1
  module Middleman
2
2
  module FaviconMaker
3
3
  MAJOR = 3
4
- MINOR = 1
5
- PATCH = 2
6
- BUILD = nil
4
+ MINOR = 2
5
+ PATCH = nil
6
+ BUILD = nil
7
7
 
8
8
  VERSION = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
9
9
  end
@@ -20,5 +20,5 @@ Gem::Specification.new do |gem|
20
20
 
21
21
  # Additional dependencies
22
22
  gem.add_runtime_dependency("middleman-core", [">= 3.0.0"])
23
- gem.add_runtime_dependency("favicon_maker", ["~>0.1.1"])
23
+ gem.add_runtime_dependency("favicon_maker", ["~>0.2.0"])
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-favicon-maker
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: '3.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Follmann
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-09 00:00:00.000000000 Z
12
+ date: 2013-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 0.1.1
34
+ version: 0.2.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ~>
40
40
  - !ruby/object:Gem::Version
41
- version: 0.1.1
41
+ version: 0.2.0
42
42
  description: Generate favicon files in various sizes from a base image in your Middleman
43
43
  project
44
44
  email: