sprockets-svg 0.4.0 → 0.4.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: ca8ee0ce977bf5c0d1140265953cf17b190ad529
4
- data.tar.gz: 369619d9d2d2104abcd51e0c9601cc20767d2281
3
+ metadata.gz: a65ce19f548cf679a667ae56c46ef581ab6da84b
4
+ data.tar.gz: e6f30c812abd3d0c97d69c9cdd6270954c138a96
5
5
  SHA512:
6
- metadata.gz: 67479b3fa111293006e1f3770120e43eb9bfdef0e6e6fcec190fa22829f40f6e96befa03d5a5f06c9cc2f71aae3c712f6638bff60003d7fae6a75159341418a3
7
- data.tar.gz: 8531492ffb4c19fdc63b1ce3ebd89625523a3e1e283bcccda14b944619193728ebbc513c2baad640f0b00737a97fcd747f6ae3111541d6d4270e9b92b16478c1
6
+ metadata.gz: ffa855491d57cfbd28aa95798254975ca00e13d46bbad3fa565470725b742c3d07fa403a7980cc292561697ef9b9db3f600e242195e45407bf93e2bcb0258a29
7
+ data.tar.gz: 1a56c59f325a59a7060a8976d27b15c4af6f6b2b00e9b668e62523904965ba55ab2665126e5ce8008ee91b8b0dc59842730b2728afec9570939c34b7a96a9cfa
@@ -29,7 +29,8 @@ module Sprockets
29
29
  # Gzip contents if filename has '.gz'
30
30
  options[:compress] ||= File.extname(filename) == '.gz'
31
31
 
32
- tmp_path = Tempfile.new(['svg2png', '.svg']).path
32
+ file = Tempfile.new(['svg2png', '.svg'])
33
+ tmp_path = file.path
33
34
  png_path = tmp_path + '.png'
34
35
 
35
36
  @original_asset.write_to(tmp_path, options.merge(compress: false))
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Svg
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-svg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-20 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.2.2
130
+ rubygems_version: 2.4.6
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: SVG toolchain for sprockets