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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6afe3c4e87f91799f761a2a51b28b3296f9bc1e5
4
- data.tar.gz: 891eb3479a51840f05d37cfebdb3c88aeb63d30e
3
+ metadata.gz: 45b02c0483d1b0b5cd6e4316187f888a24646244
4
+ data.tar.gz: 99767ee243fa39ba1ca04543ee906dde2332efb4
5
5
  SHA512:
6
- metadata.gz: 0368905cf2e9c135c1337f112b6eea8cdf7244a7a9421d23b45708205bc61d85ab2a0ac303c03c3ec7a9cf50b68d55bdadbaeaba8c816063e5fbb9dea6acf3e4
7
- data.tar.gz: e142f0dd1b4e1ab20194480171a075f2642f371fa2f90270e9a6b0e43ccf77012d4f8d0c5ce9da16fa5dc00a998371f9df18118af6970312fa5800248ea8f2dd
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": @config[:class],
75
- "data-prefix": @config[:prefix],
76
- "version": "1.1",
77
- "style": "height:0;position:absolute"
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
@@ -63,7 +63,7 @@ module Esvg
63
63
  end
64
64
 
65
65
  def attr
66
- { id: @id, 'data-name': @name }.merge @size
66
+ { id: @id, 'data-name' => @name }.merge @size
67
67
  end
68
68
 
69
69
  def use(options={})
data/lib/esvg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Esvg
2
- VERSION = "4.2.1"
2
+ VERSION = "4.2.2"
3
3
  end
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.1
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-30 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler