rodauth-oauth 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/release_notes/1_6_3.md +9 -0
- data/lib/rodauth/oauth/version.rb +1 -1
- data/lib/rodauth/oauth.rb +5 -2
- data/templates/oauth_applications.str +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99a936bfd8b23b07d5f7611c86d2098573bc83e8d9eb2dbf0531936385bc5e29
|
4
|
+
data.tar.gz: 9fb05d801cda3f35e9a9a4326933d98c6ea20c304e80be014b0ade2d1009bf03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcfa0988b7fe51d1455073913591850df119e98a7e38296c1b43bf509e9f6279094a538d13eb751d7e8ff3eac85d15678ecd7aa883c2c452818f13e13a9630e3
|
7
|
+
data.tar.gz: e311c4bb35bfe6f131dbf0c79e7d0f9cb4d75fa5ba0d709c13fcdce7875c807553c5d46020300362952f576980034667dc7c97d27ed5bf4f7540d0874728b5f0
|
data/lib/rodauth/oauth.rb
CHANGED
@@ -6,8 +6,8 @@ require "rodauth/oauth/version"
|
|
6
6
|
module Rodauth
|
7
7
|
module OAuth
|
8
8
|
module FeatureExtensions
|
9
|
-
def auth_server_route(*args, &blk)
|
10
|
-
routes = route(*args, &blk)
|
9
|
+
def auth_server_route(name, *args, &blk)
|
10
|
+
routes = route(name, *args, &blk)
|
11
11
|
|
12
12
|
handle_meth = routes.last
|
13
13
|
|
@@ -19,6 +19,9 @@ module Rodauth
|
|
19
19
|
|
20
20
|
alias_method :"#{handle_meth}_not_for_auth_server", handle_meth
|
21
21
|
alias_method handle_meth, :"#{handle_meth}_for_auth_server"
|
22
|
+
|
23
|
+
# make all requests usable via internal_request feature
|
24
|
+
internal_request_method name
|
22
25
|
end
|
23
26
|
|
24
27
|
# override
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div id="oauth-applications">
|
2
|
-
<a class="btn btn-outline-primary" href="/
|
2
|
+
<a class="btn btn-outline-primary" href="#{rodauth.oauth_applications_path}/new">#{rodauth.new_oauth_application_page_title}</a>
|
3
3
|
#{
|
4
4
|
if @oauth_applications.count.zero?
|
5
5
|
"<p>#{rodauth.oauth_no_applications_text}</p>"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rodauth-oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiago Cardoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base64
|
@@ -91,6 +91,7 @@ extra_rdoc_files:
|
|
91
91
|
- doc/release_notes/1_6_0.md
|
92
92
|
- doc/release_notes/1_6_1.md
|
93
93
|
- doc/release_notes/1_6_2.md
|
94
|
+
- doc/release_notes/1_6_3.md
|
94
95
|
files:
|
95
96
|
- CHANGELOG.md
|
96
97
|
- LICENSE.txt
|
@@ -139,6 +140,7 @@ files:
|
|
139
140
|
- doc/release_notes/1_6_0.md
|
140
141
|
- doc/release_notes/1_6_1.md
|
141
142
|
- doc/release_notes/1_6_2.md
|
143
|
+
- doc/release_notes/1_6_3.md
|
142
144
|
- lib/generators/rodauth/oauth/install_generator.rb
|
143
145
|
- lib/generators/rodauth/oauth/templates/app/models/oauth_application.rb
|
144
146
|
- lib/generators/rodauth/oauth/templates/app/models/oauth_grant.rb
|