omniauth-proz 0.1.7 → 0.1.8

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: 0284fd1f3835557859476b68ab17c3af824ba7a9
4
- data.tar.gz: 4e4c02167edd3d454ff1b41205480637effa7082
3
+ metadata.gz: 5c7022232406544bf10aa0ecd13e6d8ba723fb5d
4
+ data.tar.gz: f958e8d37e926b5821886352b5885c4be6c55e63
5
5
  SHA512:
6
- metadata.gz: 0d36fc39f146a4a5659c7b97b5582308787f9fb426f32d74df548ea6563663b4cd4bc3a200754898635ed07daf762534cae9b65a686b0ef726676cff6e5a4405
7
- data.tar.gz: b4cdc4534d126eebd40b5eac92a8849457a664501d1c610bcff0d08d9e6a4aa0a689217dcf700fe76604fb3f9f52f912c70fc334b326fcde91f635c2ef2a5503
6
+ metadata.gz: 8bae2659d0f8cb717a228e7c8a87dbd5735412e95b00d75c6f8c20114ae242fbca14bea98cfe8db402ae1f4451ba6ca313251e17205e6a3b53500d01ed7f0575
7
+ data.tar.gz: 9e9952667d2da98cb9dd83bc1d69cbf27a1cb7c481677ae44c3cf66c305ad09aaee0e615b434447ea7e6cebdc3dc15e42e79c902b5b8fba67054861992916dea
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Proz
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
@@ -24,12 +24,11 @@ module OmniAuth
24
24
 
25
25
  def raw_info
26
26
  puts "Get Raw Info"
27
- @raw_info ||= access_token.get('https://api.proz.com/v2/user.json').parsed
27
+ @raw_info ||= access_token.get('https://api.proz.com/v2/user').parsed
28
28
  end
29
29
 
30
30
  protected
31
31
  def build_access_token
32
- puts "REQUEST: #{request.inspect}"
33
32
  params = {
34
33
  'client_id' => client.id,
35
34
  'client_secret' => client.secret,
@@ -37,7 +36,6 @@ module OmniAuth
37
36
  'grant_type' => 'authorization_code',
38
37
  'redirect_uri' => 'http://localhost:3000/translators/auth/proz/callback'
39
38
  }.merge(token_params.to_hash(symbolize_keys: true))
40
- puts "PARAMS: #{params}"
41
39
  client.get_token(params, deep_symbolize(options.auth_token_params))
42
40
  end
43
41
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-proz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin S. Dias