image_optim_pack 0.9.1.20230129-x86_64-linux → 0.9.1.20230212-x86_64-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: ab4ed67313ff84f962df2b8eea878f986e6983349f7f9e450c8a79a9402827c3
4
- data.tar.gz: 65c794aca9870544f5dd4a41cde15ca5704e2f6196f5cb6ee074708b740edf0b
3
+ metadata.gz: bf795607379b1d7055735dfe17992f1b82cf66eba84ebc4283e23c43384df285
4
+ data.tar.gz: a019e63cc7a400cd4997cbdb651ab16137149f7025f9e374d55178070f38d710
5
5
  SHA512:
6
- metadata.gz: 586d9b4c0b264df4a103bd58ba3a0c0b0e14f429a96674381c71d941b53149af9fc14b6b2f09b8253056f60ee23de1bc4a4e937ebd9aed62b807fbadef9cf864
7
- data.tar.gz: 4d13343cb71f884360c6e227dc4654c2a924f4f49184080a946a2babfc29fcb3cb63684fc460b5157e0f9952843c04011af85bfd411775a8d18d1adf3f94fb84
6
+ metadata.gz: 3947923992fc595af76c62635013dc3a7e77d3646e27ec47a1ccd9a7e60a80b99cfeb8708859f0607b294ece0798fcdb2fa94e9e0ddf508ea5ff0629f92905ce
7
+ data.tar.gz: 47c1b8db107dfe4b890a2e5d6386927e401a4bce994dc100d99bf9c10e01d8a9540ae1564a811d0f9d24fe7cc9b88bfec0e0941fe184bb3560d35db802bd2427
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_64-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: []