image_optim_pack 0.7.0.20210511-x86_64-darwin → 0.7.0.20211002-x86_64-darwin

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: 4cd55f12cfd0aee8f8d1126b75037ea821e5e9e843f4900cbb827f985b9b2325
4
- data.tar.gz: 4e2a021436a0f6da61971eb781aa1ee4b3eb4ca4834afe9aaa0799d10fd4a67e
3
+ metadata.gz: d3298297c360e8c6c58f884bcac3c5663f6c94f88274927bfbc8f1f8036e10a6
4
+ data.tar.gz: a782e81152cdc7fa430aa494a3dc7a65499eb5ddc2e51bb965fbcc6b11eeac95
5
5
  SHA512:
6
- metadata.gz: 85d23074cd4fce145cd0f29f4d626cdc1c9f2ee0282ae574939afcf936d39fee5fcc9a80f6ce4f9bbc89f56d461464027e8ef8b314b694aba255120a393c3389
7
- data.tar.gz: 64dbc19d868df13d90936231daae4310b60c62d34c34307576407c4a518c3e847810e5fbee87a3683dfedcba24787280966e8e603ef59ff4d63dee7142d3b069
6
+ metadata.gz: 36aace5483d231ce638162f56e692874d512fb08333c528c7ed332d9bed747e4ef99d343f5f91db614e7f15dc5c99009676b2fa2780224a86a5c957d1c9b3bba
7
+ data.tar.gz: 19a2be3576c208773445d13162920a7a6d8ae7fc6b0070e8284ef56a0fd151f8adc071d7de5a31c1dddacbb7a4ffd0e0efd0fe6922976b57998dc2d36a40d9b9
@@ -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
@@ -3,6 +3,7 @@ AllCops:
3
3
  - '*.gemspec'
4
4
  - 'build/**/*'
5
5
  - 'download/**/*'
6
+ - 'vendor/bundle/**/*'
6
7
  - Vagrantfile
7
8
  NewCops: enable
8
9
 
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
@@ -4,10 +4,6 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec :name => 'image_optim_pack'
6
6
 
7
- if RUBY_VERSION >= '2.0'
8
- gem 'travis_check_rubies', '~> 0.2'
9
- end
10
-
11
7
  if RUBY_VERSION >= '2.1.9'
12
8
  gem 'gems', '~> 1.0'
13
9
  gem 'terminal-table'
data/Makefile CHANGED
@@ -3,7 +3,7 @@ all :
3
3
  # ====== VERSIONS ======
4
4
 
5
5
  ADVANCECOMP_VER := 2.1
6
- GIFSICLE_VER := 1.92
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.15.0
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 gtar >/dev/null 2>&1; then echo gtar; else echo tar; fi)
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.svg?style=flat)](https://rubygems.org/gems/image_optim_pack)
2
- [![Build Status](https://img.shields.io/travis/toy/image_optim_pack/master.svg?style=flat)](https://travis-ci.org/toy/image_optim_pack)
3
- [![Code Climate](https://img.shields.io/codeclimate/maintainability/toy/image_optim_pack.svg?style=flat)](https://codeclimate.com/github/toy/image_optim_pack)
4
- [![Depfu](https://badges.depfu.com/badges/bf227ee8e4f77217ae440955acfadde0/overview.svg)](https://depfu.com/github/toy/image_optim_pack)
5
- [![Inch CI](https://inch-ci.org/github/toy/image_optim_pack.svg?branch=master&style=flat)](https://inch-ci.org/github/toy/image_optim_pack)
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 := 5ab556c01d65fddf980749e3ccf50b7fd40de738b6df679999294cc5fabfce65
2
+ GIFSICLE_SHA256 := 92f67079732bf4c1da087e6ae0905205846e5ac777ba5caa66d12a73aa943447
3
3
  JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
4
4
  JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
5
5
  JPEGOPTIM_SHA256 := 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
6
- LIBJPEG_SHA256 := 99cb50e48a4556bc571dadd27931955ff458aae32f68c4d9c39d624693f69c32
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 := c5051b9eb3de5acd1ee3b5b4cc87036b25289277fcef8f293a35f84da71e5a04
12
+ PNGQUANT_SHA256 := 06c6fdded675753fbdbeacc2b63507fb30f42fae813e48a1684b240bb5b63522
@@ -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.20210511'
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']
@@ -24,7 +24,7 @@ end
24
24
 
25
25
  table = Terminal::Table.new
26
26
 
27
- table.headings = %W[version days base\ dls] + platforms.map do |platform|
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
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.20210511
4
+ version: 0.7.0.20211002
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: 2021-05-10 00:00:00.000000000 Z
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
@@ -164,7 +164,7 @@ licenses:
164
164
  metadata:
165
165
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
166
166
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
167
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.7.0.20210511
167
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.7.0.20211002
168
168
  source_code_uri: https://github.com/toy/image_optim_pack
169
169
  post_install_message:
170
170
  rdoc_options: []
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.2.16
184
+ rubygems_version: 3.1.6
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  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'