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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2da28ea1e8640ec981f34b2003a86a174e052a52bfbf6212e053e45d83d41434
4
- data.tar.gz: a104b747a22be39f73f3aff82997bb97095b1bc2e80e614c245141cc567e0ee9
3
+ metadata.gz: baa97944d5712d165ad635be5d6e5a55db7112b1ee8fb79817080e39a610eb70
4
+ data.tar.gz: 3a868ffaaef7f858b53b3d958022e62f9bdd5f5c0a59d6187e326ca7b1a2fa39
5
5
  SHA512:
6
- metadata.gz: ccf144665851405296a9ed4e5ecadedc806ad356e42de57e12dad1bf1fdfc6f85119e65c6ff9920711e94cae09bfaf8b5e7f534c8f564da4f2537742b0acc935
7
- data.tar.gz: fbac0c23f6fad704919cd8684fc0a9ce7c182661d846c272ae9fc146c78222a527375a2a07a9f94744be110adb4f84bb521323be7967311bce0f92fb59153301
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
+ }
@@ -1,7 +1,7 @@
1
1
  module Basicons
2
2
  class Basicon
3
- DEFAULT_HEIGHT = 16
4
- attr_reader :data, :symbol, :options
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 = 24 if @size.zero?
43
+ @size = 16 if @size.zero?
44
44
  @size
45
45
  end
46
46
 
@@ -1,3 +1,3 @@
1
1
  module Basicons
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.5'.freeze
3
3
  end
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.3
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
- - basicons's authors
7
+ - Basicons Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-07 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: