image_optim_pack 0.6.0.20200215-x86-linux → 0.6.0.20201024-x86-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: c2080ab5098660b8178d4cb29f0bae0f08906de6d96c3e247af4b9b02fe4b50b
4
- data.tar.gz: 0b42f3a96035a0159bea4b07fb6c366e6324f4d246900dec334fadc49c7ec1ce
3
+ metadata.gz: 8c40b7429b420a857a13843ecafc6b0b63f2dc92c430b90798b1c852b2767a61
4
+ data.tar.gz: adefce3e6b6aac0b15e81b62d0c5041d169a83c02a18d4c9d58a53673f615fef
5
5
  SHA512:
6
- metadata.gz: 87798371b6b65aa04121c71ab6c1d0159ec579ce52e0db4f3c11ecb4620aae28895df67bde6a0482046a7bb8bca2e5ccea6400d5b163190ef2b80b7a70eb023b
7
- data.tar.gz: 64bcf4e2ee72a478742bf0a3849a28595ff7c74f20a7aca17a25e8aa954d30a71a724ee2ace14449926e84adb8cf2f16206f0544de3a046f5dd723bc211ab548
6
+ metadata.gz: 216b646e2c8c25b93ecae2274918b97b58021453fc50e9ed5080842f34369cd6ae967f10ec8db6ed6d74da99707d2bb15f3efda432f901ef87005533c7f795e9
7
+ data.tar.gz: e2f82a3409892e9dda51fbc8de9c57a4c834c7f0a19b792730a08931fb935a8dd838ac535fb63a0450864304a149eb55ab79b96ae9181affa38477af44d5b321
@@ -4,6 +4,7 @@ AllCops:
4
4
  - 'build/**/*'
5
5
  - 'download/**/*'
6
6
  - Vagrantfile
7
+ NewCops: enable
7
8
 
8
9
  Bundler/OrderedGems:
9
10
  Enabled: false
@@ -17,6 +18,9 @@ Layout/DotPosition:
17
18
  Layout/FirstHashElementIndentation:
18
19
  EnforcedStyle: consistent
19
20
 
21
+ Layout/LineLength:
22
+ Max: 120
23
+
20
24
  Layout/RescueEnsureAlignment:
21
25
  Enabled: false
22
26
 
@@ -30,9 +34,6 @@ Metrics/BlockLength:
30
34
  Exclude:
31
35
  - spec/**/*_spec.rb
32
36
 
33
- Metrics/LineLength:
34
- Max: 120
35
-
36
37
  Metrics/MethodLength:
37
38
  Max: 15
38
39
 
@@ -40,6 +41,9 @@ Security/YAMLLoad:
40
41
  Exclude:
41
42
  - script/livecheck
42
43
 
44
+ Style/AccessorGrouping:
45
+ Enabled: false
46
+
43
47
  Style/Alias:
44
48
  EnforcedStyle: prefer_alias_method
45
49
 
@@ -52,9 +56,18 @@ Style/EmptyCaseCondition:
52
56
  Style/FormatStringToken:
53
57
  Enabled: false
54
58
 
59
+ Style/HashEachMethods:
60
+ Enabled: true
61
+
55
62
  Style/HashSyntax:
56
63
  EnforcedStyle: hash_rockets
57
64
 
65
+ Style/HashTransformKeys:
66
+ Enabled: false
67
+
68
+ Style/HashTransformValues:
69
+ Enabled: false
70
+
58
71
  Style/IfUnlessModifier:
59
72
  Enabled: false
60
73
 
@@ -8,19 +8,19 @@ rvm:
8
8
  - '2.1.10'
9
9
  - '2.2.10'
10
10
  - '2.3.8'
11
- - '2.4.9'
12
- - '2.5.7'
13
- - '2.6.5'
14
- - '2.7.0'
15
- - 'jruby-9.1.17.0'
16
- - 'jruby-9.2.7.0'
11
+ - '2.4.10'
12
+ - '2.5.8'
13
+ - '2.6.6'
14
+ - '2.7.2'
15
+ - 'jruby-9.2.11.1'
17
16
  script:
18
17
  - make test
19
18
  - bundle exec image_optim --info
20
19
  - bundle exec rspec
21
20
  before_install:
21
+ - 'echo "gem: --no-ri --no-rdoc --no-document" > ~/.gemrc'
22
22
  - gem install rubygems-update || gem install rubygems-update --version '< 3'
23
- - gem update --system
23
+ - update_rubygems
24
24
  - gem install bundler || gem install bundler --version '< 2'
25
25
  - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install imagemagick; fi; which convert
26
26
  - make ldd-version
@@ -32,9 +32,9 @@ matrix:
32
32
  - os: osx
33
33
  rvm: default
34
34
  osx_image: xcode11.2
35
- - env: RUBOCOP=✓
36
- rvm: '2.6.5'
35
+ - env: RUBOCOP=1
36
+ rvm: '2.6.6'
37
37
  script: bundle exec rubocop
38
- - env: CHECK_RUBIES=✓
39
- rvm: '2.6.5'
38
+ - env: CHECK_RUBIES=1
39
+ rvm: '2.6.6'
40
40
  script: bundle exec travis_check_rubies
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.6.0.20201024 (2020-10-24)
6
+
7
+ * pngquant 2.13.0 [@toy](https://github.com/toy)
8
+
5
9
  ## v0.6.0.20200215 (2020-02-15)
6
10
 
7
11
  * jpegarchive 2.2.0 and libmozjpeg 3.3.1 [@toy](https://github.com/toy)
data/Makefile CHANGED
@@ -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.12.5
16
+ PNGQUANT_VER := 2.13.0
17
17
 
18
18
  # ====== CHECKSUMS ======
19
19
 
@@ -1,13 +1,10 @@
1
1
  inherit_from: ../.rubocop.yml
2
2
 
3
- Lint/RedundantSplatExpansion:
3
+ Layout/LineLength:
4
4
  Enabled: false
5
5
 
6
- Metrics/LineLength:
6
+ Lint/RedundantSplatExpansion:
7
7
  Enabled: false
8
8
 
9
9
  Security/Eval:
10
10
  Exclude: [Rakefile]
11
-
12
- Style/BracesAroundHashParameters:
13
- Enabled: false
@@ -9,4 +9,4 @@ LIBPNG_SHA256 := daeb2620d829575513e35fecc83f0d3791a620b9b93d800b763542ece9390fb
9
9
  LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
10
10
  OPTIPNG_SHA256 := 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452
11
11
  PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
12
- PNGQUANT_SHA256 := 3638936cf6270eeeaabcee42e10768d78e4dc07cac9310307835c1f58b140808
12
+ PNGQUANT_SHA256 := 0d1d5dcdb5785961abf64397fb0735f8a29da346b6fee6666e4ef082b516c07e
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim_pack'
5
- s.version = '0.6.0.20200215'
5
+ s.version = '0.6.0.20201024'
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']
@@ -54,7 +54,7 @@ Gem::Specification.new do |s|
54
54
  s.add_dependency 'fspath', '>= 2.1', '< 4'
55
55
 
56
56
  s.add_development_dependency 'rspec', '~> 3.0'
57
- if RUBY_VERSION >= '2.2'
58
- s.add_development_dependency 'rubocop', '~> 0.59', '!= 0.78.0'
57
+ if RUBY_VERSION >= '2.4'
58
+ s.add_development_dependency 'rubocop', '~> 1.0'
59
59
  end
60
60
  end
@@ -72,11 +72,7 @@ class Livecheck
72
72
  def changelog_entry
73
73
  github_user = `git config github.user`.strip
74
74
  changed = livechecks.select(&:changed?)
75
- %W[
76
- *
77
- #{to_sentence(changed.map(&:name_n_latest_version))}
78
- [@#{github_user}](https://github.com/#{github_user})
79
- ].join(' ') + "\n"
75
+ "* #{to_sentence(changed.map(&:name_n_latest_version))} [@#{github_user}](https://github.com/#{github_user})\n"
80
76
  end
81
77
 
82
78
  def to_sentence(array)
@@ -15,10 +15,11 @@ describe ImageOptim do
15
15
  images_dir = FSPath.new(image_optim_root) / 'spec/images'
16
16
  test_images = images_dir.glob('**/*.*')
17
17
 
18
- isolated_options_base = {:skip_missing_workers => false}
19
- ImageOptim::Worker.klasses.each do |klass|
20
- isolated_options_base[klass.bin_sym] = false
21
- end
18
+ isolated_options_base = Hash[
19
+ ImageOptim::Worker.klasses.map do |klass|
20
+ [klass.bin_sym, false]
21
+ end
22
+ ].merge(:skip_missing_workers => false)
22
23
 
23
24
  ImageOptim::Worker.klasses.each do |worker_klass|
24
25
  next if [:pngout, :svgo].include?(worker_klass.bin_sym)
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.6.0.20200215
4
+ version: 0.6.0.20201024
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Ivan Kuchin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-15 00:00:00.000000000 Z
11
+ date: 2020-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -64,22 +64,16 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.59'
68
- - - "!="
69
- - !ruby/object:Gem::Version
70
- version: 0.78.0
67
+ version: '1.0'
71
68
  type: :development
72
69
  prerelease: false
73
70
  version_requirements: !ruby/object:Gem::Requirement
74
71
  requirements:
75
72
  - - "~>"
76
73
  - !ruby/object:Gem::Version
77
- version: '0.59'
78
- - - "!="
79
- - !ruby/object:Gem::Version
80
- version: 0.78.0
81
- description:
82
- email:
74
+ version: '1.0'
75
+ description:
76
+ email:
83
77
  executables: []
84
78
  extensions: []
85
79
  extra_rdoc_files: []
@@ -157,9 +151,9 @@ licenses:
157
151
  metadata:
158
152
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
159
153
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
160
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.6.0.20200215
154
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.6.0.20201024
161
155
  source_code_uri: https://github.com/toy/image_optim_pack
162
- post_install_message:
156
+ post_install_message:
163
157
  rdoc_options: []
164
158
  require_paths:
165
159
  - lib
@@ -174,8 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
168
  - !ruby/object:Gem::Version
175
169
  version: '0'
176
170
  requirements: []
177
- rubygems_version: 3.1.2
178
- signing_key:
171
+ rubygems_version: 3.1.4
172
+ signing_key:
179
173
  specification_version: 4
180
174
  summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
181
175
  jpegoptim, jpegtran, optipng, pngcrush, pngquant'