omniauth-orcid 2.0.2 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.travis.yml +2 -1
- data/CHANGELOG.md +8 -0
- data/lib/omniauth/orcid/version.rb +1 -1
- data/lib/omniauth/strategies/orcid.rb +2 -1
- data/omniauth-orcid.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1543cc42918fdd2ed47978345d12bd43f447bb2d3de61f70ecfe980109b408d5
|
|
4
|
+
data.tar.gz: fde162706ce759a7d5c4c64973d80f1edf8332199b52dc56f4c5137be3b216be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 422557d481cdccfb79a22bbe5664df58c3875a1584eba873cb4bcd9c071cfa69196aa59e0884146a248b89ff4b46b7edce5c6252f4918553f83489d9d86e6b36
|
|
7
|
+
data.tar.gz: b9e3428b14a34348c45c47121c8a44aeb3f94d78e47dfea8807b99fa66387988dfeb5dc8491ed222bb9c197368488ca4767f07e1dbe22a3fc4954444bc1f585e
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## v.2.0.2 (July 16, 2017)
|
|
2
|
+
|
|
3
|
+
[onmiauth-orcid 2.0.2](https://github.com/datacite/omniauth-orcid/releases/tag/v.2.0.2) was released on November, 2016 with the following changes:
|
|
4
|
+
|
|
5
|
+
* support for ORCID v.2.0 API
|
|
6
|
+
* tries to fetch primary email address (visibility must be set to `LIMITED`)
|
|
7
|
+
* better support for additional attributes such as description and location
|
|
8
|
+
|
|
1
9
|
## v.1.2.2 (November 6, 2016)
|
|
2
10
|
|
|
3
11
|
[onmiauth-orcid 1.2.2](https://github.com/datacite/omniauth-orcid/releases/tag/v.1.2.2) was released on November, 2016 with the following changes:
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require 'omniauth-oauth2'
|
|
2
|
+
require 'ruby_dig'
|
|
2
3
|
|
|
3
4
|
# OmniAuth strategy for connecting to the ORCID contributor ID service via the OAuth 2.0 protocol
|
|
4
5
|
|
|
@@ -12,7 +13,7 @@ module OmniAuth
|
|
|
12
13
|
|
|
13
14
|
option :member, false
|
|
14
15
|
option :sandbox, false
|
|
15
|
-
option :provider_ignores_state,
|
|
16
|
+
option :provider_ignores_state, false
|
|
16
17
|
|
|
17
18
|
option :authorize_options, [:redirect_uri,
|
|
18
19
|
:show_login,
|
data/omniauth-orcid.gemspec
CHANGED
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
|
|
21
21
|
# Declary dependencies here, rather than in the Gemfile
|
|
22
22
|
s.add_dependency 'omniauth-oauth2', '~> 1.3'
|
|
23
|
+
s.add_dependency 'ruby_dig','~> 0.0.2'
|
|
23
24
|
s.add_development_dependency 'bundler', '~> 1.0'
|
|
24
25
|
s.add_development_dependency 'rspec', '~> 3.4'
|
|
25
26
|
s.add_development_dependency 'rack-test', '~> 0.6.3'
|
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: 2.
|
|
4
|
+
version: 2.1.1
|
|
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:
|
|
12
|
+
date: 2018-04-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: omniauth-oauth2
|
|
@@ -25,6 +25,20 @@ dependencies:
|
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
27
|
version: '1.3'
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: ruby_dig
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - "~>"
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: 0.0.2
|
|
35
|
+
type: :runtime
|
|
36
|
+
prerelease: false
|
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - "~>"
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: 0.0.2
|
|
28
42
|
- !ruby/object:Gem::Dependency
|
|
29
43
|
name: bundler
|
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -162,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
162
176
|
version: '0'
|
|
163
177
|
requirements: []
|
|
164
178
|
rubyforge_project:
|
|
165
|
-
rubygems_version: 2.
|
|
179
|
+
rubygems_version: 2.7.6
|
|
166
180
|
signing_key:
|
|
167
181
|
specification_version: 4
|
|
168
182
|
summary: ORCID OAuth 2.0 Strategy for OmniAuth 1.0
|