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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2b20a83d52f2e74a09b0cb4adea7b985e58a245838416527db32698446dce8b
4
- data.tar.gz: dcbd25c4c0cb05a1adb68ca4f1da4cf6cb96c77393e741e702fbbf805258b825
3
+ metadata.gz: 44829505807edd1ed1f88d2902b3a099c6de1ead5364888886a0471f79a335e6
4
+ data.tar.gz: 966a50bde90e86e71153610c4d02530c8d8480741863c13eeb52347ef87faa0f
5
5
  SHA512:
6
- metadata.gz: cf94910fd60faa96cad929156fd4176c5d48936be7e713eac65262d8260937446d1b6ec58f4af462263bd798969930696c3ce19ed5b603c60506865ef7133969
7
- data.tar.gz: e1dd62964ec1ec79bf5cfbbac56e94d96dacfaae9d0aa3021a34cf8503456a8c23d1862653519a3d043748da593d221e019de0eed8e32130e36ad5fb5506cace
6
+ metadata.gz: 0c9fe909255c5c0939c97cc4088053fbaa65d6404111ae3dbbec5cbcf12731437acc2fd2907b3c296ab27b658eff7a862315c361954f22da31954345de60f315
7
+ data.tar.gz: 1ac3f80191d4a29fe7a9e8d8d9ede3a59790ab7cadc3831a13a1d768715561914f4fa73c4e0ab34140aaaf44227be0c5fd41eef6e216fc8ad7603946ecb38a6d
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module RailsuiIcon
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.6"
3
3
  end
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
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-07-30 00:00:00.000000000 Z
11
+ date: 2024-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails