toccatore 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -5
- data/lib/toccatore/base.rb +29 -1
- data/lib/toccatore/cli.rb +2 -0
- data/lib/toccatore/images/toccatore.png +0 -0
- data/lib/toccatore/version.rb +1 -1
- data/spec/base_spec.rb +32 -0
- data/spec/cli_spec.rb +7 -1
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related.yml +56 -0
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related_no_works.yml +56 -0
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update.yml +56 -0
- data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update_no_works.yml +56 -0
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_fail.yml +215 -406
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_DOI.yml +141 -186
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_related_identifier.yml +74 -47
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed.yml +617 -792
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed_with_no_works.yml +56 -3
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_fail.yml +59 -6
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_DOI.yml +162 -101
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_ORCID_ID.yml +369 -278
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed.yml +295 -230
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed_with_no_works.yml +56 -3
- data/spec/spec_helper.rb +1 -0
- data/toccatore.gemspec +1 -0
- metadata +21 -3
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_delete.yml +0 -73
data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed_with_no_works.yml
CHANGED
@@ -23,16 +23,69 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json;charset=UTF-8
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Wed, 29 Mar 2017 13:24:31 GMT
|
27
27
|
Server:
|
28
28
|
- openresty/1.11.2.2
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
body:
|
32
32
|
encoding: UTF-8
|
33
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
33
|
+
string: '{"responseHeader":{"status":0,"QTime":4},"response":{"numFound":0,"start":0,"docs":[]}}
|
34
34
|
|
35
35
|
'
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Wed, 29 Mar 2017 13:24:31 GMT
|
38
|
+
- request:
|
39
|
+
method: post
|
40
|
+
uri: "<SLACK_WEBHOOK_URL>"
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: payload=%7B%22username%22%3A%22Event+Data+Agent%22%2C%22icon_url%22%3A%22https%3A%2F%2Fraw.githubusercontent.com%2Fdatacite%2Ftoccatore%2Fmaster%2Flib%2Ftoccatore%2Fimages%2Ftoccatore.png%22%2C%22attachments%22%3A%5B%7B%22title%22%3A%22Report+for+datacite_related%22%2C%22text%22%3A%22No+works+found+for+date+range+1899-04-07+-+1899-04-08.%22%2C%22color%22%3A%22warning%22%7D%5D%7D
|
44
|
+
headers:
|
45
|
+
Accept-Encoding:
|
46
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
47
|
+
Accept:
|
48
|
+
- "*/*"
|
49
|
+
User-Agent:
|
50
|
+
- Ruby
|
51
|
+
Content-Type:
|
52
|
+
- application/x-www-form-urlencoded
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
Content-Type:
|
59
|
+
- text/html
|
60
|
+
Content-Length:
|
61
|
+
- '22'
|
62
|
+
Connection:
|
63
|
+
- keep-alive
|
64
|
+
Access-Control-Allow-Origin:
|
65
|
+
- "*"
|
66
|
+
Date:
|
67
|
+
- Wed, 29 Mar 2017 13:24:32 GMT
|
68
|
+
Referrer-Policy:
|
69
|
+
- no-referrer
|
70
|
+
Server:
|
71
|
+
- Apache
|
72
|
+
Strict-Transport-Security:
|
73
|
+
- max-age=31536000; includeSubDomains; preload
|
74
|
+
Vary:
|
75
|
+
- Accept-Encoding
|
76
|
+
X-Frame-Options:
|
77
|
+
- SAMEORIGIN
|
78
|
+
X-Slack-Backend:
|
79
|
+
- h
|
80
|
+
X-Cache:
|
81
|
+
- Miss from cloudfront
|
82
|
+
Via:
|
83
|
+
- 1.1 9edca61f65102033971d096a9351690a.cloudfront.net (CloudFront)
|
84
|
+
X-Amz-Cf-Id:
|
85
|
+
- bMUswo1VnRmMTwBzG-UnDr2LxpHQIiDnHTZ0ZpegOgJpHQINDmkD4A==
|
86
|
+
body:
|
87
|
+
encoding: ASCII-8BIT
|
88
|
+
string: ok
|
89
|
+
http_version:
|
90
|
+
recorded_at: Wed, 29 Mar 2017 13:24:32 GMT
|
38
91
|
recorded_with: VCR 3.0.3
|
@@ -23,18 +23,18 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json;charset=UTF-8
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Wed, 29 Mar 2017 13:23:58 GMT
|
27
27
|
Server:
|
28
28
|
- openresty/1.11.2.2
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
body:
|
32
32
|
encoding: UTF-8
|
33
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
33
|
+
string: '{"responseHeader":{"status":0,"QTime":21},"response":{"numFound":55,"start":0,"docs":[]}}
|
34
34
|
|
35
35
|
'
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Wed, 29 Mar 2017 13:23:58 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
40
|
uri: https://search.datacite.org/api?fl=doi,resourceTypeGeneral,relatedIdentifier,nameIdentifier,minted,updated&fq=updated:%5B2015-04-07T00:00:00Z%20TO%202015-04-08T23:59:59Z%5D%20AND%20has_metadata:true%20AND%20is_active:true&q=nameIdentifier:ORCID%5C:*&rows=1000&start=0&wt=json
|
@@ -58,16 +58,69 @@ http_interactions:
|
|
58
58
|
Content-Type:
|
59
59
|
- application/json;charset=UTF-8
|
60
60
|
Date:
|
61
|
-
-
|
61
|
+
- Wed, 29 Mar 2017 13:23:59 GMT
|
62
62
|
Server:
|
63
63
|
- openresty/1.11.2.2
|
64
64
|
Connection:
|
65
65
|
- keep-alive
|
66
66
|
body:
|
67
67
|
encoding: UTF-8
|
68
|
-
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"]}]}}
|
68
|
+
string: '{"responseHeader":{"status":0,"QTime":21},"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"]}]}}
|
69
69
|
|
70
70
|
'
|
71
71
|
http_version:
|
72
|
-
recorded_at:
|
72
|
+
recorded_at: Wed, 29 Mar 2017 13:23:59 GMT
|
73
|
+
- request:
|
74
|
+
method: post
|
75
|
+
uri: "<SLACK_WEBHOOK_URL>"
|
76
|
+
body:
|
77
|
+
encoding: US-ASCII
|
78
|
+
string: payload=%7B%22username%22%3A%22Event+Data+Agent%22%2C%22icon_url%22%3A%22https%3A%2F%2Fraw.githubusercontent.com%2Fdatacite%2Ftoccatore%2Fmaster%2Flib%2Ftoccatore%2Fimages%2Ftoccatore.png%22%2C%22attachments%22%3A%5B%7B%22title%22%3A%22Report+for+orcid_update%22%2C%22text%22%3A%2255+works+processed+for+date+range+2015-04-07+-+2015-04-08.%22%2C%22color%22%3A%22good%22%7D%5D%7D
|
79
|
+
headers:
|
80
|
+
Accept-Encoding:
|
81
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
82
|
+
Accept:
|
83
|
+
- "*/*"
|
84
|
+
User-Agent:
|
85
|
+
- Ruby
|
86
|
+
Content-Type:
|
87
|
+
- application/x-www-form-urlencoded
|
88
|
+
response:
|
89
|
+
status:
|
90
|
+
code: 200
|
91
|
+
message: OK
|
92
|
+
headers:
|
93
|
+
Content-Type:
|
94
|
+
- text/html
|
95
|
+
Content-Length:
|
96
|
+
- '22'
|
97
|
+
Connection:
|
98
|
+
- keep-alive
|
99
|
+
Access-Control-Allow-Origin:
|
100
|
+
- "*"
|
101
|
+
Date:
|
102
|
+
- Wed, 29 Mar 2017 13:23:59 GMT
|
103
|
+
Referrer-Policy:
|
104
|
+
- no-referrer
|
105
|
+
Server:
|
106
|
+
- Apache
|
107
|
+
Strict-Transport-Security:
|
108
|
+
- max-age=31536000; includeSubDomains; preload
|
109
|
+
Vary:
|
110
|
+
- Accept-Encoding
|
111
|
+
X-Frame-Options:
|
112
|
+
- SAMEORIGIN
|
113
|
+
X-Slack-Backend:
|
114
|
+
- h
|
115
|
+
X-Cache:
|
116
|
+
- Miss from cloudfront
|
117
|
+
Via:
|
118
|
+
- 1.1 23082ff4de65f70078e091bc7cd0cf24.cloudfront.net (CloudFront)
|
119
|
+
X-Amz-Cf-Id:
|
120
|
+
- 6-slLndHd1qfGr8Ma_wrvSbl94r98sTs_yFbX5Je_Xf2tf3nPont5w==
|
121
|
+
body:
|
122
|
+
encoding: ASCII-8BIT
|
123
|
+
string: ok
|
124
|
+
http_version:
|
125
|
+
recorded_at: Wed, 29 Mar 2017 13:24:00 GMT
|
73
126
|
recorded_with: VCR 3.0.3
|