healthicons 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/healthicons/icon.rb +1 -1
- data/lib/healthicons/transform.rb +1 -1
- data/lib/healthicons/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b46057571f8292b1cbb32a7464db270fd2abd131fc491c0dc62256dbe9aac9b6
|
4
|
+
data.tar.gz: 69927853c994508d19c04ad3e4d6172b8ca1248fff2b393f89e6b4b11589dac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edcd9a050c2e78a00ccc6c90b0f6c859d9f41f1c05dae376ac4eb57d7f663db02a6462788a265244a80c3f69744d6864a5223b35b8af96f63d0c48e04521ed42
|
7
|
+
data.tar.gz: 0e84b9918711b80b0f981d4176cfac2a1ba9e6a97952d78aa31e28b3b7ffa7f3fcfe55f4aae990bf4ef0da86d6445d82c900df413360dd84b0936a31c2540d3b
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1
1
|
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [0.0.4] - 2021-07-9
|
8
|
+
|
9
|
+
- CHANGED: Removing adding varient attribute to SVG/XML when a variant is specified
|
10
|
+
- FIXED: mispelling of `variant` so all icons were being defaulted to to `:outline`
|
2
11
|
|
3
12
|
## [0.0.1] - 2021-06-30
|
4
13
|
|
data/lib/healthicons/icon.rb
CHANGED
@@ -19,7 +19,7 @@ module Healthicons
|
|
19
19
|
# @param icon [String] The icon image name
|
20
20
|
# @param options [Hash](optional)
|
21
21
|
def initialize(icon, options = {})
|
22
|
-
@variant = variant_check(options[:
|
22
|
+
@variant = variant_check(options[:variant])
|
23
23
|
@name = icon.to_s
|
24
24
|
@options = options
|
25
25
|
end
|
@@ -6,7 +6,7 @@ module Healthicons
|
|
6
6
|
class Transform
|
7
7
|
DEFAULT_OPTIONS = { 'aria-hidden' => true, focusable: false, role: 'img', size: 24 }.freeze
|
8
8
|
HEIGHT_AND_WIDTH = %i[height width].freeze
|
9
|
-
KEYS_TO_REMOVE = %i[height width viewbox xmlns].freeze
|
9
|
+
KEYS_TO_REMOVE = %i[height width variant viewbox xmlns].freeze
|
10
10
|
|
11
11
|
attr_accessor :svg, :options
|
12
12
|
|
data/lib/healthicons/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: healthicons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Hicks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|