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 +4 -4
- data/lib/omniauth/orcid/version.rb +1 -1
- data/lib/omniauth/strategies/orcid.rb +2 -3
- 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: d6d3b2f17d88619f7ce48547af2bcc1a641b5ae2
|
4
|
+
data.tar.gz: f6c600816129933f22e716cf6e94dd61c6d007aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e57b43fbc1930a9bc5b937ff40093a9b13b0cba79c81043958a5a03a471e18deebd113989ee99dd056150c9f7888efa5409c4c5421835ce72c1a5338b6a6607c
|
7
|
+
data.tar.gz: 5748067cb4caccad1b4e78d3b47fad4dc3616652c67755afb10d71481e502ed64f396013c09043d726b082981894733fd8980898c158bd96544c6078451f70c5
|
@@ -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
|
-
|
99
|
+
hsh
|
101
100
|
end
|
102
101
|
|
103
102
|
def raw_info
|
104
|
-
@raw_info ||=
|
103
|
+
@raw_info ||= client.request(:get, "#{site}/v#{API_VERSION}/#{uid}/orcid-bio").parsed
|
105
104
|
end
|
106
105
|
end
|
107
106
|
end
|