omniauth-fliva 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/fliva/version.rb +1 -1
- data/lib/omniauth/strategies/fliva.rb +5 -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: 571d59e77271c2547c3c483443dd2a65dd657766
|
4
|
+
data.tar.gz: 9f45f47ff47be3f9e5f6a37b8e42e5211310a510
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49286d11b6b4897f66a77ae8aa5893cf9d311b4eba5393abaee59fd60cccd1d7cd89c01cfb4aeb0fbd0c4ab806f3fdafce4e563a440f932e8b183e5ea547769e
|
7
|
+
data.tar.gz: b1925d46e94a7d9a5cbaa5b545ec32504eac80ee44a7e236614e5daf93fcb1ce4cad662e4ba1abd00889a8ea2b859510de3b042faa7c5972b7c9b0dc99058873
|
@@ -14,12 +14,15 @@ module OmniAuth
|
|
14
14
|
|
15
15
|
info do
|
16
16
|
{
|
17
|
-
:account => raw_info["account"]
|
17
|
+
:account => raw_info["attributes"]["account"]["id"],
|
18
|
+
:account_name => raw_info["attributes"]["account"]["title"],
|
19
|
+
:user_name => raw_info["attributes"]["name"],
|
20
|
+
:user_email => raw_info["attributes"]["email"]
|
18
21
|
}
|
19
22
|
end
|
20
23
|
|
21
24
|
def raw_info
|
22
|
-
@raw_info ||= access_token.get('/me.json').parsed
|
25
|
+
@raw_info ||= access_token.get('/me.json').parsed["data"]
|
23
26
|
end
|
24
27
|
|
25
28
|
def callback_url
|