view_component-scoped_styles 0.4.0 → 0.4.1

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: c2f015fce0d3e52a95641a3a394e7d348c90db92e29b0d023f7a26990806a544
4
- data.tar.gz: a856272767f5b7d5a882d6e8576bb0fe5195d94cacc3b11220f718cbdfa9123c
3
+ metadata.gz: 6a23828ee0e2dafc7e52ccb67a8a319391af70a50777701d5090e66626d159c3
4
+ data.tar.gz: b5a87e35910c84ae1a95914af878506b6fdd3c155071fca950f2fa8d76b61a8c
5
5
  SHA512:
6
- metadata.gz: b2bb1e1106aa4fdb8c0d44df137c60d21680c050f9a9a9eef0f9b64bb6c05509f6a4f40bc40f9708806833d7a7d757317299417b64c7fb4834bbd8b98d725a32
7
- data.tar.gz: 9f78813f81df45c463411cb5f3b1079b84c8f3745fbc870fd84e8512e1692eb71f98523a526bff2ad55964c26f2d190eccb57cbfc38d6ffea2da7a337d0a3620
6
+ metadata.gz: 026faad956f24fd8638fa4834b3d428d9363ed9e9d5d43de724df68e189edc998cd268140a3094881fb51b77677c5cb1e627b1819bbd8d3d4dfa5d349a778604
7
+ data.tar.gz: d947bece5e61141621b4674c91b947afcb8782103af7938ca5b3a2f57208258dea9333af44e2c8d85b2b67e354bd0710bbd8c33eef47518b411776d7ec99e5de
@@ -22,7 +22,11 @@ module ViewComponent
22
22
 
23
23
  class << self
24
24
  def component_path
25
- Rails.root.join("app/components/**/*.rb")
25
+ Rails.root.join(
26
+ ViewComponent::ScopedStyles.configuration.components_path,
27
+ "**",
28
+ "*.rb"
29
+ )
26
30
  end
27
31
 
28
32
  def load_and_register_components
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ViewComponent
4
4
  module ScopedStyles
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_component-scoped_styles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Edwards