omniauth-orcid 1.0.18 → 1.0.19

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: 13e0f351e13c4cd75558856c8e92eee487669f00
4
- data.tar.gz: 6a9b5cd207812c4cf53b74f938cb5bdd06137192
3
+ metadata.gz: f106d4ab2533bf66a1cdc10603fd8034b5020529
4
+ data.tar.gz: c5f0b0783c6a1169bd914fe289f58dded6cd1b85
5
5
  SHA512:
6
- metadata.gz: 5401afd879b31179a51c1cf14e579f6b51a5cae73485e5497a8910ac151559ca42be02d8c4802562b54eb1aada1b9f4a394dae325256333080b0d3a535368405
7
- data.tar.gz: 3bbf08c8c2cb0836f6176c7a2950c46591b69742a0c94bdfb5608877215212990fd980b999320d9101ce5bf5179395d66aa0ddcef5ff5e7fff7bcfbbe466b5ea
6
+ metadata.gz: 78678fa5382d8a3118c7a73976d72545ee7242eaf24b9f15d992f8debe5f88df67d054b38e8a1fbb643fee28afc1bd7403fef0b389ac732d63ee652d8cad3c3d
7
+ data.tar.gz: d0b739fcdd39c6c86619368586109346573ee861189e0f170003fb6474301cdbdc66268cde1d0bb7ba4a781d8ac2504fff36139a73196e35505073ad9f477ded
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Orcid
3
- VERSION = "1.0.18"
3
+ VERSION = "1.0.19"
4
4
  end
5
5
  end
@@ -101,7 +101,7 @@ module OmniAuth
101
101
  end
102
102
 
103
103
  def raw_info
104
- @raw_info ||= client.request(:get, "#{site}/v#{API_VERSION}/#{uid}/orcid-bio").parsed
104
+ @raw_info ||= client.request(:get, "#{site}/v#{API_VERSION}/#{uid}/orcid-bio", headers: { accept: 'application/json' }).parsed
105
105
  end
106
106
  end
107
107
  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.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gudmundur A. Thorisson