esvg 4.1.5 → 4.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/esvg/svg.rb +2 -2
- data/lib/esvg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cdf73f761408b10ec69e4e92b90ad3ca5d8e455
|
4
|
+
data.tar.gz: a5e7b7841d4761066d146e834ad4a13e8c3c5ee6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1928c26c95e17f3c2e370e024b4556e7ef8d45aeb282ace3f74aca6c052727351e0ec0a9ac542b29c83c5feac7f0cbc7d59eb8d8471a93bc40060c19cc35e353
|
7
|
+
data.tar.gz: a87add93e18ecc8a439802726aa57836665f58200584de74c6932be4a98f958894721e62767d2ec899bd8550f1abda0df510116e68e82983c9c33c5d55da48bd
|
data/lib/esvg/svg.rb
CHANGED
@@ -527,8 +527,8 @@ module Esvg
|
|
527
527
|
File.join config[:assets], "#{name}.js"
|
528
528
|
else # or a build file?
|
529
529
|
|
530
|
-
# User doesn't want a fingerprinted build file
|
531
|
-
if !config[:fingerprint]
|
530
|
+
# User doesn't want a fingerprinted build file and hasn't set a version
|
531
|
+
if !config[:fingerprint] && !config[:version]
|
532
532
|
File.join config[:build], "#{name}.js"
|
533
533
|
else
|
534
534
|
File.join config[:build], "#{name}-#{version(key)}.js"
|
data/lib/esvg/version.rb
CHANGED