image_optim_pack 0.6.0.20200215-x86-darwin → 0.6.0.20201024-x86-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: e2acb78fbc0dfcf776bdb3a47c82bab8bd11db67e5b3a09842cfa35c364158bd
4
- data.tar.gz: da7ae6a838883eb4734324059662fe646bfd4d1c74180458e317549b2ca53e13
3
+ metadata.gz: 21d00fa35f5047a3421e6b3d80e76ea1f038655081f060c11a0cb3b6a337c107
4
+ data.tar.gz: 8468c75ebab697521171d8eaabe0a6a19463f3615ca6e3185a4f644cde74fef8
5
5
  SHA512:
6
- metadata.gz: 97f48e4a538af981c71ab7160130659390b717ccb4aeaf95b96a2901f349359f1cc95146fcf4bbfedd2a7a9d2f51359369b54e4508cc9306d3eb85d079a4c4e3
7
- data.tar.gz: f3f4b23dde66624c4732e489f8d46d01dd0370ca0b3570c141f576b0ac824afc70e76722cadf8dbdf5adb4a214332720b6dcabf66026bee94587e53a5d3945a6
6
+ metadata.gz: 16a77acddbe42bbece56fc2a7f6b020dc0e77c3ee181384755a18665d0f41547e1df33dde92cedcd6021fd26b2351cf9207884cb82c4c4fa7dfe8a44564a6cbd
7
+ data.tar.gz: 5a06563046d3a5a15ff837be265e496240bb2416e72dd3f34fa2efd15fb27aaead6615027d463e799dcb4bcb01baf3bc98a054e9cfaf1e1f1beab57688f066f2
@@ -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-darwin
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'