piet 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c74e6469f1fb95b0a29b5d90025bc46532576e04
4
- data.tar.gz: 2e5b56d9ebeb82dc2a482ca29cfc0b48fb93ed88
3
+ metadata.gz: a4d8f840cc9e1aa7708725ed3d9a888a0b378857
4
+ data.tar.gz: 60ae4572c09a4cd8516c42beafee4fc79c531207
5
5
  SHA512:
6
- metadata.gz: d1717c5974aa29fc69b8291626ef16bf222c99ccf4f60ea3af8ab50980c481159a78ce334283e301127b61413e809ed55b5742b2fa6fff4c8bf346023f508bb5
7
- data.tar.gz: d2b16863605a39c77e144648776622bf8f7dae3f8a6fec4612f96603a2f44690a26b57467ece82c238004c39cc5921da45474c523d515eb93774fa603d4ff5b7
6
+ metadata.gz: 2ac8d8600011eca99037da2ca3caadfb1ce14f0017eb5e267abb668b8119d813b586807828dd873f0dce5b5b5abcb4883c11420affd04fc87e06e3d06a44feab
7
+ data.tar.gz: db3743b0f5375344bcea349c99a392e792c742cac9f78ba7740fb3b65fcf682689ebdffd50f3d3a28527c796f4bd763a6b685a0975090399793f109af14c1c7c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- piet (0.2.5)
4
+ piet (0.2.6)
5
5
  png_quantizator
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -206,6 +206,7 @@ TODO
206
206
  Changelog
207
207
  ---------
208
208
 
209
+ * v.0.2.6 Strip metadata for PNGs (same way we do with JPEGs) thanks to @PikachuEXE.
209
210
  * v.0.2.5 Improved CI coverage & dropped support for Ruby 1.9
210
211
  * v.0.2.4 Fixed Gemfile issues!
211
212
  * v.0.2.3 More efficient treatment of open files thanks to @lavrovdv.
@@ -30,7 +30,7 @@ module Piet
30
30
  level = (0..7).include?(opts[:level]) ? opts[:level] : 7
31
31
  vo = opts[:verbose] ? "-v" : "-quiet"
32
32
  path.gsub!(/([\(\)\[\]\{\}\*\?\\])/, '\\\\\1')
33
- `#{command_path("optipng")} -o#{level} #{opts[:command_options]} #{vo} #{path}`
33
+ `#{command_path("optipng")} -o#{level} −strip all #{opts[:command_options]} #{vo} #{path}`
34
34
  end
35
35
 
36
36
  def optimize_jpg(path, opts)
@@ -1,3 +1,3 @@
1
1
  module Piet
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Bellonch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-30 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: png_quantizator
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  requirements: []
154
154
  rubyforge_project: piet
155
- rubygems_version: 2.4.5
155
+ rubygems_version: 2.6.11
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: An image optimizer