image-optimizer 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{image-optimizer}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Martin Kozák}]
12
- s.date = %q{2011-05-29}
12
+ s.date = %q{2011-05-31}
13
13
  s.email = %q{martinkozak@martinkozak.net}
14
14
  s.executables = [%q{image-optimizer}]
15
15
  s.extra_rdoc_files = [
@@ -94,7 +94,7 @@ module ImageOptimizer
94
94
  Optipng.optimize(path, { :level => opts[:level] })
95
95
  end
96
96
 
97
- block.call(path)
97
+ block.call(path.dup)
98
98
  when ".jpg"
99
99
  if Jpegoptim.available?
100
100
  Jpegoptim.optimize(path, opts[:strip].true? ? { :strip => :all } : { })
@@ -104,7 +104,7 @@ module ImageOptimizer
104
104
  Jpegtran.optimize(path, { :optimize => true, :progressive => true })
105
105
  end
106
106
 
107
- block.call(path)
107
+ block.call(path.dup)
108
108
  end
109
109
  end
110
110
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: image-optimizer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Martin Koz\xC3\xA1k"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-29 00:00:00 Z
13
+ date: 2011-05-31 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: yaop
@@ -144,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - ">="
146
146
  - !ruby/object:Gem::Version
147
- hash: -1503019227960848104
147
+ hash: 3854102882158483941
148
148
  segments:
149
149
  - 0
150
150
  version: "0"