esvg 2.8.5 → 2.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/esvg/svg.rb +1 -1
- data/lib/esvg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c5e7ce6a36acf545b3d05269d817bd64e9d73bc
|
4
|
+
data.tar.gz: aa6a8709daaea5c4a62c3abdb2902207ec35f24d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 812a5bb6f30cd98253253b25a33b22c027170cc1e107dc684f249634bb2294d466ff60570f59509a9bd03837a4d6243d58c3ce9620bdfe54a4aa421192858a42
|
7
|
+
data.tar.gz: 2565a6132628bd9ca60f6bb1e6013cce667f80095c264fd9e3ea64a6104bfab0dd4b57b57c24fca3e168b1d1b54e44885c22620ca863248bf973dcd27b3ffd42
|
data/CHANGELOG.md
CHANGED
data/lib/esvg/svg.rb
CHANGED
@@ -361,7 +361,7 @@ module Esvg
|
|
361
361
|
symbols << prep_svg(name, data[:content])
|
362
362
|
end
|
363
363
|
|
364
|
-
symbols = optimize(symbols.join).gsub(/class
|
364
|
+
symbols = optimize(symbols.join).gsub(/class=/,'id=').gsub(/<svg/,'<symbol')
|
365
365
|
|
366
366
|
%Q{<svg id="esvg-symbols" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none">#{symbols}</svg>}
|
367
367
|
end
|
data/lib/esvg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: esvg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|