omniauth-xing 0.1.1 → 0.1.2

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 Xing
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -7,10 +7,11 @@ module OmniAuth
7
7
  args [:consumer_key, :consumer_secret]
8
8
 
9
9
  option :client_options, {
10
- :access_token_path => '/v1/access_token',
11
- :authorize_path => '/v1/authorize',
12
- :request_token_path => '/v1/request_token/',
13
- :site => 'https://api.xing.com'
10
+ :access_token_path => '/v1/access_token',
11
+ :authorize_path => '/v1/authorize',
12
+ :request_token_path => '/v1/request_token',
13
+ :site => 'https://api.xing.com',
14
+ :scheme => :body,
14
15
  }
15
16
 
16
17
  info do
@@ -18,10 +19,8 @@ module OmniAuth
18
19
  :first_name => raw_info["first_name"],
19
20
  :last_name => raw_info["last_name"],
20
21
  :email => raw_info["active_email"],
21
- :birth_date => raw_info["birth_date"],
22
- :company_name => raw_info["company_name"],
23
22
  :image => raw_info["photo_urls"]["large"],
24
- :url => "http://www.xing.com/profile/#{raw_info["page_name"]}",
23
+ :url => raw_info["permalink"],
25
24
  }
26
25
  end
27
26
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-xing
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dennis Schoen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-22 00:00:00 Z
18
+ date: 2012-03-01 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime