image_optim_pack 0.9.1.20230129-x86-linux → 0.9.1.20230212-x86-linux

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
  SHA256:
3
- metadata.gz: 9e1db2a4cfe823482c7229236af474259a3cbb40e4f24c559d8dcb81c85d30b7
4
- data.tar.gz: 48340849e36319d1475da40ae0728d82f3b9acc9886b402a6eaa251d759b2fe8
3
+ metadata.gz: c75eeebaa2876844b9a744dbf7d1cf27808fe67302dcc5b76b2c6726cc8541ed
4
+ data.tar.gz: cb454e7b79dacdf0a5af954b50ed7db78e2d682e12a38b34bfe61aeb2fbc38f4
5
5
  SHA512:
6
- metadata.gz: d884075692eaa3387bdcfdae1e8003bdd8d6fc03ecfa1301b01c6b8c31f8449822198c6ae7594294bd6bf29a3afed8c180183de8e51215047fc313aee799cc14
7
- data.tar.gz: 29983559a111afb047d2b4e715df7b174f46ed22fe28120d7fd709e2bd744e141ad948c2be2ce333f5691c315dd983dcf2c48ddeae0e22c4322b9fe4e0ad4d33
6
+ metadata.gz: 36e5274372211fbbf7e8ba88ff545edc7c066b27abc49023bd8a26386a2c68ac98ed3c3e2f7ae4da9231a9d38f7ce610206e34f15c596058c0831a8339cd87b8
7
+ data.tar.gz: 6a373f41990f7b93446caff10b886ea28bb7d0fc59ff4d94de02668de3ab15a1e56c7b28ad0510fff1ff9cc486941e2fc5ebff84cdcdfaca76c2217b55645c10
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.9.1.20230212 (2023-02-12)
6
+
7
+ * jpegoptim 1.5.2 [@toy](https://github.com/toy)
8
+
5
9
  ## v0.9.1.20230129 (2023-01-29)
6
10
 
7
11
  * pngquant 2.18.0 [@toy](https://github.com/toy)
data/Makefile CHANGED
@@ -6,7 +6,7 @@ ADVANCECOMP_VER := 2.5
6
6
  GIFSICLE_VER := 1.93
7
7
  JHEAD_VER := 3.04
8
8
  JPEGARCHIVE_VER := 2.2.0
9
- JPEGOPTIM_VER := 1.5.1
9
+ JPEGOPTIM_VER := 1.5.2
10
10
  LIBJPEG_VER := 9e
11
11
  LIBLCMS_VER := 2.14
12
12
  LIBMOZJPEG_VER := 4.1.1
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 := 07c71dc83802f84227b2dc2cb50fbd154b0a8a270538342163cd1a9b27def22c
5
+ JPEGOPTIM_SHA256 := e8701cc85c065e05747a15da72ebb403056ebecaa98e2806cf69cdd443397910
6
6
  LIBJPEG_SHA256 := 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d
7
7
  LIBLCMS_SHA256 := 28474ea6f6591c4d4cee972123587001a4e6e353412a41b3e9e82219818d5740
8
8
  LIBMOZJPEG_SHA256 := 66b1b8d6b55d263f35f27f55acaaa3234df2a401232de99b6d099e2bb0a9d196
@@ -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.20230129'
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.20230129
4
+ version: 0.9.1.20230212
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-29 00:00:00.000000000 Z
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.20230129
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: []