image_optim_pack 0.2.0.20141210 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTA1ODEzZWVhNDdkNmNmYmY3ZThlZWUzZmRmMTNkMTA1OWVjYTAzNA==
4
+ YzRjOWZkZTMxZGIzYzk5MTE0ZmUzZTg2ZmQ4NDkyOWYzYTU3OWMzNw==
5
5
  data.tar.gz: !binary |-
6
- Yjg4MTJlYjE5YjQzMjZjZWE5NjdhMTBhYzNkMGNiZWFmN2MxMmE0MQ==
6
+ MjI1YzMxMTliM2I5OTE1N2IwNTIzOWFjY2FmYWFiNTk2NzAzZWNkYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGMyZjAwNGQyYTJiNmFjY2U3NGRiNjkzMjIzOTUyYjQxYTM1MzU1MTY4NWYx
10
- ODRhZTlhNzIwNzdhOGM3NzYxMThiOTNjZmZmYTY2ZGJkYjBkN2E0NWI0MGNh
11
- NWFhYzY5MDEwN2ViYjQ5ZmFmNGRmMzFkMzU2NzA4NmYxMjMxMmE=
9
+ YTYxMWEwOTcwMmE2NDQ0OTNmNmYyYjVmODhkNTIyMWVmNWMwMTc2NWY3YTkz
10
+ NzBmMDc3ZDg0ZmQxNjY4ZWQwYmVhYTg0YTc3ZGY5MTFmODlmZTZmM2I3NWE4
11
+ ZTMzNTU3MjcxNmJkMTI2ZmE4ZjljY2MxNWY4M2YwNDExMWE5MmQ=
12
12
  data.tar.gz: !binary |-
13
- OTI1MjJjMGFmNDlhMmE5YjZhYjE0ZGRlODkyZjViOTdmN2Q3ZGZjOTQxNmE3
14
- MmZhNWEwYzhlZTAwYzU2YWViNmI4NjUxYzZmYzZmYjFlNWEwZmY3ZTYyNmNm
15
- NzY1MjQ1ODU2NGRkYzJlYzQwZDI3NjgyNTJjYTcwYzYyMGJiZTI=
13
+ NjZmMDU2M2ZmZWJiYWJlZjkyZjhjNWUwNjIwNTY3OGQ5NjFiZTJjMzI3NjBk
14
+ M2E1MGFkNDllMzJhYWZhZThjOTNlNGZhNjEyOGZkODg3MTQyNTIwNTZjNDBk
15
+ OWViOThjZDMzYmEzNzIyMzJmZDRiYzZkNGFjZTI0MjUwMzM0MTc=
data/Makefile CHANGED
@@ -6,13 +6,13 @@ ADVANCECOMP_VER := 1.19
6
6
  GIFSICLE_VER := 1.87
7
7
  JHEAD_VER := 2.97
8
8
  JPEGARCHIVE_VER := 2.0.1
9
- JPEGOPTIM_VER := 1.4.1
9
+ JPEGOPTIM_VER := 1.4.2
10
10
  LIBJPEG_VER := 9a
11
11
  LIBMOZJPEG_VER := 2.1
12
- LIBPNG_VER := 1.6.15
12
+ LIBPNG_VER := 1.6.16
13
13
  LIBZ_VER := 1.2.8
14
14
  OPTIPNG_VER := 0.7.5
15
- PNGCRUSH_VER := 1.7.81
15
+ PNGCRUSH_VER := 1.7.82
16
16
  PNGQUANT_VER := 2.3.1
17
17
 
18
18
  # ====== CONSTANTS ======
@@ -74,7 +74,7 @@ $(eval $(call archive,LIBMOZJPEG, https://github.com/mozilla/mozjpeg/archive/v[
74
74
  $(eval $(call archive,LIBPNG, http://prdownloads.sourceforge.net/libpng/libpng-[VER].tar.gz?download))
75
75
  $(eval $(call archive,LIBZ, http://prdownloads.sourceforge.net/libpng/zlib-[VER].tar.gz?download))
76
76
  $(eval $(call archive,OPTIPNG, http://prdownloads.sourceforge.net/optipng/optipng-[VER].tar.gz?download))
77
- $(eval $(call archive,PNGCRUSH, http://prdownloads.sourceforge.net/pmt/pngcrush-[VER].tar.gz?download))
77
+ $(eval $(call archive,PNGCRUSH, http://prdownloads.sourceforge.net/pmt/pngcrush-[VER]-nolib.tar.gz?download))
78
78
  $(eval $(call archive,PNGQUANT, https://github.com/pornel/pngquant/archive/[VER].tar.gz))
79
79
 
80
80
  # ====== PRODUCTS ======
@@ -332,7 +332,7 @@ $(OPTIPNG_TARGET) :; $(clean_untar)
332
332
  $(eval $(call depend,PNGCRUSH,LIBPNG LIBZ))
333
333
  $(PNGCRUSH_TARGET) :; $(clean_untar)
334
334
  cd $(@D) && rm -f png.h pngconf.h
335
- cd $(@D) && $(MAKE) -f Makefile-nolib pngcrush \
335
+ cd $(@D) && $(MAKE) -f Makefile pngcrush \
336
336
  LIBS="-lpng -lz -lm" \
337
337
  CFLAGS="$(GCC_FLAGS)" \
338
338
  LDFLAGS="$(XORIGIN) $(GCC_FLAGS)"
data/README.markdown CHANGED
@@ -25,7 +25,7 @@ Contains binaries for Mac OS X (>= 10.6, i386 and x86\_64) and Linux (i686 and x
25
25
  * [libjpeg and jpegtran](http://ijg.org/) by the Independent JPEG Group ([license](acknowledgements/libjpeg.txt))
26
26
  * [libjpeg-turbo](http://www.libjpeg-turbo.org/) by libjpeg-turbo Project ([license](acknowledgements/libjpeg-turbo.txt))
27
27
  * based on libjpeg, see above
28
- * includes [x86 SIMD extension for IJG JPEG library](http://cetus.sakura.ne.jp/softlab/jpeg-x86simd/jpegsimd.html) by MIYASAKA Masaru ([license](acknowledgements/libjpeg-x86-simd.txt))
28
+ * includes [x86 SIMD extension for IJG JPEG library](http://cetus.sakura.ne.jp/softlab/jpeg-x86simd/jpegsimd.html) by Miyasaka Masaru ([license](acknowledgements/libjpeg-x86-simd.txt))
29
29
  * [libpng](http://libpng.org/pub/png/) by Guy Eric Schalnat, Andreas Dilger, Glenn Randers-Pehrson and others ([license](acknowledgements/libpng.txt))
30
30
  * [mozjpeg](https://github.com/mozilla/mozjpeg) by Mozilla Research ([license](acknowledgements/mozjpeg.txt))
31
31
  * base on libjpeg and libjpeg-turbo, see above
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim_pack'
5
- s.version = '0.2.0.20141210'
5
+ s.version = '0.2.1'
6
6
  s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
@@ -21,6 +21,6 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency 'versionomy', '~> 0.4.4'
22
22
  s.add_development_dependency 'rspec', '~> 3.0'
23
23
  if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('1.9.3')
24
- s.add_development_dependency 'rubocop', '~> 0.26.0'
24
+ s.add_development_dependency 'rubocop', '~> 0.26'
25
25
  end
26
26
  end
data/script/livecheck CHANGED
@@ -35,7 +35,7 @@ current_version = ARGV[1] && version(ARGV[1])
35
35
 
36
36
  data = get(url)
37
37
  versions = data.scan(version_regex).uniq.map{ |match| version(match[0]) }
38
- abort 'No versions found' if versions.empty?
38
+ abort "No versions found for #{name}" if versions.empty?
39
39
 
40
40
  latest_version = versions.max
41
41
  case
@@ -84,5 +84,5 @@ pngcrush:
84
84
  url: http://sourceforge.net/projects/pmt/rss?path=/pngcrush
85
85
  regexp: /pngcrush/(\d+(?:\.\d+)*)/
86
86
  pngquant:
87
- url: http://pngquant.org/releases.html
88
- regexp: pngquant-([0-9.]+)-src.tar.bz2
87
+ url: https://github.com/pornel/pngquant/releases.atom
88
+ regexp: /pornel/pngquant/releases/tag/(\d+(?:\.\d+)*)
@@ -36,6 +36,7 @@ describe ImageOptim do
36
36
  nrmse_command = %W[
37
37
  compare
38
38
  -metric RMSE
39
+ -alpha Background
39
40
  #{coalesce_a.to_s.shellescape}
40
41
  #{coalesce_b.to_s.shellescape}
41
42
  /dev/null
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_optim_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.20141210
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-10 00:00:00.000000000 Z
11
+ date: 2014-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 0.26.0
75
+ version: '0.26'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 0.26.0
82
+ version: '0.26'
83
83
  description:
84
84
  email:
85
85
  executables: []
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  requirements: []
197
197
  rubyforge_project: image_optim_pack
198
- rubygems_version: 2.4.4
198
+ rubygems_version: 2.4.5
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: ! 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpegoptim,