middleman-favicon-maker 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +39 -0
- data/lib/version.rb +1 -1
- metadata +4 -3
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
middleman-favicon-maker
|
2
|
+
============
|
3
|
+
Generate favicon files in various sizes from a base image in your middleman project.
|
4
|
+
|
5
|
+
This gem integrates [FaviconMaker](https://github.com/follmann/favicon_maker) effortless into your [Middleman](https://github.com/tdreyno/middleman) project.
|
6
|
+
|
7
|
+
## Install
|
8
|
+
### Standalone
|
9
|
+
gem install middleman-favicon-maker
|
10
|
+
|
11
|
+
### Using Bundler (recommended)
|
12
|
+
...
|
13
|
+
gem "middleman-favicon-maker"
|
14
|
+
...
|
15
|
+
|
16
|
+
## How to integrate into a middleman project
|
17
|
+
In your config.rb extend the configure :build block with:
|
18
|
+
|
19
|
+
configure :build do
|
20
|
+
...
|
21
|
+
activate :favicon_maker
|
22
|
+
...
|
23
|
+
end
|
24
|
+
|
25
|
+
### Customise integration
|
26
|
+
You can set the following options for favicon-maker:
|
27
|
+
|
28
|
+
:favicon_root_dir # default: app.root
|
29
|
+
:favicon_input_dir # default: app.views -> source/
|
30
|
+
:favicon_output_dir # default: app.build_dir -> build/
|
31
|
+
:favicon_base_image # default: "favicon_base.png"
|
32
|
+
:favicon_versions # default: ::FaviconMaker::Generator::ICON_VERSIONS.keys
|
33
|
+
|
34
|
+
e.g.
|
35
|
+
set :favicon_input_dir, "favicons"
|
36
|
+
|
37
|
+
## Copyright
|
38
|
+
|
39
|
+
Copyright (c) 2011 Andreas Follmann. See LICENSE for details.
|
data/lib/version.rb
CHANGED
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: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-10-31 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: favicon_maker
|
16
|
-
requirement: &
|
16
|
+
requirement: &70246045973140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.0.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70246045973140
|
25
25
|
description: Generate favicon files in various sizes from a base image in your middleman
|
26
26
|
project
|
27
27
|
email:
|
@@ -31,6 +31,7 @@ extra_rdoc_files: []
|
|
31
31
|
files:
|
32
32
|
- .gitignore
|
33
33
|
- Gemfile
|
34
|
+
- README.md
|
34
35
|
- lib/middleman-favicon-maker.rb
|
35
36
|
- lib/middleman_init.rb
|
36
37
|
- lib/version.rb
|