image_optim_pack 0.2.1.20160610 → 0.2.2
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 +2 -2
- data/README.markdown +3 -3
- data/image_optim_pack.gemspec +1 -1
- data/lib/image_optim/pack.rb +10 -2
- data/script/livecheck +2 -2
- data/vendor/darwin/i386/advpng +0 -0
- data/vendor/darwin/x86_64/advpng +0 -0
- data/vendor/linux/i686/advpng +0 -0
- data/vendor/linux/x86_64/advpng +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YTU4OTA2YTNjZDM1MDI5NzE3MDRjZWJkNDliZGQ4ZWI3ZDFlMjQ2MA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZTk1ZGE2MDM4ODZhZGNhNjBmMTBkYWU5YmE5ZDAwN2ZjYTdiZmQ5ZA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZDQ5ODQyNzY2ODRjNDBmZjMxY2VlMTQ1NmI1NGZkMDkxNDE0NWM2YWRlYjky
|
|
10
|
+
OTEyOTE3MDI5NjA1MmVjMmIxMjFkNzRkMWQ2ZDQxZjM3N2QyN2ZkYTUyNTBj
|
|
11
|
+
M2UyZDVkNjUwNzU2MzZmZjA1NjQwYTE5ZjU0YzZjNzBlNGJkNTk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YzgxYjE2YmVlYjIwMWExMDcwYjNlZDI1N2Y4ZTQ2NThiZDAwZmQyMTc1NWRi
|
|
14
|
+
YzVjY2U3MTUwNTk5NzE5NWUxMDVkNWU1ZmZjOWQ3OTIxYzM0YmY4Y2NmNDU3
|
|
15
|
+
NmVhMWM2NTI5ODg1ZTVlMmFjOTBlNWZkMjA4ODMzMWE1MDVmNTg=
|
data/Makefile
CHANGED
|
@@ -2,7 +2,7 @@ run : all
|
|
|
2
2
|
|
|
3
3
|
# ====== VERSIONS ======
|
|
4
4
|
|
|
5
|
-
ADVANCECOMP_VER := 1.
|
|
5
|
+
ADVANCECOMP_VER := 1.20
|
|
6
6
|
GIFSICLE_VER := 1.88
|
|
7
7
|
JHEAD_VER := 3.00
|
|
8
8
|
JPEGARCHIVE_VER := 2.1.1
|
|
@@ -64,7 +64,7 @@ $$($1_TGZ) :; $$(call download,$$($1_URL),$$@)
|
|
|
64
64
|
livecheck-$(call downcase,$1) :; @script/livecheck $(call downcase,$1) $($1_VER)
|
|
65
65
|
endef
|
|
66
66
|
|
|
67
|
-
$(eval $(call archive,ADVANCECOMP,
|
|
67
|
+
$(eval $(call archive,ADVANCECOMP, https://github.com/amadvance/advancecomp/releases/download/v[VER]/advancecomp-[VER].tar.gz))
|
|
68
68
|
$(eval $(call archive,GIFSICLE, http://www.lcdf.org/gifsicle/gifsicle-[VER].tar.gz))
|
|
69
69
|
$(eval $(call archive,JHEAD, http://www.sentex.net/~mwandel/jhead/jhead-[VER].tar.gz))
|
|
70
70
|
$(eval $(call archive,JPEGARCHIVE, https://github.com/danielgtaylor/jpeg-archive/archive/[VER].tar.gz))
|
data/README.markdown
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
[](https://travis-ci.org/toy/image_optim_pack)
|
|
3
3
|
[](https://codeclimate.com/github/toy/image_optim_pack)
|
|
4
4
|
[](https://gemnasium.com/toy/image_optim_pack)
|
|
5
|
-
[](https://inch-ci.org/github/toy/image_optim_pack)
|
|
6
6
|
|
|
7
7
|
# image\_optim\_pack
|
|
8
8
|
|
|
@@ -12,9 +12,9 @@ Contains binaries for Mac OS X (>= 10.6, i386 and x86\_64) and Linux (i686 and x
|
|
|
12
12
|
|
|
13
13
|
## Binaries and libraries
|
|
14
14
|
|
|
15
|
-
* [advpng](http://advancemame.
|
|
15
|
+
* [advpng](http://www.advancemame.it/doc-advpng.html) by Andrea Mazzoleni and Filipe Estima ([GNU GPLv3](acknowledgements/advancecomp.txt))
|
|
16
16
|
* contains parts of [7z](http://7-zip.org) by Igor Pavlov with modifications by Andrea Mazzoleni ([license](acknowledgements/7z.txt))
|
|
17
|
-
* and [zopfli](https://code.google.com/p/zopfli/) by Lode Vandevenne and Jyrki ([license](acknowledgements/zopfli.txt), [contributors](acknowledgements/zopfli-contributors.txt))
|
|
17
|
+
* and [zopfli](https://code.google.com/p/zopfli/) by Lode Vandevenne and Jyrki Alakuijala ([license](acknowledgements/zopfli.txt), [contributors](acknowledgements/zopfli-contributors.txt))
|
|
18
18
|
* [gifsicle](http://lcdf.org/gifsicle/) by Eddie Kohler ([GNU GPLv2](acknowledgements/gifsicle.txt))
|
|
19
19
|
* [jhead](http://sentex.net/~mwandel/jhead/) by Matthias Wandel ([public domain](acknowledgements/jhead.txt))
|
|
20
20
|
* [jpeg-recompress](https://github.com/danielgtaylor/jpeg-archive) by Daniel G. Taylor ([license](acknowledgements/jpeg-archive.txt))
|
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.2'
|
|
6
6
|
s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
|
|
7
7
|
s.homepage = "http://github.com/toy/#{s.name}"
|
|
8
8
|
s.authors = ['Ivan Kuchin']
|
data/lib/image_optim/pack.rb
CHANGED
|
@@ -64,10 +64,18 @@ class ImageOptim
|
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# downcased `uname -s`
|
|
67
|
-
OS =
|
|
67
|
+
OS = begin
|
|
68
|
+
`uname -s`.strip.downcase
|
|
69
|
+
rescue Errno::ENOENT
|
|
70
|
+
'unknown'
|
|
71
|
+
end
|
|
68
72
|
|
|
69
73
|
# downcased `uname -m`
|
|
70
|
-
ARCH =
|
|
74
|
+
ARCH = begin
|
|
75
|
+
`uname -m`.strip.downcase
|
|
76
|
+
rescue Errno::ENOENT
|
|
77
|
+
'unknown'
|
|
78
|
+
end
|
|
71
79
|
|
|
72
80
|
# Path to vendor at root of image_optim_pack
|
|
73
81
|
VENDOR_PATH = FSPath('../../../vendor').expand_path(__FILE__)
|
data/script/livecheck
CHANGED
|
@@ -52,8 +52,8 @@ end
|
|
|
52
52
|
|
|
53
53
|
__END__
|
|
54
54
|
advancecomp:
|
|
55
|
-
url: https://
|
|
56
|
-
regexp: /advancecomp/(\d+(?:\.\d+)*)
|
|
55
|
+
url: https://github.com/amadvance/advancecomp/releases.atom
|
|
56
|
+
regexp: /amadvance/advancecomp/releases/tag/v(\d+(?:\.\d+)*)
|
|
57
57
|
gifsicle:
|
|
58
58
|
url: https://www.lcdf.org/gifsicle/
|
|
59
59
|
regexp: gifsicle-(\d+(?:\.\d+)*)\.tar\.gz
|
data/vendor/darwin/i386/advpng
CHANGED
|
Binary file
|
data/vendor/darwin/x86_64/advpng
CHANGED
|
Binary file
|
data/vendor/linux/i686/advpng
CHANGED
|
Binary file
|
data/vendor/linux/x86_64/advpng
CHANGED
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Kuchin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: image_optim
|