omniauth-academiaedu 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Academiaedu
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -6,13 +6,9 @@ module OmniAuth
6
6
 
7
7
  option :client_options, {
8
8
  :site => 'http://api.academia.edu',
9
- :authorize_url => 'http://academia.edu/oauth/authorize'
9
+ :authorize_url => 'http://api.academia.edu/oauth/authorize'
10
10
  }
11
11
 
12
- def request_phase
13
- super
14
- end
15
-
16
12
  uid { raw_info['id'] }
17
13
 
18
14
  info do
@@ -33,10 +29,6 @@ module OmniAuth
33
29
  @raw_info ||= access_token.get('/v0/user.json').parsed
34
30
  end
35
31
 
36
- def callback_phase
37
- super
38
- end
39
-
40
32
  end
41
33
  end
42
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-academiaedu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: