image_optim_pack 0.9.1.20230129 → 0.9.1.20230304

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74337ef3b2910b8fe27acd69c59f4a34e7cd94ee9cd9a80cf08e354959b5625b
4
- data.tar.gz: 8bdda85d71ff61f9ab4f98859792120db3a5e7f4075ac74418f24b35b9a8e413
3
+ metadata.gz: 9b4f96ffd39654ad99d66d92dad2fb7b5390c3c793e40fb4df9c7bb19ce7a149
4
+ data.tar.gz: 31fbebee0bc6dded20432e0c5c68ff568d5f194d35ff7910a5aee6f3141bb833
5
5
  SHA512:
6
- metadata.gz: 489afb92a115a6d953317ce23fc84f585faa4f2b37743346b0e81f0bb755c8510139c9f85f5277782fbfa561efeca01fb88e3ec714873f35712fa3d700f03093
7
- data.tar.gz: c148f5fce50b157b12b2fc25ea6a695b5a85256ca96b6e8f6578d442e0b44a2e550328842d846b53cab5fc548deaba138a7c0daba573cb0c306b7fa2fbffb4c2
6
+ metadata.gz: fc91b35302fecdbce7e568365c0b8910c3e92519a7457686da58509aba8ebe9698b86b1294e2928ff241d167461cc5e9d97ab12ea98a748ff3716b1a51d720ba
7
+ data.tar.gz: 45ffd0b7cb806f3e812d822ebd358cf4c4e07e71f845c14195d39481b2d1751f8de2624e0b4406c569ffb55c91c776d551d2cdcdaab3e5ea04e3d1633cb2acab
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.9.1.20230304 (2023-03-04)
6
+
7
+ * liblcms 2.15 [@toy](https://github.com/toy)
8
+
9
+ ## v0.9.1.20230212 (2023-02-12)
10
+
11
+ * jpegoptim 1.5.2 [@toy](https://github.com/toy)
12
+
5
13
  ## v0.9.1.20230129 (2023-01-29)
6
14
 
7
15
  * pngquant 2.18.0 [@toy](https://github.com/toy)
data/Makefile CHANGED
@@ -6,9 +6,9 @@ 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
- LIBLCMS_VER := 2.14
11
+ LIBLCMS_VER := 2.15
12
12
  LIBMOZJPEG_VER := 4.1.1
13
13
  LIBPNG_VER := 1.6.39
14
14
  LIBZ_VER := 1.2.11
data/checksums.mk CHANGED
@@ -2,9 +2,9 @@ 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
- LIBLCMS_SHA256 := 28474ea6f6591c4d4cee972123587001a4e6e353412a41b3e9e82219818d5740
7
+ LIBLCMS_SHA256 := b20cbcbd0f503433be2a4e81462106fa61050a35074dc24a4e356792d971ab39
8
8
  LIBMOZJPEG_SHA256 := 66b1b8d6b55d263f35f27f55acaaa3234df2a401232de99b6d099e2bb0a9d196
9
9
  LIBPNG_SHA256 := af4fb7f260f839919e5958e5ab01a275d4fe436d45442a36ee62f73e5beb75ba
10
10
  LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
@@ -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.20230304'
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
Binary file
Binary file
Binary file
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.9.1.20230129
4
+ version: 0.9.1.20230304
5
5
  platform: ruby
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-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -211,7 +211,7 @@ licenses:
211
211
  metadata:
212
212
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
213
213
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
214
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.9.1.20230129
214
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.9.1.20230304
215
215
  source_code_uri: https://github.com/toy/image_optim_pack
216
216
  post_install_message:
217
217
  rdoc_options: []