image_optim_pack 0.11.1.20240713 → 0.11.1.20241130
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/livecheck.yml +18 -13
- data/CHANGELOG.markdown +8 -0
- data/Makefile +2 -2
- data/checksums.mk +2 -2
- data/image_optim_pack.gemspec +1 -1
- data/spec/spec_helper.rb +2 -2
- data/vendor/darwin-x86_64/libpng.dylib +0 -0
- data/vendor/darwin-x86_64/optipng +0 -0
- data/vendor/darwin-x86_64/oxipng +0 -0
- data/vendor/darwin-x86_64/pngcrush +0 -0
- data/vendor/darwin-x86_64/pngquant +0 -0
- data/vendor/linux-x86_64/libpng.so +0 -0
- data/vendor/linux-x86_64/optipng +0 -0
- data/vendor/linux-x86_64/oxipng +0 -0
- data/vendor/linux-x86_64/pngcrush +0 -0
- data/vendor/linux-x86_64/pngquant +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08d49a06abff2bafebe4e745ff0547e386027e1c294a3781246ba20dd3cb9989'
|
4
|
+
data.tar.gz: 992f70b97426a639a3ce0518fc00129875f022681bb40deb61f4d9d6657486ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 913dd67aa1593db38dfd00cc69bf9df091e7291daff6b5903ba3cd839d99b4d15790368591e90f3d9dcfa7fe2e4e2d37b2b060d9ee423d030f89176f228bcdd3
|
7
|
+
data.tar.gz: 85953db05fcad210e524a0ae6aa433ef7bddb907943855024e957110f82699feb9c74697ef6cf717be7d3cb1de3f1cc60805be75072d5c893a69a8e168508146
|
@@ -4,6 +4,12 @@ on:
|
|
4
4
|
pull_request:
|
5
5
|
schedule:
|
6
6
|
- cron: 34 5 * * *
|
7
|
+
workflow_dispatch:
|
8
|
+
inputs:
|
9
|
+
retry:
|
10
|
+
description: 'Retry attempt'
|
11
|
+
required: true
|
12
|
+
type: number
|
7
13
|
jobs:
|
8
14
|
livecheck:
|
9
15
|
runs-on: ubuntu-latest
|
@@ -13,18 +19,17 @@ jobs:
|
|
13
19
|
with:
|
14
20
|
ruby-version: '3'
|
15
21
|
bundler-cache: true
|
16
|
-
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
+
- env:
|
23
|
+
RETRY: ${{ inputs.retry }}
|
24
|
+
RETRIES: 10
|
25
|
+
GITHUB_TOKEN: ${{ secrets.RETRY_TOKEN }}
|
26
|
+
run: |
|
27
|
+
bundle exec script/livecheck || {
|
28
|
+
exit_code=$?
|
29
|
+
if (( $exit_code == 2 )) && (( ${RETRY:-0} < $RETRIES )); then
|
30
|
+
sleep 300
|
31
|
+
gh workflow run livecheck --repo $GITHUB_REPOSITORY --ref $GITHUB_REF_NAME -f retry=$(( $RETRY + 1 ))
|
22
32
|
else
|
23
|
-
exit_code
|
24
|
-
if [ $exit_code -eq 2 ] && [ $attempt -lt $MAX_ATTEMPTS ]; then
|
25
|
-
sleep 3
|
26
|
-
else
|
27
|
-
exit $exit_code
|
28
|
-
fi
|
33
|
+
exit $exit_code
|
29
34
|
fi
|
30
|
-
|
35
|
+
}
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.11.1.20241130 (2024-11-30)
|
6
|
+
|
7
|
+
* oxipng 9.1.3 [@toy](https://github.com/toy)
|
8
|
+
|
9
|
+
## v0.11.1.20240914 (2024-09-14)
|
10
|
+
|
11
|
+
* libpng 1.6.44 [@toy](https://github.com/toy)
|
12
|
+
|
5
13
|
## v0.11.1.20240713 (2024-07-13)
|
6
14
|
|
7
15
|
* oxipng 9.1.2 [@toy](https://github.com/toy)
|
data/Makefile
CHANGED
@@ -10,10 +10,10 @@ JPEGOPTIM_VER := 1.5.5
|
|
10
10
|
LIBJPEG_VER := 9f
|
11
11
|
LIBLCMS_VER := 2.16
|
12
12
|
LIBMOZJPEG_VER := 4.1.5
|
13
|
-
LIBPNG_VER := 1.6.
|
13
|
+
LIBPNG_VER := 1.6.44
|
14
14
|
LIBZ_VER := 1.2.11
|
15
15
|
OPTIPNG_VER := 0.7.8
|
16
|
-
OXIPNG_VER := 9.1.
|
16
|
+
OXIPNG_VER := 9.1.3
|
17
17
|
PNGCRUSH_VER := 1.8.13
|
18
18
|
PNGOUT_VER := 20200115
|
19
19
|
PNGOUT_LINUX_VER := $(PNGOUT_VER)
|
data/checksums.mk
CHANGED
@@ -6,10 +6,10 @@ JPEGOPTIM_SHA256 := 90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf006
|
|
6
6
|
LIBJPEG_SHA256 := 04705c110cb2469caa79fb71fba3d7bf834914706e9641a4589485c1f832565b
|
7
7
|
LIBLCMS_SHA256 := d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51
|
8
8
|
LIBMOZJPEG_SHA256 := 9fcbb7171f6ac383f5b391175d6fb3acde5e64c4c4727274eade84ed0998fcc1
|
9
|
-
LIBPNG_SHA256 :=
|
9
|
+
LIBPNG_SHA256 := 8c25a7792099a0089fa1cc76c94260d0bb3f1ec52b93671b572f8bb61577b732
|
10
10
|
LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
11
11
|
OPTIPNG_SHA256 := 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
|
12
|
-
OXIPNG_SHA256 :=
|
12
|
+
OXIPNG_SHA256 := 5f34bc3a9eba661a686106261720061b1136301ccd67cc653c9c70d71fa33c09
|
13
13
|
PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
|
14
14
|
PNGOUT_LINUX_SHA256 := ac38bba6f0de29033de866538c3afa64341319b695bbe388efbc5fd9e830e928
|
15
15
|
PNGOUT_LINUX_STATIC_SHA256 := 7a78ea475d65a00981bf418e5dfa3b34e42d6460fb992340802873bb14b08597
|
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.11.1.
|
5
|
+
s.version = '0.11.1.20241130'
|
6
6
|
s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, oxipng, pngcrush, pngout, pngquant}
|
7
7
|
s.homepage = "https://github.com/toy/#{s.name}"
|
8
8
|
s.authors = ['Ivan Kuchin']
|
data/spec/spec_helper.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
RSpec.configure do |c|
|
4
4
|
c.before do
|
5
|
-
stub_const('ImageOptim::Config::GLOBAL_PATH',
|
6
|
-
stub_const('ImageOptim::Config::LOCAL_PATH',
|
5
|
+
stub_const('ImageOptim::Config::GLOBAL_PATH', File::NULL)
|
6
|
+
stub_const('ImageOptim::Config::LOCAL_PATH', File::NULL)
|
7
7
|
end
|
8
8
|
|
9
9
|
c.order = :random
|
Binary file
|
Binary file
|
data/vendor/darwin-x86_64/oxipng
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/linux-x86_64/optipng
CHANGED
Binary file
|
data/vendor/linux-x86_64/oxipng
CHANGED
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.11.1.
|
4
|
+
version: 0.11.1.20241130
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -189,7 +189,7 @@ licenses:
|
|
189
189
|
metadata:
|
190
190
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
191
191
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
192
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.11.1.
|
192
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.11.1.20241130
|
193
193
|
source_code_uri: https://github.com/toy/image_optim_pack
|
194
194
|
post_install_message:
|
195
195
|
rdoc_options: []
|
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
- !ruby/object:Gem::Version
|
207
207
|
version: '0'
|
208
208
|
requirements: []
|
209
|
-
rubygems_version: 3.5.
|
209
|
+
rubygems_version: 3.5.23
|
210
210
|
signing_key:
|
211
211
|
specification_version: 4
|
212
212
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|