image_optim 0.26.0 → 0.26.1

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
  SHA1:
3
- metadata.gz: 1aeb8f8d2ab461d2e51a1956f736301d9c49bb86
4
- data.tar.gz: 183e8cc5d1a0669a2f11292bf735e9cdf43ab642
3
+ metadata.gz: ee767f813631dc2d9c8e6fa29215c7a03fc27c47
4
+ data.tar.gz: 1e6475763f0e1f2966d9f6eef4ae5b39e1daa700
5
5
  SHA512:
6
- metadata.gz: 4f06ddb5e329cd2592bfde66cabcc7cd10136c40b03f25c45ab872a1155cc3ba909da869ade47e59f038071c07c0cdc3d9408c869e7f799d9a9646f6b78f7d29
7
- data.tar.gz: 44e30b8b6bd3e43d0dbe309bbc34ae6ced6725ec87fa3f3661572eb4906ceed6a9e149a51c669878e8eff42a554a898302e2b448af57f50d1bddf98e7a3cbcbc
6
+ metadata.gz: 059eb206df2283758e5e937728b57a0e9aa558b791a2b07a01eb6087b3fdd268dfb9520b9b9f35b63e6fd604f7f26e2c3f53589818ef6c887a1e1d178282b758
7
+ data.tar.gz: 6fc6ac440fdb1661372d038c1bdb50eed3a782b04846a22de2757cb2e8c770de665ca6d5ab1d90f91025c078a44ff684177522469c6af733ea216c13ec179280
@@ -40,7 +40,7 @@ Lint/AmbiguousBlockAssociation:
40
40
  Lint/EndAlignment:
41
41
  EnforcedStyleAlignWith: variable
42
42
 
43
- Lint/RescueWithoutErrorClass:
43
+ Lint/NestedPercentLiteral:
44
44
  Enabled: false
45
45
 
46
46
  Lint/UnneededSplatExpansion:
@@ -83,15 +83,21 @@ Style/EmptyCaseCondition:
83
83
  Style/Encoding:
84
84
  Enabled: false
85
85
 
86
+ Style/FormatStringToken:
87
+ Enabled: false
88
+
86
89
  Style/HashSyntax:
87
90
  EnforcedStyle: hash_rockets
88
91
 
89
92
  Style/IfUnlessModifier:
90
- MaxLineLength: 40
93
+ Enabled: false
91
94
 
92
95
  Style/ParallelAssignment:
93
96
  Enabled: false
94
97
 
98
+ Style/RescueStandardError:
99
+ EnforcedStyle: implicit
100
+
95
101
  Style/Semicolon:
96
102
  AllowAsExpressionSeparator: true
97
103
 
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.26.1 (2017-12-14)
6
+
7
+ * Require `'date'` which is used in parsing pngout version [toy/image_optim_pack#14](https://github.com/toy/image_optim_pack/issues/14) [@toy](https://github.com/toy)
8
+
5
9
  ## v0.26.0 (2017-11-13)
6
10
 
7
11
  * Enable `jpegrescan` by default after removing its dependency on `File::Slurp` and fixing for windows [#153](https://github.com/toy/image_optim/issues/153) [@toy](https://github.com/toy)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim'
5
- s.version = '0.26.0'
5
+ s.version = '0.26.1'
6
6
  s.summary = %q{Optimize (lossless compress, optionally lossy) images (jpeg, png, gif, svg) using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
@@ -28,7 +28,7 @@ EOF
28
28
 
29
29
  s.add_development_dependency 'image_optim_pack', '~> 0.2', '>= 0.2.2'
30
30
  s.add_development_dependency 'rspec', '~> 3.0'
31
- if RUBY_VERSION >= '2.0'
32
- s.add_development_dependency 'rubocop', '~> 0.49'
31
+ if RUBY_VERSION >= '2.1'
32
+ s.add_development_dependency 'rubocop', '~> 0.52'
33
33
  end
34
34
  end
@@ -5,6 +5,7 @@ require 'image_optim/cmd'
5
5
  require 'image_optim/path'
6
6
  require 'shellwords'
7
7
  require 'digest/sha1'
8
+ require 'date'
8
9
 
9
10
  class ImageOptim
10
11
  class BinResolver
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_optim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-13 00:00:00.000000000 Z
11
+ date: 2017-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fspath
@@ -132,14 +132,14 @@ dependencies:
132
132
  requirements:
133
133
  - - "~>"
134
134
  - !ruby/object:Gem::Version
135
- version: '0.49'
135
+ version: '0.52'
136
136
  type: :development
137
137
  prerelease: false
138
138
  version_requirements: !ruby/object:Gem::Requirement
139
139
  requirements:
140
140
  - - "~>"
141
141
  - !ruby/object:Gem::Version
142
- version: '0.49'
142
+ version: '0.52'
143
143
  description:
144
144
  email:
145
145
  executables: