bolognese 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/bolognese/crossref.rb +11 -2
  4. data/lib/bolognese/datacite.rb +7 -1
  5. data/lib/bolognese/version.rb +1 -1
  6. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +14 -67
  7. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +14 -67
  8. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +16 -65
  9. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +14 -67
  10. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +14 -67
  11. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +7 -11
  12. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +7 -11
  13. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +7 -11
  14. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +7 -11
  15. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +7 -11
  16. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +12 -12
  17. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +12 -12
  18. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +12 -12
  19. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +12 -12
  20. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/author.yml +10 -77
  21. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/no_author.yml +10 -77
  22. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/single_author.yml +10 -77
  23. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/with_organization.yml +10 -77
  24. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_ORCID_ID.yml +10 -62
  25. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_SICI_DOI.yml +10 -61
  26. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_data_citation.yml +10 -61
  27. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/Schema_org_JSON.yml +10 -61
  28. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/date_in_future.yml +10 -63
  29. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/journal_article.yml +10 -59
  30. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/not_found_error.yml +15 -70
  31. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/posted_content.yml +10 -77
  32. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_data_citation.yml +10 -61
  33. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_pages.yml +10 -62
  34. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/journal_article.yml +10 -61
  35. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/with_pages.yml +10 -62
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_ORCID_ID.yml +10 -62
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_data_citation.yml +10 -61
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_editor.yml +10 -59
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/journal_article.yml +28 -79
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/with_pages.yml +28 -80
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/journal_article.yml +10 -61
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/with_pages.yml +10 -62
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_string/DOI_with_data_citation.yml +10 -61
  44. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/journal_article.yml +28 -79
  45. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/with_pages.yml +28 -80
  46. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_ORCID.yml +3 -5
  47. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_no_ORCID.yml +3 -3
  48. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_familyName.yml +3 -3
  49. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order.yml +3 -3
  50. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order_with_ORCID.yml +3 -5
  51. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_sort-order.yml +3 -3
  52. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/is_organization.yml +10 -77
  53. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_comma.yml +10 -77
  54. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_family_name.yml +10 -77
  55. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_id.yml +10 -77
  56. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_no_info.yml +10 -77
  57. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_organization.yml +10 -77
  58. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_person.yml +10 -77
  59. metadata +2 -2
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://doi.org/10.7554/elife.01567
5
+ uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.7554/elife.01567&noredirect=true&pid=tech@datacite.org
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,73 +10,22 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
12
12
  Accept:
13
- - application/vnd.crossref.unixref+xml
13
+ - text/xml
14
14
  response:
15
15
  status:
16
- code: 303
16
+ code: 200
17
17
  message: ''
18
18
  headers:
19
19
  Server:
20
20
  - Apache-Coyote/1.1
21
- Vary:
22
- - Accept
23
- Location:
24
- - http://data.crossref.org/10.7554%2Felife.01567
25
- Expires:
26
- - Tue, 18 Apr 2017 18:39:23 GMT
27
- Content-Type:
28
- - text/html;charset=utf-8
29
- Content-Length:
30
- - '177'
31
- Date:
32
- - Tue, 18 Apr 2017 18:28:20 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.7554%2Felife.01567">http://data.crossref.org/10.7554%2Felife.01567</a></body></html>
38
- http_version:
39
- recorded_at: Tue, 18 Apr 2017 18:28:20 GMT
40
- - request:
41
- method: get
42
- uri: http://data.crossref.org/10.7554%2Felife.01567
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
- - <http://dx.doi.org/10.7554/elife.01567>; rel="canonical", <http://creativecommons.org/licenses/by/3.0/>;
65
- version="vor"; rel="license", <http://creativecommons.org/licenses/by/3.0/>;
66
- version="am"; rel="license", <http://creativecommons.org/licenses/by/3.0/>;
67
- version="tdm"; rel="license"
21
+ Crossref-Deployment-Name:
22
+ - cr6-1
68
23
  Content-Type:
69
- - application/vnd.crossref.unixref+xml
70
- Content-Length:
71
- - '28603'
72
- Server:
73
- - http-kit
24
+ - text/xml;charset=UTF-8
25
+ Content-Language:
26
+ - en-US
74
27
  Date:
75
- - Tue, 18 Apr 2017 18:28:21 GMT
76
- X-Rate-Limit-Limit:
77
- - '50'
78
- X-Rate-Limit-Interval:
79
- - 1s
28
+ - Thu, 20 Apr 2017 20:22:25 GMT
80
29
  Connection:
81
30
  - close
82
31
  body:
@@ -719,5 +668,5 @@ http_interactions:
719
668
  aWNsZT4NCiAgICAgIDwvam91cm5hbD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8
720
669
  L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
721
670
  http_version:
722
- recorded_at: Tue, 18 Apr 2017 18:28:21 GMT
671
+ recorded_at: Thu, 20 Apr 2017 20:22:25 GMT
723
672
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://doi.org/10.1371/journal.pone.0000030
5
+ uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1371/journal.pone.0000030&noredirect=true&pid=tech@datacite.org
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,71 +10,22 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
12
12
  Accept:
13
- - application/vnd.crossref.unixref+xml
13
+ - text/xml
14
14
  response:
15
15
  status:
16
- code: 303
16
+ code: 200
17
17
  message: ''
18
18
  headers:
19
19
  Server:
20
20
  - Apache-Coyote/1.1
21
- Vary:
22
- - Accept
23
- Location:
24
- - http://data.crossref.org/10.1371%2Fjournal.pone.0000030
25
- Expires:
26
- - Tue, 18 Apr 2017 18:39:23 GMT
27
- Content-Type:
28
- - text/html;charset=utf-8
29
- Content-Length:
30
- - '195'
31
- Date:
32
- - Tue, 18 Apr 2017 18:28:22 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.1371%2Fjournal.pone.0000030">http://data.crossref.org/10.1371%2Fjournal.pone.0000030</a></body></html>
38
- http_version:
39
- recorded_at: Tue, 18 Apr 2017 18:28:22 GMT
40
- - request:
41
- method: get
42
- uri: http://data.crossref.org/10.1371%2Fjournal.pone.0000030
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
- - <http://dx.doi.org/10.1371/journal.pone.0000030>; rel="canonical", <http://creativecommons.org/licenses/by/4.0/>;
65
- version="vor"; rel="license"
21
+ Crossref-Deployment-Name:
22
+ - qs2-2
66
23
  Content-Type:
67
- - application/vnd.crossref.unixref+xml
68
- Content-Length:
69
- - '38186'
70
- Server:
71
- - http-kit
24
+ - text/xml;charset=UTF-8
25
+ Content-Language:
26
+ - en-US
72
27
  Date:
73
- - Tue, 18 Apr 2017 18:28:22 GMT
74
- X-Rate-Limit-Limit:
75
- - '50'
76
- X-Rate-Limit-Interval:
77
- - 1s
28
+ - Thu, 20 Apr 2017 20:22:25 GMT
78
29
  Connection:
79
30
  - close
80
31
  body:
@@ -930,5 +881,5 @@ http_interactions:
930
881
  bGU+DQogICAgICA8L2pvdXJuYWw+DQogICAgPC9jcm9zc3JlZj4NCiAgPC9k
931
882
  b2lfcmVjb3JkPg0KPC9kb2lfcmVjb3Jkcz4=
932
883
  http_version:
933
- recorded_at: Tue, 18 Apr 2017 18:28:23 GMT
884
+ recorded_at: Thu, 20 Apr 2017 20:22:26 GMT
934
885
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://doi.org/10.7554/elife.01567
5
+ uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.7554/elife.01567&noredirect=true&pid=tech@datacite.org
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,73 +10,22 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
12
12
  Accept:
13
- - application/vnd.crossref.unixref+xml
13
+ - text/xml
14
14
  response:
15
15
  status:
16
- code: 303
16
+ code: 200
17
17
  message: ''
18
18
  headers:
19
19
  Server:
20
20
  - Apache-Coyote/1.1
21
- Vary:
22
- - Accept
23
- Location:
24
- - http://data.crossref.org/10.7554%2Felife.01567
25
- Expires:
26
- - Tue, 18 Apr 2017 18:39:23 GMT
27
- Content-Type:
28
- - text/html;charset=utf-8
29
- Content-Length:
30
- - '177'
31
- Date:
32
- - Tue, 18 Apr 2017 18:28:36 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.7554%2Felife.01567">http://data.crossref.org/10.7554%2Felife.01567</a></body></html>
38
- http_version:
39
- recorded_at: Tue, 18 Apr 2017 18:28:36 GMT
40
- - request:
41
- method: get
42
- uri: http://data.crossref.org/10.7554%2Felife.01567
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
- - <http://dx.doi.org/10.7554/elife.01567>; rel="canonical", <http://creativecommons.org/licenses/by/3.0/>;
65
- version="vor"; rel="license", <http://creativecommons.org/licenses/by/3.0/>;
66
- version="am"; rel="license", <http://creativecommons.org/licenses/by/3.0/>;
67
- version="tdm"; rel="license"
21
+ Crossref-Deployment-Name:
22
+ - cr6-1
68
23
  Content-Type:
69
- - application/vnd.crossref.unixref+xml
70
- Content-Length:
71
- - '28603'
72
- Server:
73
- - http-kit
24
+ - text/xml;charset=UTF-8
25
+ Content-Language:
26
+ - en-US
74
27
  Date:
75
- - Tue, 18 Apr 2017 18:28:36 GMT
76
- X-Rate-Limit-Limit:
77
- - '50'
78
- X-Rate-Limit-Interval:
79
- - 1s
28
+ - Thu, 20 Apr 2017 20:22:29 GMT
80
29
  Connection:
81
30
  - close
82
31
  body:
@@ -719,7 +668,7 @@ http_interactions:
719
668
  aWNsZT4NCiAgICAgIDwvam91cm5hbD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8
720
669
  L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
721
670
  http_version:
722
- recorded_at: Tue, 18 Apr 2017 18:28:36 GMT
671
+ recorded_at: Thu, 20 Apr 2017 20:22:30 GMT
723
672
  - request:
724
673
  method: get
725
674
  uri: http://schema.org/
@@ -749,9 +698,9 @@ http_interactions:
749
698
  Vary:
750
699
  - Accept, Accept-Encoding
751
700
  X-Cloud-Trace-Context:
752
- - d458134b6d27602e6b977cb9f34e5aae
701
+ - 0e99527222a0be8101dcad76a77f6f6b
753
702
  Date:
754
- - Tue, 18 Apr 2017 18:28:41 GMT
703
+ - Thu, 20 Apr 2017 20:22:31 GMT
755
704
  Server:
756
705
  - Google Frontend
757
706
  Content-Length:
@@ -762,7 +711,7 @@ http_interactions:
762
711
  encoding: UTF-8
763
712
  string: ''
764
713
  http_version:
765
- recorded_at: Tue, 18 Apr 2017 18:28:41 GMT
714
+ recorded_at: Thu, 20 Apr 2017 20:22:31 GMT
766
715
  - request:
767
716
  method: get
768
717
  uri: http://schema.org/docs/jsonldcontext.json
@@ -790,13 +739,13 @@ http_interactions:
790
739
  Content-Type:
791
740
  - application/ld+json; charset=utf-8
792
741
  Etag:
793
- - 24751170418182029a2048647386json
742
+ - 24751170420201433a2048647386json
794
743
  Last-Modified:
795
- - Tue, 18 Apr 2017 18:20:29 UTC
744
+ - Thu, 20 Apr 2017 20:14:33 UTC
796
745
  X-Cloud-Trace-Context:
797
- - cd6cbc3f1c794e9fef95b3f7a6c50092
746
+ - dfb5b2aaa1a373f4740ab6bb14e5d199
798
747
  Date:
799
- - Tue, 18 Apr 2017 18:28:41 GMT
748
+ - Thu, 20 Apr 2017 20:22:31 GMT
800
749
  Server:
801
750
  - Google Frontend
802
751
  Content-Length:
@@ -804,7 +753,7 @@ http_interactions:
804
753
  Set-Cookie:
805
754
  - GOOGAPPUID=3-2e; Path=/
806
755
  Expires:
807
- - Tue, 18 Apr 2017 18:28:41 GMT
756
+ - Thu, 20 Apr 2017 20:22:31 GMT
808
757
  body:
809
758
  encoding: UTF-8
810
759
  string: |
@@ -3009,7 +2958,7 @@ http_interactions:
3009
2958
  }
3010
2959
  }
3011
2960
  http_version:
3012
- recorded_at: Tue, 18 Apr 2017 18:28:41 GMT
2961
+ recorded_at: Thu, 20 Apr 2017 20:22:31 GMT
3013
2962
  - request:
3014
2963
  method: get
3015
2964
  uri: http://schema.org/
@@ -3039,9 +2988,9 @@ http_interactions:
3039
2988
  Vary:
3040
2989
  - Accept, Accept-Encoding
3041
2990
  X-Cloud-Trace-Context:
3042
- - 644d338b7433a519d1c0e9fb3159d305
2991
+ - 70b26f900188a82b99708e7ecd3f4dca
3043
2992
  Date:
3044
- - Tue, 18 Apr 2017 18:28:41 GMT
2993
+ - Thu, 20 Apr 2017 20:22:32 GMT
3045
2994
  Server:
3046
2995
  - Google Frontend
3047
2996
  Content-Length:
@@ -3052,7 +3001,7 @@ http_interactions:
3052
3001
  encoding: UTF-8
3053
3002
  string: ''
3054
3003
  http_version:
3055
- recorded_at: Tue, 18 Apr 2017 18:28:41 GMT
3004
+ recorded_at: Thu, 20 Apr 2017 20:22:32 GMT
3056
3005
  - request:
3057
3006
  method: get
3058
3007
  uri: http://schema.org/docs/jsonldcontext.json
@@ -3080,13 +3029,13 @@ http_interactions:
3080
3029
  Content-Type:
3081
3030
  - application/ld+json; charset=utf-8
3082
3031
  Etag:
3083
- - 24751170418182029a2048647386json
3032
+ - 24751170420201433a2048647386json
3084
3033
  Last-Modified:
3085
- - Tue, 18 Apr 2017 18:20:29 UTC
3034
+ - Thu, 20 Apr 2017 20:14:33 UTC
3086
3035
  X-Cloud-Trace-Context:
3087
- - 4c071df6ffb253c64198e43567d91bbd
3036
+ - c7b2bf7678a7349a15a55fbc6c88f27f
3088
3037
  Date:
3089
- - Tue, 18 Apr 2017 18:28:42 GMT
3038
+ - Thu, 20 Apr 2017 20:22:33 GMT
3090
3039
  Server:
3091
3040
  - Google Frontend
3092
3041
  Content-Length:
@@ -3094,7 +3043,7 @@ http_interactions:
3094
3043
  Set-Cookie:
3095
3044
  - GOOGAPPUID=3-2e; Path=/
3096
3045
  Expires:
3097
- - Tue, 18 Apr 2017 18:28:42 GMT
3046
+ - Thu, 20 Apr 2017 20:22:33 GMT
3098
3047
  body:
3099
3048
  encoding: UTF-8
3100
3049
  string: |
@@ -5299,5 +5248,5 @@ http_interactions:
5299
5248
  }
5300
5249
  }
5301
5250
  http_version:
5302
- recorded_at: Tue, 18 Apr 2017 18:28:42 GMT
5251
+ recorded_at: Thu, 20 Apr 2017 20:22:33 GMT
5303
5252
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://doi.org/10.1155/2012/291294
5
+ uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1155/2012/291294&noredirect=true&pid=tech@datacite.org
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,74 +10,22 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
12
12
  Accept:
13
- - application/vnd.crossref.unixref+xml
13
+ - text/xml
14
14
  response:
15
15
  status:
16
- code: 303
16
+ code: 200
17
17
  message: ''
18
18
  headers:
19
19
  Server:
20
20
  - Apache-Coyote/1.1
21
- Vary:
22
- - Accept
23
- Location:
24
- - http://data.crossref.org/10.1155%2F2012%2F291294
25
- Expires:
26
- - Tue, 18 Apr 2017 18:39:23 GMT
27
- Content-Type:
28
- - text/html;charset=utf-8
29
- Content-Length:
30
- - '181'
31
- Date:
32
- - Tue, 18 Apr 2017 18:28:42 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.1155%2F2012%2F291294">http://data.crossref.org/10.1155%2F2012%2F291294</a></body></html>
38
- http_version:
39
- recorded_at: Tue, 18 Apr 2017 18:28:43 GMT
40
- - request:
41
- method: get
42
- uri: http://data.crossref.org/10.1155%2F2012%2F291294
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
- - <http://dx.doi.org/10.1155/2012/291294>; rel="canonical", <http://downloads.hindawi.com/journals/pm/2012/291294.pdf>;
65
- version="vor"; type="application/pdf"; rel="item", <http://downloads.hindawi.com/journals/pm/2012/291294.xml>;
66
- version="vor"; type="application/xml"; rel="item", <http://creativecommons.org/licenses/by/3.0/>;
67
- version="vor"; rel="license", <http://orcid.org/0000-0003-2043-4925>; title="Beatriz
68
- Hernandez"; rel="author"
21
+ Crossref-Deployment-Name:
22
+ - qs2-2
69
23
  Content-Type:
70
- - application/vnd.crossref.unixref+xml
71
- Content-Length:
72
- - '12670'
73
- Server:
74
- - http-kit
24
+ - text/xml;charset=UTF-8
25
+ Content-Language:
26
+ - en-US
75
27
  Date:
76
- - Tue, 18 Apr 2017 18:28:43 GMT
77
- X-Rate-Limit-Limit:
78
- - '50'
79
- X-Rate-Limit-Interval:
80
- - 1s
28
+ - Thu, 20 Apr 2017 20:22:33 GMT
81
29
  Connection:
82
30
  - close
83
31
  body:
@@ -366,7 +314,7 @@ http_interactions:
366
314
  ZT4NCiAgICAgIDwvam91cm5hbD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2Rv
367
315
  aV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
368
316
  http_version:
369
- recorded_at: Tue, 18 Apr 2017 18:28:43 GMT
317
+ recorded_at: Thu, 20 Apr 2017 20:22:34 GMT
370
318
  - request:
371
319
  method: get
372
320
  uri: http://schema.org/
@@ -396,9 +344,9 @@ http_interactions:
396
344
  Vary:
397
345
  - Accept, Accept-Encoding
398
346
  X-Cloud-Trace-Context:
399
- - 0371dba3a587fc055c7cbed8011bb60b
347
+ - 0760018ecd367ed22ee8e071045c00bb
400
348
  Date:
401
- - Tue, 18 Apr 2017 18:28:44 GMT
349
+ - Thu, 20 Apr 2017 20:22:34 GMT
402
350
  Server:
403
351
  - Google Frontend
404
352
  Content-Length:
@@ -409,7 +357,7 @@ http_interactions:
409
357
  encoding: UTF-8
410
358
  string: ''
411
359
  http_version:
412
- recorded_at: Tue, 18 Apr 2017 18:28:44 GMT
360
+ recorded_at: Thu, 20 Apr 2017 20:22:35 GMT
413
361
  - request:
414
362
  method: get
415
363
  uri: http://schema.org/docs/jsonldcontext.json
@@ -437,13 +385,13 @@ http_interactions:
437
385
  Content-Type:
438
386
  - application/ld+json; charset=utf-8
439
387
  Etag:
440
- - 24751170418182029a2048647386json
388
+ - 24751170420201433a2048647386json
441
389
  Last-Modified:
442
- - Tue, 18 Apr 2017 18:20:29 UTC
390
+ - Thu, 20 Apr 2017 20:14:33 UTC
443
391
  X-Cloud-Trace-Context:
444
- - 0007ac336212fea7cc0ce3c26fe1d332
392
+ - 090c15afd3f10512c467fffb69fbe515
445
393
  Date:
446
- - Tue, 18 Apr 2017 18:28:45 GMT
394
+ - Thu, 20 Apr 2017 20:22:35 GMT
447
395
  Server:
448
396
  - Google Frontend
449
397
  Content-Length:
@@ -451,7 +399,7 @@ http_interactions:
451
399
  Set-Cookie:
452
400
  - GOOGAPPUID=3-2e; Path=/
453
401
  Expires:
454
- - Tue, 18 Apr 2017 18:28:45 GMT
402
+ - Thu, 20 Apr 2017 20:22:35 GMT
455
403
  body:
456
404
  encoding: UTF-8
457
405
  string: |
@@ -2656,7 +2604,7 @@ http_interactions:
2656
2604
  }
2657
2605
  }
2658
2606
  http_version:
2659
- recorded_at: Tue, 18 Apr 2017 18:28:45 GMT
2607
+ recorded_at: Thu, 20 Apr 2017 20:22:35 GMT
2660
2608
  - request:
2661
2609
  method: get
2662
2610
  uri: http://schema.org/
@@ -2686,9 +2634,9 @@ http_interactions:
2686
2634
  Vary:
2687
2635
  - Accept, Accept-Encoding
2688
2636
  X-Cloud-Trace-Context:
2689
- - 821b8f3a8c1a0c95bb79361d7286f275
2637
+ - 62581301626196b46cd33a38b697c566
2690
2638
  Date:
2691
- - Tue, 18 Apr 2017 18:28:46 GMT
2639
+ - Thu, 20 Apr 2017 20:22:36 GMT
2692
2640
  Server:
2693
2641
  - Google Frontend
2694
2642
  Content-Length:
@@ -2699,7 +2647,7 @@ http_interactions:
2699
2647
  encoding: UTF-8
2700
2648
  string: ''
2701
2649
  http_version:
2702
- recorded_at: Tue, 18 Apr 2017 18:28:46 GMT
2650
+ recorded_at: Thu, 20 Apr 2017 20:22:36 GMT
2703
2651
  - request:
2704
2652
  method: get
2705
2653
  uri: http://schema.org/docs/jsonldcontext.json
@@ -2727,13 +2675,13 @@ http_interactions:
2727
2675
  Content-Type:
2728
2676
  - application/ld+json; charset=utf-8
2729
2677
  Etag:
2730
- - 24751170418182029a2048647386json
2678
+ - 24751170420201433a2048647386json
2731
2679
  Last-Modified:
2732
- - Tue, 18 Apr 2017 18:20:29 UTC
2680
+ - Thu, 20 Apr 2017 20:14:33 UTC
2733
2681
  X-Cloud-Trace-Context:
2734
- - 3566fba1caa811bb0073ec027f0f2a0f
2682
+ - 14a77c95dadba1fd51db3ce4a5c4b5fe
2735
2683
  Date:
2736
- - Tue, 18 Apr 2017 18:28:46 GMT
2684
+ - Thu, 20 Apr 2017 20:22:37 GMT
2737
2685
  Server:
2738
2686
  - Google Frontend
2739
2687
  Content-Length:
@@ -2741,7 +2689,7 @@ http_interactions:
2741
2689
  Set-Cookie:
2742
2690
  - GOOGAPPUID=3-2e; Path=/
2743
2691
  Expires:
2744
- - Tue, 18 Apr 2017 18:28:46 GMT
2692
+ - Thu, 20 Apr 2017 20:22:37 GMT
2745
2693
  body:
2746
2694
  encoding: UTF-8
2747
2695
  string: |
@@ -4946,5 +4894,5 @@ http_interactions:
4946
4894
  }
4947
4895
  }
4948
4896
  http_version:
4949
- recorded_at: Tue, 18 Apr 2017 18:28:46 GMT
4897
+ recorded_at: Thu, 20 Apr 2017 20:22:37 GMT
4950
4898
  recorded_with: VCR 3.0.3