omniauth-strava 0.0.2 → 0.0.3

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: 99fe007e18e0deb39eeea5fbd7d2172284b5547a
4
- data.tar.gz: 1629e78ade3f4d6bd252bcdcc81b22fb153c4f06
3
+ metadata.gz: 69cf72c4a7a9637c60b8f31dc312c5af98866f11
4
+ data.tar.gz: e94f0b1d4ac511b860b8830c3217039cb55461bb
5
5
  SHA512:
6
- metadata.gz: af59b06c92be27958a701885decd37300fdf4c39a468427c8552c11f4a00f6f69e1f035a69747252da287e90d226d65dd202b2808374597b5ec4eb1b1cdaa7cd
7
- data.tar.gz: 42c668a712fc8a07cf33170c9b7fd201a0aaed1ffaf716a26515758583a2249c5862fe6808b4a63eead32f8627cc86ec0dce5e14cf42c03eb3e83d82c161ad87
6
+ metadata.gz: f54f059f1bea70133277ed87c31ed0a4f08480bae8c7db849836674e96a19713410fdbc2abdadba249cda7f138c7c4e606c44fcc37fbdaf3199190d22537a242
7
+ data.tar.gz: 83967c54e423d8b0208cb0610ab827c9e884d963f27818c19ffc02a3827a79255f6d72633ff7e48ce2e97c025930e97f58ca606f5ced323a5c9bd8e9657809ee
@@ -13,7 +13,7 @@ module OmniAuth
13
13
 
14
14
  def authorize_params
15
15
  super.tap do |params|
16
- params[:approval_prompt] = 'force'
16
+ params[:approval_prompt] = 'auto'
17
17
  end
18
18
  end
19
19
 
@@ -27,8 +27,7 @@ module OmniAuth
27
27
  {
28
28
  first_name: athlete['firstname'],
29
29
  last_name: athlete['lastname'],
30
- email: athlete['email'],
31
- strava_id: access_token.token
30
+ email: athlete['email']
32
31
  }
33
32
  end
34
33
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Strava
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Hogg