image_optim 0.20.1 → 0.20.2
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 +8 -8
- data/.travis.yml +0 -2
- data/CHANGELOG.markdown +4 -0
- data/image_optim.gemspec +1 -1
- data/lib/image_optim/image_path.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzQ1MWJkNDA5NGFiYTk2NGQyNGIwNDBmNDkwM2UxOThiNGJiZGNhZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjQ3ZTJiYmVlMjVlNjFiZjE4ZWM3OWNmNTUyNmE5YTE2YjJkMGI5Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWJmZWIzZDY0YmVjMDJlMmU5MDU5MDllZGZmNjI2ZmM0YjhiZDc1MGJmOGIz
|
10
|
+
Yzk3OTIwYTU0ZGEwYzMxZmI5ODEwMTEwYzM4MTE4NjU4NWU1NDAxNGQwN2Rj
|
11
|
+
ZDcyYzIxNWRlNDAzZGQzOWNlOWU0NjJlMjBiMTEwZGZkNDdjNzg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzBhYzFjODYwMjg4MTliZjE4NTIzODdjOTY1YzE2NGVlYmFmZjY4ZGUwYTlh
|
14
|
+
NjMwNWExOTI2MjhhNjExNzQxOTExMjJkMzExZTM2ZjNmMzU5MDYwMGMxZmFk
|
15
|
+
MmQwYThlYzdlYmI5Zjc1YmUxOGY4OWFiODc1NjNhYWU5NTMzYTg=
|
data/.travis.yml
CHANGED
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.20.2 (2014-12-26)
|
6
|
+
|
7
|
+
* Fix `ImagePath#temp_path` for ruby 2.2 caused by `Tmpname#make_tmpname` accepting only objects directly convertible to String for prefix and suffix starting with 2.2 [#74](https://github.com/toy/image_optim/issues/74) [@toy](https://github.com/toy)
|
8
|
+
|
5
9
|
## v0.20.1 (2014-12-19)
|
6
10
|
|
7
11
|
* Fix [paperclip-optimizer issue #13](https://github.com/janfoeh/paperclip-optimizer/issues/13): railtie broken with `undefined local variable or method 'app'` [#72](https://github.com/toy/image_optim/issues/72) [@janfoeh](https://github.com/janfoeh)
|
data/image_optim.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'image_optim'
|
5
|
-
s.version = '0.20.
|
5
|
+
s.version = '0.20.2'
|
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']
|
@@ -29,7 +29,7 @@ class ImageOptim
|
|
29
29
|
# Get temp path for this file with same extension
|
30
30
|
def temp_path(*args, &block)
|
31
31
|
ext = extname
|
32
|
-
self.class.temp_file_path([basename(ext), ext], *args, &block)
|
32
|
+
self.class.temp_file_path([basename(ext).to_s, ext], *args, &block)
|
33
33
|
end
|
34
34
|
|
35
35
|
# Copy file to dest preserving attributes
|
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.20.
|
4
|
+
version: 0.20.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fspath
|