esvg 4.2.1 → 4.2.2
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 +4 -4
- data/lib/esvg/symbol.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: 45b02c0483d1b0b5cd6e4316187f888a24646244
|
4
|
+
data.tar.gz: 99767ee243fa39ba1ca04543ee906dde2332efb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5500ee2bbf28c003186523461f1a5f9020703ebfdb3ab5f67aa2afcfccd75f5ec50b38a416dbb1e2f3f5446767afbec6038403b05defea49a32e87ef4c506553
|
7
|
+
data.tar.gz: dde6e824a2a0878e5969dc4d8b1f62de4d4323cc6913c830005324711d37dae55f3cfe20c7ae814a2cb66b54e5e0358902a5eedabab561db75dc4b5a608d6041
|
data/lib/esvg/svg.rb
CHANGED
@@ -71,10 +71,10 @@ module Esvg
|
|
71
71
|
|
72
72
|
def svg
|
73
73
|
attr = {
|
74
|
-
"data-symbol-class"
|
75
|
-
"data-prefix"
|
76
|
-
"version"
|
77
|
-
"style"
|
74
|
+
"data-symbol-class" => @config[:class],
|
75
|
+
"data-prefix" => @config[:prefix],
|
76
|
+
"version" => "1.1",
|
77
|
+
"style" => "height:0;position:absolute"
|
78
78
|
}
|
79
79
|
%Q{<svg id="esvg-#{id}" #{attributes(attr)}>#{optimize}</svg>}
|
80
80
|
end
|
data/lib/esvg/symbol.rb
CHANGED
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: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|