image_optim 0.20.1 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDlmMzUzY2MzZTU3ZDEwYTAwZjIzZjlhYzM5Y2U1ZjkzM2NjN2YyNg==
4
+ NzQ1MWJkNDA5NGFiYTk2NGQyNGIwNDBmNDkwM2UxOThiNGJiZGNhZQ==
5
5
  data.tar.gz: !binary |-
6
- ODY3YWE2ZjQyMWM2MWU3YTcwMGExYThjMmJmNzQ1ZWFlNzYxZDA3Ng==
6
+ ZjQ3ZTJiYmVlMjVlNjFiZjE4ZWM3OWNmNTUyNmE5YTE2YjJkMGI5Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTQ4YmVkNjliOTQ5NTNjZWQ3Y2EyNzI5NGU5ZWExNjk0N2RjNDI3NzlmOWRm
10
- OTBiYTQ5MzBmYzI2ZThhOGMwMmFkNzJhNmI4NmFlODZmYTA3NmRmOGZjZWRl
11
- YWI5ZmNlM2ZhODY5Zjc1Yzk0YjM4YWJhZGRjMWNhMTdlNDE3ODE=
9
+ OWJmZWIzZDY0YmVjMDJlMmU5MDU5MDllZGZmNjI2ZmM0YjhiZDc1MGJmOGIz
10
+ Yzk3OTIwYTU0ZGEwYzMxZmI5ODEwMTEwYzM4MTE4NjU4NWU1NDAxNGQwN2Rj
11
+ ZDcyYzIxNWRlNDAzZGQzOWNlOWU0NjJlMjBiMTEwZGZkNDdjNzg=
12
12
  data.tar.gz: !binary |-
13
- MjUxYWJlY2RmZWIzMDIwYzMzYTJkMDBmNzkxMDI1ZDc3OWFmN2Y3ODU0MTNh
14
- M2JjNTRhZDk4Nzc0YzQxZWMyNWQ2MWIzOTYyYTcxZjQ4NjlkZmU0NmY1MzEx
15
- MjI4NGIxMDVmNmJlYTk4NmRiNTJiZjUyYmZhYTdkZGNlNzBlMmQ=
13
+ YzBhYzFjODYwMjg4MTliZjE4NTIzODdjOTY1YzE2NGVlYmFmZjY4ZGUwYTlh
14
+ NjMwNWExOTI2MjhhNjExNzQxOTExMjJkMzExZTM2ZjNmMzU5MDYwMGMxZmFk
15
+ MmQwYThlYzdlYmI5Zjc1YmUxOGY4OWFiODc1NjNhYWU5NTMzYTg=
data/.travis.yml CHANGED
@@ -26,8 +26,6 @@ env:
26
26
  - PATH=~/bin:$PATH
27
27
  matrix:
28
28
  fast_finish: true
29
- allow_failures:
30
- - rvm: '2.2'
31
29
  include:
32
30
  - env: RUBOCOP=true
33
31
  rvm: default
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.1'
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.1
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-19 00:00:00.000000000 Z
11
+ date: 2014-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fspath