toccatore 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +24 -24
- data/README.md +13 -0
- data/lib/toccatore/datacite_related.rb +1 -1
- data/lib/toccatore/orcid_update.rb +3 -1
- data/lib/toccatore/version.rb +1 -1
- data/spec/cli_spec.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_fail.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_DOI.yml +155 -155
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_ORCID_ID.yml +575 -575
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed.yml +488 -490
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed_with_no_works.yml +9 -7
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_DOI_of_the_Datacite_Metadata_Search_API.yml +4 -2
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_ORCID_ID_of_the_Datacite_Metadata_Search_API.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +1 -1
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +4 -2
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_no_works.yml +4 -2
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_works.yml +4 -2
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/push_data/should_delete_claims.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/push_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +288 -282
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/queue_jobs/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +1 -1
- data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/queue_jobs/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +5 -3
- data/spec/orcid_update_spec.rb +1 -1
- metadata +2 -2
@@ -23,9 +23,11 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json;charset=UTF-8
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Jul 2017 17:33:52 GMT
|
27
27
|
Server:
|
28
28
|
- openresty/1.11.2.2
|
29
|
+
Content-Length:
|
30
|
+
- '89'
|
29
31
|
Connection:
|
30
32
|
- keep-alive
|
31
33
|
body:
|
@@ -58,7 +60,7 @@ http_interactions:
|
|
58
60
|
Content-Type:
|
59
61
|
- application/json;charset=UTF-8
|
60
62
|
Date:
|
61
|
-
-
|
63
|
+
- Tue, 04 Jul 2017 17:33:52 GMT
|
62
64
|
Server:
|
63
65
|
- openresty/1.11.2.2
|
64
66
|
Content-Length:
|
@@ -67,7 +69,7 @@ http_interactions:
|
|
67
69
|
- keep-alive
|
68
70
|
body:
|
69
71
|
encoding: UTF-8
|
70
|
-
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":55,"start":0,"docs":[{"minted":"2014-06-02T01:33:35Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1041547","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T03:09:59Z","updated":"2015-04-07T03:09:59Z","doi":"10.6084/M9.FIGSHARE.1368269","nameIdentifier":["ORCID:0000-0002-4000-4167"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T03:22:11Z","updated":"2015-04-07T03:22:11Z","doi":"10.6084/M9.FIGSHARE.1368484","nameIdentifier":["ORCID:0000-0001-6176-2816"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-07T04:17:39Z","updated":"2015-04-07T04:17:39Z","doi":"10.6084/M9.FIGSHARE.1368488","nameIdentifier":["ORCID:0000-0003-3796-827X"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T10:04:56Z","updated":"2015-04-07T10:04:57Z","doi":"10.6084/M9.FIGSHARE.1368581","nameIdentifier":["ORCID:0000-0003-1073-887X"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T13:40:59Z","updated":"2015-04-07T13:40:59Z","doi":"10.6084/M9.FIGSHARE.1368663","nameIdentifier":["ORCID:0000-0001-9873-8342"],"resourceTypeGeneral":"Collection"},{"minted":"2015-04-07T15:36:38Z","updated":"2015-04-07T15:36:38Z","doi":"10.6084/M9.FIGSHARE.1368671","nameIdentifier":["ORCID:0000-0002-3437-4911"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T17:49:57Z","updated":"2015-04-07T17:49:57Z","doi":"10.6084/M9.FIGSHARE.1368728","nameIdentifier":["ORCID:0000-0001-9873-8342"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-07T19:15:46Z","updated":"2015-04-07T19:15:46Z","doi":"10.6084/M9.FIGSHARE.1368744","nameIdentifier":["ORCID:0000-0001-7757-8001"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T19:18:10Z","updated":"2015-04-07T19:18:10Z","doi":"10.6084/M9.FIGSHARE.1368745","nameIdentifier":["ORCID:0000-0001-7757-8001"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T19:35:40Z","updated":"2015-04-07T19:35:40Z","doi":"10.6084/M9.FIGSHARE.1368746","nameIdentifier":["ORCID:0000-0001-7757-8001"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-07T23:28:15Z","updated":"2015-04-07T23:28:15Z","doi":"10.6084/M9.FIGSHARE.1368761","nameIdentifier":["ORCID:0000-0001-6176-2816"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T01:46:24Z","updated":"2015-04-08T01:46:24Z","doi":"10.6084/M9.FIGSHARE.1368774","nameIdentifier":["ORCID:0000-0002-0311-9774"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T07:37:07Z","updated":"2015-04-08T07:37:07Z","doi":"10.6084/M9.FIGSHARE.1370882","nameIdentifier":["ORCID:0000-0001-6921-5307"],"resourceTypeGeneral":"Collection"},{"minted":"2015-04-08T10:13:29Z","updated":"2015-04-08T10:13:29Z","doi":"10.6084/M9.FIGSHARE.1226424","nameIdentifier":["ORCID:0000-0001-8478-7549"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-08T14:05:30Z","updated":"2015-04-08T14:05:30Z","doi":"10.6084/M9.FIGSHARE.1371006","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-08T14:12:36Z","updated":"2015-04-08T14:12:36Z","doi":"10.6084/M9.FIGSHARE.1371005","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-08T17:22:40Z","updated":"2015-04-08T17:22:41Z","doi":"10.6084/M9.FIGSHARE.1371077","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Collection"},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371009","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371008","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371010","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:31Z","updated":"2015-04-08T17:35:31Z","doi":"10.6084/M9.FIGSHARE.1371011","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371013","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371014","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371012","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371015","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:36Z","updated":"2015-04-08T17:35:36Z","doi":"10.6084/M9.FIGSHARE.1371017","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:38Z","updated":"2015-04-08T17:35:38Z","doi":"10.6084/M9.FIGSHARE.1371018","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371016","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371019","nameIdentifier":["ORCID:0000-0001-5921-2399"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T20:30:18Z","updated":"2015-04-08T20:30:18Z","doi":"10.6084/M9.FIGSHARE.1371114","nameIdentifier":["ORCID:0000-0001-5882-6823"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T20:32:25Z","updated":"2015-04-08T20:32:25Z","doi":"10.6084/M9.FIGSHARE.1337953","nameIdentifier":["ORCID:0000-0001-5882-6823"],"resourceTypeGeneral":"Dataset"},{"minted":"2015-04-08T23:41:41Z","updated":"2015-04-08T23:41:41Z","doi":"10.6084/M9.FIGSHARE.1371137","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-08T23:48:49Z","updated":"2015-04-08T23:48:49Z","doi":"10.6084/M9.FIGSHARE.1371138","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-08T23:55:26Z","updated":"2015-04-08T23:55:26Z","doi":"10.6084/M9.FIGSHARE.1371139","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2014-04-16T00:45:06Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.999239","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2014-04-28T12:44:11Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1008321","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2014-04-28T13:12:45Z","updated":"2015-04-08T13:56:37Z","doi":"10.6084/M9.FIGSHARE.1008320","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-07-17T15:43:04Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.746960","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2013-08-01T01:56:31Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.760716","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-08-11T17:51:31Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.769272","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-08-11T17:58:38Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769271","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-08-11T18:02:15Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769270","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-08-22T00:40:17Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.778701","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-08-22T04:04:35Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.779705","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-07-01T02:46:44Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735810","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-07-01T02:48:05Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735811","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2013-07-14T00:34:46Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745301","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2013-07-14T19:57:14Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745313","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-05-28T23:17:58Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707350","nameIdentifier":["ORCID:0000-0001-9964-6984"],"resourceTypeGeneral":"Dataset"},{"minted":"2013-05-28T23:19:24Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707351","nameIdentifier":["ORCID:0000-0001-9964-6984"],"resourceTypeGeneral":"Dataset"},{"minted":"2014-05-02T23:51:05Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014351","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2014-05-02T23:51:54Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014348","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2014-05-03T00:43:42Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1014352","nameIdentifier":["ORCID:0000-0002-3546-1048"],"resourceTypeGeneral":"Image"},{"minted":"2015-04-08T08:54:57Z","updated":"2015-04-08T08:54:57Z","doi":"10.5284/1030449","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-3938-899X","ORCID:0000-0002-2725-6730"]}]}}
|
72
|
+
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":55,"start":0,"docs":[{"minted":"2015-04-08T08:54:57Z","updated":"2015-04-08T08:54:57Z","doi":"10.5284/1030449","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-3938-899X","ORCID:0000-0002-2725-6730"]},{"minted":"2013-05-28T23:17:58Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707350","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-9964-6984"]},{"minted":"2013-05-28T23:19:24Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707351","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-9964-6984"]},{"minted":"2013-07-01T02:46:44Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735810","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-01T02:48:05Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735811","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-14T00:34:46Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745301","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-14T19:57:14Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745313","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-17T15:43:04Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.746960","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-01T01:56:31Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.760716","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T17:51:31Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.769272","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T17:58:38Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769271","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T18:02:15Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769270","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-22T00:40:17Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.778701","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-22T04:04:35Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.779705","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-07T03:09:59Z","updated":"2015-04-07T03:09:59Z","doi":"10.6084/M9.FIGSHARE.1368269","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-4000-4167"]},{"minted":"2015-04-07T03:22:11Z","updated":"2015-04-07T03:22:11Z","doi":"10.6084/M9.FIGSHARE.1368484","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-6176-2816"]},{"minted":"2015-04-07T04:17:39Z","updated":"2015-04-07T04:17:39Z","doi":"10.6084/M9.FIGSHARE.1368488","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-3796-827X"]},{"minted":"2015-04-07T10:04:56Z","updated":"2015-04-07T10:04:57Z","doi":"10.6084/M9.FIGSHARE.1368581","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-1073-887X"]},{"minted":"2015-04-07T13:40:59Z","updated":"2015-04-07T13:40:59Z","doi":"10.6084/M9.FIGSHARE.1368663","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-9873-8342"]},{"minted":"2015-04-07T15:36:38Z","updated":"2015-04-07T15:36:38Z","doi":"10.6084/M9.FIGSHARE.1368671","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3437-4911"]},{"minted":"2015-04-07T17:49:57Z","updated":"2015-04-07T17:49:57Z","doi":"10.6084/M9.FIGSHARE.1368728","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-9873-8342"]},{"minted":"2015-04-07T19:15:46Z","updated":"2015-04-07T19:15:46Z","doi":"10.6084/M9.FIGSHARE.1368744","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T19:18:10Z","updated":"2015-04-07T19:18:10Z","doi":"10.6084/M9.FIGSHARE.1368745","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T19:35:40Z","updated":"2015-04-07T19:35:40Z","doi":"10.6084/M9.FIGSHARE.1368746","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T23:28:15Z","updated":"2015-04-07T23:28:15Z","doi":"10.6084/M9.FIGSHARE.1368761","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-6176-2816"]},{"minted":"2015-04-08T01:46:24Z","updated":"2015-04-08T01:46:24Z","doi":"10.6084/M9.FIGSHARE.1368774","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-0311-9774"]},{"minted":"2015-04-08T07:37:07Z","updated":"2015-04-08T07:37:07Z","doi":"10.6084/M9.FIGSHARE.1370882","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-6921-5307"]},{"minted":"2015-04-08T10:13:29Z","updated":"2015-04-08T10:13:29Z","doi":"10.6084/M9.FIGSHARE.1226424","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-8478-7549"]},{"minted":"2015-04-08T14:05:30Z","updated":"2015-04-08T14:05:30Z","doi":"10.6084/M9.FIGSHARE.1371006","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T14:12:36Z","updated":"2015-04-08T14:12:36Z","doi":"10.6084/M9.FIGSHARE.1371005","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T17:22:40Z","updated":"2015-04-08T17:22:41Z","doi":"10.6084/M9.FIGSHARE.1371077","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371009","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371008","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371010","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:31Z","updated":"2015-04-08T17:35:31Z","doi":"10.6084/M9.FIGSHARE.1371011","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371013","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371014","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371012","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371015","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:36Z","updated":"2015-04-08T17:35:36Z","doi":"10.6084/M9.FIGSHARE.1371017","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:38Z","updated":"2015-04-08T17:35:38Z","doi":"10.6084/M9.FIGSHARE.1371018","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371016","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371019","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T20:30:18Z","updated":"2015-04-08T20:30:18Z","doi":"10.6084/M9.FIGSHARE.1371114","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5882-6823"]},{"minted":"2015-04-08T20:32:25Z","updated":"2015-04-08T20:32:25Z","doi":"10.6084/M9.FIGSHARE.1337953","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5882-6823"]},{"minted":"2015-04-08T23:41:41Z","updated":"2015-04-08T23:41:41Z","doi":"10.6084/M9.FIGSHARE.1371137","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T23:48:49Z","updated":"2015-04-08T23:48:49Z","doi":"10.6084/M9.FIGSHARE.1371138","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T23:55:26Z","updated":"2015-04-08T23:55:26Z","doi":"10.6084/M9.FIGSHARE.1371139","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-16T00:45:06Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.999239","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-28T12:44:11Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1008321","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-28T13:12:45Z","updated":"2015-04-08T13:56:37Z","doi":"10.6084/M9.FIGSHARE.1008320","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-02T23:51:05Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014351","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-02T23:51:54Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014348","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-03T00:43:42Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1014352","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-06-02T01:33:35Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1041547","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]}]}}
|
71
73
|
|
72
74
|
'
|
73
75
|
http_version:
|
data/spec/orcid_update_spec.rb
CHANGED
@@ -59,7 +59,7 @@ describe Toccatore::OrcidUpdate, vcr: true do
|
|
59
59
|
response = subject.get_data(query_options)
|
60
60
|
expect(response.body["data"]["response"]["numFound"]).to eq(55)
|
61
61
|
doc = response.body["data"]["response"]["docs"].first
|
62
|
-
expect(doc["doi"]).to eq("10.
|
62
|
+
expect(doc["doi"]).to eq("10.5284/1030449")
|
63
63
|
end
|
64
64
|
|
65
65
|
it "should allow queries by ORCID ID of the Datacite Metadata Search API" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toccatore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04
|
11
|
+
date: 2017-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maremma
|