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 +4 -4
- data/lib/omniauth/orcid/version.rb +1 -1
- data/lib/omniauth/strategies/orcid.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d74f0086f17382ff43cccc47bd652d6e522c9ab0
|
4
|
+
data.tar.gz: 36a4119e083019c68a092bc72d2c4195768d424c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5915db25b377509769644ba47117f390937f13a136db82d71e74f920120d6cfd21ed706a62aeee48f083e2d40b2249e12a0ab1c6ae4996db3040b44945ab9bdf
|
7
|
+
data.tar.gz: 0c6c45e678b534952362694e24b26ddb78919f7ee96186e0b682689bc49644f1b576ab74ff2343a2fe967a68642fca98eabc9a5e2dd8eeeeabade7d70c54bbd9
|
@@ -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:
|
98
|
-
last_name:
|
99
|
-
description:
|
100
|
-
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? ? {} : {
|
105
|
+
skip_info? ? {} : { :raw_info => raw_info }
|
106
106
|
end
|
107
107
|
|
108
108
|
def raw_info
|