image_optim_pack 0.6.0.20200215 → 0.6.0.20201024

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: 199d6670167aa384cdb70f274ee427fc1c3252ea3e9c11e766ce52ea8c2c86ce
4
- data.tar.gz: b2103b00476aefb1f78f07cf03639caeed6e5e5ea3e2d5b4d96fa2b33bf1c9d5
3
+ metadata.gz: d63e524a85f3b735916c066f4c4da2fa60416e9b419ecac1a42df74551314ce2
4
+ data.tar.gz: 3a80f659c8e0cb5859e996271c844a6bcf95b07b0cfd0ed24123b2f7af18f3f1
5
5
  SHA512:
6
- metadata.gz: 8b727e43a28f046850a008007b33ca4d5217101670a165338267ebe883fe9a93e09a4dc6212c7eda49bfb2830846712f08574891a9056f27caf91d6cc153a8ea
7
- data.tar.gz: fed59a0dd80aaa64257b156dcd9b76625f3847c58e2cd3235892537c4e040d252e51400cb50ffe73cdbb52b85db4b8aacb2b02db5a7d34b4ba3d5238f18db7a5
6
+ metadata.gz: b58d1b66f13ff5363da17e6c041679b76bb14b8453e4c16c3f8d38396e565f9bea688c8ad54acdb3461567ba12af9bd07451f363c978e59a3409e95e2105422d
7
+ data.tar.gz: 0ee77660e378fe44c85555dce07a6e1d2adeb4af37eb3702659ab3bb9d860cc5da40829957c22b85c37386cf8d5c3a75cd7ec28bf15a573af3373bcf40bed250
@@ -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
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.6.0.20200215
4
+ version: 0.6.0.20201024
5
5
  platform: ruby
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: []
@@ -193,9 +187,9 @@ licenses:
193
187
  metadata:
194
188
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
195
189
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
196
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.6.0.20200215
190
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.6.0.20201024
197
191
  source_code_uri: https://github.com/toy/image_optim_pack
198
- post_install_message:
192
+ post_install_message:
199
193
  rdoc_options: []
200
194
  require_paths:
201
195
  - lib
@@ -210,8 +204,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
204
  - !ruby/object:Gem::Version
211
205
  version: '0'
212
206
  requirements: []
213
- rubygems_version: 3.1.2
214
- signing_key:
207
+ rubygems_version: 3.1.4
208
+ signing_key:
215
209
  specification_version: 4
216
210
  summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
217
211
  jpegoptim, jpegtran, optipng, pngcrush, pngquant'