omniauth-linkedin-oauth2 0.0.1 → 0.0.2

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 LinkedInOAuth2
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -44,8 +44,10 @@ module OmniAuth
44
44
  { 'raw_info' => raw_info }
45
45
  end
46
46
 
47
+ alias :oauth2_access_token :access_token
48
+
47
49
  def access_token
48
- ::OAuth2::AccessToken.new(client, super.token, {
50
+ ::OAuth2::AccessToken.new(client, oauth2_access_token.token, {
49
51
  :mode => :query,
50
52
  :param_name => 'oauth2_access_token'
51
53
  })
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-linkedin-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-04 00:00:00.000000000 Z
12
+ date: 2013-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 1.8.24
119
+ rubygems_version: 1.8.25
120
120
  signing_key:
121
121
  specification_version: 3
122
122
  summary: A LinkedIn OAuth2 strategy for OmniAuth.