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 +4 -4
- data/lib/sprockets/svg/proxy_asset.rb +2 -1
- data/lib/sprockets/svg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a65ce19f548cf679a667ae56c46ef581ab6da84b
|
4
|
+
data.tar.gz: e6f30c812abd3d0c97d69c9cdd6270954c138a96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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))
|
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.
|
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:
|
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.
|
130
|
+
rubygems_version: 2.4.6
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: SVG toolchain for sprockets
|