image_optim_pack 0.7.0.20210511 → 0.7.0.20211002
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 +44 -0
- data/.rubocop.yml +1 -0
- data/CHANGELOG.markdown +6 -0
- data/Gemfile +0 -4
- data/Makefile +3 -3
- data/README.markdown +5 -5
- data/checksums.mk +3 -3
- data/image_optim_pack.gemspec +1 -1
- data/script/platform_downloads +3 -3
- data/vendor/darwin-x86_64/gifsicle +0 -0
- data/vendor/darwin-x86_64/pngquant +0 -0
- data/vendor/linux-i686/gifsicle +0 -0
- data/vendor/linux-i686/pngquant +0 -0
- data/vendor/linux-x86_64/gifsicle +0 -0
- data/vendor/linux-x86_64/pngquant +0 -0
- metadata +5 -5
- data/.travis.yml +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4d4774965d093a7979bd2e40160e816ee89c6be8ea41d07fd6b90d8032bcb38
|
4
|
+
data.tar.gz: c7eaaaeba22c6775529fc54476b683d02da02e9df708e3001cf5f68a7841d874
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fcf599f3e6759a217e59db2681c2b5d5adb98d50b1aad295bd35dd97ecf354be61f9e7db016094bc3be20c0afda7e71e1463bd0b824b27b5369fff40721744f
|
7
|
+
data.tar.gz: d0b9f3a13cb52fcde2b1d48c53dd42eb1e647edfec9f627b4f1182fcd7a66ae0ea984a6feb0681829dd613e9174192458cb5bf4c48961b14a9525fea7ba76ea3
|
@@ -0,0 +1,44 @@
|
|
1
|
+
name: check
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
pull_request:
|
5
|
+
schedule:
|
6
|
+
- cron: 45 4 * * 0
|
7
|
+
jobs:
|
8
|
+
check:
|
9
|
+
runs-on: "${{ matrix.os }}"
|
10
|
+
strategy:
|
11
|
+
matrix:
|
12
|
+
os:
|
13
|
+
- ubuntu-latest
|
14
|
+
- macos-latest
|
15
|
+
ruby:
|
16
|
+
- '2.0'
|
17
|
+
- '2.1'
|
18
|
+
- '2.2'
|
19
|
+
- '2.3'
|
20
|
+
- '2.4'
|
21
|
+
- '2.5'
|
22
|
+
- '2.6'
|
23
|
+
- '2.7'
|
24
|
+
- '3.0'
|
25
|
+
- jruby-9.2
|
26
|
+
fail-fast: false
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v2
|
29
|
+
- uses: ruby/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: "${{ matrix.ruby }}"
|
32
|
+
bundler-cache: true
|
33
|
+
- run: make test
|
34
|
+
- run: bundle exec image_optim --info
|
35
|
+
- run: bundle exec rspec
|
36
|
+
rubocop:
|
37
|
+
runs-on: ubuntu-latest
|
38
|
+
steps:
|
39
|
+
- uses: actions/checkout@v2
|
40
|
+
- uses: ruby/setup-ruby@v1
|
41
|
+
with:
|
42
|
+
ruby-version: '3.0'
|
43
|
+
bundler-cache: true
|
44
|
+
- run: bundle exec rubocop
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.7.0.20211002 (2021-10-02)
|
6
|
+
|
7
|
+
* pngquant 2.16.0 [@toy](https://github.com/toy)
|
8
|
+
* gifsicle 1.93 [@toy](https://github.com/toy)
|
9
|
+
* pngquant 2.15.1 [@toy](https://github.com/toy)
|
10
|
+
|
5
11
|
## v0.7.0.20210511 (2021-05-11)
|
6
12
|
|
7
13
|
* pngquant 2.15.0 [@toy](https://github.com/toy)
|
data/Gemfile
CHANGED
data/Makefile
CHANGED
@@ -3,7 +3,7 @@ all :
|
|
3
3
|
# ====== VERSIONS ======
|
4
4
|
|
5
5
|
ADVANCECOMP_VER := 2.1
|
6
|
-
GIFSICLE_VER := 1.
|
6
|
+
GIFSICLE_VER := 1.93
|
7
7
|
JHEAD_VER := 3.04
|
8
8
|
JPEGARCHIVE_VER := 2.2.0
|
9
9
|
JPEGOPTIM_VER := 1.4.6
|
@@ -13,7 +13,7 @@ LIBPNG_VER := 1.6.37
|
|
13
13
|
LIBZ_VER := 1.2.11
|
14
14
|
OPTIPNG_VER := 0.7.7
|
15
15
|
PNGCRUSH_VER := 1.8.13
|
16
|
-
PNGQUANT_VER := 2.
|
16
|
+
PNGQUANT_VER := 2.16.0
|
17
17
|
|
18
18
|
# ====== CHECKSUMS ======
|
19
19
|
|
@@ -49,7 +49,7 @@ ANSI_RESET=\033[0m
|
|
49
49
|
downcase = $(shell echo $1 | tr A-Z a-z)
|
50
50
|
|
51
51
|
ln_s := ln -sf
|
52
|
-
tar := $(shell if command -v
|
52
|
+
tar := $(shell if command -v bsdtar >/dev/null 2>&1; then echo bsdtar; else echo tar; fi)
|
53
53
|
sha256sum := $(shell if command -v sha256sum >/dev/null 2>&1; then echo sha256sum; elif command -v shasum >/dev/null 2>&1; then echo shasum -a 256; else echo sha256; fi)
|
54
54
|
|
55
55
|
# ====== ARCHIVES ======
|
data/README.markdown
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
[![Gem Version](https://img.shields.io/gem/v/image_optim_pack
|
2
|
-
[![Build Status](https://img.shields.io/
|
3
|
-
[![Code Climate](https://img.shields.io/codeclimate/maintainability/toy/image_optim_pack
|
4
|
-
[![Depfu](https://
|
5
|
-
[![Inch CI](https://inch-ci.org/github/toy/image_optim_pack.svg?branch=master
|
1
|
+
[![Gem Version](https://img.shields.io/gem/v/image_optim_pack?logo=rubygems)](https://rubygems.org/gems/image_optim_pack)
|
2
|
+
[![Build Status](https://img.shields.io/github/workflow/status/toy/image_optim_pack/check/master?logo=github)](https://github.com/toy/image_optim_pack/actions/workflows/check.yml)
|
3
|
+
[![Code Climate](https://img.shields.io/codeclimate/maintainability/toy/image_optim_pack?logo=codeclimate)](https://codeclimate.com/github/toy/image_optim_pack)
|
4
|
+
[![Depfu](https://img.shields.io/depfu/toy/image_optim_pack)](https://depfu.com/github/toy/image_optim_pack)
|
5
|
+
[![Inch CI](https://inch-ci.org/github/toy/image_optim_pack.svg?branch=master)](https://inch-ci.org/github/toy/image_optim_pack)
|
6
6
|
|
7
7
|
# image\_optim\_pack
|
8
8
|
|
data/checksums.mk
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
ADVANCECOMP_SHA256 := 3ac0875e86a8517011976f04107186d5c60d434954078bc502ee731480933eb8
|
2
|
-
GIFSICLE_SHA256 :=
|
2
|
+
GIFSICLE_SHA256 := 92f67079732bf4c1da087e6ae0905205846e5ac777ba5caa66d12a73aa943447
|
3
3
|
JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
|
4
4
|
JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
|
5
5
|
JPEGOPTIM_SHA256 := 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
|
6
|
-
LIBJPEG_SHA256 :=
|
6
|
+
LIBJPEG_SHA256 := 6c434a3be59f8f62425b2e3c077e785c9ce30ee5874ea1c270e843f273ba71ee
|
7
7
|
LIBMOZJPEG_SHA256 := 4f22731db2afa14531a5bf2633d8af79ca5cb697a550f678bf43f24e5e409ef0
|
8
8
|
LIBPNG_SHA256 := daeb2620d829575513e35fecc83f0d3791a620b9b93d800b763542ece9390fb4
|
9
9
|
LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
10
10
|
OPTIPNG_SHA256 := 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452
|
11
11
|
PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
|
12
|
-
PNGQUANT_SHA256 :=
|
12
|
+
PNGQUANT_SHA256 := 06c6fdded675753fbdbeacc2b63507fb30f42fae813e48a1684b240bb5b63522
|
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.7.0.
|
5
|
+
s.version = '0.7.0.20211002'
|
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/platform_downloads
CHANGED
@@ -24,7 +24,7 @@ end
|
|
24
24
|
|
25
25
|
table = Terminal::Table.new
|
26
26
|
|
27
|
-
table.headings =
|
27
|
+
table.headings = ['version', 'days', 'base dls'] + platforms.map do |platform|
|
28
28
|
platform.split('-').reverse.join("\n")
|
29
29
|
end
|
30
30
|
|
@@ -38,11 +38,11 @@ versions.group_by(&:number).each do |version_n, platform_versions|
|
|
38
38
|
base_downloads = platform_versions.map(&:downloads_count).min
|
39
39
|
|
40
40
|
platform_values = downloads_by_platform.values_at(*platforms).map do |count|
|
41
|
-
next unless count
|
41
|
+
next '' unless count
|
42
42
|
|
43
43
|
count == base_downloads ? '=' : format('%+d', count - base_downloads)
|
44
44
|
end
|
45
|
-
table
|
45
|
+
table.add_row [
|
46
46
|
version_n,
|
47
47
|
(version_time[version_n] / (24 * 60 * 60)).round,
|
48
48
|
base_downloads,
|
Binary file
|
Binary file
|
data/vendor/linux-i686/gifsicle
CHANGED
Binary file
|
data/vendor/linux-i686/pngquant
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.7.0.
|
4
|
+
version: 0.7.0.20211002
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -92,9 +92,9 @@ executables: []
|
|
92
92
|
extensions: []
|
93
93
|
extra_rdoc_files: []
|
94
94
|
files:
|
95
|
+
- ".github/workflows/check.yml"
|
95
96
|
- ".gitignore"
|
96
97
|
- ".rubocop.yml"
|
97
|
-
- ".travis.yml"
|
98
98
|
- CHANGELOG.markdown
|
99
99
|
- Gemfile
|
100
100
|
- LICENSE.txt
|
@@ -188,7 +188,7 @@ licenses:
|
|
188
188
|
metadata:
|
189
189
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
190
190
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
191
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.7.0.
|
191
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.7.0.20211002
|
192
192
|
source_code_uri: https://github.com/toy/image_optim_pack
|
193
193
|
post_install_message:
|
194
194
|
rdoc_options: []
|
@@ -205,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
208
|
+
rubygems_version: 3.1.6
|
209
209
|
signing_key:
|
210
210
|
specification_version: 4
|
211
211
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|
data/.travis.yml
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
dist: xenial
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- '1.9.3-p551'
|
5
|
-
- '2.0.0-p648'
|
6
|
-
- '2.1.10'
|
7
|
-
- '2.2.10'
|
8
|
-
- '2.3.8'
|
9
|
-
- '2.4.10'
|
10
|
-
- '2.5.9'
|
11
|
-
- '2.6.7'
|
12
|
-
- '2.7.3'
|
13
|
-
- '3.0.1'
|
14
|
-
- 'jruby-9.2.14.0'
|
15
|
-
script:
|
16
|
-
- make test
|
17
|
-
- bundle exec image_optim --info
|
18
|
-
- bundle exec rspec
|
19
|
-
before_install:
|
20
|
-
- 'echo "gem: --no-ri --no-rdoc --no-document" > ~/.gemrc'
|
21
|
-
- gem install rubygems-update || gem install rubygems-update --version '< 3'
|
22
|
-
- update_rubygems
|
23
|
-
- gem install bundler || gem install bundler --version '< 2'
|
24
|
-
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install imagemagick; fi; which convert
|
25
|
-
- make ldd-version
|
26
|
-
matrix:
|
27
|
-
include:
|
28
|
-
- os: osx
|
29
|
-
rvm: default
|
30
|
-
osx_image: xcode11.3
|
31
|
-
- os: osx
|
32
|
-
rvm: default
|
33
|
-
osx_image: xcode12.2
|
34
|
-
- env: RUBOCOP=1
|
35
|
-
rvm: '2.6.7'
|
36
|
-
script: bundle exec rubocop
|
37
|
-
- env: CHECK_RUBIES=1
|
38
|
-
rvm: '2.6.7'
|
39
|
-
script: bundle exec travis_check_rubies
|
40
|
-
allow_failures:
|
41
|
-
- rvm: 'jruby-9.2.14.0'
|