esvg 4.1.5 → 4.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d20c0d47c1de18455cf263a1576a666d3367a8e
4
- data.tar.gz: 5e5fa54309376f6dd9f6c4502b0ad288fc804593
3
+ metadata.gz: 4cdf73f761408b10ec69e4e92b90ad3ca5d8e455
4
+ data.tar.gz: a5e7b7841d4761066d146e834ad4a13e8c3c5ee6
5
5
  SHA512:
6
- metadata.gz: ae4ce15819ac86f8ef095a490a7701df40ab7967afa4399814ebfe1801f603488bda19fd66520be08f95aa8b29a529c16ca69c5d8f93f000086065493c441659
7
- data.tar.gz: bafa410faa0ba70c27566e3f1f6c5e9fb8358327b11a24e8e77a637ba7fbf71a74116e45915101a94f924d946afe5f25d2bcb708ba1c5d390149ddc6428d2796
6
+ metadata.gz: 1928c26c95e17f3c2e370e024b4556e7ef8d45aeb282ace3f74aca6c052727351e0ec0a9ac542b29c83c5feac7f0cbc7d59eb8d8471a93bc40060c19cc35e353
7
+ data.tar.gz: a87add93e18ecc8a439802726aa57836665f58200584de74c6932be4a98f958894721e62767d2ec899bd8550f1abda0df510116e68e82983c9c33c5d55da48bd
@@ -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"
@@ -1,3 +1,3 @@
1
1
  module Esvg
2
- VERSION = "4.1.5"
2
+ VERSION = "4.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esvg
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.5
4
+ version: 4.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis