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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e299269e65c33735c84f2bec3ee0164bc5cb136c8dac5088be188998d826d5bc
4
- data.tar.gz: c35464efdf1af7957456641275cfa3a374a1600a0570fa7db7a6ceeb1a31417f
3
+ metadata.gz: 566c74ac0be561ee3cb047f5002a0fab88f58d19ff6e4a61781eaa211453bc1f
4
+ data.tar.gz: 7b6641d72e3be5036f89d771040636e88818a7371f2de79c7bb6b6d1957e97fa
5
5
  SHA512:
6
- metadata.gz: 9e96511bd8c6972d774435015822297a44892e263b13187ef1a52741186288bf25ded9b15bb0f3c5d856796e7e3b30df9d845c5c3f67987bf7fcd94160c26eda
7
- data.tar.gz: 6c5a94f3bb8f429cc9dd583b98032418858520cc93658e9fdba1fe7192d8cb03b9b7e11575d22f44ce5e18cd2cf7bf05f5d512d7a7f96a47404dde00445923e9
6
+ metadata.gz: c2f427ce4ba3d7cf22e12bb8a74cbb3ed5cf3b11a00d2408cc11d6cd1048e0896cbc886b61c860bcaa0b7ee1d05d059a9edca7642838afac643b8b2630c88f96
7
+ data.tar.gz: 516796ddaa5a1daca7d8834bb73a78c58f6bb606f245fdb47b3011de631ea0410929f03aeaac0ae4c8107b9532e74b580b37f3f3b0c51b2e2de2efe871773bf3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.2.1 (2025-11-27)
4
+
5
+ - Clean up Railtie loading patches to fully rely on Zeitwerk and autoloading
6
+
3
7
  ## 1.2.0 (2025-11-27)
4
8
 
5
9
  - Created `OmniauthOpenidFederation::Engine` class inheriting from `Rails::Engine`
@@ -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
- # Explicitly require the controller to avoid Zeitwerk conflicts
12
- # For local path gems, autoload_once_paths can cause conflicts with main app's loader
13
- # We require the controller explicitly in to_prepare to ensure it's available for routing
14
- config.to_prepare do
15
- # Use self.class to access Engine class methods (root is a class method)
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
@@ -1,3 +1,3 @@
1
1
  module OmniauthOpenidFederation
2
- VERSION = "1.2.0".freeze
2
+ VERSION = "1.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth_openid_federation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov