omniauth-strava 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/strava.rb +11 -1
- data/lib/omniauth-strava/version.rb +1 -1
- 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: a72e1d1157c14b9f7b9124b0bfbfe0a80c427b5c
|
4
|
+
data.tar.gz: d67e118bdb003b72404802edebffdc1e482eac40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d125915a2c3ac821b2d913cd2b8bb42c063dbdc60c23e1772bdc6d5ed4278897071ff20a62543805ccd8f7f4329c35c2489d5d31d208950126ff42c6ecaae58
|
7
|
+
data.tar.gz: 8f514ef4d27705350a02c4e799714872408582a6c33804ab11bd29798671f81478f26c0d81723e9dad7df9fc2c4148a4aebf502273f9b16130e474287916744f
|
@@ -23,11 +23,21 @@ module OmniAuth
|
|
23
23
|
|
24
24
|
uid { access_token.token }
|
25
25
|
|
26
|
+
extra do
|
27
|
+
{
|
28
|
+
recent_ride_totals: athlete['recent_ride_totals'],
|
29
|
+
ytd_ride_totals: athlete['ytd_ride_totals'],
|
30
|
+
all_ride_totals: athlete['all_ride_totals']
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
26
34
|
info do
|
27
35
|
{
|
36
|
+
name: "#{athlete['firstname']} #{athlete['lastname']}",
|
28
37
|
first_name: athlete['firstname'],
|
29
38
|
last_name: athlete['lastname'],
|
30
|
-
email: athlete['email']
|
39
|
+
email: athlete['email'],
|
40
|
+
location: "#{athlete['city']} #{athlete['state']}"
|
31
41
|
}
|
32
42
|
end
|
33
43
|
|