image_optim_pack 0.7.0-x86-linux → 0.7.0.20211002-x86-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d1138d89ea7b322604f23927282ba817fcf056f4dc14950dbbef7ee0ede5415
4
- data.tar.gz: 65c6de9ddd0d36d7672a6cbac6f11b15f9e983c6228056f0c02081c89fa27be4
3
+ metadata.gz: 4fc7f4011adfe4fb1f06b19e5c2cc2d772cd2023e5ad0c69bafc4757de1cc248
4
+ data.tar.gz: 63176982dd63a008aa8c2281badaa8512c6054e56fa0ba9ffe389dd0bb59ebc1
5
5
  SHA512:
6
- metadata.gz: 9cc7ec37cdfc03450dea1c9f701fd99efa258460b14ce288b22528f51d33e814adb1a01209d876a817d1f1da6f8a989fc74edd2862c55b1242a1f74450b691b1
7
- data.tar.gz: 0473b00b73276e0aedb20a955771bf03cc4a0f1fa0f752d11775ab56e1c56111dd0d161f826e262c3720cde6c4947017a85efb8498b62cf724d41cc38653afc5
6
+ metadata.gz: baa812801548803330d0257425c0a4bcda2c5022e352bce4c274093951dd869587a01817c8afcb6ead38a524b9f2db26b86750a074a47e02fcb3f4535b8f1a14
7
+ data.tar.gz: a2dbb09481a647db25651db05a61e21a8d0f253b9c3e51ce5adfa9dd8aa8098767d06288ea6de9a0a2870b65d6cc88262604be4deeeaaabdbd8923aef19e61c3
@@ -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
 
@@ -56,6 +57,9 @@ Style/EmptyCaseCondition:
56
57
  Style/FormatStringToken:
57
58
  Enabled: false
58
59
 
60
+ Style/HashConversion:
61
+ Enabled: false
62
+
59
63
  Style/HashEachMethods:
60
64
  Enabled: true
61
65
 
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,25 @@
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
+
11
+ ## v0.7.0.20210511 (2021-05-11)
12
+
13
+ * pngquant 2.15.0 [@toy](https://github.com/toy)
14
+
15
+ ## v0.7.0.20210430 (2021-04-30)
16
+
17
+ * pngquant 2.14.1 [@toy](https://github.com/toy)
18
+ * libmozjpeg 4.0.3 [@toy](https://github.com/toy)
19
+
20
+ ## v0.7.0.20210206 (2021-02-06)
21
+
22
+ * libmozjpeg 4.0.2 [@toy](https://github.com/toy)
23
+
5
24
  ## v0.7.0 (2020-12-05)
6
25
 
7
26
  * libmozjpeg 4.0.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/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2020 Ivan Kuchin
1
+ Copyright (c) 2014-2021 Ivan Kuchin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/Makefile CHANGED
@@ -3,17 +3,17 @@ 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
10
10
  LIBJPEG_VER := 9d
11
- LIBMOZJPEG_VER := 4.0.0
11
+ LIBMOZJPEG_VER := 4.0.3
12
12
  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.13.1
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
 
@@ -92,4 +92,4 @@ make clobber # `clean-all` and remove download directory
92
92
 
93
93
  ## Copyright
94
94
 
95
- Copyright (c) 2014-2020 Ivan Kuchin. See [LICENSE.txt](LICENSE.txt) for details.
95
+ Copyright (c) 2014-2021 Ivan Kuchin. See [LICENSE.txt](LICENSE.txt) for details.
data/boxes/Rakefile CHANGED
@@ -37,9 +37,7 @@ class Box # :nodoc:
37
37
  private
38
38
 
39
39
  def definition
40
- @definition ||= begin
41
- eval definition_path.read.sub('Veewee::Session.declare', '{}.merge')
42
- end
40
+ @definition ||= eval definition_path.read.sub('Veewee::Session.declare', '{}.merge')
43
41
  end
44
42
 
45
43
  def assert_box_created
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
7
- LIBMOZJPEG_SHA256 := 961e14e73d06a015e9b23b8af416f010187cc0bec95f6e3b0fcb28cc7e2cbdd4
6
+ LIBJPEG_SHA256 := 6c434a3be59f8f62425b2e3c077e785c9ce30ee5874ea1c270e843f273ba71ee
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 := 4b911a11aa0c35d364b608c917d13002126185c8c314ba4aa706b62fd6a95a7a
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'
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']
@@ -56,5 +56,6 @@ Gem::Specification.new do |s|
56
56
  s.add_development_dependency 'rspec', '~> 3.0'
57
57
  if RUBY_VERSION >= '2.4'
58
58
  s.add_development_dependency 'rubocop', '~> 1.0'
59
+ s.add_development_dependency 'rubocop-rspec', '~> 2.0'
59
60
  end
60
61
  end
@@ -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
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: x86-linux
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-05 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
@@ -72,15 +72,29 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rubocop-rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '2.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '2.0'
75
89
  description:
76
90
  email:
77
91
  executables: []
78
92
  extensions: []
79
93
  extra_rdoc_files: []
80
94
  files:
95
+ - ".github/workflows/check.yml"
81
96
  - ".gitignore"
82
97
  - ".rubocop.yml"
83
- - ".travis.yml"
84
98
  - CHANGELOG.markdown
85
99
  - Gemfile
86
100
  - LICENSE.txt
@@ -150,7 +164,7 @@ licenses:
150
164
  metadata:
151
165
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
152
166
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
153
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.7.0
167
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.7.0.20211002
154
168
  source_code_uri: https://github.com/toy/image_optim_pack
155
169
  post_install_message:
156
170
  rdoc_options: []
@@ -167,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
181
  - !ruby/object:Gem::Version
168
182
  version: '0'
169
183
  requirements: []
170
- rubygems_version: 3.1.4
184
+ rubygems_version: 3.1.6
171
185
  signing_key:
172
186
  specification_version: 4
173
187
  summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
data/.travis.yml DELETED
@@ -1,40 +0,0 @@
1
- sudo: false
2
- dist: trusty
3
- language: ruby
4
- rvm:
5
- - '1.8.7-p374'
6
- - '1.9.3-p551'
7
- - '2.0.0-p648'
8
- - '2.1.10'
9
- - '2.2.10'
10
- - '2.3.8'
11
- - '2.4.10'
12
- - '2.5.8'
13
- - '2.6.6'
14
- - '2.7.2'
15
- - 'jruby-9.2.11.1'
16
- script:
17
- - make test
18
- - bundle exec image_optim --info
19
- - bundle exec rspec
20
- before_install:
21
- - 'echo "gem: --no-ri --no-rdoc --no-document" > ~/.gemrc'
22
- - gem install rubygems-update || gem install rubygems-update --version '< 3'
23
- - update_rubygems
24
- - gem install bundler || gem install bundler --version '< 2'
25
- - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install imagemagick; fi; which convert
26
- - make ldd-version
27
- matrix:
28
- include:
29
- - os: osx
30
- rvm: default
31
- osx_image: xcode11.3
32
- - os: osx
33
- rvm: default
34
- osx_image: xcode12.2
35
- - env: RUBOCOP=1
36
- rvm: '2.6.6'
37
- script: bundle exec rubocop
38
- - env: CHECK_RUBIES=1
39
- rvm: '2.6.6'
40
- script: bundle exec travis_check_rubies