rails_ui_guard 0.1.2 → 0.1.3
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rails_ui_guard/engine.rb +2 -1
- data/lib/rails_ui_guard/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bf2fdf1611d15e235e7a1a05aedb5b0ec3680f9608964b685843522734a90f0
|
|
4
|
+
data.tar.gz: 7e6b3393318229cdeb9455be8464d8cdaae85561cbf79838f986710c1a93961a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3342376a069571673a6975c4b10e565af4b011ebbeaa2d65651b06a1e8740181b7df06942888387ffacb2fdf053287352f4d31b2ce7d2466cb93aaa78c708cbb
|
|
7
|
+
data.tar.gz: '0097b4334b1de5a4b8dfd30cae0cfa30d1acc24919d97020cab31a744472d1387ad8ba3eed3d632799a645e83fe53384aeb03ec00719dc0c98c3038a7267be16'
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.3] - 2024-12-28
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fixed `root` method error in engine's config.to_prepare block
|
|
12
|
+
- Use File.expand_path instead of root.join for better compatibility
|
|
13
|
+
|
|
8
14
|
## [0.1.2] - 2024-12-28
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
@@ -16,7 +16,8 @@ module RailsUiGuard
|
|
|
16
16
|
# Load the FeatureStatus model after Rails is fully initialized
|
|
17
17
|
# This ensures ApplicationRecord is available
|
|
18
18
|
config.to_prepare do
|
|
19
|
-
|
|
19
|
+
model_path = File.expand_path("app/models/rails_ui_guard/feature_status.rb", __dir__)
|
|
20
|
+
require model_path unless defined?(RailsUiGuard::FeatureStatus)
|
|
20
21
|
end
|
|
21
22
|
|
|
22
23
|
# Make view helpers available globally
|