omniauth-campus 4.4 → 4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth-campus/version.rb +1 -1
- data/lib/omniauth/strategies/campus.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d287b86da702d21c1b64726a94555ed05bfaccec
|
4
|
+
data.tar.gz: b1bf5ff568507977d30babbdf811f94b4cbafe9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ced1cbd59d24f5f9d1ab3de3bfe00aceb8bc4b1f1fef3aaad4d518653f8f9a7142aa98207f1bb0bd7f3d88b9b170f07d5338704883edbffed343db239f731e85
|
7
|
+
data.tar.gz: 387c5187758f440aa07f27279a4e4c7f5b77b6f9cafba4c76de9c02570ea1da94968a77e4b2ce28d840bcb6c6326b8a22b0f13cefa0d456a9c42bf81c5f73094
|
@@ -30,7 +30,7 @@ module OmniAuth
|
|
30
30
|
#:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
|
31
31
|
|
32
32
|
|
33
|
-
uid{
|
33
|
+
uid{request.params['uid']}
|
34
34
|
|
35
35
|
info do {
|
36
36
|
:name => raw_info['name']
|
@@ -43,7 +43,7 @@ module OmniAuth
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def raw_info
|
46
|
-
@raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user/
|
46
|
+
@raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user/" + request.params['uid']).body)
|
47
47
|
rescue ::Errno::ETIMEDOUT
|
48
48
|
raise ::Timeout::Error
|
49
49
|
end
|