image_optim_pack 0.11.0-x86_64-linux → 0.11.1.20240713-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: 6636517380c47aef26b61fae25a9ffe04997ad3c06f3820994e54fab03913f8d
4
- data.tar.gz: abfa8e7149d00920966321155ea72d3a9175fddd25af972395c7ea71b6ca67c1
3
+ metadata.gz: c0a77c023c7faa647ae0f6f6bda44d56f12c50f5c1b60f5b96c3fcf9c203010e
4
+ data.tar.gz: 04e5f13b1a6f22efe6b29ff90bbe36aac0f0556f152e5abe6cee97ac97e0f6cd
5
5
  SHA512:
6
- metadata.gz: a643a07be49d1861eaa72bd5bf01a7a3de75fc8950a3932a6fee23f617431178aba89148537ea7e1092a4324168c6829179925d7c2068e15a4c9148c3f1c77f9
7
- data.tar.gz: 70dc3d479cbe9aa27673ddef6749000f2012afec64c433b0054e51f6d1b116394b3c038f0f1d50c2df658a6113d1a0cbf8e97cd7e06ff6c0ab2b301a6a333db8
6
+ metadata.gz: 7bc59d2a28c5ec8c008a003d86ff80af72abca64e100f10e31214d5f2f581b68e2cbf2b2688321cd2423d4c7f1312a7b24117d1bace2c52f73f65b5beaf4292f
7
+ data.tar.gz: 92400d1cae2a310eb9459e6846dfb385d7539b13557fe2a0ed16b3bbfb0272737abd267b45126a768155276f72a96079824c0a72466f9531ef30e055f48a2981
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
@@ -15,7 +15,7 @@ jobs:
15
15
  fail-fast: false
16
16
  steps:
17
17
  - uses: actions/checkout@v4
18
- - uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
18
+ - uses: docker/login-action@v3
19
19
  with:
20
20
  registry: ghcr.io
21
21
  username: ${{ github.actor }}
@@ -4,12 +4,6 @@ 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
13
7
  jobs:
14
8
  livecheck:
15
9
  runs-on: ubuntu-latest
@@ -20,21 +14,17 @@ jobs:
20
14
  ruby-version: '3'
21
15
  bundler-cache: true
22
16
  - run: |
23
- bundle exec script/livecheck || if (( $? == 1 )); then
24
- exit 1
25
- else
26
- echo '::set-output name=RETRY::1'
27
- fi
28
- id: livecheck
29
- - if: ${{ steps.livecheck.outputs.RETRY }}
30
- env:
31
- RETRY: ${{ inputs.retry }}
32
- RETRIES: 10
33
- GITHUB_TOKEN: ${{ secrets.RETRY_TOKEN }}
34
- run: |
35
- if (( ${RETRY:-0} < $RETRIES )); then
36
- sleep 300
37
- gh workflow run livecheck --repo $GITHUB_REPOSITORY --ref $GITHUB_REF_NAME -f retry=$(( $RETRY + 1 ))
38
- else
39
- exit 1
40
- fi
17
+ MAX_ATTEMPTS=10
18
+ for ((attempt = 1; ; attempt++)); do
19
+ echo "#### Attempt $attempt"
20
+ if bundle exec script/livecheck; then
21
+ exit
22
+ 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
29
+ fi
30
+ done
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.11.1.20240713 (2024-07-13)
6
+
7
+ * oxipng 9.1.2 [@toy](https://github.com/toy)
8
+
9
+ ## v0.11.1 (2024-05-09)
10
+
11
+ * Use oldest maintained debian buster instead of newest bookworm for building linux binaries [@toy](https://github.com/toy)
12
+
5
13
  ## v0.11.0 (2024-05-05)
6
14
 
7
15
  * Use container instead of vagrant to build linux binaries [@toy](https://github.com/toy)
data/Makefile CHANGED
@@ -13,7 +13,7 @@ LIBMOZJPEG_VER := 4.1.5
13
13
  LIBPNG_VER := 1.6.43
14
14
  LIBZ_VER := 1.2.11
15
15
  OPTIPNG_VER := 0.7.8
16
- OXIPNG_VER := 9.1.1
16
+ OXIPNG_VER := 9.1.2
17
17
  PNGCRUSH_VER := 1.8.13
18
18
  PNGOUT_VER := 20200115
19
19
  PNGOUT_LINUX_VER := $(PNGOUT_VER)
@@ -107,9 +107,9 @@ $(eval $(call archive-dl,LIBZ, https://prdownloads.sourceforge.net/libpng
107
107
  $(eval $(call archive-dl,OPTIPNG, https://prdownloads.sourceforge.net/optipng/optipng-[VER].tar.gz?download))
108
108
  $(eval $(call archive-dl,OXIPNG, https://github.com/shssoichiro/oxipng/archive/refs/tags/v[VER].tar.gz))
109
109
  $(eval $(call archive-dl,PNGCRUSH, https://prdownloads.sourceforge.net/pmt/pngcrush-[VER]-nolib.tar.gz?download))
110
- $(eval $(call archive-dl,PNGOUT_LINUX,http://www.jonof.id.au/files/kenutils/pngout-[VER]-linux.tar.gz))
111
- $(eval $(call archive-dl,PNGOUT_LINUX_STATIC,http://www.jonof.id.au/files/kenutils/pngout-[VER]-linux-static.tar.gz))
112
- $(eval $(call archive-dl,PNGOUT_DARWIN,http://www.jonof.id.au/files/kenutils/pngout-[VER]-macos.zip,zip))
110
+ $(eval $(call archive-dl,PNGOUT_LINUX,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux.tar.gz))
111
+ $(eval $(call archive-dl,PNGOUT_LINUX_STATIC,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux-static.tar.gz))
112
+ $(eval $(call archive-dl,PNGOUT_DARWIN,https://www.jonof.id.au/files/kenutils/pngout-[VER]-macos.zip,zip))
113
113
  $(eval $(call archive-dl,PNGQUANT, https://pngquant.org/pngquant-[VER]-src.tar.gz))
114
114
 
115
115
  download : $(foreach archive,$(ARCHIVES),$($(archive)_ARC))
data/checksums.mk CHANGED
@@ -9,7 +9,7 @@ LIBMOZJPEG_SHA256 := 9fcbb7171f6ac383f5b391175d6fb3acde5e64c4c4727274eade84ed099
9
9
  LIBPNG_SHA256 := e804e465d4b109b5ad285a8fb71f0dd3f74f0068f91ce3cdfde618180c174925
10
10
  LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
11
11
  OPTIPNG_SHA256 := 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
12
- OXIPNG_SHA256 := f50db90c7ef95c0964dc980f6596b821f362e15d6d4bab247f1eb4aab7554db8
12
+ OXIPNG_SHA256 := 8eae13e5aa6f500b231b4d15b9fefdeb5f6cc566ddab959b9b7a03a00bb3a520
13
13
  PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
14
14
  PNGOUT_LINUX_SHA256 := ac38bba6f0de29033de866538c3afa64341319b695bbe388efbc5fd9e830e928
15
15
  PNGOUT_LINUX_STATIC_SHA256 := 7a78ea475d65a00981bf418e5dfa3b34e42d6460fb992340802873bb14b08597
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim_pack'
5
- s.version = '0.11.0'
6
- s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
5
+ s.version = '0.11.1.20240713'
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']
9
9
  s.license = 'MIT'
data/script/livecheck CHANGED
@@ -11,7 +11,7 @@ CONFIG = {
11
11
  advancecomp: {
12
12
  url: 'https://github.com/amadvance/advancecomp/releases.atom',
13
13
  regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
14
- info_url: 'http://www.advancemame.it/comp-history',
14
+ info_url: 'https://www.advancemame.it/comp-history',
15
15
  },
16
16
  gifsicle: {
17
17
  url: 'https://www.lcdf.org/gifsicle/',
@@ -74,9 +74,9 @@ CONFIG = {
74
74
  info_url: 'https://pmt.sourceforge.io/pngcrush/ChangeLog.html',
75
75
  },
76
76
  pngout: {
77
- url: 'http://www.jonof.id.au/kenutils.html',
77
+ url: 'https://www.jonof.id.au/kenutils.html',
78
78
  regexp: %r{/files/kenutils/pngout-(\d{8})-linux.tar.gz},
79
- info_url: 'http://www.jonof.id.au/kenutils.html#:~:text=Revision%20history',
79
+ info_url: 'https://www.jonof.id.au/kenutils.html#:~:text=Revision%20history',
80
80
  },
81
81
  pngquant: {
82
82
  url: 'https://pngquant.org/releases.html',
@@ -84,6 +84,8 @@ CONFIG = {
84
84
  },
85
85
  }.freeze
86
86
 
87
+ Thread.report_on_exception = false
88
+
87
89
  # Fetch and compare latest tool/library versions
88
90
  class Livecheck
89
91
  # Commands
data/script/run CHANGED
@@ -77,7 +77,6 @@ container_build() {
77
77
 
78
78
  "$container_tool" \
79
79
  container create \
80
- --quiet \
81
80
  --name="$container_name" \
82
81
  --stop-signal SIGHUP \
83
82
  -it \
@@ -90,8 +89,8 @@ container_build() {
90
89
  "$container_tool" container start "$container_name"
91
90
 
92
91
  "$container_tool" exec -it "$container_name" bash -exc "
93
- apt update
94
- apt -y install make gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake patch
92
+ apt-get update
93
+ apt-get -y install make gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake patch
95
94
  "
96
95
  fi
97
96
 
@@ -101,8 +100,8 @@ container_build() {
101
100
 
102
101
  if [[ "$status" = @(created|exited|running) ]]; then
103
102
  "$container_tool" exec -it "$container_name" bash -exc "
104
- apt update
105
- apt -y dist-upgrade
103
+ apt-get update
104
+ apt-get -y dist-upgrade
106
105
  rustup update
107
106
  "
108
107
  fi
@@ -120,4 +119,4 @@ container_build() {
120
119
  [[ -n "$NO_HALT" ]] || "$container_tool" container stop "$container_name"
121
120
  }
122
121
 
123
- container_build linux-x86_64 rust:slim
122
+ container_build linux-x86_64 rust:slim-buster
Binary file
Binary file
Binary file
Binary file
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.0
4
+ version: 0.11.1.20240713
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: 2024-05-05 00:00:00.000000000 Z
11
+ date: 2024-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -99,6 +99,7 @@ extensions: []
99
99
  extra_rdoc_files: []
100
100
  files:
101
101
  - ".dockerignore"
102
+ - ".github/dependabot.yml"
102
103
  - ".github/workflows/check.yml"
103
104
  - ".github/workflows/docker-build.yml"
104
105
  - ".github/workflows/livecheck.yml"
@@ -173,7 +174,7 @@ licenses:
173
174
  metadata:
174
175
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
175
176
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
176
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.11.0
177
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.11.1.20240713
177
178
  source_code_uri: https://github.com/toy/image_optim_pack
178
179
  post_install_message:
179
180
  rdoc_options: []
@@ -190,11 +191,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
191
  - !ruby/object:Gem::Version
191
192
  version: '0'
192
193
  requirements: []
193
- rubygems_version: 3.5.5
194
+ rubygems_version: 3.5.14
194
195
  signing_key:
195
196
  specification_version: 4
196
197
  summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
197
- jpegoptim, jpegtran, optipng, pngcrush, pngquant'
198
+ jpegoptim, jpegtran, optipng, oxipng, pngcrush, pngout, pngquant'
198
199
  test_files:
199
200
  - spec/image_optim/pack_spec.rb
200
201
  - spec/image_optim_spec.rb