esvg 4.3.3 → 4.3.4

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: 0653d64743d2e579be45c0f0bf03adfa72a6ed5c
4
- data.tar.gz: 39c51eeeafbd2f4a5d26a04cde954aa00c41fd33
3
+ metadata.gz: 8c8ce957c55ac551dc1f3d5b6f258aa17e0c9e07
4
+ data.tar.gz: 79721c7d5e990437a7860aa33928484c43c7fe9c
5
5
  SHA512:
6
- metadata.gz: 5bdc9f7881b15cdab822db515c7727184055e0d76cd679c70c7d2df1c09df5ef41b5640cc348dbe22e81fe88705367bdb888fe39cc4681be01e75746331961fa
7
- data.tar.gz: 7608a22e619e3185a84df6f0ec8f3ac65e8bddde8a097234ff124044b33afe0f83674a03112487a7e32d5a2196bce436391f6b08b721d0095082cbaf48d44442
6
+ metadata.gz: 26dee9b0b6b601bbd04b9dfa2ea1729afa20c06772ca433e70c270a6459b3dcbf0b913a91e530510b0cb7f0d768363e47c354807b47bd94c54fb091b67a17030
7
+ data.tar.gz: 8e58aa8424c853ee832d13f16e95af4e94e1819cea792cdfbb4da8accbe8829ea7195a2951d4aeaf683715d208cb444db160df7283c9baef3c15c67a661bcac6
data/lib/esvg/utils.rb CHANGED
@@ -17,7 +17,7 @@ module Esvg
17
17
  def attributes(hash)
18
18
  att = []
19
19
  hash.each do |key, value|
20
- att << %Q{#{key}="#{value}"} unless value.nil?
20
+ att << %Q{#{key.to_s.gsub(/_/,'-')}="#{value}"} unless value.nil?
21
21
  end
22
22
  att.join(' ')
23
23
  end
data/lib/esvg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Esvg
2
- VERSION = "4.3.3"
2
+ VERSION = "4.3.4"
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.3.3
4
+ version: 4.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis