railsui_icon 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railsui_icon/icon.rb +1 -2
- data/lib/railsui_icon/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: 44829505807edd1ed1f88d2902b3a099c6de1ead5364888886a0471f79a335e6
|
4
|
+
data.tar.gz: 966a50bde90e86e71153610c4d02530c8d8480741863c13eeb52347ef87faa0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c9fe909255c5c0939c97cc4088053fbaa65d6404111ae3dbbec5cbcf12731437acc2fd2907b3c296ab27b658eff7a862315c361954f22da31954345de60f315
|
7
|
+
data.tar.gz: 1ac3f80191d4a29fe7a9e8d8d9ede3a59790ab7cadc3831a13a1d768715561914f4fa73c4e0ab34140aaaf44227be0c5fd41eef6e216fc8ad7603946ecb38a6d
|
data/lib/railsui_icon/icon.rb
CHANGED
@@ -15,7 +15,6 @@ module RailsuiIcon
|
|
15
15
|
|
16
16
|
def render
|
17
17
|
if custom_path
|
18
|
-
puts "🔥🔥🔥🔥🔥#{custom_path}"
|
19
18
|
render_custom_path(custom_path)
|
20
19
|
else
|
21
20
|
render_standard_icon
|
@@ -55,7 +54,7 @@ module RailsuiIcon
|
|
55
54
|
app_asset_path = Rails.root.join("app/assets/images#{custom_path}")
|
56
55
|
|
57
56
|
if File.exist?(app_asset_path)
|
58
|
-
asset_path = app_asset_path
|
57
|
+
asset_path = app_asset_path.to_s
|
59
58
|
end
|
60
59
|
|
61
60
|
raise ArgumentError, "Asset path cannot be nil" if asset_path.nil?
|
data/lib/railsui_icon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: railsui_icon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Leverenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|