omniauth-strava 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69cf72c4a7a9637c60b8f31dc312c5af98866f11
4
- data.tar.gz: e94f0b1d4ac511b860b8830c3217039cb55461bb
3
+ metadata.gz: a72e1d1157c14b9f7b9124b0bfbfe0a80c427b5c
4
+ data.tar.gz: d67e118bdb003b72404802edebffdc1e482eac40
5
5
  SHA512:
6
- metadata.gz: f54f059f1bea70133277ed87c31ed0a4f08480bae8c7db849836674e96a19713410fdbc2abdadba249cda7f138c7c4e606c44fcc37fbdaf3199190d22537a242
7
- data.tar.gz: 83967c54e423d8b0208cb0610ab827c9e884d963f27818c19ffc02a3827a79255f6d72633ff7e48ce2e97c025930e97f58ca606f5ced323a5c9bd8e9657809ee
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
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Strava
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-strava
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Hogg