omniauth-orcid 1.0.22 → 1.0.23
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 +2 -1
- 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: fd796a3f82e00db04780aa43d224e1ddd4740b5b
|
4
|
+
data.tar.gz: e9ac1dd0719314a73031862d5f63c04a98b8225a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efc3639153611feb6858923ec54cf55fc580d24481e517c12f04fc1b2c534a2e7998f51153d465d2be4ab44ee99537727214447eb3edf293c92c51616e5461c4
|
7
|
+
data.tar.gz: 5914229f8737ed68b6f03f92c54005c391b499937536c6686490cb42d6920d86a6b0993fd3c0d9459abbd22bb41589edb1eee16081c048a60974f168f94f3785
|
@@ -109,7 +109,8 @@ module OmniAuth
|
|
109
109
|
end
|
110
110
|
|
111
111
|
def raw_info
|
112
|
-
|
112
|
+
info = client.request(:get, "https://pub.orcid.org/v#{API_VERSION}/#{uid}/orcid-bio", headers: { accept: 'application/json' }).parsed
|
113
|
+
info['orcid-profile']['orcid-bio']
|
113
114
|
end
|
114
115
|
end
|
115
116
|
end
|