image_optim_pack 0.9.1.20230129-x86_64-darwin → 0.9.1.20230212-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +4 -0
- data/Makefile +1 -1
- data/checksums.mk +1 -1
- data/image_optim_pack.gemspec +1 -1
- data/script/livecheck +82 -64
- data/vendor/darwin-x86_64/jpegoptim +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2d35953edc29c9106cde8b6ecb9058f4d0565cc6aefd95b92e399b486694a2c
|
4
|
+
data.tar.gz: 628057ede34738a65aa19ab2b9a235fe02872fba70475f12ed6d478de6d6d377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5852c58f06cc17b385dd8c740150dab5ccff112db540f1616b381d2908a509de7ad29cea38081000bac825df84e2ff4803c6c171ebfe8e40865317f31bcc6b55
|
7
|
+
data.tar.gz: 870797629433ce02669c1510aea8c87cb99d1f8ea1da65e3c8c63c5307cd28ba2e92e087688cdfa49f8bd14757bb72def18df6109b82408c6c0a946bfd7d2ad8
|
data/CHANGELOG.markdown
CHANGED
data/Makefile
CHANGED
data/checksums.mk
CHANGED
@@ -2,7 +2,7 @@ ADVANCECOMP_SHA256 := 90b8ecad387b4770658e85be850b22318ee9e375cbad85ad25c8519d93
|
|
2
2
|
GIFSICLE_SHA256 := 92f67079732bf4c1da087e6ae0905205846e5ac777ba5caa66d12a73aa943447
|
3
3
|
JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
|
4
4
|
JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
|
5
|
-
JPEGOPTIM_SHA256 :=
|
5
|
+
JPEGOPTIM_SHA256 := e8701cc85c065e05747a15da72ebb403056ebecaa98e2806cf69cdd443397910
|
6
6
|
LIBJPEG_SHA256 := 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d
|
7
7
|
LIBLCMS_SHA256 := 28474ea6f6591c4d4cee972123587001a4e6e353412a41b3e9e82219818d5740
|
8
8
|
LIBMOZJPEG_SHA256 := 66b1b8d6b55d263f35f27f55acaaa3234df2a401232de99b6d099e2bb0a9d196
|
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.9.1.
|
5
|
+
s.version = '0.9.1.20230212'
|
6
6
|
s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
|
7
7
|
s.homepage = "https://github.com/toy/#{s.name}"
|
8
8
|
s.authors = ['Ivan Kuchin']
|
data/script/livecheck
CHANGED
@@ -7,71 +7,85 @@ require 'openssl'
|
|
7
7
|
require 'rubygems/version'
|
8
8
|
require 'fspath'
|
9
9
|
|
10
|
+
CONFIG = {
|
11
|
+
advancecomp: {
|
12
|
+
url: 'https://github.com/amadvance/advancecomp/releases.atom',
|
13
|
+
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
14
|
+
info_url: 'http://www.advancemame.it/comp-history',
|
15
|
+
},
|
16
|
+
gifsicle: {
|
17
|
+
url: 'https://www.lcdf.org/gifsicle/',
|
18
|
+
regexp: /gifsicle-(\d+(?:\.\d+)*)\.tar\.gz/,
|
19
|
+
info_url: 'https://www.lcdf.org/gifsicle/changes.html',
|
20
|
+
},
|
21
|
+
jhead: {
|
22
|
+
url: 'https://www.sentex.ca/~mwandel/jhead/',
|
23
|
+
regexp: /jhead-(\d+(?:\.\d+)*)/,
|
24
|
+
info_url: 'https://www.sentex.ca/~mwandel/jhead/changes.txt',
|
25
|
+
},
|
26
|
+
jpegoptim: {
|
27
|
+
url: 'https://github.com/tjko/jpegoptim/tags.atom',
|
28
|
+
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
29
|
+
info_url: 'https://github.com/tjko/jpegoptim/#readme',
|
30
|
+
},
|
31
|
+
jpegarchive: {
|
32
|
+
url: 'https://github.com/danielgtaylor/jpeg-archive/releases.atom',
|
33
|
+
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
34
|
+
info_url: 'https://github.com/danielgtaylor/jpeg-archive/releases',
|
35
|
+
},
|
36
|
+
libjpeg: {
|
37
|
+
url: 'https://www.ijg.org/files/',
|
38
|
+
regexp: /jpegsrc.v(.*?).tar.gz/,
|
39
|
+
info_url: 'https://jpegclub.org/reference/reference-sources/#:~:text=CHANGE%20LOG',
|
40
|
+
},
|
41
|
+
liblcms: {
|
42
|
+
url: 'https://sourceforge.net/projects/lcms/rss?path=/lcms',
|
43
|
+
regexp: %r{/lcms/(\d+(?:\.\d+)*)/},
|
44
|
+
info_url: 'https://www.littlecms.com/blog/',
|
45
|
+
},
|
46
|
+
libmozjpeg: {
|
47
|
+
url: 'https://github.com/mozilla/mozjpeg/releases.atom',
|
48
|
+
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
49
|
+
info_url: 'https://github.com/mozilla/mozjpeg/releases',
|
50
|
+
},
|
51
|
+
libpng: {
|
52
|
+
url: 'https://sourceforge.net/projects/libpng/rss?path=/libpng16',
|
53
|
+
regexp: %r{/libpng\d*/(\d+(?:\.\d+)*)/},
|
54
|
+
info_url: 'https://github.com/glennrp/libpng/blob/libpng16/CHANGES#:~:text=Send%20comments/corrections/commendations%20to%20png%2Dmng%2Dimplement%20at%20lists.sf.net.',
|
55
|
+
},
|
56
|
+
libz: {
|
57
|
+
url: 'https://sourceforge.net/projects/libpng/rss?path=/zlib',
|
58
|
+
regexp: %r{/zlib/(\d+(?:\.\d+)*)/},
|
59
|
+
info_url: 'https://github.com/glennrp/zlib/blob/master/ChangeLog',
|
60
|
+
},
|
61
|
+
optipng: {
|
62
|
+
url: 'https://sourceforge.net/projects/optipng/rss',
|
63
|
+
regexp: %r{/OptiPNG/optipng-(\d+(?:\.\d+)*)/},
|
64
|
+
info_url: 'https://optipng.sourceforge.net/history.txt',
|
65
|
+
},
|
66
|
+
oxipng: {
|
67
|
+
url: 'https://github.com/shssoichiro/oxipng/releases.atom',
|
68
|
+
regexp: %r{<id>tag:github.com,2008:Repository/\d+/v(\d+(?:\.\d+)*)</id>},
|
69
|
+
info_url: 'https://github.com/shssoichiro/oxipng/releases',
|
70
|
+
},
|
71
|
+
pngcrush: {
|
72
|
+
url: 'https://sourceforge.net/projects/pmt/rss?path=/pngcrush',
|
73
|
+
regexp: %r{/pngcrush/(\d+(?:\.\d+)*)/},
|
74
|
+
info_url: 'https://pmt.sourceforge.io/pngcrush/ChangeLog.html',
|
75
|
+
},
|
76
|
+
pngout: {
|
77
|
+
url: 'http://www.jonof.id.au/kenutils.html',
|
78
|
+
regexp: %r{/files/kenutils/pngout-(\d{8})-linux.tar.gz},
|
79
|
+
info_url: 'http://www.jonof.id.au/kenutils.html#:~:text=Revision%20history',
|
80
|
+
},
|
81
|
+
pngquant: {
|
82
|
+
url: 'https://pngquant.org/releases.html',
|
83
|
+
regexp: %r{<span itemprop='version'>(\d+(?:\.\d+)*)</span>},
|
84
|
+
},
|
85
|
+
}.freeze
|
86
|
+
|
10
87
|
# Fetch and compare latest tool/library versions
|
11
88
|
class Livecheck
|
12
|
-
CONFIG = {
|
13
|
-
advancecomp: {
|
14
|
-
url: 'https://github.com/amadvance/advancecomp/releases.atom',
|
15
|
-
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
16
|
-
},
|
17
|
-
gifsicle: {
|
18
|
-
url: 'https://www.lcdf.org/gifsicle/',
|
19
|
-
regexp: /gifsicle-(\d+(?:\.\d+)*)\.tar\.gz/,
|
20
|
-
},
|
21
|
-
jhead: {
|
22
|
-
url: 'https://www.sentex.ca/~mwandel/jhead/',
|
23
|
-
regexp: /jhead-(\d+(?:\.\d+)*)/,
|
24
|
-
},
|
25
|
-
jpegoptim: {
|
26
|
-
url: 'https://github.com/tjko/jpegoptim/tags.atom',
|
27
|
-
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
28
|
-
},
|
29
|
-
jpegarchive: {
|
30
|
-
url: 'https://github.com/danielgtaylor/jpeg-archive/releases.atom',
|
31
|
-
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
32
|
-
},
|
33
|
-
libjpeg: {
|
34
|
-
url: 'https://www.ijg.org/files/',
|
35
|
-
regexp: /jpegsrc.v(.*?).tar.gz/,
|
36
|
-
},
|
37
|
-
liblcms: {
|
38
|
-
url: 'https://sourceforge.net/projects/lcms/rss?path=/lcms',
|
39
|
-
regexp: %r{/lcms/(\d+(?:\.\d+)*)/},
|
40
|
-
},
|
41
|
-
libmozjpeg: {
|
42
|
-
url: 'https://github.com/mozilla/mozjpeg/releases.atom',
|
43
|
-
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
44
|
-
},
|
45
|
-
libpng: {
|
46
|
-
url: 'https://sourceforge.net/projects/libpng/rss?path=/libpng16',
|
47
|
-
regexp: %r{/libpng\d*/(\d+(?:\.\d+)*)/},
|
48
|
-
},
|
49
|
-
libz: {
|
50
|
-
url: 'https://sourceforge.net/projects/libpng/rss?path=/zlib',
|
51
|
-
regexp: %r{/zlib/(\d+(?:\.\d+)*)/},
|
52
|
-
},
|
53
|
-
optipng: {
|
54
|
-
url: 'https://sourceforge.net/projects/optipng/rss',
|
55
|
-
regexp: %r{/OptiPNG/optipng-(\d+(?:\.\d+)*)/},
|
56
|
-
},
|
57
|
-
oxipng: {
|
58
|
-
url: 'https://github.com/shssoichiro/oxipng/releases.atom',
|
59
|
-
regexp: %r{<id>tag:github.com,2008:Repository/\d+/v(\d+(?:\.\d+)*)</id>},
|
60
|
-
},
|
61
|
-
pngcrush: {
|
62
|
-
url: 'https://sourceforge.net/projects/pmt/rss?path=/pngcrush',
|
63
|
-
regexp: %r{/pngcrush/(\d+(?:\.\d+)*)/},
|
64
|
-
},
|
65
|
-
pngout: {
|
66
|
-
url: 'http://www.jonof.id.au/kenutils.html',
|
67
|
-
regexp: %r{/files/kenutils/pngout-(\d{8})-linux.tar.gz},
|
68
|
-
},
|
69
|
-
pngquant: {
|
70
|
-
url: 'https://pngquant.org/releases.html',
|
71
|
-
regexp: %r{<span itemprop='version'>(\d+(?:\.\d+)*)</span>},
|
72
|
-
},
|
73
|
-
}.freeze
|
74
|
-
|
75
89
|
# Commands
|
76
90
|
class Cli
|
77
91
|
VERSION_REGEXP = /^([A-Z]+)_VER *:= *(.*)$/.freeze
|
@@ -101,7 +115,7 @@ class Livecheck
|
|
101
115
|
livechecks.each do |lc|
|
102
116
|
next unless lc.changed?
|
103
117
|
|
104
|
-
puts "#{lc.name_n_latest_version} (current: #{lc.current_version})"
|
118
|
+
puts "#{lc.name_n_latest_version} (current: #{lc.current_version}) #{lc.info_url}"
|
105
119
|
end
|
106
120
|
end
|
107
121
|
|
@@ -205,6 +219,10 @@ class Livecheck
|
|
205
219
|
"#{name} #{latest_version}"
|
206
220
|
end
|
207
221
|
|
222
|
+
def info_url
|
223
|
+
config[:info_url]
|
224
|
+
end
|
225
|
+
|
208
226
|
private
|
209
227
|
|
210
228
|
def config
|
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.9.1.
|
4
|
+
version: 0.9.1.20230212
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -181,7 +181,7 @@ licenses:
|
|
181
181
|
metadata:
|
182
182
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
183
183
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
184
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.9.1.
|
184
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.9.1.20230212
|
185
185
|
source_code_uri: https://github.com/toy/image_optim_pack
|
186
186
|
post_install_message:
|
187
187
|
rdoc_options: []
|