omniauth-orcid 1.0.16 → 1.0.17

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: abd83e425a6ceb3f879c3f12586b6bbe06a29c0c
4
- data.tar.gz: db94e766f03ca3a7986c485b176dce3f9d77bb25
3
+ metadata.gz: d6d3b2f17d88619f7ce48547af2bcc1a641b5ae2
4
+ data.tar.gz: f6c600816129933f22e716cf6e94dd61c6d007aa
5
5
  SHA512:
6
- metadata.gz: e18b76e438a74564a0cb9f8b1cac88e103baa9f6e6d93860c9991a97899807a952d5ac0c968785974cbc99609a3881e12b58cc15bbb553993e33c8b82f8d9e8b
7
- data.tar.gz: f0e0f65b1a394af417c67301f424133ee2c3938e7ab76d507859e9c13cb3c68119ed2fe8908249a4df20b17e67a027b7134647a9d1ddc355e8afef1decfeb322
6
+ metadata.gz: e57b43fbc1930a9bc5b937ff40093a9b13b0cba79c81043958a5a03a471e18deebd113989ee99dd056150c9f7888efa5409c4c5421835ce72c1a5338b6a6607c
7
+ data.tar.gz: 5748067cb4caccad1b4e78d3b47fad4dc3616652c67755afb10d71481e502ed64f396013c09043d726b082981894733fd8980898c158bd96544c6078451f70c5
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Orcid
3
- VERSION = "1.0.16"
3
+ VERSION = "1.0.17"
4
4
  end
5
5
  end
@@ -36,7 +36,6 @@ module OmniAuth
36
36
  end
37
37
  end
38
38
 
39
- params[:scope] ||= DEFAULT_SCOPE
40
39
  params[:show_login] ||= 'true'
41
40
  end
42
41
  end
@@ -97,11 +96,11 @@ module OmniAuth
97
96
  extra do
98
97
  hsh = {}
99
98
  hsh[:raw_info] = raw_info unless skip_info?
100
- prune! hash
99
+ hsh
101
100
  end
102
101
 
103
102
  def raw_info
104
- @raw_info ||= access_token.get("#{site}/v#{API_VERSION}/#{uid}/orcid-bio").parsed
103
+ @raw_info ||= client.request(:get, "#{site}/v#{API_VERSION}/#{uid}/orcid-bio").parsed
105
104
  end
106
105
  end
107
106
  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.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gudmundur A. Thorisson