favicon_maker 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 404740b87f448693d04a94f3162639fb35df1977
4
+ data.tar.gz: 76a2784e2bbcdb8bc81db6ef7d197d83bc1f661b
5
+ SHA512:
6
+ metadata.gz: cb620d85eeea193ccfc242c7258c724200e017bdd169ee8f299293fbcb98198389d9951e038f14c049cb67548799d40dbed9a43cf1149852dc57e223aa62cc17
7
+ data.tar.gz: 9fd87d36528d95b3d6be5a58dfc34fed240996b10a01ae98a3db6a53001fd40cd9c58814e26a5ace50a220850920ae2e4698fa61aa715f06adfbc23ce0f6a2d5
@@ -72,12 +72,12 @@ module FaviconMaker
72
72
  image.colorspace colorspace_conv.last
73
73
  image.write output_file
74
74
  when :ico
75
- ico_cmd = "convert #{input_file} -colorspace #{colorspace_conv.first} "
75
+ ico_cmd = "convert \"#{input_file}\" -colorspace #{colorspace_conv.first} "
76
76
  escapes = "\\" unless is_windows
77
77
  sizes.split(',').sort_by{|s| s.split('x')[0].to_i}.each do |size|
78
78
  ico_cmd << "#{escapes}( -clone 0 -colors 256 -resize #{size} #{escapes}) "
79
79
  end
80
- ico_cmd << "-delete 0 -colors 256 -colorspace #{colorspace_conv.last} #{File.join(output_path, version[:filename])}"
80
+ ico_cmd << "-delete 0 -colors 256 -colorspace #{colorspace_conv.last} \"#{File.join(output_path, version[:filename])}\""
81
81
  puts `#{ico_cmd}`
82
82
  end
83
83
  build_mode = :generated
@@ -1,3 +1,3 @@
1
1
  module FaviconMaker
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -25,7 +25,7 @@ describe FaviconMaker, '#create_versions' do
25
25
  context "multi-color icon" do
26
26
  before do
27
27
  options = @options.merge({
28
- :base_image => "favicon_base.png",
28
+ :base_image => "favicon base.png",
29
29
  :output_dir => "output1"
30
30
  })
31
31
 
File without changes
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: 0.2.3
5
- prerelease:
4
+ version: 0.2.4
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-08-06 00:00:00.000000000 Z
11
+ date: 2013-12-10 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
@@ -61,34 +56,33 @@ files:
61
56
  - lib/favicon_maker/version.rb
62
57
  - spec/favicon_maker_spec.rb
63
58
  - spec/spec_helper.rb
64
- - spec/support/favicon_base.png
59
+ - spec/support/favicon base.png
65
60
  - spec/support/favicon_base_uni.png
66
61
  homepage: https://github.com/follmann/favicon_maker
67
62
  licenses: []
63
+ metadata: {}
68
64
  post_install_message:
69
65
  rdoc_options: []
70
66
  require_paths:
71
67
  - lib
72
68
  required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
69
  requirements:
75
- - - ! '>='
70
+ - - '>='
76
71
  - !ruby/object:Gem::Version
77
72
  version: '0'
78
73
  required_rubygems_version: !ruby/object:Gem::Requirement
79
- none: false
80
74
  requirements:
81
- - - ! '>='
75
+ - - '>='
82
76
  - !ruby/object:Gem::Version
83
77
  version: '0'
84
78
  requirements: []
85
79
  rubyforge_project:
86
- rubygems_version: 1.8.23
80
+ rubygems_version: 2.1.11
87
81
  signing_key:
88
- specification_version: 3
82
+ specification_version: 4
89
83
  summary: Create favicon files in various sizes from a base image
90
84
  test_files:
91
85
  - spec/favicon_maker_spec.rb
92
86
  - spec/spec_helper.rb
93
- - spec/support/favicon_base.png
87
+ - spec/support/favicon base.png
94
88
  - spec/support/favicon_base_uni.png