favicon_maker 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/favicon_maker/generator.rb +1 -0
- data/lib/favicon_maker/version.rb +1 -1
- data/spec/favicon_maker_spec.rb +5 -5
- metadata +5 -11
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OGY1MThiYmRlODczZWE3YjY0NGQzZmE0Mjk4ODg4YzgyNTM0ZWU4Mg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OTRlNWI4MjlkZWY5NzI0ZGE1YjMzNjkxZjZhYmU0NzE1YzI1MDlmNg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OTZhYjVlNzRmNGE3NDA3ZGYzZjE5YjIyMGQzZWQ1NTFlMmZjOTEyYWQ5Yjhk
|
10
|
+
NzRjZDljOGZkODM4MGU4NGU1NTAyMzYyODI2YzRkMjVkMGQxMDI1YmVlNTA1
|
11
|
+
ZDIyZDY0NjllMTVkNmE3ZTNjYmMxNmNjMDE2MThlMTg0MWEyYWY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NjQxMGJiMWU0NjdlZDM2MDg4MmEzMTAyMTAyZGZmYzE1NTE2NGE2MzIyYWM3
|
14
|
+
MTA0MTM5ZTNiMjhkMTY3NDc0ZGEyMGZjZjY5ZGQ3NzdiYmRhYjAzYzI5ZDM2
|
15
|
+
MmU0YTg4MjRkZTA0NWIwNDk5ZTc4MWYwNDE2NDIwOWRhZGFmNWM=
|
data/spec/favicon_maker_spec.rb
CHANGED
@@ -4,7 +4,7 @@ describe FaviconMaker, '#create_versions' do
|
|
4
4
|
before(:all) do
|
5
5
|
@versions = []
|
6
6
|
options = {
|
7
|
-
:versions => [:apple_144, :apple_114, :apple_57, :apple, :fav_png, :fav_ico],
|
7
|
+
:versions => [:apple_144, :apple_114, :apple_72, :apple_57, :apple, :fav_png, :fav_ico],
|
8
8
|
:custom_versions => {:apple_extreme_retina => {:filename => "apple-touch-icon-228x228-precomposed.png", :dimensions => "228x228", :format => "png"}},
|
9
9
|
:root_dir => File.join(Dir.pwd, "spec"),
|
10
10
|
:input_dir => "support",
|
@@ -16,16 +16,16 @@ describe FaviconMaker, '#create_versions' do
|
|
16
16
|
@generated_dir = File.join(options[:root_dir], options[:output_dir])
|
17
17
|
Dir.mkdir(@generated_dir)
|
18
18
|
|
19
|
-
FaviconMaker::Generator.create_versions(options) do |filepath|
|
19
|
+
FaviconMaker::Generator.create_versions(options) do |filepath, status|
|
20
20
|
@versions << filepath
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
it "creates
|
25
|
-
@versions.size.should eql(
|
24
|
+
it "creates 8 different versions" do
|
25
|
+
@versions.size.should eql(8)
|
26
26
|
end
|
27
27
|
|
28
|
-
it "creates
|
28
|
+
it "creates files for versions" do
|
29
29
|
@versions.each do |file|
|
30
30
|
File.exists?(file).should be_true
|
31
31
|
end
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: favicon_maker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Andreas Follmann
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-09 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: mini_magick
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rspec
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -64,27 +59,26 @@ files:
|
|
64
59
|
- spec/support/favicon_base.png
|
65
60
|
homepage: https://github.com/follmann/favicon_maker
|
66
61
|
licenses: []
|
62
|
+
metadata: {}
|
67
63
|
post_install_message:
|
68
64
|
rdoc_options: []
|
69
65
|
require_paths:
|
70
66
|
- lib
|
71
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
68
|
requirements:
|
74
69
|
- - ! '>='
|
75
70
|
- !ruby/object:Gem::Version
|
76
71
|
version: '0'
|
77
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
-
none: false
|
79
73
|
requirements:
|
80
74
|
- - ! '>='
|
81
75
|
- !ruby/object:Gem::Version
|
82
76
|
version: '0'
|
83
77
|
requirements: []
|
84
78
|
rubyforge_project:
|
85
|
-
rubygems_version:
|
79
|
+
rubygems_version: 2.0.2
|
86
80
|
signing_key:
|
87
|
-
specification_version:
|
81
|
+
specification_version: 4
|
88
82
|
summary: Create favicon files in various sizes from a base image
|
89
83
|
test_files:
|
90
84
|
- spec/favicon_maker_spec.rb
|