prx_auth-rails 5.0.1 → 5.1.0
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/lib/prx_auth/rails/routes.rb +16 -0
- data/lib/prx_auth/rails/version.rb +1 -1
- data/lib/prx_auth/rails.rb +1 -0
- data/test/dummy/config/routes.rb +1 -0
- metadata +3 -3
- data/config/routes.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 124726d6ef61cdf5bf7d71870c7514f7874f44b784e2353efac7951f36f59764
|
4
|
+
data.tar.gz: 7134d6d1377fbc2da50ca60504b8b6b43f0c71fc21bbea224d70c3113e451801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53b70c3532e7f0dac4239ed0116c9ca7037833c2e8c9229f9b3dd0bb3b8b6ce07bfc6a9c2045a5a2c480420a5098b9de69c9476a90f18aebe27c10a7c57a8ec5
|
7
|
+
data.tar.gz: 65ba582af67b581eba8b2fbe3770ba41afda4ae12d0606fe98b575a230b2a10c3439b9c8074b045ac3c5ffd45e951c0f099317997754d1b53cfa543183080e4f
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module ActionDispatch
|
2
|
+
module Routing
|
3
|
+
class Mapper
|
4
|
+
def prx_auth_routes(path: "auth")
|
5
|
+
scope module: "prx_auth/rails", path: path do
|
6
|
+
resource "sessions", except: %w[edit update] do
|
7
|
+
get "access_error", to: "sessions#access_error"
|
8
|
+
get "auth_error", to: "sessions#auth_error"
|
9
|
+
get "logout", to: "sessions#logout"
|
10
|
+
get "refresh", to: "sessions#refresh"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/prx_auth/rails.rb
CHANGED
data/test/dummy/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prx_auth-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Rhoden
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-04-
|
10
|
+
date: 2025-04-23 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: actionpack
|
@@ -212,7 +212,6 @@ files:
|
|
212
212
|
- app/views/prx_auth/rails/sessions/auth_error.html.erb
|
213
213
|
- app/views/prx_auth/rails/sessions/show.html.erb
|
214
214
|
- config/initializers/assets.rb
|
215
|
-
- config/routes.rb
|
216
215
|
- lib/prx_auth/rails.rb
|
217
216
|
- lib/prx_auth/rails/configuration.rb
|
218
217
|
- lib/prx_auth/rails/engine.rb
|
@@ -220,6 +219,7 @@ files:
|
|
220
219
|
- lib/prx_auth/rails/ext/controller/account_info.rb
|
221
220
|
- lib/prx_auth/rails/ext/controller/user_info.rb
|
222
221
|
- lib/prx_auth/rails/railtie.rb
|
222
|
+
- lib/prx_auth/rails/routes.rb
|
223
223
|
- lib/prx_auth/rails/token.rb
|
224
224
|
- lib/prx_auth/rails/version.rb
|
225
225
|
- prx_auth-rails.gemspec
|
data/config/routes.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
Rails.application.routes.draw do
|
2
|
-
scope module: "prx_auth/rails", path: "auth" do
|
3
|
-
resource "sessions", except: %w[edit update] do
|
4
|
-
get "access_error", to: "sessions#access_error"
|
5
|
-
get "auth_error", to: "sessions#auth_error"
|
6
|
-
get "logout", to: "sessions#logout"
|
7
|
-
get "refresh", to: "sessions#refresh"
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|