railsui_icon 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44829505807edd1ed1f88d2902b3a099c6de1ead5364888886a0471f79a335e6
4
- data.tar.gz: 966a50bde90e86e71153610c4d02530c8d8480741863c13eeb52347ef87faa0f
3
+ metadata.gz: b30b1a0ea5d66e059caafce32b6971356bd337595d414ea636e449c868e9abc5
4
+ data.tar.gz: 3facdb347e3181a84ac7c495fbaf618b80a7b995d223fc65aa3a71d61561eb4a
5
5
  SHA512:
6
- metadata.gz: 0c9fe909255c5c0939c97cc4088053fbaa65d6404111ae3dbbec5cbcf12731437acc2fd2907b3c296ab27b658eff7a862315c361954f22da31954345de60f315
7
- data.tar.gz: 1ac3f80191d4a29fe7a9e8d8d9ede3a59790ab7cadc3831a13a1d768715561914f4fa73c4e0ab34140aaaf44227be0c5fd41eef6e216fc8ad7603946ecb38a6d
6
+ metadata.gz: 739f988655f3d8af6de8b6ef8885de4d4d5ac96aeb93cd1ba716a62cb6528378c34e34abe76e02ec8a19ee623d22ff61b46055c3239cab28bc163bd1867519e5
7
+ data.tar.gz: 592e6ba1c9a9665ee28eb754bee98cee221c05a58cc0524d9e3761ee1df3e51b136ee7fa5e94933785e2736f8e4711efc0ac98b597e1667ae0e77c68dca1ad7b
@@ -2,12 +2,11 @@
2
2
 
3
3
  module RailsuiIcon
4
4
  class Configuration
5
- attr_accessor :default_class, :default_variant, :custom_icon_paths
5
+ attr_accessor :default_class, :default_variant
6
6
 
7
7
  def initialize
8
8
  @default_class = ""
9
9
  @default_variant = :outline
10
- @custom_icon_paths = []
11
10
  end
12
11
  end
13
12
  end
@@ -19,10 +19,10 @@ module RailsuiIcon
19
19
  def resolve_custom_path(path)
20
20
  return unless path
21
21
 
22
- if Rails.application.config.assets.paths.any? { |p| path.start_with?(p) }
23
- path
22
+ if Rails.application.config.assets.paths.any? { |p| path.to_s.start_with?(p.to_s) }
23
+ path.to_s
24
24
  else
25
- ActionController::Base.helpers.asset_path(path)
25
+ ActionController::Base.helpers.asset_path(path.to_s)
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module RailsuiIcon
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
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.6
4
+ version: 1.0.7
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-08-16 00:00:00.000000000 Z
11
+ date: 2024-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails