orcid_client 0.3.3 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.env.example +1 -1
- data/Gemfile.lock +85 -81
- data/lib/orcid_client/api.rb +1 -1
- data/lib/orcid_client/base.rb +3 -2
- data/lib/orcid_client/external_identifier.rb +1 -1
- data/lib/orcid_client/notification.rb +1 -1
- data/lib/orcid_client/version.rb +1 -1
- data/lib/orcid_client/work.rb +6 -5
- data/orcid_client.gemspec +3 -3
- data/resources/README.md +131 -0
- data/resources/{common_2.0/common-2.0.xsd → common_2.1/common-2.1.xsd} +2 -2
- data/resources/{common_2.0/samples/common-2.0.xml → common_2.1/samples/common-2.1.xml} +2 -2
- data/resources/{notification_2.0 → notification_2.1}/README.md +10 -10
- data/resources/{notification_2.0/notification-custom-2.0.xsd → notification_2.1/notification-custom-2.1.xsd} +1 -1
- data/resources/{notification_2.0/notification-permission-2.0.xsd → notification_2.1/notification-permission-2.1.xsd} +3 -3
- data/resources/{notification_2.0/samples/notification-custom-2.0.xml → notification_2.1/samples/notification-custom-2.1.xml} +2 -2
- data/resources/{notification_2.0/samples/notification-permission-2.0.xml → notification_2.1/samples/notification-permission-2.1.xml} +2 -2
- data/resources/orcid-error-1.0.xsd +69 -0
- data/resources/{record_2.0 → record_2.1}/README.md +154 -155
- data/resources/{record_2.0/activities-2.0.xsd → record_2.1/activities-2.1.xsd} +6 -6
- data/resources/{record_2.0/address-2.0.xsd → record_2.1/address-2.1.xsd} +1 -1
- data/resources/{record_2.0/bulk-2.0.xsd → record_2.1/bulk-2.1.xsd} +2 -2
- data/resources/{record_2.0/education-2.0.xsd → record_2.1/education-2.1.xsd} +1 -1
- data/resources/{record_2.0/email-2.0.xsd → record_2.1/email-2.1.xsd} +1 -1
- data/resources/{record_2.0/employment-2.0.xsd → record_2.1/employment-2.1.xsd} +1 -1
- data/resources/{record_2.0/error-2.0.xsd → record_2.1/error-2.1.xsd} +0 -0
- data/resources/{record_2.0/funding-2.0.xsd → record_2.1/funding-2.1.xsd} +1 -1
- data/resources/{record_2.0/history-2.0.xsd → record_2.1/history-2.1.xsd} +1 -1
- data/resources/{record_2.0/keyword-2.0.xsd → record_2.1/keyword-2.1.xsd} +1 -1
- data/resources/{record_2.0/other-name-2.0.xsd → record_2.1/other-name-2.1.xsd} +1 -1
- data/resources/{record_2.0/peer-review-2.0.xsd → record_2.1/peer-review-2.1.xsd} +2 -2
- data/resources/{record_2.0/peer-review-guide-v2.0.md → record_2.1/peer-review-guide-v2.1.md} +17 -17
- data/resources/{record_2.0/person-2.0.xsd → record_2.1/person-2.1.xsd} +9 -9
- data/resources/{record_2.0/person-external-identifier-2.0.xsd → record_2.1/person-external-identifier-2.1.xsd} +1 -1
- data/resources/{record_2.0/personal-details-2.0.xsd → record_2.1/personal-details-2.1.xsd} +3 -3
- data/resources/{record_2.0/preferences-2.0.xsd → record_2.1/preferences-2.1.xsd} +1 -1
- data/resources/{record_2.0/record-2.0.xsd → record_2.1/record-2.1.xsd} +11 -11
- data/resources/{record_2.0/researcher-url-2.0.xsd → record_2.1/researcher-url-2.1.xsd} +1 -1
- data/resources/{record_2.0/samples/read_samples/activities-2.0.xml → record_2.1/samples/read_samples/activities-2.1.xml} +12 -12
- data/resources/{record_2.0/samples/read_samples/address-2.0.xml → record_2.1/samples/read_samples/address-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/addresses-2.0.xml → record_2.1/samples/read_samples/addresses-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/biography-2.0.xml → record_2.1/samples/read_samples/biography-2.1.xml} +2 -2
- data/resources/{record_2.0 → record_2.1}/samples/read_samples/bulk-work-error.xml +2 -2
- data/resources/{record_2.0/samples/read_samples/credit-name-2.0.xml → record_2.1/samples/read_samples/credit-name-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/education-2.0.xml → record_2.1/samples/read_samples/education-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/education-full-2.0.xml → record_2.1/samples/read_samples/education-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/educations-2.0.xml → record_2.1/samples/read_samples/educations-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/read_samples/email-2.0.xml → record_2.1/samples/read_samples/email-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/emails-2.0.xml → record_2.1/samples/read_samples/emails-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/employment-2.0.xml → record_2.1/samples/read_samples/employment-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/employment-full-2.0.xml → record_2.1/samples/read_samples/employment-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/employments-2.0.xml → record_2.1/samples/read_samples/employments-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/read_samples/error-2.0.xml → record_2.1/samples/read_samples/error-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/external-identifier-2.0.xml → record_2.1/samples/read_samples/external-identifier-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/external-identifiers-2.0.xml → record_2.1/samples/read_samples/external-identifiers-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/funding-2.0.xml → record_2.1/samples/read_samples/funding-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/funding-full-2.0.xml → record_2.1/samples/read_samples/funding-full-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/fundings-2.0.xml → record_2.1/samples/read_samples/fundings-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/read_samples/history-2.0.xml → record_2.1/samples/read_samples/history-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/keyword-2.0.xml → record_2.1/samples/read_samples/keyword-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/keywords-2.0.xml → record_2.1/samples/read_samples/keywords-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/name-2.0.xml → record_2.1/samples/read_samples/name-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/other-name-2.0.xml → record_2.1/samples/read_samples/other-name-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/other-names-2.0.xml → record_2.1/samples/read_samples/other-names-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/peer-review-2.0.xml → record_2.1/samples/read_samples/peer-review-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/peer-review-full-2.0.xml → record_2.1/samples/read_samples/peer-review-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/peer-reviews-2.0.xml → record_2.1/samples/read_samples/peer-reviews-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/person-2.0.xml → record_2.1/samples/read_samples/person-2.1.xml} +7 -7
- data/resources/{record_2.0/samples/read_samples/personal-details-2.0.xml → record_2.1/samples/read_samples/personal-details-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/preferences-2.0.xml → record_2.1/samples/read_samples/preferences-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/record-2.0.xml → record_2.1/samples/read_samples/record-2.1.xml} +14 -14
- data/resources/{record_2.0/samples/read_samples/researcher-url-2.0.xml → record_2.1/samples/read_samples/researcher-url-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/researcher-urls-2.0.xml → record_2.1/samples/read_samples/researcher-urls-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/search-2.0.xml → record_2.1/samples/read_samples/search-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/work-2.0.xml → record_2.1/samples/read_samples/work-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/work-full-2.0.xml → record_2.1/samples/read_samples/work-full-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/works-2.0.xml → record_2.1/samples/read_samples/works-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/write_sample/address-2.0.xml → record_2.1/samples/write_samples/address-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/bulk-work-2.0.json → record_2.1/samples/write_samples/bulk-work-2.1.json} +0 -0
- data/resources/{record_2.0/samples/write_sample/bulk-work-2.0.xml → record_2.1/samples/write_samples/bulk-work-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/education-2.0.xml → record_2.1/samples/write_samples/education-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/employment-2.0.xml → record_2.1/samples/write_samples/employment-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/external-identifier-2.0.xml → record_2.1/samples/write_samples/external-identifier-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/funding-2.0.xml → record_2.1/samples/write_samples/funding-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/keyword-2.0.xml → record_2.1/samples/write_samples/keyword-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/other-name-2.0.xml → record_2.1/samples/write_samples/other-name-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/peer-review-full-2.0.xml → record_2.1/samples/write_samples/peer-review-full-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/peer-review-simple-2.0.xml → record_2.1/samples/write_samples/peer-review-simple-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/researcher-url-2.0.xml → record_2.1/samples/write_samples/researcher-url-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/work-full-2.0.xml → record_2.1/samples/write_samples/work-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/write_sample/work-simple-2.0.xml → record_2.1/samples/write_samples/work-simple-2.1.xml} +1 -1
- data/resources/{record_2.0/search-2.0.xsd → record_2.1/search-2.1.xsd} +1 -1
- data/resources/{record_2.0/work-2.0.xsd → record_2.1/work-2.1.xsd} +2 -2
- data/resources/xml.xsd +286 -0
- data/spec/api_spec.rb +9 -9
- data/spec/author_spec.rb +1 -1
- data/spec/external_identifier_spec.rb +2 -2
- data/spec/fixtures/external_identifier.xml +1 -1
- data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/delete/should_delete_external_identifier.yml +6 -6
- data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/post/should_create_external_identifier.yml +8 -8
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/delete/should_delete_notification.yml +11 -15
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/get/should_get_notification.yml +10 -15
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/post/should_create_notification.yml +48 -57
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/delete/should_delete_work.yml +6 -6
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/get/should_get_works.yml +6 -614
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/post/should_create_work.yml +48 -55
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/put/should_update_work.yml +51 -62
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/data.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_data.yml +41 -50
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml +51 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/literal.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/multiple_titles.yml +51 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/valid.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/with_ORCID_IDs.yml +55 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/data.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/publication_date.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_ORCID_IDs_for_contributors.yml +55 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_data.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_from_DataCite_test_system.yml +41 -60
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_type_data-set.yml +51 -52
- data/spec/fixtures/work.xml +1 -1
- data/spec/notification_spec.rb +3 -3
- data/spec/work_spec.rb +16 -17
- metadata +100 -103
data/spec/fixtures/work.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<work:work xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:common="http://www.orcid.org/ns/common" xmlns:work="http://www.orcid.org/ns/work" visibility="public" xsi:schemaLocation="http://www.orcid.org/ns/work ../work-2.
|
2
|
+
<work:work xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:common="http://www.orcid.org/ns/common" xmlns:work="http://www.orcid.org/ns/work" visibility="public" xsi:schemaLocation="http://www.orcid.org/ns/work ../work-2.1.xsd">
|
3
3
|
<work:title>
|
4
4
|
<common:title>Omniauth-Orcid: V.1.1.5</common:title>
|
5
5
|
</work:title>
|
data/spec/notification_spec.rb
CHANGED
@@ -5,13 +5,13 @@ describe OrcidClient::Notification, vcr: true do
|
|
5
5
|
let(:orcid) { "0000-0001-6528-2027" }
|
6
6
|
let(:notification_access_token) { ENV['NOTIFICATION_ACCESS_TOKEN'] }
|
7
7
|
let(:fixture_path) { "spec/fixtures/" }
|
8
|
-
let(:samples_path) { "resources/notification_2.
|
8
|
+
let(:samples_path) { "resources/notification_2.1/samples/" }
|
9
9
|
|
10
10
|
subject { OrcidClient::Notification.new(doi: doi, orcid: orcid, notification_access_token: notification_access_token) }
|
11
11
|
|
12
12
|
describe 'schema' do
|
13
13
|
it 'validates sample' do
|
14
|
-
validation_errors = subject.schema.validate(samples_path + 'notification-permission-2.
|
14
|
+
validation_errors = subject.schema.validate(samples_path + 'notification-permission-2.1.xml').map { |error| error.to_s }
|
15
15
|
expect(validation_errors).to be_empty
|
16
16
|
end
|
17
17
|
|
@@ -31,7 +31,7 @@ describe OrcidClient::Notification, vcr: true do
|
|
31
31
|
|
32
32
|
it 'validates data with errors' do
|
33
33
|
allow(subject).to receive(:metadata) { OpenStruct.new }
|
34
|
-
expect(subject.validation_errors).to eq(["The document has no document element."])
|
34
|
+
expect(subject.validation_errors).to eq(["-1:0: ERROR: The document has no document element."])
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
data/spec/work_spec.rb
CHANGED
@@ -5,13 +5,13 @@ describe OrcidClient::Work, vcr: true do
|
|
5
5
|
let(:orcid) { "0000-0001-6528-2027" }
|
6
6
|
let(:access_token) { ENV['ACCESS_TOKEN'] }
|
7
7
|
let(:fixture_path) { "spec/fixtures/" }
|
8
|
-
let(:samples_path) { "resources/record_2.
|
8
|
+
let(:samples_path) { "resources/record_2.1/samples/read_samples/" }
|
9
9
|
|
10
10
|
subject { OrcidClient::Work.new(doi: doi, orcid: orcid, access_token: access_token) }
|
11
11
|
|
12
12
|
describe 'schema' do
|
13
13
|
it 'validates sample' do
|
14
|
-
validation_errors = subject.schema.validate(samples_path + 'work-full-2.
|
14
|
+
validation_errors = subject.schema.validate(samples_path + 'work-full-2.1.xml').map { |error| error.to_s }
|
15
15
|
expect(validation_errors).to be_empty
|
16
16
|
end
|
17
17
|
|
@@ -30,8 +30,7 @@ describe OrcidClient::Work, vcr: true do
|
|
30
30
|
end
|
31
31
|
|
32
32
|
it 'validates work from DataCite test system' do
|
33
|
-
|
34
|
-
subject = OrcidClient::Work.new(doi: "10.5286/TOPCAT/ISIS/1/DATACOLLECTION/84974338", orcid: "0000-0003-1613-5981", access_token: access_token, search_url: search_url)
|
33
|
+
subject = OrcidClient::Work.new(doi: "10.4124/ccnjcm4", orcid: "0000-0003-1613-5981", access_token: access_token, sandbox: true)
|
35
34
|
expect(subject.type).to eq("data-set")
|
36
35
|
expect(subject.validation_errors).to be_empty
|
37
36
|
end
|
@@ -43,7 +42,7 @@ describe OrcidClient::Work, vcr: true do
|
|
43
42
|
|
44
43
|
it 'validates data with errors' do
|
45
44
|
allow(subject).to receive(:metadata) { OpenStruct.new }
|
46
|
-
expect(subject.validation_errors).to eq(["The document has no document element."])
|
45
|
+
expect(subject.validation_errors).to eq(["-1:0: ERROR: The document has no document element."])
|
47
46
|
end
|
48
47
|
end
|
49
48
|
|
@@ -62,31 +61,31 @@ describe OrcidClient::Work, vcr: true do
|
|
62
61
|
|
63
62
|
it 'with ORCID IDs' do
|
64
63
|
subject = OrcidClient::Work.new(doi: "10.2314/COSCV1", orcid: "0000-0001-6528-2027", access_token: access_token)
|
65
|
-
expect(subject.contributors).to eq([{:orcid=>"
|
64
|
+
expect(subject.contributors).to eq([{:orcid=>"https://orcid.org/0000-0003-0232-7085",
|
66
65
|
:credit_name=>"Lambert Heller"},
|
67
|
-
{:orcid=>"
|
66
|
+
{:orcid=>"https://orcid.org/0000-0002-3075-7640",
|
68
67
|
:credit_name=>"Ina Blümel"},
|
69
68
|
{:credit_name=>"Stefan Dietze"},
|
70
|
-
{:orcid=>"
|
69
|
+
{:orcid=>"https://orcid.org/0000-0003-1419-2405",
|
71
70
|
:credit_name=>"Martin Fenner"},
|
72
|
-
{:orcid=>"
|
71
|
+
{:orcid=>"https://orcid.org/0000-0002-9314-5633",
|
73
72
|
:credit_name=>"Sascha Friesike"},
|
74
|
-
{:orcid=>"
|
73
|
+
{:orcid=>"https://orcid.org/0000-0003-2499-7741",
|
75
74
|
:credit_name=>"Christian Hauschke"},
|
76
75
|
{:credit_name=>"Christian Heise"},
|
77
|
-
{:orcid=>"
|
76
|
+
{:orcid=>"https://orcid.org/0000-0003-3271-9653",
|
78
77
|
:credit_name=>"Robert Jäschke"},
|
79
|
-
{:orcid=>"
|
78
|
+
{:orcid=>"https://orcid.org/0000-0002-9813-9208",
|
80
79
|
:credit_name=>"Ulrich Kleinwechter"},
|
81
|
-
{:orcid=>"
|
80
|
+
{:orcid=>"https://orcid.org/0000-0002-8189-8574",
|
82
81
|
:credit_name=>"Mareike König"},
|
83
|
-
{:orcid=>"
|
82
|
+
{:orcid=>"https://orcid.org/0000-0002-7177-9045",
|
84
83
|
:credit_name=>"Martin Mehlberg"},
|
85
|
-
{:orcid=>"
|
84
|
+
{:orcid=>"https://orcid.org/0000-0002-0161-1888",
|
86
85
|
:credit_name=>"Janna Neumann"},
|
87
|
-
{:orcid=>"
|
86
|
+
{:orcid=>"https://orcid.org/0000-0003-3334-2771",
|
88
87
|
:credit_name=>"Heinz Pampel"},
|
89
|
-
{:orcid=>"
|
88
|
+
{:orcid=>"https://orcid.org/0000-0002-5111-2788",
|
90
89
|
:credit_name=>"Marco Tullney"}])
|
91
90
|
end
|
92
91
|
|
metadata
CHANGED
@@ -1,69 +1,63 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orcid_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maremma
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.5'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 3.5.7
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.5'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 3.5.7
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: nokogiri
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 1.8.1
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 1.8.1
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: bolognese
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 1.6.8
|
53
|
+
version: 0.9.93
|
57
54
|
type: :runtime
|
58
55
|
prerelease: false
|
59
56
|
version_requirements: !ruby/object:Gem::Requirement
|
60
57
|
requirements:
|
61
58
|
- - "~>"
|
62
59
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 1.6.8
|
60
|
+
version: 0.9.93
|
67
61
|
- !ruby/object:Gem::Dependency
|
68
62
|
name: builder
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -283,88 +277,91 @@ files:
|
|
283
277
|
- lib/orcid_client/work.rb
|
284
278
|
- lib/orcid_client/work_type.rb
|
285
279
|
- orcid_client.gemspec
|
286
|
-
- resources/
|
287
|
-
- resources/common_2.
|
288
|
-
- resources/
|
289
|
-
- resources/notification_2.
|
290
|
-
- resources/notification_2.
|
291
|
-
- resources/notification_2.
|
292
|
-
- resources/notification_2.
|
293
|
-
- resources/
|
294
|
-
- resources/
|
295
|
-
- resources/record_2.
|
296
|
-
- resources/record_2.
|
297
|
-
- resources/record_2.
|
298
|
-
- resources/record_2.
|
299
|
-
- resources/record_2.
|
300
|
-
- resources/record_2.
|
301
|
-
- resources/record_2.
|
302
|
-
- resources/record_2.
|
303
|
-
- resources/record_2.
|
304
|
-
- resources/record_2.
|
305
|
-
- resources/record_2.
|
306
|
-
- resources/record_2.
|
307
|
-
- resources/record_2.
|
308
|
-
- resources/record_2.
|
309
|
-
- resources/record_2.
|
310
|
-
- resources/record_2.
|
311
|
-
- resources/record_2.
|
312
|
-
- resources/record_2.
|
313
|
-
- resources/record_2.
|
314
|
-
- resources/record_2.
|
315
|
-
- resources/record_2.
|
316
|
-
- resources/record_2.
|
317
|
-
- resources/record_2.
|
318
|
-
- resources/record_2.
|
319
|
-
- resources/record_2.
|
320
|
-
- resources/record_2.
|
321
|
-
- resources/record_2.
|
322
|
-
- resources/record_2.
|
323
|
-
- resources/record_2.
|
324
|
-
- resources/record_2.
|
325
|
-
- resources/record_2.
|
326
|
-
- resources/record_2.
|
327
|
-
- resources/record_2.
|
328
|
-
- resources/record_2.
|
329
|
-
- resources/record_2.
|
330
|
-
- resources/record_2.
|
331
|
-
- resources/record_2.
|
332
|
-
- resources/record_2.
|
333
|
-
- resources/record_2.
|
334
|
-
- resources/record_2.
|
335
|
-
- resources/record_2.
|
336
|
-
- resources/record_2.
|
337
|
-
- resources/record_2.
|
338
|
-
- resources/record_2.
|
339
|
-
- resources/record_2.
|
340
|
-
- resources/record_2.
|
341
|
-
- resources/record_2.
|
342
|
-
- resources/record_2.
|
343
|
-
- resources/record_2.
|
344
|
-
- resources/record_2.
|
345
|
-
- resources/record_2.
|
346
|
-
- resources/record_2.
|
347
|
-
- resources/record_2.
|
348
|
-
- resources/record_2.
|
349
|
-
- resources/record_2.
|
350
|
-
- resources/record_2.
|
351
|
-
- resources/record_2.
|
352
|
-
- resources/record_2.
|
353
|
-
- resources/record_2.
|
354
|
-
- resources/record_2.
|
355
|
-
- resources/record_2.
|
356
|
-
- resources/record_2.
|
357
|
-
- resources/record_2.
|
358
|
-
- resources/record_2.
|
359
|
-
- resources/record_2.
|
360
|
-
- resources/record_2.
|
361
|
-
- resources/record_2.
|
362
|
-
- resources/record_2.
|
363
|
-
- resources/record_2.
|
364
|
-
- resources/record_2.
|
365
|
-
- resources/record_2.
|
366
|
-
- resources/record_2.
|
367
|
-
- resources/record_2.
|
280
|
+
- resources/README.md
|
281
|
+
- resources/common_2.1/common-2.1.xsd
|
282
|
+
- resources/common_2.1/samples/common-2.1.xml
|
283
|
+
- resources/notification_2.1/README.md
|
284
|
+
- resources/notification_2.1/notification-custom-2.1.xsd
|
285
|
+
- resources/notification_2.1/notification-permission-2.1.xsd
|
286
|
+
- resources/notification_2.1/samples/notification-custom-2.1.xml
|
287
|
+
- resources/notification_2.1/samples/notification-permission-2.1.xml
|
288
|
+
- resources/orcid-error-1.0.xsd
|
289
|
+
- resources/record_2.1/README.md
|
290
|
+
- resources/record_2.1/activities-2.1.xsd
|
291
|
+
- resources/record_2.1/address-2.1.xsd
|
292
|
+
- resources/record_2.1/bulk-2.1.xsd
|
293
|
+
- resources/record_2.1/education-2.1.xsd
|
294
|
+
- resources/record_2.1/email-2.1.xsd
|
295
|
+
- resources/record_2.1/employment-2.1.xsd
|
296
|
+
- resources/record_2.1/error-2.1.xsd
|
297
|
+
- resources/record_2.1/funding-2.1.xsd
|
298
|
+
- resources/record_2.1/history-2.1.xsd
|
299
|
+
- resources/record_2.1/keyword-2.1.xsd
|
300
|
+
- resources/record_2.1/other-name-2.1.xsd
|
301
|
+
- resources/record_2.1/peer-review-2.1.xsd
|
302
|
+
- resources/record_2.1/peer-review-guide-v2.1.md
|
303
|
+
- resources/record_2.1/person-2.1.xsd
|
304
|
+
- resources/record_2.1/person-external-identifier-2.1.xsd
|
305
|
+
- resources/record_2.1/personal-details-2.1.xsd
|
306
|
+
- resources/record_2.1/preferences-2.1.xsd
|
307
|
+
- resources/record_2.1/record-2.1.xsd
|
308
|
+
- resources/record_2.1/researcher-url-2.1.xsd
|
309
|
+
- resources/record_2.1/samples/read_samples/activities-2.1.xml
|
310
|
+
- resources/record_2.1/samples/read_samples/address-2.1.xml
|
311
|
+
- resources/record_2.1/samples/read_samples/addresses-2.1.xml
|
312
|
+
- resources/record_2.1/samples/read_samples/biography-2.1.xml
|
313
|
+
- resources/record_2.1/samples/read_samples/bulk-work-error.xml
|
314
|
+
- resources/record_2.1/samples/read_samples/credit-name-2.1.xml
|
315
|
+
- resources/record_2.1/samples/read_samples/education-2.1.xml
|
316
|
+
- resources/record_2.1/samples/read_samples/education-full-2.1.xml
|
317
|
+
- resources/record_2.1/samples/read_samples/educations-2.1.xml
|
318
|
+
- resources/record_2.1/samples/read_samples/email-2.1.xml
|
319
|
+
- resources/record_2.1/samples/read_samples/emails-2.1.xml
|
320
|
+
- resources/record_2.1/samples/read_samples/employment-2.1.xml
|
321
|
+
- resources/record_2.1/samples/read_samples/employment-full-2.1.xml
|
322
|
+
- resources/record_2.1/samples/read_samples/employments-2.1.xml
|
323
|
+
- resources/record_2.1/samples/read_samples/error-2.1.xml
|
324
|
+
- resources/record_2.1/samples/read_samples/external-identifier-2.1.xml
|
325
|
+
- resources/record_2.1/samples/read_samples/external-identifiers-2.1.xml
|
326
|
+
- resources/record_2.1/samples/read_samples/funding-2.1.xml
|
327
|
+
- resources/record_2.1/samples/read_samples/funding-full-2.1.xml
|
328
|
+
- resources/record_2.1/samples/read_samples/fundings-2.1.xml
|
329
|
+
- resources/record_2.1/samples/read_samples/history-2.1.xml
|
330
|
+
- resources/record_2.1/samples/read_samples/keyword-2.1.xml
|
331
|
+
- resources/record_2.1/samples/read_samples/keywords-2.1.xml
|
332
|
+
- resources/record_2.1/samples/read_samples/name-2.1.xml
|
333
|
+
- resources/record_2.1/samples/read_samples/other-name-2.1.xml
|
334
|
+
- resources/record_2.1/samples/read_samples/other-names-2.1.xml
|
335
|
+
- resources/record_2.1/samples/read_samples/peer-review-2.1.xml
|
336
|
+
- resources/record_2.1/samples/read_samples/peer-review-full-2.1.xml
|
337
|
+
- resources/record_2.1/samples/read_samples/peer-reviews-2.1.xml
|
338
|
+
- resources/record_2.1/samples/read_samples/person-2.1.xml
|
339
|
+
- resources/record_2.1/samples/read_samples/personal-details-2.1.xml
|
340
|
+
- resources/record_2.1/samples/read_samples/preferences-2.1.xml
|
341
|
+
- resources/record_2.1/samples/read_samples/record-2.1.xml
|
342
|
+
- resources/record_2.1/samples/read_samples/researcher-url-2.1.xml
|
343
|
+
- resources/record_2.1/samples/read_samples/researcher-urls-2.1.xml
|
344
|
+
- resources/record_2.1/samples/read_samples/search-2.1.xml
|
345
|
+
- resources/record_2.1/samples/read_samples/work-2.1.xml
|
346
|
+
- resources/record_2.1/samples/read_samples/work-full-2.1.xml
|
347
|
+
- resources/record_2.1/samples/read_samples/works-2.1.xml
|
348
|
+
- resources/record_2.1/samples/write_samples/address-2.1.xml
|
349
|
+
- resources/record_2.1/samples/write_samples/bulk-work-2.1.json
|
350
|
+
- resources/record_2.1/samples/write_samples/bulk-work-2.1.xml
|
351
|
+
- resources/record_2.1/samples/write_samples/education-2.1.xml
|
352
|
+
- resources/record_2.1/samples/write_samples/employment-2.1.xml
|
353
|
+
- resources/record_2.1/samples/write_samples/external-identifier-2.1.xml
|
354
|
+
- resources/record_2.1/samples/write_samples/funding-2.1.xml
|
355
|
+
- resources/record_2.1/samples/write_samples/keyword-2.1.xml
|
356
|
+
- resources/record_2.1/samples/write_samples/other-name-2.1.xml
|
357
|
+
- resources/record_2.1/samples/write_samples/peer-review-full-2.1.xml
|
358
|
+
- resources/record_2.1/samples/write_samples/peer-review-simple-2.1.xml
|
359
|
+
- resources/record_2.1/samples/write_samples/researcher-url-2.1.xml
|
360
|
+
- resources/record_2.1/samples/write_samples/work-full-2.1.xml
|
361
|
+
- resources/record_2.1/samples/write_samples/work-simple-2.1.xml
|
362
|
+
- resources/record_2.1/search-2.1.xsd
|
363
|
+
- resources/record_2.1/work-2.1.xsd
|
364
|
+
- resources/xml.xsd
|
368
365
|
- spec/api_spec.rb
|
369
366
|
- spec/author_spec.rb
|
370
367
|
- spec/external_identifier_spec.rb
|
@@ -415,7 +412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
415
412
|
version: '0'
|
416
413
|
requirements: []
|
417
414
|
rubyforge_project:
|
418
|
-
rubygems_version: 2.
|
415
|
+
rubygems_version: 2.7.6
|
419
416
|
signing_key:
|
420
417
|
specification_version: 4
|
421
418
|
summary: Ruby client library for the ORCID API
|