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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edbf6998f322c1cb197d838270d9b9a639e4e49d
4
- data.tar.gz: 385b64fa81eb66afaad01dd0455bdb5ddab0d0be
3
+ metadata.gz: fd796a3f82e00db04780aa43d224e1ddd4740b5b
4
+ data.tar.gz: e9ac1dd0719314a73031862d5f63c04a98b8225a
5
5
  SHA512:
6
- metadata.gz: c1da1c5334df77aaf280b4557718e6d48c58bb0a992b2eacfdc9fb68fa3f4ce9653b0b280e4020c524adf2ff750319ce0bd49bd0a648436074d49ddde32cd04f
7
- data.tar.gz: 6ca0d43ccd105b6662fbbf043f1699169de04670bf3f1989fb390dc7415ace9d004eb6b024a17089e71d71f1f4ba1ce1b5b6f8ee44781c42381765c728cd8a0b
6
+ metadata.gz: efc3639153611feb6858923ec54cf55fc580d24481e517c12f04fc1b2c534a2e7998f51153d465d2be4ab44ee99537727214447eb3edf293c92c51616e5461c4
7
+ data.tar.gz: 5914229f8737ed68b6f03f92c54005c391b499937536c6686490cb42d6920d86a6b0993fd3c0d9459abbd22bb41589edb1eee16081c048a60974f168f94f3785
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Orcid
3
- VERSION = "1.0.22"
3
+ VERSION = "1.0.23"
4
4
  end
5
5
  end
@@ -109,7 +109,8 @@ module OmniAuth
109
109
  end
110
110
 
111
111
  def raw_info
112
- @raw_info ||= client.request(:get, "https://pub.orcid.org/v#{API_VERSION}/#{uid}/orcid-bio", headers: { accept: 'application/json' }).parsed
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
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.22
4
+ version: 1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gudmundur A. Thorisson