favicon_maker 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- FaviconMaker [![Build Status](https://secure.travis-ci.org/follmann/favicon_maker.png)](http://travis-ci.org/[follmann]/[favicon_maker])
1
+ FaviconMaker [![Build Status](https://secure.travis-ci.org/follmann/favicon_maker.png)](http://travis-ci.org/follmann/favicon_maker)
2
2
  ============
3
3
 
4
4
  Tired of creating a gazillion different favicons to satisfy all kinds of devices and resolutions in different file formats?
@@ -53,7 +53,7 @@ In order to integrate the FaviconMaker effortless into your [Middleman](https://
53
53
  Uses the following defaults:
54
54
 
55
55
  options = {
56
- :versions => [:apple_144, :apple_114, :apple_72, :apple_57, :apple_pre, :apple, :fav_png, :fav_ico],
56
+ :versions => [:apple_144, :apple_120, :apple_114, :apple_72, :apple_57, :apple_pre, :apple, :fav_png, :fav_ico],
57
57
  :custom_versions => {},
58
58
  :root_dir => File.dirname(__FILE__),
59
59
  :input_dir => "favicons",
@@ -66,7 +66,7 @@ Uses the following defaults:
66
66
  (untested attempted Rails integration, using all available options. Could be used in a Rake task or Capistrano recipe)
67
67
 
68
68
  options = {
69
- :versions => [:apple_144, :apple_114, :apple_57, :apple, :fav_png, :fav_ico],
69
+ :versions => [:apple_144, :apple_120, :apple_114, :apple_57, :apple, :fav_png, :fav_ico],
70
70
  :custom_versions => {:apple_extreme_retina => {:filename => "apple-touch-icon-228x228-precomposed.png", :dimensions => "228x228", :format => "png"}},
71
71
  :root_dir => Rails.root,
72
72
  :input_dir => File.join("app", "assets", "public"),
@@ -84,4 +84,4 @@ Choose the version with the biggest dimension as your base image. Currently the
84
84
 
85
85
  ## Copyright
86
86
 
87
- © 2011 Andreas Follmann. See LICENSE for details.
87
+ © 2011 Andreas Follmann. See LICENSE for details.
@@ -6,6 +6,7 @@ module FaviconMaker
6
6
 
7
7
  ICON_VERSIONS = {
8
8
  :apple_144 => {:filename => "apple-touch-icon-144x144-precomposed.png", :sizes => "144x144", :format => "png"},
9
+ :apple_120 => {:filename => "apple-touch-icon-120x120-precomposed.png", :sizes => "120x120", :format => "png"},
9
10
  :apple_114 => {:filename => "apple-touch-icon-114x114-precomposed.png", :sizes => "114x114", :format => "png"},
10
11
  :apple_72 => {:filename => "apple-touch-icon-72x72-precomposed.png", :sizes => "72x72", :format => "png"},
11
12
  :apple_57 => {:filename => "apple-touch-icon-57x57-precomposed.png", :sizes => "57x57", :format => "png"},
@@ -87,4 +88,4 @@ module FaviconMaker
87
88
 
88
89
  end
89
90
  end
90
- end
91
+ end
@@ -1,3 +1,3 @@
1
1
  module FaviconMaker
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -5,7 +5,7 @@ describe FaviconMaker, '#create_versions' do
5
5
  @multi_versions = []
6
6
  @uni_versions = []
7
7
  @options = {
8
- :versions => [:apple_144, :apple_114, :apple_72, :apple_57, :apple, :fav_png, :fav_ico],
8
+ :versions => [:apple_144, :apple_120, :apple_114, :apple_72, :apple_57, :apple, :fav_png, :fav_ico],
9
9
  :custom_versions => {:apple_extreme_retina => {:filename => "apple-touch-icon-228x228-precomposed.png", :sizes => "228x228", :format => "png"}},
10
10
  :root_dir => File.join(Dir.pwd, "spec"),
11
11
  :input_dir => "support",
@@ -40,8 +40,8 @@ describe FaviconMaker, '#create_versions' do
40
40
  end
41
41
  end
42
42
 
43
- it "creates 8 different versions" do
44
- @multi_versions.size.should eql(8)
43
+ it "creates 9 different versions" do
44
+ @multi_versions.size.should eql(9)
45
45
  end
46
46
 
47
47
  it "creates files for versions" do
@@ -51,7 +51,7 @@ describe FaviconMaker, '#create_versions' do
51
51
  end
52
52
 
53
53
  after do
54
- # @cleanup.call(@output_dir)
54
+ @cleanup.call(@output_dir)
55
55
  end
56
56
 
57
57
  end
@@ -75,8 +75,8 @@ describe FaviconMaker, '#create_versions' do
75
75
  end
76
76
  end
77
77
 
78
- it "creates 8 different versions" do
79
- @uni_versions.size.should eql(8)
78
+ it "creates 9 different versions" do
79
+ @uni_versions.size.should eql(9)
80
80
  end
81
81
 
82
82
  it "creates files for versions" do
@@ -86,9 +86,9 @@ describe FaviconMaker, '#create_versions' do
86
86
  end
87
87
 
88
88
  after do
89
- # @cleanup.call(@output_dir)
89
+ @cleanup.call(@output_dir)
90
90
  end
91
91
 
92
92
  end
93
93
 
94
- end
94
+ end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: favicon_maker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Andreas Follmann
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-03-17 00:00:00.000000000 Z
12
+ date: 2013-08-06 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: mini_magick
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rspec
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -60,26 +65,27 @@ files:
60
65
  - spec/support/favicon_base_uni.png
61
66
  homepage: https://github.com/follmann/favicon_maker
62
67
  licenses: []
63
- metadata: {}
64
68
  post_install_message:
65
69
  rdoc_options: []
66
70
  require_paths:
67
71
  - lib
68
72
  required_ruby_version: !ruby/object:Gem::Requirement
73
+ none: false
69
74
  requirements:
70
75
  - - ! '>='
71
76
  - !ruby/object:Gem::Version
72
77
  version: '0'
73
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
+ none: false
74
80
  requirements:
75
81
  - - ! '>='
76
82
  - !ruby/object:Gem::Version
77
83
  version: '0'
78
84
  requirements: []
79
85
  rubyforge_project:
80
- rubygems_version: 2.0.3
86
+ rubygems_version: 1.8.23
81
87
  signing_key:
82
- specification_version: 4
88
+ specification_version: 3
83
89
  summary: Create favicon files in various sizes from a base image
84
90
  test_files:
85
91
  - spec/favicon_maker_spec.rb
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Y2Y1MGE2ZDQyZGM5NDJiY2MyMTExNTk0MjE4NzAwNzVjZjk3MmRhMw==
5
- data.tar.gz: !binary |-
6
- MTUyMjAxZjYzODkwNDEyNTYwODczN2IzMTBhOGE2YzViNDhkODJhNA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NGZhY2E0Mjk1N2Q4MTZlYWQ5MWQxZDcwMjExYzZkNzM0M2I0OWJjMDBmY2Ri
10
- ZjZiOTVkZWMyMDExNDNkYjNmOTY0ODQwZTIwNzk5MmI4MWU3OWYxODY5MzIz
11
- Zjk2ZjgyMWRmYTQ3YTk2ZjMzNWVjOTA0MjU2ODA5MjM0ZmFkNDI=
12
- data.tar.gz: !binary |-
13
- YWQwNTk0ZGMyNDA0MmYxNDg3ODc5NjdlNjlmYjUyNjJiNTg1NmI2YzFjYWQy
14
- NDUxNDhiYmU3ODUyMzMyMzUxZjdkNmM4YTRkN2Y0ZjAxZTA1YTRiNDNmZjEz
15
- ZDFhM2ZlNTQ1YzMyMTE3OWU3Yjk3YjE2ZTZjNWFkNWVjOGY2YzY=