omniauth-campus 4.6 → 4.7
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: 33c2920ac915d175b4310e3a46c50d2728d57dbb
|
4
|
+
data.tar.gz: 4d4ac2267353be71503dd03947423bbad4840db7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c71ada3a91c62b6a9ec9fee0910854e8446bdd99384c2ccc77c0cd20ed998243d1090e9f064e1d57954ac88210cb48912e46a0ba01395edf1d07a63d7a2e50ff
|
7
|
+
data.tar.gz: 6dc9cd798e5a76e13e3e709c15514fa23d5dc97c4e40ef66e8bf18611c3427a3621c0ee927d4d548b2d31277c0a1d092dd6c1c47be828851120a327d34183e22
|
@@ -33,7 +33,7 @@ module OmniAuth
|
|
33
33
|
#:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
|
34
34
|
|
35
35
|
|
36
|
-
uid{
|
36
|
+
uid{raw_info['uid']}
|
37
37
|
|
38
38
|
info do {
|
39
39
|
:name => raw_info['name']
|
@@ -46,7 +46,7 @@ module OmniAuth
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def raw_info
|
49
|
-
@raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user
|
49
|
+
@raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user").body)
|
50
50
|
rescue ::Errno::ETIMEDOUT
|
51
51
|
raise ::Timeout::Error
|
52
52
|
end
|