omniauth-campus 5.8 → 5.9
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 +3 -3
- 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: d7ed7e9f62ddff751d6e5a70b1887f98a0a551d8
|
4
|
+
data.tar.gz: 78c2cb6c51277ab5b05a2e132502efc377533dd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08845003fe23912baa71ba12b2f8268683f6f9943498b3166a976df878add4a7f7838e7c9adf6e8e237c7f7a8b367d833a30fac8722fb5c7aa41ea715f320553
|
7
|
+
data.tar.gz: 4aca4a360dcebaa1b1d69d8f1c72aadda3c7949a9904f3128bc63497add1751b934b796499eb641b1342665447f0f7f0c267bfcc8a80b790caa75339d0002bfb
|
@@ -36,8 +36,7 @@ module OmniAuth
|
|
36
36
|
uid { raw_info['uid'] }
|
37
37
|
|
38
38
|
info do {
|
39
|
-
:name => raw_info['name']
|
40
|
-
:mail => raw_info['mail']
|
39
|
+
:name => raw_info['name']
|
41
40
|
}
|
42
41
|
end
|
43
42
|
|
@@ -47,7 +46,8 @@ module OmniAuth
|
|
47
46
|
end
|
48
47
|
|
49
48
|
def raw_info
|
50
|
-
|
49
|
+
#@raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/myawesomejson/user.json").body)
|
50
|
+
@raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user.json").body)
|
51
51
|
rescue ::Errno::ETIMEDOUT
|
52
52
|
raise ::Timeout::Error
|
53
53
|
end
|