basicons 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/data.json +1 -1
- data/lib/basicons/basicon.rb +3 -3
- data/lib/basicons/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: baa97944d5712d165ad635be5d6e5a55db7112b1ee8fb79817080e39a610eb70
|
4
|
+
data.tar.gz: 3a868ffaaef7f858b53b3d958022e62f9bdd5f5c0a59d6187e326ca7b1a2fa39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 634b1f736797e8a2c130f70c4ea96bcd3e2385457750c2a97dbd2a556b8a5e61f4f9d042f6ae3ada90ddeaebdc32824be2d0c2802d0a6199d5db4684159770e4
|
7
|
+
data.tar.gz: a8b7b75466231f3257cb0ff842d5d388dd92edba6fd6a67ba974ddab51d833bc8b69886380192a076ac1885a10851df2a2801277eb7ab748637b0d6066981995
|
data/lib/assets/data.json
CHANGED
@@ -319,4 +319,4 @@
|
|
319
319
|
"media-film-video-alt": "<path d=\"M2 17H22M2 7H22M7 2V7M7 17V22M12 2V7M12 17V22M17 2V7M17 17V22M4 22H20C21.1046 22 22 21.1046 22 20V4C22 2.89543 21.1046 2 20 2H4C2.89543 2 2 2.89543 2 4V20C2 21.1046 2.89543 22 4 22ZM11 10.5V13.5L13.5 12L11 10.5Z\" />",
|
320
320
|
"globe-world-earth": "<circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M3 12H22\" /><path d=\"M12 2.2019C14.4744 4.72698 16 8.18526 16 11.9999C16 15.8145 14.4744 19.2728 12 21.7978\" /><path d=\"M12 2.2019C9.52563 4.72698 8 8.18526 8 11.9999C8 15.8145 9.52563 19.2728 12 21.7978\" />",
|
321
321
|
"coffee-tea-cup": "<path d=\"M17 6H17.9098C19.6165 6 21 7.38352 21 9.09017C21 10.2606 20.3387 11.3307 19.2918 11.8541L17 13.5M3 3V18C3 19.6569 4.34315 21 6 21H14C15.6569 21 17 19.6569 17 18V3H3Z\" />"
|
322
|
-
}
|
322
|
+
}
|
data/lib/basicons/basicon.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Basicons
|
2
2
|
class Basicon
|
3
|
-
|
4
|
-
attr_reader :
|
3
|
+
attr_reader :data, :size
|
4
|
+
attr_reader :symbol, :options
|
5
5
|
|
6
6
|
def initialize(symbol, options = {})
|
7
7
|
@symbol = symbol.to_s
|
@@ -40,7 +40,7 @@ module Basicons
|
|
40
40
|
def svg_size
|
41
41
|
return @size unless @size.nil?
|
42
42
|
@size = @options[:size].to_i
|
43
|
-
@size =
|
43
|
+
@size = 16 if @size.zero?
|
44
44
|
@size
|
45
45
|
end
|
46
46
|
|
data/lib/basicons/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: basicons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Basicons Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|