openid_connect 0.8.1 → 0.8.2
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/openid_connect.rb +1 -0
- data/spec/helpers/webmock_helper.rb +5 -7
- 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: 82e61d3916986702e5d7b51f7da3cf09d63b9e2b
|
4
|
+
data.tar.gz: e65f7f3c55bdc93fc629c38affe2a667c140da94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fde6d9cfab4a84caab3c42d235665343ab8f4478598da23d2750724548695914ff39b5df4dbc5a9a565da905dbd25986c95369b029f2f8a5d9d1e0ed9a879678
|
7
|
+
data.tar.gz: c178ae0c637685d68388b6600f973c65d5f13595b9776da1b5c04d81f00107a2bacd588f509f1e725aa5d186464e3498b51938bf1515623cd8ff36fabdec7686
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.2
|
data/lib/openid_connect.rb
CHANGED
@@ -9,6 +9,7 @@ require 'validate_email'
|
|
9
9
|
require 'attr_required'
|
10
10
|
require 'attr_optional'
|
11
11
|
require 'rack/oauth2'
|
12
|
+
require 'rack/oauth2/server/authorize/error_with_connect_ext'
|
12
13
|
require 'rack/oauth2/server/authorize/request_with_connect_params'
|
13
14
|
require 'rack/oauth2/server/id_token_response'
|
14
15
|
|
@@ -18,13 +18,11 @@ module WebMockHelper
|
|
18
18
|
|
19
19
|
def request_for(method, options = {})
|
20
20
|
request = {}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
request[:query] = options[:params]
|
27
|
-
end
|
21
|
+
case method
|
22
|
+
when :post, :put
|
23
|
+
request[:body] = options[:params]
|
24
|
+
else
|
25
|
+
request[:query] = options[:params]
|
28
26
|
end
|
29
27
|
if options[:request_header]
|
30
28
|
request[:headers] = options[:request_header]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openid_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|