omniauth-orcid 1.0.25 → 1.0.26

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: 2de3f6c44377f7beaffd58677628f0603edf55cf
4
- data.tar.gz: c224ce105af0051e65180c807ca6ddd6d51c8460
3
+ metadata.gz: d74f0086f17382ff43cccc47bd652d6e522c9ab0
4
+ data.tar.gz: 36a4119e083019c68a092bc72d2c4195768d424c
5
5
  SHA512:
6
- metadata.gz: 19b815350863875dbb0b2ae6aa4e008cb1702bba84aa4d49307e55c0f57720b4dd17ed2cb722edaff6debaba9eb5b987d6b83da02876d8541a4c3c39998401d3
7
- data.tar.gz: e9f2db1b7963cc0ea75b285a23dcb0eba75de3943f6e3ed6f4866246ce97c99819372b8338ac6c8b1f82d69d0e89f58c4cad71479b861baf79f51cb79e2ede75
6
+ metadata.gz: 5915db25b377509769644ba47117f390937f13a136db82d71e74f920120d6cfd21ed706a62aeee48f083e2d40b2249e12a0ab1c6ae4996db3040b44945ab9bdf
7
+ data.tar.gz: 0c6c45e678b534952362694e24b26ddb78919f7ee96186e0b682689bc49644f1b576ab74ff2343a2fe967a68642fca98eabc9a5e2dd8eeeeabade7d70c54bbd9
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Orcid
3
- VERSION = "1.0.25"
3
+ VERSION = "1.0.26"
4
4
  end
5
5
  end
@@ -94,15 +94,15 @@ module OmniAuth
94
94
  { name: access_token.params["name"],
95
95
  email: nil,
96
96
  nickname: access_token.params["orcid"],
97
- first_name: extra.raw_info.first_name,
98
- last_name: extra.raw_info.last_name,
99
- description: extra.raw_info.description,
100
- urls: extra.raw_info.urls
97
+ first_name: raw_info[:first_name],
98
+ last_name: raw_info[:last_name],
99
+ description: raw_info[:description],
100
+ urls: raw_info[:urls]
101
101
  }
102
102
  end
103
103
 
104
104
  extra do
105
- skip_info? ? {} : { raw_info: raw_info }
105
+ skip_info? ? {} : { :raw_info => raw_info }
106
106
  end
107
107
 
108
108
  def raw_info
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-orcid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.25
4
+ version: 1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gudmundur A. Thorisson