bolognese 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +85 -24
  4. data/bin/bolognese +5 -1
  5. data/lib/bolognese/bibtex.rb +5 -1
  6. data/lib/bolognese/cli.rb +22 -23
  7. data/lib/bolognese/metadata.rb +3 -21
  8. data/lib/bolognese/utils.rb +38 -21
  9. data/lib/bolognese/version.rb +1 -1
  10. data/spec/bibtex_spec.rb +3 -0
  11. data/spec/cli_spec.rb +94 -43
  12. data/spec/fixtures/crossref.bib +3 -1
  13. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/crossref/as_bibtex.yml +7 -7
  14. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/crossref/as_crossref.yml +7 -7
  15. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/crossref/as_datacite.yml +7 -723
  16. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/crossref/as_schema_org.yml +7 -723
  17. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/crossref/default.yml +7 -7
  18. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +760 -0
  19. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +760 -0
  20. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +760 -0
  21. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +760 -0
  22. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/datacite/as_bibtex.yml +9 -9
  23. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/datacite/as_datacite.yml +9 -9
  24. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/datacite/as_schema_org.yml +9 -179
  25. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/datacite/default.yml +9 -9
  26. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +214 -0
  27. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +214 -0
  28. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +214 -0
  29. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/schema_org/as_bibtex.yml +10 -10
  30. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/schema_org/as_datacite.yml +10 -10
  31. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/schema_org/as_schema_org.yml +10 -10
  32. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/{read → convert_from_id}/schema_org/default.yml +10 -10
  33. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +653 -0
  34. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +653 -0
  35. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +653 -0
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/crossref.yml +44 -0
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/crossref_doi_not_url.yml +44 -0
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/datacite.yml +44 -0
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/datacite_doi_http.yml +44 -0
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +44 -0
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +44 -0
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +44 -0
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +44 -0
  44. data/spec/metadata_spec.rb +27 -7
  45. metadata +32 -14
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Length:
28
28
  - '56'
29
29
  Date:
30
- - Wed, 22 Feb 2017 11:49:36 GMT
30
+ - Wed, 22 Feb 2017 17:20:01 GMT
31
31
  Connection:
32
32
  - close
33
33
  body:
@@ -40,7 +40,7 @@ http_interactions:
40
40
  }
41
41
  ]
42
42
  http_version:
43
- recorded_at: Wed, 22 Feb 2017 11:49:37 GMT
43
+ recorded_at: Wed, 22 Feb 2017 17:20:01 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://doi.org/10.5061/dryad.8515
@@ -64,20 +64,20 @@ http_interactions:
64
64
  Location:
65
65
  - http://data.datacite.org/10.5061%2Fdryad.8515
66
66
  Expires:
67
- - Wed, 22 Feb 2017 12:30:44 GMT
67
+ - Wed, 22 Feb 2017 17:30:51 GMT
68
68
  Content-Type:
69
69
  - text/html;charset=utf-8
70
70
  Content-Length:
71
71
  - '175'
72
72
  Date:
73
- - Wed, 22 Feb 2017 11:49:45 GMT
73
+ - Wed, 22 Feb 2017 17:20:09 GMT
74
74
  body:
75
75
  encoding: UTF-8
76
76
  string: |-
77
77
  <html><head><title>Handle Redirect</title></head>
78
78
  <body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
79
79
  http_version:
80
- recorded_at: Wed, 22 Feb 2017 11:49:45 GMT
80
+ recorded_at: Wed, 22 Feb 2017 17:20:10 GMT
81
81
  - request:
82
82
  method: get
83
83
  uri: http://data.datacite.org/10.5061%2Fdryad.8515
@@ -97,7 +97,7 @@ http_interactions:
97
97
  Server:
98
98
  - openresty/1.11.2.2
99
99
  Date:
100
- - Wed, 22 Feb 2017 11:49:45 GMT
100
+ - Wed, 22 Feb 2017 17:20:10 GMT
101
101
  Content-Type:
102
102
  - text/html
103
103
  Content-Length:
@@ -111,7 +111,7 @@ http_interactions:
111
111
  string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
112
112
  bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
113
113
  http_version:
114
- recorded_at: Wed, 22 Feb 2017 11:49:45 GMT
114
+ recorded_at: Wed, 22 Feb 2017 17:20:10 GMT
115
115
  - request:
116
116
  method: get
117
117
  uri: https://data.datacite.org/10.5061%2Fdryad.8515
@@ -131,7 +131,7 @@ http_interactions:
131
131
  Server:
132
132
  - openresty/1.11.2.2
133
133
  Date:
134
- - Wed, 22 Feb 2017 11:49:45 GMT
134
+ - Wed, 22 Feb 2017 17:20:10 GMT
135
135
  Content-Type:
136
136
  - application/vnd.datacite.datacite+xml
137
137
  Content-Length:
@@ -210,5 +210,5 @@ http_interactions:
210
210
  ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
211
211
  cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
212
212
  http_version:
213
- recorded_at: Wed, 22 Feb 2017 11:49:45 GMT
213
+ recorded_at: Wed, 22 Feb 2017 17:20:10 GMT
214
214
  recorded_with: VCR 3.0.3
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Length:
28
28
  - '56'
29
29
  Date:
30
- - Fri, 17 Feb 2017 08:06:50 GMT
30
+ - Wed, 22 Feb 2017 17:20:10 GMT
31
31
  Connection:
32
32
  - close
33
33
  body:
@@ -40,7 +40,7 @@ http_interactions:
40
40
  }
41
41
  ]
42
42
  http_version:
43
- recorded_at: Fri, 17 Feb 2017 08:06:51 GMT
43
+ recorded_at: Wed, 22 Feb 2017 17:20:11 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://doi.org/10.5061/dryad.8515
@@ -64,20 +64,20 @@ http_interactions:
64
64
  Location:
65
65
  - http://data.datacite.org/10.5061%2Fdryad.8515
66
66
  Expires:
67
- - Fri, 17 Feb 2017 08:28:22 GMT
67
+ - Wed, 22 Feb 2017 17:30:51 GMT
68
68
  Content-Type:
69
69
  - text/html;charset=utf-8
70
70
  Content-Length:
71
71
  - '175'
72
72
  Date:
73
- - Fri, 17 Feb 2017 08:06:50 GMT
73
+ - Wed, 22 Feb 2017 17:20:18 GMT
74
74
  body:
75
75
  encoding: UTF-8
76
76
  string: |-
77
77
  <html><head><title>Handle Redirect</title></head>
78
78
  <body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
79
79
  http_version:
80
- recorded_at: Fri, 17 Feb 2017 08:06:51 GMT
80
+ recorded_at: Wed, 22 Feb 2017 17:20:19 GMT
81
81
  - request:
82
82
  method: get
83
83
  uri: http://data.datacite.org/10.5061%2Fdryad.8515
@@ -97,7 +97,7 @@ http_interactions:
97
97
  Server:
98
98
  - openresty/1.11.2.2
99
99
  Date:
100
- - Fri, 17 Feb 2017 08:06:51 GMT
100
+ - Wed, 22 Feb 2017 17:20:19 GMT
101
101
  Content-Type:
102
102
  - text/html
103
103
  Content-Length:
@@ -111,7 +111,7 @@ http_interactions:
111
111
  string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
112
112
  bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
113
113
  http_version:
114
- recorded_at: Fri, 17 Feb 2017 08:06:51 GMT
114
+ recorded_at: Wed, 22 Feb 2017 17:20:19 GMT
115
115
  - request:
116
116
  method: get
117
117
  uri: https://data.datacite.org/10.5061%2Fdryad.8515
@@ -131,7 +131,7 @@ http_interactions:
131
131
  Server:
132
132
  - openresty/1.11.2.2
133
133
  Date:
134
- - Fri, 17 Feb 2017 08:06:52 GMT
134
+ - Wed, 22 Feb 2017 17:20:19 GMT
135
135
  Content-Type:
136
136
  - application/vnd.datacite.datacite+xml
137
137
  Content-Length:
@@ -210,5 +210,5 @@ http_interactions:
210
210
  ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
211
211
  cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
212
212
  http_version:
213
- recorded_at: Fri, 17 Feb 2017 08:06:52 GMT
213
+ recorded_at: Wed, 22 Feb 2017 17:20:19 GMT
214
214
  recorded_with: VCR 3.0.3
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Length:
28
28
  - '56'
29
29
  Date:
30
- - Fri, 17 Feb 2017 08:06:51 GMT
30
+ - Wed, 22 Feb 2017 17:20:28 GMT
31
31
  Connection:
32
32
  - close
33
33
  body:
@@ -40,7 +40,7 @@ http_interactions:
40
40
  }
41
41
  ]
42
42
  http_version:
43
- recorded_at: Fri, 17 Feb 2017 08:06:52 GMT
43
+ recorded_at: Wed, 22 Feb 2017 17:20:29 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://doi.org/10.5061/dryad.8515
@@ -64,20 +64,20 @@ http_interactions:
64
64
  Location:
65
65
  - http://data.datacite.org/10.5061%2Fdryad.8515
66
66
  Expires:
67
- - Fri, 17 Feb 2017 08:28:22 GMT
67
+ - Wed, 22 Feb 2017 17:30:51 GMT
68
68
  Content-Type:
69
69
  - text/html;charset=utf-8
70
70
  Content-Length:
71
71
  - '175'
72
72
  Date:
73
- - Fri, 17 Feb 2017 08:06:52 GMT
73
+ - Wed, 22 Feb 2017 17:20:37 GMT
74
74
  body:
75
75
  encoding: UTF-8
76
76
  string: |-
77
77
  <html><head><title>Handle Redirect</title></head>
78
78
  <body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
79
79
  http_version:
80
- recorded_at: Fri, 17 Feb 2017 08:06:52 GMT
80
+ recorded_at: Wed, 22 Feb 2017 17:20:38 GMT
81
81
  - request:
82
82
  method: get
83
83
  uri: http://data.datacite.org/10.5061%2Fdryad.8515
@@ -97,7 +97,7 @@ http_interactions:
97
97
  Server:
98
98
  - openresty/1.11.2.2
99
99
  Date:
100
- - Fri, 17 Feb 2017 08:06:52 GMT
100
+ - Wed, 22 Feb 2017 17:20:38 GMT
101
101
  Content-Type:
102
102
  - text/html
103
103
  Content-Length:
@@ -111,7 +111,7 @@ http_interactions:
111
111
  string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
112
112
  bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
113
113
  http_version:
114
- recorded_at: Fri, 17 Feb 2017 08:06:52 GMT
114
+ recorded_at: Wed, 22 Feb 2017 17:20:38 GMT
115
115
  - request:
116
116
  method: get
117
117
  uri: https://data.datacite.org/10.5061%2Fdryad.8515
@@ -131,7 +131,7 @@ http_interactions:
131
131
  Server:
132
132
  - openresty/1.11.2.2
133
133
  Date:
134
- - Fri, 17 Feb 2017 08:06:53 GMT
134
+ - Wed, 22 Feb 2017 17:20:38 GMT
135
135
  Content-Type:
136
136
  - application/vnd.datacite.datacite+xml
137
137
  Content-Length:
@@ -210,175 +210,5 @@ http_interactions:
210
210
  ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
211
211
  cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
212
212
  http_version:
213
- recorded_at: Fri, 17 Feb 2017 08:06:53 GMT
214
- - request:
215
- method: get
216
- uri: https://doi.org/10.5061/dryad.8515
217
- body:
218
- encoding: US-ASCII
219
- string: ''
220
- headers:
221
- User-Agent:
222
- - Maremma - https://github.com/datacite/maremma
223
- Accept:
224
- - application/vnd.datacite.datacite+xml
225
- response:
226
- status:
227
- code: 303
228
- message: ''
229
- headers:
230
- Server:
231
- - Apache-Coyote/1.1
232
- Vary:
233
- - Accept
234
- Location:
235
- - http://data.datacite.org/10.5061%2Fdryad.8515
236
- Expires:
237
- - Fri, 17 Feb 2017 08:28:22 GMT
238
- Content-Type:
239
- - text/html;charset=utf-8
240
- Content-Length:
241
- - '175'
242
- Date:
243
- - Fri, 17 Feb 2017 08:06:52 GMT
244
- body:
245
- encoding: UTF-8
246
- string: |-
247
- <html><head><title>Handle Redirect</title></head>
248
- <body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
249
- http_version:
250
- recorded_at: Fri, 17 Feb 2017 08:06:53 GMT
251
- - request:
252
- method: get
253
- uri: http://data.datacite.org/10.5061%2Fdryad.8515
254
- body:
255
- encoding: US-ASCII
256
- string: ''
257
- headers:
258
- User-Agent:
259
- - Maremma - https://github.com/datacite/maremma
260
- Accept:
261
- - application/vnd.datacite.datacite+xml
262
- response:
263
- status:
264
- code: 301
265
- message: ''
266
- headers:
267
- Server:
268
- - openresty/1.11.2.2
269
- Date:
270
- - Fri, 17 Feb 2017 08:06:53 GMT
271
- Content-Type:
272
- - text/html
273
- Content-Length:
274
- - '191'
275
- Connection:
276
- - keep-alive
277
- Location:
278
- - https://data.datacite.org/10.5061%2Fdryad.8515
279
- body:
280
- encoding: UTF-8
281
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
282
- bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
283
- http_version:
284
- recorded_at: Fri, 17 Feb 2017 08:06:53 GMT
285
- - request:
286
- method: get
287
- uri: https://data.datacite.org/10.5061%2Fdryad.8515
288
- body:
289
- encoding: US-ASCII
290
- string: ''
291
- headers:
292
- User-Agent:
293
- - Maremma - https://github.com/datacite/maremma
294
- Accept:
295
- - application/vnd.datacite.datacite+xml
296
- response:
297
- status:
298
- code: 200
299
- message: ''
300
- headers:
301
- Server:
302
- - openresty/1.11.2.2
303
- Date:
304
- - Fri, 17 Feb 2017 08:06:53 GMT
305
- Content-Type:
306
- - application/vnd.datacite.datacite+xml
307
- Content-Length:
308
- - '2601'
309
- Connection:
310
- - keep-alive
311
- Cache-Control:
312
- - no-transform, max-age=3600
313
- Last-Modified:
314
- - Sat, 04 Feb 2017 17:54:37 GMT
315
- Vary:
316
- - Accept
317
- Access-Control-Allow-Origin:
318
- - "*"
319
- Access-Control-Allow-Methods:
320
- - GET, POST, OPTIONS
321
- body:
322
- encoding: ASCII-8BIT
323
- string: !binary |-
324
- PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291
325
- cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwt
326
- MyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVt
327
- YS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01F
328
- VFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxu
329
- cy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9y
330
- Zy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwu
331
- b3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8v
332
- ZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRh
333
- dGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+ICA8aWRl
334
- bnRpZmllciBpZGVudGlmaWVyVHlwZT0iRE9JIj4xMC41MDYxL0RSWUFELjg1
335
- MTU8L2lkZW50aWZp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W50aWZpZXJzPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRl
369
- ZElkZW50aWZpZXJUeXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSGFzUGFydCI+
370
- MTAuNTA2MS9EUllBRC44NTE1LzE8L3JlbGF0ZWRJZGVudGlmaWVyPiAgICA8
371
- cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJET0ki
372
- IHJlbGF0aW9uVHlwZT0iSGFzUGFydCI+MTAuNTA2MS9EUllBRC44NTE1LzI8
373
- L3JlbGF0ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVs
374
- YXRlZElkZW50aWZpZXJUeXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSXNSZWZl
375
- cmVuY2VkQnkiPjEwLjEzNzEvSk9VUk5BTC5QUEFULjEwMDA0NDY8L3JlbGF0
376
- ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElk
377
- ZW50aWZpZXJUeXBlPSJQTUlEIiByZWxhdGlvblR5cGU9IklzUmVmZXJlbmNl
378
- ZEJ5Ij4xOTQ3ODg3NzwvcmVsYXRlZElkZW50aWZpZXI+ICA8L3JlbGF0ZWRJ
379
- ZGVudGlmaWVycz4gIDxyaWdodHNMaXN0PiAgICA8cmlnaHRzIHJpZ2h0c1VS
380
- ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
381
- cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
382
- http_version:
383
- recorded_at: Fri, 17 Feb 2017 08:06:53 GMT
213
+ recorded_at: Wed, 22 Feb 2017 17:20:38 GMT
384
214
  recorded_with: VCR 3.0.3
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Length:
28
28
  - '56'
29
29
  Date:
30
- - Sat, 18 Feb 2017 20:52:42 GMT
30
+ - Wed, 22 Feb 2017 17:20:19 GMT
31
31
  Connection:
32
32
  - close
33
33
  body:
@@ -40,7 +40,7 @@ http_interactions:
40
40
  }
41
41
  ]
42
42
  http_version:
43
- recorded_at: Sat, 18 Feb 2017 20:52:42 GMT
43
+ recorded_at: Wed, 22 Feb 2017 17:20:20 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://doi.org/10.5061/dryad.8515
@@ -64,20 +64,20 @@ http_interactions:
64
64
  Location:
65
65
  - http://data.datacite.org/10.5061%2Fdryad.8515
66
66
  Expires:
67
- - Sat, 18 Feb 2017 21:29:01 GMT
67
+ - Wed, 22 Feb 2017 17:30:51 GMT
68
68
  Content-Type:
69
69
  - text/html;charset=utf-8
70
70
  Content-Length:
71
71
  - '175'
72
72
  Date:
73
- - Sat, 18 Feb 2017 20:52:41 GMT
73
+ - Wed, 22 Feb 2017 17:20:28 GMT
74
74
  body:
75
75
  encoding: UTF-8
76
76
  string: |-
77
77
  <html><head><title>Handle Redirect</title></head>
78
78
  <body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
79
79
  http_version:
80
- recorded_at: Sat, 18 Feb 2017 20:52:42 GMT
80
+ recorded_at: Wed, 22 Feb 2017 17:20:29 GMT
81
81
  - request:
82
82
  method: get
83
83
  uri: http://data.datacite.org/10.5061%2Fdryad.8515
@@ -97,7 +97,7 @@ http_interactions:
97
97
  Server:
98
98
  - openresty/1.11.2.2
99
99
  Date:
100
- - Sat, 18 Feb 2017 20:52:42 GMT
100
+ - Wed, 22 Feb 2017 17:20:29 GMT
101
101
  Content-Type:
102
102
  - text/html
103
103
  Content-Length:
@@ -111,7 +111,7 @@ http_interactions:
111
111
  string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
112
112
  bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
113
113
  http_version:
114
- recorded_at: Sat, 18 Feb 2017 20:52:42 GMT
114
+ recorded_at: Wed, 22 Feb 2017 17:20:29 GMT
115
115
  - request:
116
116
  method: get
117
117
  uri: https://data.datacite.org/10.5061%2Fdryad.8515
@@ -131,7 +131,7 @@ http_interactions:
131
131
  Server:
132
132
  - openresty/1.11.2.2
133
133
  Date:
134
- - Sat, 18 Feb 2017 20:52:42 GMT
134
+ - Wed, 22 Feb 2017 17:20:29 GMT
135
135
  Content-Type:
136
136
  - application/vnd.datacite.datacite+xml
137
137
  Content-Length:
@@ -210,5 +210,5 @@ http_interactions:
210
210
  ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
211
211
  cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
212
212
  http_version:
213
- recorded_at: Sat, 18 Feb 2017 20:52:42 GMT
213
+ recorded_at: Wed, 22 Feb 2017 17:20:29 GMT
214
214
  recorded_with: VCR 3.0.3