omniauth-campus 5.7 → 5.8
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: 85583b948ce0cd091e2ab2df84b5948f559429c3
|
4
|
+
data.tar.gz: 480bfa6d7999050439ddb69cc03e63849aea99c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51965ef62ec6c168339fba16fe55df6ad3e9613172e9c7c42cf2abd190a7cfeb7f16b95cec7cf45fd2c50c5a7037e96114f01a827430052c0a61fcc3affd9cfa
|
7
|
+
data.tar.gz: 44ebc1248f1432b2b9f29750b91f5fa2b7d7198d313b63ef7922f1a450214bdf27652dbb0bedee573a182c4dbcf16dc68d8fda5a838f81033a39e959962f941c
|
@@ -33,7 +33,7 @@ module OmniAuth
|
|
33
33
|
#:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
|
34
34
|
|
35
35
|
|
36
|
-
uid{raw_info['uid']}
|
36
|
+
uid { raw_info['uid'] }
|
37
37
|
|
38
38
|
info do {
|
39
39
|
:name => raw_info['name'],
|
@@ -47,7 +47,7 @@ module OmniAuth
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def raw_info
|
50
|
-
|
50
|
+
@raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/myawesomejson/user.json").body)
|
51
51
|
rescue ::Errno::ETIMEDOUT
|
52
52
|
raise ::Timeout::Error
|
53
53
|
end
|