bolognese 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bolognese/crossref.rb +11 -2
- data/lib/bolognese/datacite.rb +7 -1
- data/lib/bolognese/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +14 -67
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +14 -67
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +16 -65
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +14 -67
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +14 -67
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +7 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +7 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +7 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +7 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +7 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/author.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/no_author.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/single_author.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/with_organization.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_ORCID_ID.yml +10 -62
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_SICI_DOI.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_data_citation.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/Schema_org_JSON.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/date_in_future.yml +10 -63
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/journal_article.yml +10 -59
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/not_found_error.yml +15 -70
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/posted_content.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_data_citation.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_pages.yml +10 -62
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/journal_article.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/with_pages.yml +10 -62
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_ORCID_ID.yml +10 -62
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_data_citation.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_editor.yml +10 -59
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/journal_article.yml +28 -79
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/with_pages.yml +28 -80
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/journal_article.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/with_pages.yml +10 -62
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_string/DOI_with_data_citation.yml +10 -61
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/journal_article.yml +28 -79
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/with_pages.yml +28 -80
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_ORCID.yml +3 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_no_ORCID.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_familyName.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order_with_ORCID.yml +3 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_sort-order.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/is_organization.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_comma.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_family_name.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_id.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_no_info.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_organization.yml +10 -77
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_person.yml +10 -77
- metadata +2 -2
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,89 +10,22 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
|
-
-
|
13
|
+
- text/xml
|
14
14
|
response:
|
15
15
|
status:
|
16
|
-
code:
|
16
|
+
code: 200
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Server:
|
20
20
|
- Apache-Coyote/1.1
|
21
|
-
|
22
|
-
-
|
23
|
-
Location:
|
24
|
-
- http://data.crossref.org/10.1101%2F097196
|
25
|
-
Expires:
|
26
|
-
- Tue, 18 Apr 2017 18:39:23 GMT
|
27
|
-
Content-Type:
|
28
|
-
- text/html;charset=utf-8
|
29
|
-
Content-Length:
|
30
|
-
- '167'
|
31
|
-
Date:
|
32
|
-
- Tue, 18 Apr 2017 18:28:57 GMT
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
<html><head><title>Handle Redirect</title></head>
|
37
|
-
<body><a href="http://data.crossref.org/10.1101%2F097196">http://data.crossref.org/10.1101%2F097196</a></body></html>
|
38
|
-
http_version:
|
39
|
-
recorded_at: Tue, 18 Apr 2017 18:28:57 GMT
|
40
|
-
- request:
|
41
|
-
method: get
|
42
|
-
uri: http://data.crossref.org/10.1101%2F097196
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ''
|
46
|
-
headers:
|
47
|
-
User-Agent:
|
48
|
-
- Maremma - https://github.com/datacite/maremma
|
49
|
-
Accept:
|
50
|
-
- application/vnd.crossref.unixref+xml
|
51
|
-
response:
|
52
|
-
status:
|
53
|
-
code: 200
|
54
|
-
message: ''
|
55
|
-
headers:
|
56
|
-
Access-Control-Allow-Origin:
|
57
|
-
- "*"
|
58
|
-
Access-Control-Allow-Headers:
|
59
|
-
- X-Requested-With, Accept, Accept-Encoding, Accept-Charset, Accept-Language,
|
60
|
-
Accept-Ranges, Cache-Control
|
61
|
-
Access-Control-Expose-Headers:
|
62
|
-
- Link
|
63
|
-
Link:
|
64
|
-
- !binary |-
|
65
|
-
PGh0dHA6Ly9keC5kb2kub3JnLzEwLjExMDEvMDk3MTk2PjsgcmVsPSJjYW5v
|
66
|
-
bmljYWwiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTQxOS0yNDA1
|
67
|
-
PjsgdGl0bGU9Ik1hcnRpbiBGZW5uZXIiOyByZWw9ImF1dGhvciIsIDxodHRw
|
68
|
-
Oi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xMzA0LTE5Mzk+OyB0aXRsZT0iTWVy
|
69
|
-
Y8OoIENyb3NhcyI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcv
|
70
|
-
MDAwMC0wMDAxLTUyMTItNzA1Mj47IHRpdGxlPSJKZWZmcmV5IEdyZXRoZSI7
|
71
|
-
IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTkz
|
72
|
-
NzctMDc5Nz47IHRpdGxlPSJEYXZpZCBLZW5uZWR5IjsgcmVsPSJhdXRob3Ii
|
73
|
-
LCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtODQ3OS0wMjYyPjsgdGl0
|
74
|
-
bGU9Ikhlbm5pbmcgSGVybWpha29iIjsgcmVsPSJhdXRob3IiLCA8aHR0cDov
|
75
|
-
L29yY2lkLm9yZy8wMDAwLTAwMDEtOTg1My01NjY4PjsgdGl0bGU9IlBoaWxp
|
76
|
-
cHBlIFJvY2NhLVNlcnJhIjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lk
|
77
|
-
Lm9yZy8wMDAwLTAwMDItMTczMS01MzQ2PjsgdGl0bGU9IlJvYmluIEJlcmpv
|
78
|
-
biI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAx
|
79
|
-
LTgyNDktNzM4OD47IHRpdGxlPSJTZWJhc3RpYW4gS2FyY2hlciI7IHJlbD0i
|
80
|
-
YXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTg0MDYtMzg3
|
81
|
-
MT47IHRpdGxlPSJNYXJ5YW5uIE1hcnRvbmUiOyByZWw9ImF1dGhvciIsIDxo
|
82
|
-
dHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA+OyB0aXRsZT0i
|
83
|
-
VGltb3RoeSBDbGFyayI7IHJlbD0iYXV0aG9yIg==
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- qs4-1
|
84
23
|
Content-Type:
|
85
|
-
-
|
86
|
-
Content-
|
87
|
-
-
|
88
|
-
Server:
|
89
|
-
- http-kit
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
90
27
|
Date:
|
91
|
-
-
|
92
|
-
X-Rate-Limit-Limit:
|
93
|
-
- '50'
|
94
|
-
X-Rate-Limit-Interval:
|
95
|
-
- 1s
|
28
|
+
- Thu, 20 Apr 2017 20:43:23 GMT
|
96
29
|
Connection:
|
97
30
|
- close
|
98
31
|
body:
|
@@ -207,5 +140,5 @@ http_interactions:
|
|
207
140
|
ICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2Rv
|
208
141
|
aV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
209
142
|
http_version:
|
210
|
-
recorded_at:
|
143
|
+
recorded_at: Thu, 20 Apr 2017 20:21:55 GMT
|
211
144
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,89 +10,22 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
|
-
-
|
13
|
+
- text/xml
|
14
14
|
response:
|
15
15
|
status:
|
16
|
-
code:
|
16
|
+
code: 200
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Server:
|
20
20
|
- Apache-Coyote/1.1
|
21
|
-
|
22
|
-
-
|
23
|
-
Location:
|
24
|
-
- http://data.crossref.org/10.1101%2F097196
|
25
|
-
Expires:
|
26
|
-
- Tue, 18 Apr 2017 18:39:23 GMT
|
27
|
-
Content-Type:
|
28
|
-
- text/html;charset=utf-8
|
29
|
-
Content-Length:
|
30
|
-
- '167'
|
31
|
-
Date:
|
32
|
-
- Tue, 18 Apr 2017 18:29:00 GMT
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
<html><head><title>Handle Redirect</title></head>
|
37
|
-
<body><a href="http://data.crossref.org/10.1101%2F097196">http://data.crossref.org/10.1101%2F097196</a></body></html>
|
38
|
-
http_version:
|
39
|
-
recorded_at: Tue, 18 Apr 2017 18:29:00 GMT
|
40
|
-
- request:
|
41
|
-
method: get
|
42
|
-
uri: http://data.crossref.org/10.1101%2F097196
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ''
|
46
|
-
headers:
|
47
|
-
User-Agent:
|
48
|
-
- Maremma - https://github.com/datacite/maremma
|
49
|
-
Accept:
|
50
|
-
- application/vnd.crossref.unixref+xml
|
51
|
-
response:
|
52
|
-
status:
|
53
|
-
code: 200
|
54
|
-
message: ''
|
55
|
-
headers:
|
56
|
-
Access-Control-Allow-Origin:
|
57
|
-
- "*"
|
58
|
-
Access-Control-Allow-Headers:
|
59
|
-
- X-Requested-With, Accept, Accept-Encoding, Accept-Charset, Accept-Language,
|
60
|
-
Accept-Ranges, Cache-Control
|
61
|
-
Access-Control-Expose-Headers:
|
62
|
-
- Link
|
63
|
-
Link:
|
64
|
-
- !binary |-
|
65
|
-
PGh0dHA6Ly9keC5kb2kub3JnLzEwLjExMDEvMDk3MTk2PjsgcmVsPSJjYW5v
|
66
|
-
bmljYWwiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTQxOS0yNDA1
|
67
|
-
PjsgdGl0bGU9Ik1hcnRpbiBGZW5uZXIiOyByZWw9ImF1dGhvciIsIDxodHRw
|
68
|
-
Oi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xMzA0LTE5Mzk+OyB0aXRsZT0iTWVy
|
69
|
-
Y8OoIENyb3NhcyI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcv
|
70
|
-
MDAwMC0wMDAxLTUyMTItNzA1Mj47IHRpdGxlPSJKZWZmcmV5IEdyZXRoZSI7
|
71
|
-
IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTkz
|
72
|
-
NzctMDc5Nz47IHRpdGxlPSJEYXZpZCBLZW5uZWR5IjsgcmVsPSJhdXRob3Ii
|
73
|
-
LCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtODQ3OS0wMjYyPjsgdGl0
|
74
|
-
bGU9Ikhlbm5pbmcgSGVybWpha29iIjsgcmVsPSJhdXRob3IiLCA8aHR0cDov
|
75
|
-
L29yY2lkLm9yZy8wMDAwLTAwMDEtOTg1My01NjY4PjsgdGl0bGU9IlBoaWxp
|
76
|
-
cHBlIFJvY2NhLVNlcnJhIjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lk
|
77
|
-
Lm9yZy8wMDAwLTAwMDItMTczMS01MzQ2PjsgdGl0bGU9IlJvYmluIEJlcmpv
|
78
|
-
biI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAx
|
79
|
-
LTgyNDktNzM4OD47IHRpdGxlPSJTZWJhc3RpYW4gS2FyY2hlciI7IHJlbD0i
|
80
|
-
YXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTg0MDYtMzg3
|
81
|
-
MT47IHRpdGxlPSJNYXJ5YW5uIE1hcnRvbmUiOyByZWw9ImF1dGhvciIsIDxo
|
82
|
-
dHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA+OyB0aXRsZT0i
|
83
|
-
VGltb3RoeSBDbGFyayI7IHJlbD0iYXV0aG9yIg==
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- qs3-1
|
84
23
|
Content-Type:
|
85
|
-
-
|
86
|
-
Content-
|
87
|
-
-
|
88
|
-
Server:
|
89
|
-
- http-kit
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
90
27
|
Date:
|
91
|
-
-
|
92
|
-
X-Rate-Limit-Limit:
|
93
|
-
- '50'
|
94
|
-
X-Rate-Limit-Interval:
|
95
|
-
- 1s
|
28
|
+
- Thu, 20 Apr 2017 20:21:56 GMT
|
96
29
|
Connection:
|
97
30
|
- close
|
98
31
|
body:
|
@@ -207,5 +140,5 @@ http_interactions:
|
|
207
140
|
ICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2Rv
|
208
141
|
aV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
209
142
|
http_version:
|
210
|
-
recorded_at:
|
143
|
+
recorded_at: Thu, 20 Apr 2017 20:21:56 GMT
|
211
144
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,89 +10,22 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
|
-
-
|
13
|
+
- text/xml
|
14
14
|
response:
|
15
15
|
status:
|
16
|
-
code:
|
16
|
+
code: 200
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Server:
|
20
20
|
- Apache-Coyote/1.1
|
21
|
-
|
22
|
-
-
|
23
|
-
Location:
|
24
|
-
- http://data.crossref.org/10.1101%2F097196
|
25
|
-
Expires:
|
26
|
-
- Tue, 18 Apr 2017 18:39:23 GMT
|
27
|
-
Content-Type:
|
28
|
-
- text/html;charset=utf-8
|
29
|
-
Content-Length:
|
30
|
-
- '167'
|
31
|
-
Date:
|
32
|
-
- Tue, 18 Apr 2017 18:28:59 GMT
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
<html><head><title>Handle Redirect</title></head>
|
37
|
-
<body><a href="http://data.crossref.org/10.1101%2F097196">http://data.crossref.org/10.1101%2F097196</a></body></html>
|
38
|
-
http_version:
|
39
|
-
recorded_at: Tue, 18 Apr 2017 18:28:59 GMT
|
40
|
-
- request:
|
41
|
-
method: get
|
42
|
-
uri: http://data.crossref.org/10.1101%2F097196
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ''
|
46
|
-
headers:
|
47
|
-
User-Agent:
|
48
|
-
- Maremma - https://github.com/datacite/maremma
|
49
|
-
Accept:
|
50
|
-
- application/vnd.crossref.unixref+xml
|
51
|
-
response:
|
52
|
-
status:
|
53
|
-
code: 200
|
54
|
-
message: ''
|
55
|
-
headers:
|
56
|
-
Access-Control-Allow-Origin:
|
57
|
-
- "*"
|
58
|
-
Access-Control-Allow-Headers:
|
59
|
-
- X-Requested-With, Accept, Accept-Encoding, Accept-Charset, Accept-Language,
|
60
|
-
Accept-Ranges, Cache-Control
|
61
|
-
Access-Control-Expose-Headers:
|
62
|
-
- Link
|
63
|
-
Link:
|
64
|
-
- !binary |-
|
65
|
-
PGh0dHA6Ly9keC5kb2kub3JnLzEwLjExMDEvMDk3MTk2PjsgcmVsPSJjYW5v
|
66
|
-
bmljYWwiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTQxOS0yNDA1
|
67
|
-
PjsgdGl0bGU9Ik1hcnRpbiBGZW5uZXIiOyByZWw9ImF1dGhvciIsIDxodHRw
|
68
|
-
Oi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xMzA0LTE5Mzk+OyB0aXRsZT0iTWVy
|
69
|
-
Y8OoIENyb3NhcyI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcv
|
70
|
-
MDAwMC0wMDAxLTUyMTItNzA1Mj47IHRpdGxlPSJKZWZmcmV5IEdyZXRoZSI7
|
71
|
-
IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTkz
|
72
|
-
NzctMDc5Nz47IHRpdGxlPSJEYXZpZCBLZW5uZWR5IjsgcmVsPSJhdXRob3Ii
|
73
|
-
LCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtODQ3OS0wMjYyPjsgdGl0
|
74
|
-
bGU9Ikhlbm5pbmcgSGVybWpha29iIjsgcmVsPSJhdXRob3IiLCA8aHR0cDov
|
75
|
-
L29yY2lkLm9yZy8wMDAwLTAwMDEtOTg1My01NjY4PjsgdGl0bGU9IlBoaWxp
|
76
|
-
cHBlIFJvY2NhLVNlcnJhIjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lk
|
77
|
-
Lm9yZy8wMDAwLTAwMDItMTczMS01MzQ2PjsgdGl0bGU9IlJvYmluIEJlcmpv
|
78
|
-
biI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAx
|
79
|
-
LTgyNDktNzM4OD47IHRpdGxlPSJTZWJhc3RpYW4gS2FyY2hlciI7IHJlbD0i
|
80
|
-
YXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTg0MDYtMzg3
|
81
|
-
MT47IHRpdGxlPSJNYXJ5YW5uIE1hcnRvbmUiOyByZWw9ImF1dGhvciIsIDxo
|
82
|
-
dHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA+OyB0aXRsZT0i
|
83
|
-
VGltb3RoeSBDbGFyayI7IHJlbD0iYXV0aG9yIg==
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- cr7-1
|
84
23
|
Content-Type:
|
85
|
-
-
|
86
|
-
Content-
|
87
|
-
-
|
88
|
-
Server:
|
89
|
-
- http-kit
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
90
27
|
Date:
|
91
|
-
-
|
92
|
-
X-Rate-Limit-Limit:
|
93
|
-
- '50'
|
94
|
-
X-Rate-Limit-Interval:
|
95
|
-
- 1s
|
28
|
+
- Thu, 20 Apr 2017 20:21:56 GMT
|
96
29
|
Connection:
|
97
30
|
- close
|
98
31
|
body:
|
@@ -207,5 +140,5 @@ http_interactions:
|
|
207
140
|
ICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2Rv
|
208
141
|
aV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
209
142
|
http_version:
|
210
|
-
recorded_at:
|
143
|
+
recorded_at: Thu, 20 Apr 2017 20:21:57 GMT
|
211
144
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,89 +10,22 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
|
-
-
|
13
|
+
- text/xml
|
14
14
|
response:
|
15
15
|
status:
|
16
|
-
code:
|
16
|
+
code: 200
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Server:
|
20
20
|
- Apache-Coyote/1.1
|
21
|
-
|
22
|
-
-
|
23
|
-
Location:
|
24
|
-
- http://data.crossref.org/10.1101%2F097196
|
25
|
-
Expires:
|
26
|
-
- Tue, 18 Apr 2017 18:39:23 GMT
|
27
|
-
Content-Type:
|
28
|
-
- text/html;charset=utf-8
|
29
|
-
Content-Length:
|
30
|
-
- '167'
|
31
|
-
Date:
|
32
|
-
- Tue, 18 Apr 2017 18:28:57 GMT
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
<html><head><title>Handle Redirect</title></head>
|
37
|
-
<body><a href="http://data.crossref.org/10.1101%2F097196">http://data.crossref.org/10.1101%2F097196</a></body></html>
|
38
|
-
http_version:
|
39
|
-
recorded_at: Tue, 18 Apr 2017 18:28:58 GMT
|
40
|
-
- request:
|
41
|
-
method: get
|
42
|
-
uri: http://data.crossref.org/10.1101%2F097196
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ''
|
46
|
-
headers:
|
47
|
-
User-Agent:
|
48
|
-
- Maremma - https://github.com/datacite/maremma
|
49
|
-
Accept:
|
50
|
-
- application/vnd.crossref.unixref+xml
|
51
|
-
response:
|
52
|
-
status:
|
53
|
-
code: 200
|
54
|
-
message: ''
|
55
|
-
headers:
|
56
|
-
Access-Control-Allow-Origin:
|
57
|
-
- "*"
|
58
|
-
Access-Control-Allow-Headers:
|
59
|
-
- X-Requested-With, Accept, Accept-Encoding, Accept-Charset, Accept-Language,
|
60
|
-
Accept-Ranges, Cache-Control
|
61
|
-
Access-Control-Expose-Headers:
|
62
|
-
- Link
|
63
|
-
Link:
|
64
|
-
- !binary |-
|
65
|
-
PGh0dHA6Ly9keC5kb2kub3JnLzEwLjExMDEvMDk3MTk2PjsgcmVsPSJjYW5v
|
66
|
-
bmljYWwiLCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDMtMTQxOS0yNDA1
|
67
|
-
PjsgdGl0bGU9Ik1hcnRpbiBGZW5uZXIiOyByZWw9ImF1dGhvciIsIDxodHRw
|
68
|
-
Oi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xMzA0LTE5Mzk+OyB0aXRsZT0iTWVy
|
69
|
-
Y8OoIENyb3NhcyI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcv
|
70
|
-
MDAwMC0wMDAxLTUyMTItNzA1Mj47IHRpdGxlPSJKZWZmcmV5IEdyZXRoZSI7
|
71
|
-
IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTkz
|
72
|
-
NzctMDc5Nz47IHRpdGxlPSJEYXZpZCBLZW5uZWR5IjsgcmVsPSJhdXRob3Ii
|
73
|
-
LCA8aHR0cDovL29yY2lkLm9yZy8wMDAwLTAwMDEtODQ3OS0wMjYyPjsgdGl0
|
74
|
-
bGU9Ikhlbm5pbmcgSGVybWpha29iIjsgcmVsPSJhdXRob3IiLCA8aHR0cDov
|
75
|
-
L29yY2lkLm9yZy8wMDAwLTAwMDEtOTg1My01NjY4PjsgdGl0bGU9IlBoaWxp
|
76
|
-
cHBlIFJvY2NhLVNlcnJhIjsgcmVsPSJhdXRob3IiLCA8aHR0cDovL29yY2lk
|
77
|
-
Lm9yZy8wMDAwLTAwMDItMTczMS01MzQ2PjsgdGl0bGU9IlJvYmluIEJlcmpv
|
78
|
-
biI7IHJlbD0iYXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAx
|
79
|
-
LTgyNDktNzM4OD47IHRpdGxlPSJTZWJhc3RpYW4gS2FyY2hlciI7IHJlbD0i
|
80
|
-
YXV0aG9yIiwgPGh0dHA6Ly9vcmNpZC5vcmcvMDAwMC0wMDAyLTg0MDYtMzg3
|
81
|
-
MT47IHRpdGxlPSJNYXJ5YW5uIE1hcnRvbmUiOyByZWw9ImF1dGhvciIsIDxo
|
82
|
-
dHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy00MDYwLTczNjA+OyB0aXRsZT0i
|
83
|
-
VGltb3RoeSBDbGFyayI7IHJlbD0iYXV0aG9yIg==
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- qs4-1
|
84
23
|
Content-Type:
|
85
|
-
-
|
86
|
-
Content-
|
87
|
-
-
|
88
|
-
Server:
|
89
|
-
- http-kit
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
90
27
|
Date:
|
91
|
-
-
|
92
|
-
X-Rate-Limit-Limit:
|
93
|
-
- '50'
|
94
|
-
X-Rate-Limit-Interval:
|
95
|
-
- 1s
|
28
|
+
- Thu, 20 Apr 2017 20:43:23 GMT
|
96
29
|
Connection:
|
97
30
|
- close
|
98
31
|
body:
|
@@ -207,5 +140,5 @@ http_interactions:
|
|
207
140
|
ICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2Rv
|
208
141
|
aV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
209
142
|
http_version:
|
210
|
-
recorded_at:
|
143
|
+
recorded_at: Thu, 20 Apr 2017 20:21:56 GMT
|
211
144
|
recorded_with: VCR 3.0.3
|