rack-oauth2 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rack/oauth2/server/authorize.rb +1 -1
- data/lib/rack/oauth2/server/rails/authorize.rb +1 -1
- data/lib/rack/oauth2/server/token.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf7646fe3537ca7d1c5df536dab1b97bcc2964d2
|
4
|
+
data.tar.gz: 9d0e17a9792a2b585a037705f89b3d50804afe8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fc417a55a0d722ec3affba97eb173a216f7fe8c50fdfd9db747d253d1c9ac601827b413ae2196c9c60e6ac4563f59db87ccef8bbaeeb8d1f385f23452daa86d
|
7
|
+
data.tar.gz: f7d79567537f8a6b46b1ce3e91185523681cc6b4f6ca6c4a5e000cb7f108a815b8ce29a721f00ff9a073d871b619534ffab8ab07f153cda9df65018afa8ce150
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.1
|
@@ -4,7 +4,7 @@ module Rack
|
|
4
4
|
class Authorize < Abstract::Handler
|
5
5
|
def _call(env)
|
6
6
|
request = Request.new(env)
|
7
|
-
response_type_for(request).new(&@authenticator).
|
7
|
+
response_type_for(request).new(&@authenticator)._call(env).finish
|
8
8
|
rescue Rack::OAuth2::Server::Abstract::Error => e
|
9
9
|
e.finish
|
10
10
|
end
|
@@ -21,7 +21,7 @@ module Rack
|
|
21
21
|
response_type = response_type_for(
|
22
22
|
Server::Authorize::Request.new(env)
|
23
23
|
).new
|
24
|
-
response_type.
|
24
|
+
response_type._call(env)
|
25
25
|
response_type.response.extend ResponseExt
|
26
26
|
env[REQUEST] = response_type.request
|
27
27
|
env[RESPONSE] = response_type.response
|
@@ -6,7 +6,7 @@ module Rack
|
|
6
6
|
class Token < Abstract::Handler
|
7
7
|
def _call(env)
|
8
8
|
request = Request.new(env)
|
9
|
-
grant_type_for(request).new(&@authenticator).
|
9
|
+
grant_type_for(request).new(&@authenticator)._call(env).finish
|
10
10
|
rescue Rack::OAuth2::Server::Abstract::Error => e
|
11
11
|
e.finish
|
12
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|