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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8de86c4ae5684067b275bb9fca4da50300329b26dc41ad1bd28346025da73030
4
- data.tar.gz: f4cd5d48eafad3501654a640486719536f6a419aa7750b2767376dde8bf287e8
3
+ metadata.gz: b46057571f8292b1cbb32a7464db270fd2abd131fc491c0dc62256dbe9aac9b6
4
+ data.tar.gz: 69927853c994508d19c04ad3e4d6172b8ca1248fff2b393f89e6b4b11589dac5
5
5
  SHA512:
6
- metadata.gz: 5e28633a304927fd2ca619b1099d7146313a8267c6c34c1b4d89973f2631ef4eed9ae7647743b722ccea29d62cbf43620c881da4695486a1713996efa4f0bb75
7
- data.tar.gz: ac5534dddcf0bcdce336ecccb381281ff1227e96750f8888ca6ffaca4aeacbfc83c8db3b88f2a23a68aed2c7a7b422ff368b9cfb9b9ad88d875686f696ad924b
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
 
@@ -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[:varient])
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Healthicons
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
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.3
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-02 00:00:00.000000000 Z
11
+ date: 2021-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler