sprockets-svg 0.1.0 → 0.1.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: 920dbc50372c4ed37c7ae51dde3e0b559ab618ea
4
- data.tar.gz: c1d1bed364e46f9d17e53e95f53558da4e450079
3
+ metadata.gz: c6439f1114a133c9ab14bce3aeafeaf425f03c45
4
+ data.tar.gz: 86459530a23b8970ea2292ecace29f4c94928c40
5
5
  SHA512:
6
- metadata.gz: 2d25bb9d9a0b5533196d2f4a9450c75f87be8391fd21965b208ec92e51a7f155b0859db77d554e2cb067c1bace026f8a47fe3ab5e63388597cd1dfd5f684a118
7
- data.tar.gz: e361fd605239e6decd33387bcad7368db8dfc43ad9d55a0c4bcd5b21ca20988c28332c9ef5ffc21ced771b0e7eaf21afb02e9647875cfe303fac8ac3ab25606c
6
+ metadata.gz: 743b111d91adc82fba689c4f19fa774d0c7af2ec2b67750f5c7a66d0ad038a7c140714113bd1e6abebe9fa0d7d3bcd13f6c9a8da0b2a9e4932b1186da49d4dce
7
+ data.tar.gz: 4bffed0633a484b1ea3e3350e39b6170ea6a1a243d8a23ab49ed592c281701281fc241ca2a4e09c9162f332836248465a62af4538f0281e378c394e90b1b05b2
@@ -17,10 +17,10 @@ module Sprockets
17
17
  end
18
18
 
19
19
  def png_path(svg_path)
20
- if svg_path =~ /^(.*)\-([0-9a-f]+)\.svg$/
21
- "#{$1}.svg-#{$2}.png"
20
+ if svg_path =~ /^(.*)\-([0-9a-f]{40})\.svg$/
21
+ p "#{$1}.svg-#{$2}.png"
22
22
  else
23
- "#{svg_path}.png"
23
+ p "#{svg_path}.png"
24
24
  end
25
25
  end
26
26
 
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Svg
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-svg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier