omniauth-clio 0.0.23 → 0.0.151

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 Clio
3
- VERSION = "0.0.23"
3
+ VERSION = "0.0.151"
4
4
  end
5
5
  end
@@ -12,16 +12,6 @@ module OmniAuth
12
12
  :token_url => '/oauth/token'
13
13
  }
14
14
 
15
- uid { raw_info['user']['id']}
16
-
17
- info do
18
- {
19
- :last_name => raw_info['user']['last_name'],
20
- :first_name => raw_info['user']['first_name'],
21
- :email => raw_info['user']['email'],
22
- :firm => raw_info['account']['name'],
23
- }
24
- end
25
15
 
26
16
  def authorize_params
27
17
  super.tap do |params|
@@ -46,15 +36,6 @@ module OmniAuth
46
36
  client.get_token(token_params)
47
37
  end
48
38
 
49
- extra do
50
- {:raw_info => raw_info}
51
- end
52
-
53
- def raw_info
54
- @raw_info ||= MultiJson.load(access_token.get('/api/v1/users/who_am_i').body)
55
- rescue ::Errno::ETIMEDOUT
56
- raise ::Timeout::Error
57
- end
58
39
  end
59
40
  end
60
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-clio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.151
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: