omniauth-campus 4.8 → 4.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 +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: 4a77dc0e37f9e62b1b054331849ec613e158e2c9
|
4
|
+
data.tar.gz: c05995c1b3bb37d60279d6625bb2b22298ce36b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4211d5e1c1be5dea57aefdb5511ddbc5a5296007d379a96dc2423242bcf89dbede819d2cb7fbfed9463ed47cd1fe0626da10f73a857c1948ec7c5f5b6bca837
|
7
|
+
data.tar.gz: 9447481a4a5d4e41dc9146d7161916bd8d4cf679fb585ea9386dd8f2db58a4e2d99bbf16797025be6f778c53e7769be80f801b48708a17851aa01bc1aee99bae
|
@@ -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{access_token.params['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/1").body)
|
50
50
|
rescue ::Errno::ETIMEDOUT
|
51
51
|
raise ::Timeout::Error
|
52
52
|
end
|