omniauth-casenex 0.3 → 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.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Casenex
3
- VERSION = "0.3"
3
+ VERSION = "0.4"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ module OmniAuth
19
19
  # additional calls (if the user id is returned with the token
20
20
  # or as a URI parameter). This may not be possible with all
21
21
  # providers.
22
- uid{ raw_info['id'] }
22
+ uid{ raw_info['username'] }
23
23
 
24
24
  info do
25
25
  {
@@ -34,7 +34,7 @@ module OmniAuth
34
34
  end
35
35
 
36
36
  def raw_info
37
- @raw_info ||= access_token.get('/me').parsed
37
+ @raw_info ||= access_token.get('/api/v1/users/me').parsed
38
38
  end
39
39
  end
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-casenex
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: '0.4'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: