image_optim_pack 0.10.0.20231014-x86_64-darwin → 0.10.1-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/check.yml +0 -3
- data/.rubocop.yml +0 -5
- data/CHANGELOG.markdown +8 -0
- data/Gemfile +1 -1
- data/Makefile +2 -2
- data/boxes/Rakefile +3 -3
- data/boxes/definitions/centos-amd64/definition.rb +26 -26
- data/checksums.mk +2 -2
- data/image_optim_pack.gemspec +3 -1
- data/spec/image_optim/pack_spec.rb +8 -8
- data/spec/image_optim_spec.rb +2 -2
- data/vendor/darwin-x86_64/liblcms2.dylib +0 -0
- data/vendor/darwin-x86_64/optipng +0 -0
- data/vendor/darwin-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: f7027a6f6773add2aaa1a1a6e28723d352cba9afb9f838b80ca839f1710fdd8d
|
4
|
+
data.tar.gz: 447d45ecabd1df36b8351ca4f8bc2be1fe80dd847af4c2c8369f766511622c11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 619719945c5f43d0c73d49f99f039b17062881fb9bce21504bd5e21405629b2b9a6ccf79266c10ffb95995ed13123939ecdc9464071d4c58e9adb2becde933ad
|
7
|
+
data.tar.gz: ebe0ed5f4ee04cb64d61bc91096cc8aaa5e72be14588a560f16fe3512c1d17d7fe49a80afacc8aa2cc8efd7fedad81d238a3dba8cde2ae8da73cf50ffb92d48a
|
data/.github/workflows/check.yml
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.10.1 (2023-12-05)
|
6
|
+
|
7
|
+
* liblcms 2.16 [@toy](https://github.com/toy)
|
8
|
+
|
9
|
+
## v0.10.0.20231105 (2023-11-05)
|
10
|
+
|
11
|
+
* optipng 0.7.8 [@toy](https://github.com/toy)
|
12
|
+
|
5
13
|
## v0.10.0.20231014 (2023-10-14)
|
6
14
|
|
7
15
|
* libmozjpeg 4.1.5 [@toy](https://github.com/toy)
|
data/Gemfile
CHANGED
data/Makefile
CHANGED
@@ -8,11 +8,11 @@ JHEAD_VER := 3.04
|
|
8
8
|
JPEGARCHIVE_VER := 2.2.0
|
9
9
|
JPEGOPTIM_VER := 1.5.5
|
10
10
|
LIBJPEG_VER := 9e
|
11
|
-
LIBLCMS_VER := 2.
|
11
|
+
LIBLCMS_VER := 2.16
|
12
12
|
LIBMOZJPEG_VER := 4.1.5
|
13
13
|
LIBPNG_VER := 1.6.40
|
14
14
|
LIBZ_VER := 1.2.11
|
15
|
-
OPTIPNG_VER := 0.7.
|
15
|
+
OPTIPNG_VER := 0.7.8
|
16
16
|
OXIPNG_VER := 9.0.0
|
17
17
|
PNGCRUSH_VER := 1.8.13
|
18
18
|
PNGOUT_VER := 20200115
|
data/boxes/Rakefile
CHANGED
@@ -73,10 +73,10 @@ Dir['definitions/*/definition.rb'].each do |definition_path|
|
|
73
73
|
end
|
74
74
|
|
75
75
|
desc 'build all boxes'
|
76
|
-
task :
|
76
|
+
task build: box.path
|
77
77
|
|
78
78
|
desc 'add all boxes to vagrant'
|
79
|
-
task :
|
79
|
+
task add: "add:#{box.name}"
|
80
80
|
end
|
81
81
|
|
82
82
|
desc 'remove *.box and iso dir'
|
@@ -85,4 +85,4 @@ task :clean do
|
|
85
85
|
sh 'rm -r iso || true'
|
86
86
|
end
|
87
87
|
|
88
|
-
task :
|
88
|
+
task default: :build
|
@@ -1,32 +1,32 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Veewee::Session.declare({
|
4
|
-
:
|
5
|
-
:
|
6
|
-
:
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
10
|
-
:
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:
|
14
|
-
:
|
15
|
-
:
|
4
|
+
cpu_count: '1',
|
5
|
+
memory_size: '512',
|
6
|
+
disk_size: '8192',
|
7
|
+
disk_format: 'VDI',
|
8
|
+
hostiocache: 'off',
|
9
|
+
os_type_id: 'RedHat6_64',
|
10
|
+
iso_file: 'CentOS-7-x86_64-Minimal-2009.iso',
|
11
|
+
iso_src: 'http://linux.darkpenguin.net/distros/CentOS/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso',
|
12
|
+
iso_sha256: '07b94e6b1a0b0260b94c83d6bb76b26bf7a310dc78d7a9c7432809fb9bc6194a',
|
13
|
+
iso_download_timeout: '1000',
|
14
|
+
boot_wait: '10',
|
15
|
+
boot_cmd_sequence: [
|
16
16
|
'<Tab> text ks=http://%IP%:%PORT%/ks.cfg<Enter>',
|
17
17
|
],
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
23
|
-
:
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:
|
27
|
-
:
|
28
|
-
:
|
29
|
-
:
|
30
|
-
:
|
31
|
-
:
|
18
|
+
kickstart_port: '7122',
|
19
|
+
kickstart_timeout: '300',
|
20
|
+
kickstart_file: 'ks.cfg',
|
21
|
+
ssh_login_timeout: '10000',
|
22
|
+
ssh_user: 'veewee',
|
23
|
+
ssh_password: 'veewee',
|
24
|
+
ssh_key: '',
|
25
|
+
ssh_host_port: '7222',
|
26
|
+
ssh_guest_port: '22',
|
27
|
+
sudo_cmd: "echo '%p'|sudo -S sh '%f'",
|
28
|
+
shutdown_cmd: '/sbin/halt -h -p',
|
29
|
+
postinstall_files: %w[../centos-postinstall.sh],
|
30
|
+
postinstall_timeout: '10000',
|
31
|
+
skip_iso_transfer: true,
|
32
32
|
})
|
data/checksums.mk
CHANGED
@@ -4,11 +4,11 @@ JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
|
|
4
4
|
JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
|
5
5
|
JPEGOPTIM_SHA256 := 90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf0067d38
|
6
6
|
LIBJPEG_SHA256 := 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d
|
7
|
-
LIBLCMS_SHA256 :=
|
7
|
+
LIBLCMS_SHA256 := d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51
|
8
8
|
LIBMOZJPEG_SHA256 := 9fcbb7171f6ac383f5b391175d6fb3acde5e64c4c4727274eade84ed0998fcc1
|
9
9
|
LIBPNG_SHA256 := 8f720b363aa08683c9bf2a563236f45313af2c55d542b5481ae17dd8d183bb42
|
10
10
|
LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
11
|
-
OPTIPNG_SHA256 :=
|
11
|
+
OPTIPNG_SHA256 := 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
|
12
12
|
OXIPNG_SHA256 := 534fa8f349f52b01c2ee4332cef25ce1311edca04209ac6d972e38b171550a1b
|
13
13
|
PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
|
14
14
|
PNGOUT_LINUX_SHA256 := ac38bba6f0de29033de866538c3afa64341319b695bbe388efbc5fd9e830e928
|
data/image_optim_pack.gemspec
CHANGED
@@ -2,12 +2,14 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'image_optim_pack'
|
5
|
-
s.version = '0.10.
|
5
|
+
s.version = '0.10.1'
|
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']
|
9
9
|
s.license = 'MIT'
|
10
10
|
|
11
|
+
s.required_ruby_version = '>= 1.9.3'
|
12
|
+
|
11
13
|
s.metadata = {
|
12
14
|
'bug_tracker_uri' => "https://github.com/toy/#{s.name}/issues",
|
13
15
|
'changelog_uri' => "https://github.com/toy/#{s.name}/blob/master/CHANGELOG.markdown",
|
@@ -64,7 +64,7 @@ describe ImageOptim::Pack do
|
|
64
64
|
|
65
65
|
it{ should all(be_an(ImageOptim::BinResolver::Bin)) }
|
66
66
|
|
67
|
-
it{ should all(have_attributes(:
|
67
|
+
it{ should all(have_attributes(version: be)) }
|
68
68
|
|
69
69
|
it{ should all(be_non_libraries) }
|
70
70
|
end
|
@@ -72,7 +72,7 @@ describe ImageOptim::Pack do
|
|
72
72
|
describe 'bin helpers' do
|
73
73
|
def bins_with_versions(*versions)
|
74
74
|
versions.map do |version|
|
75
|
-
double(:
|
75
|
+
double(version: version, inspect: version ? 'good' : 'bad')
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
@@ -88,8 +88,8 @@ describe ImageOptim::Pack do
|
|
88
88
|
|
89
89
|
it{ should be_all_bins_working }
|
90
90
|
it{ should_not be_all_bins_failing }
|
91
|
-
it{ should have_attributes(:
|
92
|
-
it{ should have_attributes(:
|
91
|
+
it{ should have_attributes(working_bins: eq(bins)) }
|
92
|
+
it{ should have_attributes(failing_bins: be_empty) }
|
93
93
|
end
|
94
94
|
|
95
95
|
describe 'mixed good/bad bins' do
|
@@ -98,8 +98,8 @@ describe ImageOptim::Pack do
|
|
98
98
|
|
99
99
|
it{ should_not be_all_bins_working }
|
100
100
|
it{ should_not be_all_bins_failing }
|
101
|
-
it{ should have_attributes(:
|
102
|
-
it{ should have_attributes(:
|
101
|
+
it{ should have_attributes(working_bins: bins.select(&:version)) }
|
102
|
+
it{ should have_attributes(failing_bins: bins.reject(&:version)) }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe 'all bad bins' do
|
@@ -108,8 +108,8 @@ describe ImageOptim::Pack do
|
|
108
108
|
|
109
109
|
it{ should_not be_all_bins_working }
|
110
110
|
it{ should be_all_bins_failing }
|
111
|
-
it{ should have_attributes(:
|
112
|
-
it{ should have_attributes(:
|
111
|
+
it{ should have_attributes(working_bins: be_empty) }
|
112
|
+
it{ should have_attributes(failing_bins: eq(bins)) }
|
113
113
|
end
|
114
114
|
end
|
115
115
|
end
|
data/spec/image_optim_spec.rb
CHANGED
@@ -19,7 +19,7 @@ describe ImageOptim do
|
|
19
19
|
ImageOptim::Worker.klasses.map do |klass|
|
20
20
|
[klass.bin_sym, false]
|
21
21
|
end
|
22
|
-
].merge(:
|
22
|
+
].merge(skip_missing_workers: false)
|
23
23
|
|
24
24
|
ImageOptim::Worker.klasses.each do |worker_klass|
|
25
25
|
next if [:pngout, :svgo].include?(worker_klass.bin_sym)
|
@@ -30,7 +30,7 @@ describe ImageOptim do
|
|
30
30
|
|
31
31
|
image_optim = ImageOptim.new(options)
|
32
32
|
if Array(worker_klass.init(image_optim)).empty?
|
33
|
-
image_optim = ImageOptim.new(options.merge(:
|
33
|
+
image_optim = ImageOptim.new(options.merge(allow_lossy: true))
|
34
34
|
end
|
35
35
|
|
36
36
|
expect(test_images.any? do |original|
|
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.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -180,7 +180,7 @@ licenses:
|
|
180
180
|
metadata:
|
181
181
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
182
182
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
183
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.10.
|
183
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.10.1
|
184
184
|
source_code_uri: https://github.com/toy/image_optim_pack
|
185
185
|
post_install_message:
|
186
186
|
rdoc_options: []
|
@@ -190,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
190
|
requirements:
|
191
191
|
- - ">="
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version:
|
193
|
+
version: 1.9.3
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
195
|
requirements:
|
196
196
|
- - ">="
|