initials 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/initials/svg.rb +1 -1
- data/lib/initials/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f942a7cc275315fb9857c093f062b3b0540d440c5e8cbd788d04df0866cf6544
|
4
|
+
data.tar.gz: ac219a0e72952d98fd21fa21b7a4bb12626babd7fbfcbc509767edb1b35ac423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
:
|
data/lib/initials/version.rb
CHANGED
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.
|
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-
|
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.
|
84
|
+
rubygems_version: 3.3.7
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Simple SVG avatars
|