omniauth-traity 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e93400a5155ab46696b64b80a8b70e2be1b9cc88
4
- data.tar.gz: bfcce00d2df7fb5b9531ed1457c4b6aab4275c6f
3
+ metadata.gz: d0a3ce14c6260a8b34db1f604a99b85aedc24c8e
4
+ data.tar.gz: 070c673e1ecb9461d505d51c272eae19cc1d71cc
5
5
  SHA512:
6
- metadata.gz: 3c4b2dc843847d44d5567980db101c91ea832038f9faaa307f88a66795db3a8ffeb57647743a72335d7641c37cd3624a3657ac3bed5f3c17d0df9cafdf9076f9
7
- data.tar.gz: 3a1cefa42c625dc9842057f50d9090a40b4cfad8810fe83ab9b2ade6ba15bd0593bd9e62c7db0b2d3407c826cb9260fe2207cf1035d9c5c855785a6736014ff6
6
+ metadata.gz: 8129ccb03de61679474e02752e54aff54989df43a4a46ba50ab9d119c62ded0666548e28b484a84d105d67baa8bd080ae078dfa94cbb77a7ceb3779cfab3cf1e
7
+ data.tar.gz: 2079ea0980dbd6fa5e979c01c86c1ec4fe446c0e5e47bf15c78bf47eb61eb5bd88fb845aa15ed07b2f97f4ada2d9f9079b75bf8b3333337185ea47872cd82b0f
@@ -17,10 +17,6 @@ module OmniAuth
17
17
  token_url: 'oauth/token'
18
18
  }
19
19
 
20
- option :token_params, {
21
- :parse => :query
22
- }
23
-
24
20
  option :authorize_options, [:scope, :display]
25
21
 
26
22
  uid { raw_info['id'] }
@@ -109,7 +105,7 @@ module OmniAuth
109
105
  options.provider_ignores_state = original_provider_ignores_state
110
106
  end
111
107
  else
112
- raise NoAuthorizationCodeError, 'must pass either a `code` (via URL or by an `fbsr_XXX` signed request cookie)'
108
+ raise NoAuthorizationCodeError, 'must pass either a `code` (via URL or by an `tsr_XXX` signed request cookie)'
113
109
  end
114
110
  end
115
111
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Traity
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -66,12 +66,6 @@ class AuthorizeParamsTest < StrategyTestCase
66
66
  end
67
67
  end
68
68
 
69
- class TokenParamsTest < StrategyTestCase
70
- test 'has correct parse strategy' do
71
- assert_equal :query, strategy.token_params[:parse]
72
- end
73
- end
74
-
75
69
  class UidTest < StrategyTestCase
76
70
  def setup
77
71
  super
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-traity
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
  - Javi Velasco