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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8e6002cdfec7a5c8b51cd2896b44b1c41b0628e60408b6a808834ace9ca746f
4
- data.tar.gz: e38c0a7c387981265bc810d0d1560b8ce0057ef275dbe1592c211e1a366c3eba
3
+ metadata.gz: '08d49a06abff2bafebe4e745ff0547e386027e1c294a3781246ba20dd3cb9989'
4
+ data.tar.gz: 992f70b97426a639a3ce0518fc00129875f022681bb40deb61f4d9d6657486ee
5
5
  SHA512:
6
- metadata.gz: b4a7b7fac82c0b93b91a33eadc8a62a13269e73febda0ca7f419f5d60894eb4083fcc824b5a305fa676b2086ee9e305310d06ce25f742876f8f5504b4820955f
7
- data.tar.gz: '09a6d57ee2d1e5fbcc202542816dec5c126c60f0b764a1d265ade418a2753ffd6e8a1bcd4f2fe3967b1b43763116cc1718468e3c1ebc8e87f4f5ebce1805d6cb'
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
- - run: |
17
- MAX_ATTEMPTS=10
18
- for ((attempt = 1; ; attempt++)); do
19
- echo "#### Attempt $attempt"
20
- if bundle exec script/livecheck; then
21
- exit
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
- done
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.43
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.2
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 := e804e465d4b109b5ad285a8fb71f0dd3f74f0068f91ce3cdfde618180c174925
9
+ LIBPNG_SHA256 := 8c25a7792099a0089fa1cc76c94260d0bb3f1ec52b93671b572f8bb61577b732
10
10
  LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
11
11
  OPTIPNG_SHA256 := 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
12
- OXIPNG_SHA256 := 8eae13e5aa6f500b231b4d15b9fefdeb5f6cc566ddab959b9b7a03a00bb3a520
12
+ OXIPNG_SHA256 := 5f34bc3a9eba661a686106261720061b1136301ccd67cc653c9c70d71fa33c09
13
13
  PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
14
14
  PNGOUT_LINUX_SHA256 := ac38bba6f0de29033de866538c3afa64341319b695bbe388efbc5fd9e830e928
15
15
  PNGOUT_LINUX_STATIC_SHA256 := 7a78ea475d65a00981bf418e5dfa3b34e42d6460fb992340802873bb14b08597
@@ -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.20240713'
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', '/dev/null')
6
- stub_const('ImageOptim::Config::LOCAL_PATH', '/dev/null')
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
Binary file
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.11.1.20240713
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-07-13 00:00:00.000000000 Z
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.20240713
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.14
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,