omniauth-orcid 1.0.38 → 1.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 +13 -5
- data/.travis.yml +16 -0
- data/CHANGELOG.md +6 -0
- data/README.md +1 -0
- data/lib/omniauth/orcid/version.rb +1 -1
- data/lib/omniauth/strategies/orcid.rb +1 -1
- data/spec/omniauth/strategies/orcid_spec.rb +1 -1
- metadata +20 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
NzYyZWEwMjUxNDRiZDZiZDVkMGJjZGFkNWNjOWQ2MjAwMmY4MzRlNg==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
ZGI2YWUzNTcxYWE2MDIwMDk2MzEwODFjMTY2OGExYWNiY2M0YmRkNw==
|
|
5
7
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
MjNkNjM1NmE3NDA4MDNjNmM4Y2FlZjMxMzFlMTg5NTE2NjI2MTlhMDI3Yzcy
|
|
10
|
+
MjcxMWI1ZGM5ZThkMzMxZjhkZjAyMTFkMGQyN2ZjM2M5NjM2M2FlOTliYjY4
|
|
11
|
+
OTE1ZmQzMDRjMGYwMDBhZDA3YThjNTZkYjliYWZlOGJlYWMyYTE=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
MTA3MTU0OWMxYjc1N2Y3NTE1N2NmODc0MGQ0MThmNWQwNzA4YzUzYWJhZmZm
|
|
14
|
+
MWZlZDRkMDQyOTZmMDNhYTQzOGIzYThiYjQyNTc1ODQ3MGU3MmZhOTk4NTQ0
|
|
15
|
+
YTUzMGU4YmUxNDU1MjFiOWU4NzdiZWMwNmMyNmZiOWY2ZTk0YmI=
|
data/.travis.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
language: ruby
|
|
2
|
+
rvm:
|
|
3
|
+
- 2.2
|
|
4
|
+
install:
|
|
5
|
+
- travis_retry bundle install
|
|
6
|
+
script: bundle exec rspec
|
|
7
|
+
deploy:
|
|
8
|
+
provider: rubygems
|
|
9
|
+
api_key:
|
|
10
|
+
secure: E48j1GNth8Q0m0QjTOyMksGVkFrwFJOvIPWMJy0mLlUKLmbPCm75T6i68ZURZbQuplMiRd6xwbnm8M19jrCsjMIcfU4lrGUxyzB329O4RH5H+mOnySR8cB/YIQRtAK7OdxN8uchMZVZ4TrOY63NAjmIiQLmmgHYDmd4wpbYDGOtiHCDWbGLcWy0aMb4DQQ0PgvBJb9IE7FTyxvjXXDr/DTFzfJYpzDCB1aRy0WtTXtNe452eol+VbKiFp2jx/7nJ9PabWIE0zjfRIqfmsWSobC5yRl8E+fL4uz5PedprEQt9GIDLD9uSRa4LrCvsXgRopRReDpCbCFvA63ycfA4gX5mlEw9piMWyvnTSSRcGwvsLNdnCoKbnfmZMknASJPPk6Wwr+1P6VrAvxYhl/ZgvE8XPxTu2WK/jsoLm6633Gw9wzOouOYnU3w/HVNLCbRTC5ZTajJndsdJS1aK6UFQOjtG0wxl/lX++nh2Kpps4U4I0LG4yb4hWG7tZ7ZKQbrrwDUMQgpzrdSy4bGUahrvno49BPIBTQaJlmZTM1+Hgubml84IxVFIz0NUXCIm4/rba704dEvVbNLjZqchmSwKq+0/Cwg7Zr9rn70q/UbdWap7b7KxLMFi6VvJ8xlSLqYWGyndPFgpNPPq+al/9gliM1u/MzlQW0slNdPYJtb4Y7C0=
|
|
11
|
+
gem: omniauth-orcid
|
|
12
|
+
on:
|
|
13
|
+
tags: true
|
|
14
|
+
repo: datacite/omniauth-orcid
|
|
15
|
+
notifications:
|
|
16
|
+
slack: datacite:Wt8En0ALoTA6Kjc5EOKNDWxN
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## v.1.1.1 (April 29, 2016)
|
|
2
|
+
|
|
3
|
+
[onmiauth-orcid 1.1.1](https://github.com/datacite/omniauth-orcid/releases/tag/v.1.1.1) was released on April 29, 2016 with the following changes:
|
|
4
|
+
|
|
5
|
+
* added `/orcid-bio/external-identifiers/create /affiliations/create /funding/create` to the default scope
|
|
6
|
+
|
|
1
7
|
## v.1.0 (July 25, 2015)
|
|
2
8
|
|
|
3
9
|
[onmiauth-orcid 1.0](https://github.com/datacite/omniauth-orcid/releases/tag/v.1.0) was released on July 25, 2015 with the following changes:
|
data/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# OmniAuth ORCID
|
|
2
2
|
|
|
3
|
+
[](https://travis-ci.org/datacite/omniauth-orcid)
|
|
3
4
|
[](https://zenodo.org/badge/latestdoi/15088/datacite/omniauth-orcid)
|
|
4
5
|
|
|
5
6
|
ORCID OAuth 2.0 Strategy for the [OmniAuth Ruby authentication framework](http://www.omniauth.org).
|
|
@@ -91,7 +91,7 @@ module OmniAuth
|
|
|
91
91
|
|
|
92
92
|
def scope
|
|
93
93
|
if options[:member]
|
|
94
|
-
'/orcid-profile/read-limited /orcid-works/create'
|
|
94
|
+
'/orcid-profile/read-limited /orcid-works/create /orcid-bio/external-identifiers/create /affiliations/create /funding/create'
|
|
95
95
|
else
|
|
96
96
|
'/authenticate'
|
|
97
97
|
end
|
|
@@ -17,7 +17,7 @@ describe OmniAuth::Strategies::ORCID do
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
it 'should have correct base url' do
|
|
20
|
-
expect(subject.options.client_options.api_base_url).to eq('
|
|
20
|
+
expect(subject.options.client_options.api_base_url).to eq('http://pub.orcid.org/v1.2')
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
it 'should have correct scope' do
|
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.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gudmundur A. Thorisson
|
|
@@ -9,82 +9,82 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: omniauth-oauth2
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
|
-
- -
|
|
18
|
+
- - ~>
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
20
|
version: 1.3.1
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
|
-
- -
|
|
25
|
+
- - ~>
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
27
|
version: 1.3.1
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: bundler
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
31
31
|
requirements:
|
|
32
|
-
- -
|
|
32
|
+
- - ~>
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
34
|
version: '1.0'
|
|
35
35
|
type: :development
|
|
36
36
|
prerelease: false
|
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
|
-
- -
|
|
39
|
+
- - ~>
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
41
|
version: '1.0'
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
43
|
name: rspec
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
|
-
- -
|
|
46
|
+
- - ~>
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
48
|
version: '3.4'
|
|
49
49
|
type: :development
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
|
-
- -
|
|
53
|
+
- - ~>
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: '3.4'
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
57
|
name: rack-test
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
|
-
- -
|
|
60
|
+
- - ~>
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: 0.6.3
|
|
63
63
|
type: :development
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- -
|
|
67
|
+
- - ~>
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
69
|
version: 0.6.3
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
71
|
name: webmock
|
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
|
73
73
|
requirements:
|
|
74
|
-
- -
|
|
74
|
+
- - ~>
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: '1.22'
|
|
77
|
-
- -
|
|
77
|
+
- - ! '>='
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
79
|
version: 1.22.3
|
|
80
80
|
type: :development
|
|
81
81
|
prerelease: false
|
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements:
|
|
84
|
-
- -
|
|
84
|
+
- - ~>
|
|
85
85
|
- !ruby/object:Gem::Version
|
|
86
86
|
version: '1.22'
|
|
87
|
-
- -
|
|
87
|
+
- - ! '>='
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: 1.22.3
|
|
90
90
|
description: Enables third-party client apps to connect to the ORCID API and access/update
|
|
@@ -97,7 +97,8 @@ extensions: []
|
|
|
97
97
|
extra_rdoc_files:
|
|
98
98
|
- README.md
|
|
99
99
|
files:
|
|
100
|
-
-
|
|
100
|
+
- .gitignore
|
|
101
|
+
- .travis.yml
|
|
101
102
|
- CHANGELOG.md
|
|
102
103
|
- Gemfile
|
|
103
104
|
- LICENSE.txt
|
|
@@ -121,20 +122,18 @@ require_paths:
|
|
|
121
122
|
- lib
|
|
122
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
124
|
requirements:
|
|
124
|
-
- -
|
|
125
|
+
- - ! '>='
|
|
125
126
|
- !ruby/object:Gem::Version
|
|
126
127
|
version: '0'
|
|
127
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
129
|
requirements:
|
|
129
|
-
- -
|
|
130
|
+
- - ! '>='
|
|
130
131
|
- !ruby/object:Gem::Version
|
|
131
132
|
version: '0'
|
|
132
133
|
requirements: []
|
|
133
134
|
rubyforge_project:
|
|
134
|
-
rubygems_version: 2.4.5
|
|
135
|
+
rubygems_version: 2.4.5
|
|
135
136
|
signing_key:
|
|
136
137
|
specification_version: 4
|
|
137
138
|
summary: ORCID OAuth 2.0 Strategy for OmniAuth 1.0
|
|
138
|
-
test_files:
|
|
139
|
-
- spec/omniauth/strategies/orcid_spec.rb
|
|
140
|
-
- spec/spec_helper.rb
|
|
139
|
+
test_files: []
|