omniauth_openid_federation 1.2.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/omniauth_openid_federation/engine.rb +5 -9
- data/lib/omniauth_openid_federation/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: 566c74ac0be561ee3cb047f5002a0fab88f58d19ff6e4a61781eaa211453bc1f
|
|
4
|
+
data.tar.gz: 7b6641d72e3be5036f89d771040636e88818a7371f2de79c7bb6b6d1957e97fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2f427ce4ba3d7cf22e12bb8a74cbb3ed5cf3b11a00d2408cc11d6cd1048e0896cbc886b61c860bcaa0b7ee1d05d059a9edca7642838afac643b8b2630c88f96
|
|
7
|
+
data.tar.gz: 516796ddaa5a1daca7d8834bb73a78c58f6bb606f245fdb47b3011de631ea0410929f03aeaac0ae4c8107b9532e74b580b37f3f3b0c51b2e2de2efe871773bf3
|
data/CHANGELOG.md
CHANGED
|
@@ -8,14 +8,10 @@ module OmniauthOpenidFederation
|
|
|
8
8
|
# (/.well-known/openid-federation) rather than under a mount point
|
|
9
9
|
# isolate_namespace OmniauthOpenidFederation
|
|
10
10
|
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
config
|
|
15
|
-
|
|
16
|
-
engine_root = OmniauthOpenidFederation::Engine.root
|
|
17
|
-
controller_path = engine_root.join("app", "controllers", "omniauth_openid_federation", "federation_controller.rb")
|
|
18
|
-
require controller_path.to_s if controller_path.exist?
|
|
19
|
-
end
|
|
11
|
+
# Add controllers to autoload_once_paths so Rails can autoload them
|
|
12
|
+
# This ensures controllers are available for route matching in production with eager loading
|
|
13
|
+
# Rails will automatically eager load classes in autoload_once_paths in production
|
|
14
|
+
# Must be done in config block before paths are frozen
|
|
15
|
+
# config.autoload_once_paths << root.join("app", "controllers").to_s if root.join("app", "controllers").exist?
|
|
20
16
|
end
|
|
21
17
|
end
|