initials 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9e93b9af7fecf572fbcf123770f1c94d35cfd7206de6498ba0b9820186f91ad
4
- data.tar.gz: f2435541f81450b5e7fd458527579fb9c8fcf36b6bd3571c802531412daf1393
3
+ metadata.gz: f942a7cc275315fb9857c093f062b3b0540d440c5e8cbd788d04df0866cf6544
4
+ data.tar.gz: ac219a0e72952d98fd21fa21b7a4bb12626babd7fbfcbc509767edb1b35ac423
5
5
  SHA512:
6
- metadata.gz: acf34c95dc2200b59f83835dbe885b45a694fbe8cd22dfe6fea46b5776839f5b236a7e0537c6177a6e1e76206ca73d32fefefeb4e5a6845bff6aeafb6bb7c0ed
7
- data.tar.gz: 0a0aafb85bb929a5dcb785064693d4329eb5f127c8b8668f466d332c5424dae7f58ddac2bd8674656e79a1683ca7a71348ebc05ce71f813907bd9a77f3d520fe
6
+ metadata.gz: 5b4291e58c69db4f26b4d4ad007e0f14f0fe7b92722c5929554fc2c2a7e2026fdb9a2d927b1775e2124963e2d8f9731896b37b43222801933d751e41896ab412
7
+ data.tar.gz: da1900a26429932d5b9186438488920e12d040bbf433a835de7ae4d274216b69e975050c8ce6720ce1566ba90b43b77e2c291ba8449949cc9c287324374df114
data/lib/initials/svg.rb CHANGED
@@ -21,7 +21,7 @@ module Initials
21
21
 
22
22
  def to_s
23
23
  svg = [
24
- "<svg width='#{size}' height='#{size}'>",
24
+ "<svg xmlns='http://www.w3.org/2000/svg' width='#{size}' height='#{size}'>",
25
25
  shape == :rect ?
26
26
  "<rect width='#{size}' height='#{size}' rx='#{size / 32}' ry='#{size / 32}' fill='#{fill}' />"
27
27
  :
@@ -1,3 +1,3 @@
1
1
  module Initials
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: initials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Hutterer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-22 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.0.8
84
+ rubygems_version: 3.3.7
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Simple SVG avatars