image_optim_pack 0.2.0.20141210 → 0.2.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.
- checksums.yaml +8 -8
- data/Makefile +5 -5
- data/README.markdown +1 -1
- data/image_optim_pack.gemspec +2 -2
- data/script/livecheck +3 -3
- data/spec/image_optim_spec.rb +1 -0
- data/vendor/darwin/i386/jpegoptim +0 -0
- data/vendor/darwin/i386/libpng.dylib +0 -0
- data/vendor/darwin/i386/optipng +0 -0
- data/vendor/darwin/i386/pngcrush +0 -0
- data/vendor/darwin/i386/pngquant +0 -0
- data/vendor/darwin/x86_64/jpegoptim +0 -0
- data/vendor/darwin/x86_64/libpng.dylib +0 -0
- data/vendor/darwin/x86_64/optipng +0 -0
- data/vendor/darwin/x86_64/pngcrush +0 -0
- data/vendor/darwin/x86_64/pngquant +0 -0
- data/vendor/linux/i686/jpegoptim +0 -0
- data/vendor/linux/i686/libpng.so +0 -0
- data/vendor/linux/i686/optipng +0 -0
- data/vendor/linux/i686/pngcrush +0 -0
- data/vendor/linux/i686/pngquant +0 -0
- data/vendor/linux/x86_64/jpegoptim +0 -0
- data/vendor/linux/x86_64/libpng.so +0 -0
- data/vendor/linux/x86_64/optipng +0 -0
- data/vendor/linux/x86_64/pngcrush +0 -0
- data/vendor/linux/x86_64/pngquant +0 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YzRjOWZkZTMxZGIzYzk5MTE0ZmUzZTg2ZmQ4NDkyOWYzYTU3OWMzNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MjI1YzMxMTliM2I5OTE1N2IwNTIzOWFjY2FmYWFiNTk2NzAzZWNkYQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YTYxMWEwOTcwMmE2NDQ0OTNmNmYyYjVmODhkNTIyMWVmNWMwMTc2NWY3YTkz
|
|
10
|
+
NzBmMDc3ZDg0ZmQxNjY4ZWQwYmVhYTg0YTc3ZGY5MTFmODlmZTZmM2I3NWE4
|
|
11
|
+
ZTMzNTU3MjcxNmJkMTI2ZmE4ZjljY2MxNWY4M2YwNDExMWE5MmQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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.
|
|
9
|
+
JPEGOPTIM_VER := 1.4.2
|
|
10
10
|
LIBJPEG_VER := 9a
|
|
11
11
|
LIBMOZJPEG_VER := 2.1
|
|
12
|
-
LIBPNG_VER := 1.6.
|
|
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.
|
|
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
|
|
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
|
|
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
|
data/image_optim_pack.gemspec
CHANGED
|
@@ -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.
|
|
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
|
|
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
|
|
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:
|
|
88
|
-
regexp: pngquant
|
|
87
|
+
url: https://github.com/pornel/pngquant/releases.atom
|
|
88
|
+
regexp: /pornel/pngquant/releases/tag/(\d+(?:\.\d+)*)
|
data/spec/image_optim_spec.rb
CHANGED
|
Binary file
|
|
Binary file
|
data/vendor/darwin/i386/optipng
CHANGED
|
Binary file
|
data/vendor/darwin/i386/pngcrush
CHANGED
|
Binary file
|
data/vendor/darwin/i386/pngquant
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/vendor/linux/i686/jpegoptim
CHANGED
|
Binary file
|
data/vendor/linux/i686/libpng.so
CHANGED
|
Binary file
|
data/vendor/linux/i686/optipng
CHANGED
|
Binary file
|
data/vendor/linux/i686/pngcrush
CHANGED
|
Binary file
|
data/vendor/linux/i686/pngquant
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/vendor/linux/x86_64/optipng
CHANGED
|
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.
|
|
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-
|
|
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
|
|
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
|
|
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.
|
|
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,
|