omniauth-linkedin-oauth2 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 759c38cff98d991bffca8996eea8b5ad07beea39
4
- data.tar.gz: e798aff9fc5ca9bded9435d4487fbfc03e823c53
3
+ metadata.gz: edc91d23ffc1df089457cf3c24973c98ef3643a6
4
+ data.tar.gz: 01fd4f3f7050b1dfa199c046bb4c93ffcd0034c0
5
5
  SHA512:
6
- metadata.gz: c3ef208f2ca1f960cb56f8697cc6796a6c791f024dd3bfc3f1a21347e9eacc3e1733b4a0c94947b1bca075a9c93e1642eb55d99d5b42ae6bff673577f7441565
7
- data.tar.gz: 39885a8696fc64dcba20b683ee97716b148c6e85612a5a7027ed8eecc199465c35dc10f14b2c594b039cef1d17f362976f983feccfe4cd87f4700b7744dccc4c
6
+ metadata.gz: 13b6bc6dc344479d5e82578c514729a4de9ed11bafcb730ce24d62888573b0a6d0ae6cb3fcbe8f533a785d482b588f6805790bec40343aa45f5eb6a98b57ee6e
7
+ data.tar.gz: d0638389f17f9bf15f76c527119e91a61c4ca42f186d862d701857b976951a83b87038829bcaf935278d854e24d60f01cddb30caa052838b24e5e43ce4789e53
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module LinkedInOAuth2
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
@@ -11,12 +11,7 @@ module OmniAuth
11
11
  option :client_options, {
12
12
  :site => 'https://api.linkedin.com',
13
13
  :authorize_url => 'https://www.linkedin.com/uas/oauth2/authorization?response_type=code',
14
- :token_url => 'https://www.linkedin.com/uas/oauth2/accessToken',
15
- :token_method => :get
16
- }
17
-
18
- option :token_params, {
19
- :mode => :query
14
+ :token_url => 'https://www.linkedin.com/uas/oauth2/accessToken'
20
15
  }
21
16
 
22
17
  option :scope, 'r_basicprofile r_emailaddress'
@@ -20,14 +20,6 @@ describe OmniAuth::Strategies::LinkedIn do
20
20
  it 'has correct token url' do
21
21
  subject.client.options[:token_url].should eq('https://www.linkedin.com/uas/oauth2/accessToken')
22
22
  end
23
-
24
- it 'has correct token url' do
25
- subject.client.options[:token_method].should eq(:get)
26
- end
27
-
28
- it 'posts params using the :query mode' do
29
- subject.options.token_params[:mode].should == :query
30
- end
31
23
  end
32
24
 
33
25
  describe '#callback_path' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-linkedin-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Décio Ferreira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-15 00:00:00.000000000 Z
11
+ date: 2013-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -114,7 +114,7 @@ files:
114
114
  - lib/omniauth-linkedin-oauth2/version.rb
115
115
  - lib/omniauth/strategies/linkedin.rb
116
116
  - omniauth-linkedin-oauth2.gemspec
117
- - spec/omniauth/strategies/linkedin_oauth2_spec.rb
117
+ - spec/omniauth/strategies/linkedin_spec.rb
118
118
  - spec/spec_helper.rb
119
119
  homepage: https://github.com/decioferreira/omniauth-linkedin-oauth2
120
120
  licenses:
@@ -141,5 +141,5 @@ signing_key:
141
141
  specification_version: 4
142
142
  summary: A LinkedIn OAuth2 strategy for OmniAuth.
143
143
  test_files:
144
- - spec/omniauth/strategies/linkedin_oauth2_spec.rb
144
+ - spec/omniauth/strategies/linkedin_spec.rb
145
145
  - spec/spec_helper.rb