basicons 1.0.3 → 1.0.4

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: c4317dc2b0ca155bcf56df5a880671797227047b9a98724055b81020a4197005
4
+ data.tar.gz: edbb025d188fafb1fbd28544e3524dbf8f86e0b745c5b578451d6dcb285785a5
5
5
  SHA512:
6
- metadata.gz: ccf144665851405296a9ed4e5ecadedc806ad356e42de57e12dad1bf1fdfc6f85119e65c6ff9920711e94cae09bfaf8b5e7f534c8f564da4f2537742b0acc935
7
- data.tar.gz: fbac0c23f6fad704919cd8684fc0a9ce7c182661d846c272ae9fc146c78222a527375a2a07a9f94744be110adb4f84bb521323be7967311bce0f92fb59153301
6
+ metadata.gz: 4970bbc6a983d3518846be9f62389b8c5a70d97d27c9ab0b61f77d6d0febf4aadabfc914f50896899054a9d9444700d5637827b3adb9e9b797be1797c4ff815b
7
+ data.tar.gz: 2e32747044ff27e880dc13e7dac92f56341d20726496de5890c53d3c77bc0b7474608c380ed2afbdd85b89739ded7aa6e8657910d7832a9f8f7e3435d78f35ab
@@ -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.4'.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.4
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: