omniauth-orcid 1.0.35 → 1.0.36
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 +1 -0
- data/spec/omniauth/strategies/orcid_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa626b76f19bdfb2fe9490a66816d90e929848c1
|
4
|
+
data.tar.gz: e082d4581100d369b3c5faa1c08f6cddc0c89139
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 583a7bdaad238e8b98a24eaee5de6c17429a63a0c5e6c38e40e5bf5f4fd73ff85a5d7e734c999ef3c62c05e2f81f20669a0bcae43a37c2415c1ce3d7fcf5646e
|
7
|
+
data.tar.gz: 6530a56d3bdc4fbf294c6dafa2d0a71da7ca4316fdcaee78590ae8eb40e075c2e619f4e3c2a4db52e3416ba3e2e8c94a1562411dbd936d1a34d3e4202620d78c
|
@@ -23,6 +23,7 @@ module OmniAuth
|
|
23
23
|
super
|
24
24
|
|
25
25
|
@options.client_options.site = site
|
26
|
+
@options.client_options.api_base_url = api_base_url
|
26
27
|
@options.client_options.authorize_url = authorize_url
|
27
28
|
@options.client_options.token_url = token_url
|
28
29
|
@options.client_options.scope = scope
|
@@ -16,6 +16,10 @@ describe OmniAuth::Strategies::ORCID do
|
|
16
16
|
expect(subject.options.client_options.authorize_url).to eq('https://orcid.org/oauth/authorize')
|
17
17
|
end
|
18
18
|
|
19
|
+
it 'should have correct base url' do
|
20
|
+
expect(subject.options.client_options.api_base_url).to eq('https://pub.orcid.org/v1.2')
|
21
|
+
end
|
22
|
+
|
19
23
|
it 'should have correct scope' do
|
20
24
|
expect(subject.options.client_options.scope).to eq('/authenticate')
|
21
25
|
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.
|
4
|
+
version: 1.0.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gudmundur A. Thorisson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-12-
|
12
|
+
date: 2015-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth-oauth2
|