heroicons_helper 0.7.1 → 0.8.0

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: ac5d87867f1aefd58513112eca2bdf6f8e6e54800bedef9d34be407f06f9f36c
4
- data.tar.gz: 51184fcc333b5dfe492a312677338c8035b5a0f5d658bbb7c4c1247388976311
3
+ metadata.gz: 28720863a41facb4bb2880743d85a24110f57bf4e17ad0b84333e09eddbf1899
4
+ data.tar.gz: 7e6e0743470659c4c6463c5d10e568ceea9e6d27f8d29dca2d369a86c92e96e5
5
5
  SHA512:
6
- metadata.gz: ea63f9c2fb9d2983168f13bb9fc14e86c23c1e142c4a5d1e354a079038b00e82d51c0655d893c7bd913814963b9850b2df81d3627e51909932bdc91b4f9743e9
7
- data.tar.gz: 331963ec48860c5eefb19461232da7628927ea7f7eac29856090559bb6b112f659551f02f9d55c2a6641d779e0adcc6eebc264cbf4143991eda9db506c821a90
6
+ metadata.gz: e6aa5b6a36a845f2519b53fe14868b1f5f37b2aeeda072d9bc0032f93d03f2168a7d08aec5f7d0c39967e0337ba042ec47e8c69a27869fce2d23060bc11fa531
7
+ data.tar.gz: 62bff5b69f019356962b10433a443a1748d732e8c5075d2df0939f23552319c89d49a742f957fcbfb67cef346038af646a637888119bc359bf0594c90b7b3253
@@ -4,5 +4,11 @@
4
4
  },
5
5
  "[markdown]": {
6
6
  "editor.defaultFormatter": "esbenp.prettier-vscode"
7
+ },
8
+ "[javascript]": {
9
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
+ },
11
+ "[json]": {
12
+ "editor.defaultFormatter": "vscode.json-language-features"
7
13
  }
8
14
  }
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## [v0.7.1] - 14-08-2023
2
+ null
1
3
  ## [Unreleased]
2
4
 
3
5
  ## [0.1.0] - 2022-06-08
@@ -6,14 +6,8 @@ module HeroiconsHelper
6
6
  LOOKUP = {}
7
7
 
8
8
  class << self
9
- def get_key(name:, variant:, unsafe: false, **attributes)
10
- attrs = { name: name, variant: variant, unsafe: unsafe }.merge(attributes)
11
- if unsafe
12
- attrs[:unsafe] = true
13
- else
14
- attrs.delete(:unsafe)
15
- attrs[:safe] = true
16
- end
9
+ def get_key(name:, variant:, **attributes)
10
+ attrs = { name: name, variant: variant }.merge(attributes)
17
11
 
18
12
  attrs.compact!
19
13
  attrs.hash
@@ -59,7 +53,6 @@ module HeroiconsHelper
59
53
  cache_key = HeroiconsHelper::Cache.get_key(
60
54
  name: icon["name"],
61
55
  variant: icon["variant"],
62
- unsafe: icon["unsafe"] || false,
63
56
  height: height,
64
57
  width: width,
65
58
  )