tabler_icons_ruby 1.0.0 → 1.2.0

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
  SHA256:
3
- metadata.gz: 0acca48dea60ab8dd1e9099839f91c60abaaa9832360744a03347c01a57c1dd8
4
- data.tar.gz: 1ee49cd1e0ae56704e429f6d358428ef1554ef7a93585ea0f86fb3886d0b6546
3
+ metadata.gz: f4583d0ef6232641ad09ad4d8f30fcfa6b28bc16b7977121ebf664902207943b
4
+ data.tar.gz: c71e5fb15510a4de57502d5ba62516ea22ab5f4c65d1136aad688537c33dc74f
5
5
  SHA512:
6
- metadata.gz: 917703d6600debfec151e3eb31c7fa4d50479b70d6cb770a65a77cad8539d7f560552f3aa08a2462cb177515050e4f75c98c01dfee5012670616c41271f948c8
7
- data.tar.gz: f11e0ba92f9ab801e183fc9d36c4b9d8ed64a4b2dd9e36c6a524b2c1cad99207ab8075281c5c2661b14e948c21315b5e8270b71d78757819b37efd2ca0d7f7bb
6
+ metadata.gz: 5fb386aa6a9d71fbec6f6be08e9f9878c58051a1b1ef0d7346bbcc6268f80a15f4d662fbf26f983bb6a6d6624676e378cad750cddd24eaad4451d87c90c91eb5
7
+ data.tar.gz: 411003a536aec48824985c8b472a497cc43aa0292a3567f586dd565894bd7980c56a57a59abc1a8711ed63ce63cda2823b6febbcacedd450ad5d1989a0acd8ff
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TablerIconsRuby
4
- VERSION = "1.0.0"
4
+ VERSION = "1.2.0"
5
5
  end
@@ -23,14 +23,16 @@ module TablerIconsRuby
23
23
  root.set_attribute('class', classes)
24
24
  end
25
25
 
26
- root.set_attribute('stroke', color) if color
26
+ root.set_attribute('color', color) if color
27
27
  root.set_attribute('stroke-width', stroke_width) if stroke_width
28
28
 
29
29
  options.each do |attribute_name, attribute_value|
30
30
  root.set_attribute(attribute_name, attribute_value)
31
31
  end
32
32
 
33
- root.to_html
33
+ html = root.to_html
34
+ html = html.html_safe if html.respond_to?(:html_safe)
35
+ html
34
36
  end
35
37
 
36
38
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabler_icons_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owais