bolognese 0.9.74 → 0.9.75

Sign up to get free protection for your applications and to get access to all the features.
Files changed (285) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +14 -14
  3. data/lib/bolognese/doi_utils.rb +2 -2
  4. data/lib/bolognese/string.rb +0 -1
  5. data/lib/bolognese/version.rb +1 -1
  6. data/spec/doi_utils_spec.rb +7 -7
  7. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +21 -37
  8. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +21 -37
  9. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_citation.yml +31 -51
  10. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +21 -35
  11. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +21 -37
  12. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_jats.yml +21 -37
  13. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +21 -37
  14. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +39 -69
  15. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +39 -67
  16. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_citation.yml +50 -86
  17. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +39 -71
  18. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +39 -71
  19. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_jats.yml +39 -71
  20. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +39 -71
  21. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +42 -56
  22. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +42 -56
  23. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +42 -56
  24. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +42 -56
  25. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +3 -3
  26. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +3 -3
  27. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +3 -3
  28. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +3 -3
  29. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_id.yml +23 -39
  30. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_state.yml +23 -39
  31. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +39 -71
  32. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_state.yml +3 -9
  33. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +3 -3
  34. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +3 -3
  35. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +2 -2
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +2 -2
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +3 -3
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +3 -3
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +21 -35
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +23 -39
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +20 -34
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +2 -2
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +17 -29
  44. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +3 -3
  45. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +2 -2
  46. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +3 -3
  47. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_test_resolver.yml +3 -3
  48. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +3 -3
  49. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver.yml +3 -3
  50. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver_http.yml +3 -3
  51. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/doi.yml +2 -2
  52. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/doi_with_protocol.yml +3 -3
  53. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/dx_doi_org_url.yml +3 -3
  54. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/force_test_resolver.yml +3 -3
  55. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/https_url.yml +3 -3
  56. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/test_resolver.yml +3 -3
  57. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/test_resolver_http.yml +3 -3
  58. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +56 -104
  59. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +56 -102
  60. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +57 -103
  61. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +57 -105
  62. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +38 -70
  63. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +38 -70
  64. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +38 -70
  65. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +53 -97
  66. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +38 -70
  67. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +38 -70
  68. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +38 -70
  69. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +38 -70
  70. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +38 -70
  71. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +38 -68
  72. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +38 -70
  73. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +38 -70
  74. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +38 -70
  75. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +38 -70
  76. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +2 -2
  77. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/maremma.yml +10 -10
  78. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/no_codemeta_json.yml +7 -7
  79. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/not_found_error.yml +7 -7
  80. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +21 -37
  81. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +20 -36
  82. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +21 -37
  83. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter.yml +21 -37
  84. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset.yml +21 -37
  85. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +21 -37
  86. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +21 -37
  87. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with.yml +12 -20
  88. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +21 -37
  89. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +21 -37
  90. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +38 -68
  91. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting_in_test_system.yml +40 -78
  92. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +24 -40
  93. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +35 -61
  94. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +39 -69
  95. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +39 -67
  96. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +38 -68
  97. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_test_system.yml +102 -0
  98. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +39 -71
  99. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +38 -68
  100. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +42 -72
  101. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +41 -73
  102. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +41 -73
  103. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +38 -70
  104. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +39 -71
  105. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +42 -74
  106. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/leading_and_trailing_whitespace.yml +41 -73
  107. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorName.yml +45 -78
  108. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +38 -68
  109. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +3 -3
  110. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +3 -3
  111. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +3 -3
  112. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +3 -3
  113. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +3 -3
  114. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +3 -3
  115. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_ORCID.yml +16 -99
  116. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_jacow_org_scheme.yml +16 -90
  117. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_multiple_name_identifier.yml +16 -94
  118. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_no_ORCID.yml +18 -108
  119. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +16 -99
  120. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_multiple_names_in_display-order.yml +19 -35
  121. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +16 -94
  122. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +16 -92
  123. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +16 -94
  124. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +16 -94
  125. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +16 -90
  126. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +3 -3
  127. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +22 -107
  128. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +16 -94
  129. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +16 -94
  130. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation_and_country.yml +29 -46
  131. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +16 -94
  132. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +42 -56
  133. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +42 -56
  134. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/not_found_error.yml +2 -2
  135. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +18 -34
  136. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +15 -25
  137. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_alternate_identifiers/insert.yml +19 -35
  138. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +19 -35
  139. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +19 -35
  140. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +19 -35
  141. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +19 -35
  142. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +19 -35
  143. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +19 -35
  144. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +19 -35
  145. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +19 -35
  146. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +19 -35
  147. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +19 -35
  148. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +19 -35
  149. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +19 -35
  150. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +19 -35
  151. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +19 -35
  152. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +19 -35
  153. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +2 -2
  154. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +2 -2
  155. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +3 -3
  156. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +3 -3
  157. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +2 -2
  158. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +3 -3
  159. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +38 -70
  160. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +38 -70
  161. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +38 -70
  162. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +38 -70
  163. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +2 -2
  164. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +3 -3
  165. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +2 -2
  166. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +3 -3
  167. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +3 -3
  168. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +3 -3
  169. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +3 -3
  170. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +3 -3
  171. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +3 -3
  172. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +2 -2
  173. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +3 -3
  174. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +3 -3
  175. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +3 -3
  176. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +2 -2
  177. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +3 -3
  178. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +2 -2
  179. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_options.yml +3 -3
  180. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_url.yml +3 -3
  181. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +2 -2
  182. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +3 -3
  183. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +3 -3
  184. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +3 -3
  185. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +2 -2
  186. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +2 -2
  187. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +3 -3
  188. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +3 -3
  189. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +3 -3
  190. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +3 -3
  191. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +3 -3
  192. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +3 -3
  193. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +3 -3
  194. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +3 -3
  195. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +2 -2
  196. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +3 -3
  197. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +3 -3
  198. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +3 -3
  199. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +3 -3
  200. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +3 -3
  201. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +3 -3
  202. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +2 -2
  203. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +3 -3
  204. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +3 -3
  205. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +3 -3
  206. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +3 -3
  207. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +3 -3
  208. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +3 -3
  209. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +3 -3
  210. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +3 -3
  211. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +3 -3
  212. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +3 -3
  213. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +3 -3
  214. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +3 -3
  215. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +19 -35
  216. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +19 -33
  217. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/authors_with_affiliations.yml +29 -46
  218. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +42 -56
  219. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/maremma.yml +8 -8
  220. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/text.yml +19 -35
  221. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +3 -3
  222. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +2 -2
  223. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml +30 -50
  224. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml +13 -17
  225. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml +14 -18
  226. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +19 -35
  227. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +42 -56
  228. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +19 -35
  229. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +19 -35
  230. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +3 -3
  231. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml +8 -8
  232. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/multiple_abstracts.yml +19 -35
  233. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +19 -35
  234. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +2 -2
  235. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +24 -47
  236. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +19 -35
  237. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +10 -10
  238. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +3 -3
  239. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +3 -3
  240. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +42 -56
  241. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +19 -35
  242. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +8 -8
  243. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +3 -3
  244. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +2 -2
  245. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +42 -56
  246. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +19 -35
  247. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +21 -37
  248. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru_with_doi_in_options.yml +13 -21
  249. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/maremma.yml +8 -8
  250. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +3 -3
  251. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +3 -3
  252. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +42 -56
  253. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +3 -3
  254. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Dataset_in_schema_4_0.yml +19 -35
  255. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Text_pass-thru.yml +21 -35
  256. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/book_chapter.yml +3 -3
  257. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/maremma.yml +10 -10
  258. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_ORCID_ID.yml +2 -2
  259. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation.yml +2 -2
  260. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation_schema_org.yml +42 -56
  261. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_editor.yml +3 -3
  262. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +19 -35
  263. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +42 -56
  264. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +19 -33
  265. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +19 -33
  266. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +3 -3
  267. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +8 -8
  268. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/with_pages.yml +3 -3
  269. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +19 -33
  270. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +19 -35
  271. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +19 -35
  272. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +19 -35
  273. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +19 -35
  274. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +3 -3
  275. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +8 -8
  276. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +37 -53
  277. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_Citeproc_JSON.yml +18 -18
  278. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_DataCite_JSON.yml +18 -18
  279. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Crossref_DOI.yml +18 -18
  280. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/DataONE.yml +18 -18
  281. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +37 -53
  282. data/spec/readers/datacite_reader_spec.rb +10 -9
  283. data/spec/readers/schema_org_reader_spec.rb +1 -1
  284. metadata +3 -3
  285. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_doi.yml +0 -128
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.datacite.org/prefixes/10.5438
5
+ uri: https://app.datacite.org/prefixes/10.5438
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,54 +16,38 @@ http_interactions:
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
- Access-Control-Allow-Headers:
20
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
21
- Access-Control-Allow-Methods:
22
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
23
- Access-Control-Allow-Origin:
24
- - "*"
25
- Access-Control-Expose-Headers:
26
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
27
- Cache-Control:
28
- - max-age=0, private, must-revalidate
19
+ Date:
20
+ - Thu, 15 Feb 2018 06:34:02 GMT
29
21
  Content-Type:
30
22
  - application/vnd.api+json; charset=utf-8
31
- Date:
32
- - Fri, 24 Nov 2017 22:10:43 GMT
33
- Etag:
34
- - W/"ea9b4e691cdc43f43bc403c92c7315d7"
35
- Server:
36
- - openresty/1.11.2.2
23
+ Connection:
24
+ - keep-alive
37
25
  Status:
38
26
  - 200 OK
39
- Vary:
40
- - Accept-Encoding
41
- Via:
42
- - kong/0.10.3
43
27
  X-Anonymous-Consumer:
44
28
  - 'true'
45
- X-Kong-Proxy-Latency:
46
- - '0'
47
- X-Kong-Upstream-Latency:
48
- - '17'
49
- X-Powered-By:
50
- - Phusion Passenger 5.1.12
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ Vary:
32
+ - Accept-Encoding, Origin
51
33
  X-Request-Id:
52
- - ec8e6c9b-cb2a-42c6-8146-ac0580e97a5c
34
+ - d96a6c6e-4246-4bd2-a249-aac6025de80d
35
+ Etag:
36
+ - W/"719f3f3ae05cc5e1f7e150dc25b82230"
53
37
  X-Runtime:
54
- - '0.016074'
55
- Content-Length:
56
- - '1058'
57
- Connection:
58
- - keep-alive
38
+ - '0.017417'
39
+ X-Powered-By:
40
+ - Phusion Passenger 5.2.0
41
+ Server:
42
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
59
43
  body:
60
44
  encoding: UTF-8
61
- string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2011-03-30T08:56:21.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"datacite.datacite","type":"clients"}]},"providers":{"data":[{"id":"datacite","type":"providers"}]}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","is-active":true,"created":"2011-12-07T13:43:39Z","updated":"2017-11-22T18:19:22Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"created":"2011-12-07T13:41:07.000Z","updated":"2017-11-22T18:05:20.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
45
+ string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2011-03-30T08:56:21.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"datacite.datacite","type":"clients"}]},"providers":{"data":[{"id":"datacite","type":"providers"}]}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","url":null,"is-active":true,"has-password":true,"created":"2011-12-07T13:43:39Z","updated":"2018-02-15T02:30:09Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"has-password":true,"created":"2011-12-07T13:41:07.000Z","updated":"2018-02-15T02:25:51.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
62
46
  http_version:
63
- recorded_at: Fri, 24 Nov 2017 22:10:43 GMT
47
+ recorded_at: Thu, 15 Feb 2018 06:34:02 GMT
64
48
  - request:
65
49
  method: get
66
- uri: https://api.datacite.org/dois/10.5438/4k3m-nyvg?include=client,provider
50
+ uri: https://app.datacite.org/dois/10.5438/4k3m-nyvg?include=client,provider
67
51
  body:
68
52
  encoding: US-ASCII
69
53
  string: ''
@@ -77,44 +61,30 @@ http_interactions:
77
61
  code: 200
78
62
  message: OK
79
63
  headers:
80
- Access-Control-Allow-Headers:
81
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
82
- Access-Control-Allow-Methods:
83
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
84
- Access-Control-Allow-Origin:
85
- - "*"
86
- Access-Control-Expose-Headers:
87
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
88
- Cache-Control:
89
- - max-age=0, private, must-revalidate
64
+ Date:
65
+ - Thu, 15 Feb 2018 06:34:02 GMT
90
66
  Content-Type:
91
67
  - application/vnd.api+json; charset=utf-8
92
- Date:
93
- - Fri, 24 Nov 2017 22:10:43 GMT
94
- Etag:
95
- - W/"0000b3e632f0211f9996e8334fc5357c"
96
- Server:
97
- - openresty/1.11.2.2
68
+ Connection:
69
+ - keep-alive
98
70
  Status:
99
71
  - 200 OK
100
- Vary:
101
- - Accept-Encoding
102
- Via:
103
- - kong/0.10.3
104
72
  X-Anonymous-Consumer:
105
73
  - 'true'
106
- X-Kong-Proxy-Latency:
107
- - '0'
108
- X-Kong-Upstream-Latency:
109
- - '15'
110
- X-Powered-By:
111
- - Phusion Passenger 5.1.12
74
+ Cache-Control:
75
+ - max-age=0, private, must-revalidate
76
+ Vary:
77
+ - Accept-Encoding, Origin
112
78
  X-Request-Id:
113
- - db60827b-562e-4160-985b-9d9b601a3a3a
79
+ - e7a207df-af1c-426d-90ec-056af9e2c396
80
+ Etag:
81
+ - W/"b031a3f7acc775306bd4140d4d981f71"
114
82
  X-Runtime:
115
- - '0.013480'
116
- Connection:
117
- - keep-alive
83
+ - '0.012573'
84
+ X-Powered-By:
85
+ - Phusion Passenger 5.2.0
86
+ Server:
87
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
118
88
  body:
119
89
  encoding: UTF-8
120
90
  string: '{"data":{"id":"10.5438/4k3m-nyvg","type":"dois","attributes":{"doi":"10.5438/4k3m-nyvg","identifier":"https://doi.org/10.5438/4k3m-nyvg","url":null,"author":{"type":"Person","id":"https://orcid.org/0000-0003-1419-2405","name":"Fenner,
@@ -123,7 +93,7 @@ http_interactions:
123
93
  your own dog food is a slang term to describe that an organization should
124
94
  itself use the products and services it provides. For DataCite this means
125
95
  that we should use DOIs with appropriate metadata and strategies for long-term
126
- preservation for..."},"resource-type-subtype":"BlogPosting","license":null,"version":4,"related-identifier":[{"type":"CreativeWork","id":"https://doi.org/10.5438/0000-00ss","relation-type":"IsPartOf"},{"type":"CreativeWork","id":"https://doi.org/10.5438/0012","relation-type":"References"},{"type":"CreativeWork","id":"https://doi.org/10.5438/55e5-t5c0","relation-type":"References"}],"schema-version":"http://datacite.org/schema/kernel-4","state":"findable","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291\ncmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hl\nbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVt\nYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNp\ndGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRl\nLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZp\nZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTQzOC80SzNNLU5ZVkc8L2lk\nZW50a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pdCBwcm92aWRlcy4gRm9yIERhdGFDaXRl\nIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHBy\nb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJt\nIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3Jp\ncHRpb25zPgo8L3Jlc291cmNlPg==\n","published":"2016-12-20","registered":"2016-12-19T20:49:21.000Z","updated":"2017-01-09T13:53:12.000Z"},"relationships":{"client":{"data":{"id":"datacite.datacite","type":"clients"}},"provider":{"data":{"id":"datacite","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","is-active":true,"created":"2011-12-07T13:43:39Z","updated":"2017-11-22T18:19:22Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"created":"2011-12-07T13:41:07.000Z","updated":"2017-11-22T18:05:20.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
96
+ preservation for..."},"resource-type-subtype":"BlogPosting","license":null,"version":4,"related-identifier":[{"type":"CreativeWork","id":"https://doi.org/10.5438/0000-00ss","relation-type":"IsPartOf"},{"type":"CreativeWork","id":"https://doi.org/10.5438/0012","relation-type":"References"},{"type":"CreativeWork","id":"https://doi.org/10.5438/55e5-t5c0","relation-type":"References"}],"schema-version":"http://datacite.org/schema/kernel-4","state":"findable","reason":null,"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJ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sYXRlZElkZW50aWZpZXJzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4KICA8ZGVzY3JpcHRpb25zPgogICAgPGRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPkVhdGluZyB5b3VyIG93biBkb2cgZm9vZCBpcyBhIHNsYW5nIHRlcm0gdG8gZGVzY3JpYmUgdGhhdCBhbiBvcmdhbml6YXRpb24gc2hvdWxkIGl0c2VsZiB1c2UgdGhlIHByb2R1Y3RzIGFuZCBzZXJ2aWNlcyBpdCBwcm92aWRlcy4gRm9yIERhdGFDaXRlIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHByb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJtIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","published":"2016-12-20","registered":"2016-12-19T20:49:21.000Z","updated":"2017-01-09T13:53:12.000Z"},"relationships":{"client":{"data":{"id":"datacite.datacite","type":"clients"}},"provider":{"data":{"id":"datacite","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","url":null,"is-active":true,"has-password":true,"created":"2011-12-07T13:43:39Z","updated":"2018-02-15T02:30:09Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"has-password":true,"created":"2011-12-07T13:41:07.000Z","updated":"2018-02-15T02:25:51.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
127
97
  http_version:
128
- recorded_at: Fri, 24 Nov 2017 22:10:43 GMT
98
+ recorded_at: Thu, 15 Feb 2018 06:34:02 GMT
129
99
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.datacite.org/prefixes/10.5438
5
+ uri: https://app.datacite.org/prefixes/10.5438
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,54 +16,38 @@ http_interactions:
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
- Access-Control-Allow-Headers:
20
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
21
- Access-Control-Allow-Methods:
22
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
23
- Access-Control-Allow-Origin:
24
- - "*"
25
- Access-Control-Expose-Headers:
26
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
27
- Cache-Control:
28
- - max-age=0, private, must-revalidate
19
+ Date:
20
+ - Thu, 15 Feb 2018 06:34:05 GMT
29
21
  Content-Type:
30
22
  - application/vnd.api+json; charset=utf-8
31
- Date:
32
- - Fri, 24 Nov 2017 22:10:37 GMT
33
- Etag:
34
- - W/"ea9b4e691cdc43f43bc403c92c7315d7"
35
- Server:
36
- - openresty/1.11.2.2
23
+ Connection:
24
+ - keep-alive
37
25
  Status:
38
26
  - 200 OK
39
- Vary:
40
- - Accept-Encoding
41
- Via:
42
- - kong/0.10.3
43
27
  X-Anonymous-Consumer:
44
28
  - 'true'
45
- X-Kong-Proxy-Latency:
46
- - '0'
47
- X-Kong-Upstream-Latency:
48
- - '16'
49
- X-Powered-By:
50
- - Phusion Passenger 5.1.12
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ Vary:
32
+ - Accept-Encoding, Origin
51
33
  X-Request-Id:
52
- - 8b0c5208-d787-4cad-972e-d8484826efa4
34
+ - bd6c3a7d-25a6-4c31-8260-0a5ba050fb64
35
+ Etag:
36
+ - W/"719f3f3ae05cc5e1f7e150dc25b82230"
53
37
  X-Runtime:
54
- - '0.014745'
55
- Content-Length:
56
- - '1058'
57
- Connection:
58
- - keep-alive
38
+ - '0.017878'
39
+ X-Powered-By:
40
+ - Phusion Passenger 5.2.0
41
+ Server:
42
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
59
43
  body:
60
44
  encoding: UTF-8
61
- string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2011-03-30T08:56:21.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"datacite.datacite","type":"clients"}]},"providers":{"data":[{"id":"datacite","type":"providers"}]}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","is-active":true,"created":"2011-12-07T13:43:39Z","updated":"2017-11-22T18:19:22Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"created":"2011-12-07T13:41:07.000Z","updated":"2017-11-22T18:05:20.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
45
+ string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2011-03-30T08:56:21.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"datacite.datacite","type":"clients"}]},"providers":{"data":[{"id":"datacite","type":"providers"}]}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","url":null,"is-active":true,"has-password":true,"created":"2011-12-07T13:43:39Z","updated":"2018-02-15T02:30:09Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"has-password":true,"created":"2011-12-07T13:41:07.000Z","updated":"2018-02-15T02:25:51.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
62
46
  http_version:
63
- recorded_at: Fri, 24 Nov 2017 22:10:37 GMT
47
+ recorded_at: Thu, 15 Feb 2018 06:34:05 GMT
64
48
  - request:
65
49
  method: get
66
- uri: https://api.test.datacite.org/dois/10.5438/mcnv-ga6n?include=client,provider
50
+ uri: https://app.test.datacite.org/dois/10.5438/mcnv-ga6n?include=client,provider
67
51
  body:
68
52
  encoding: US-ASCII
69
53
  string: ''
@@ -77,57 +61,35 @@ http_interactions:
77
61
  code: 200
78
62
  message: OK
79
63
  headers:
80
- Access-Control-Allow-Headers:
81
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
82
- Access-Control-Allow-Methods:
83
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
84
- Access-Control-Allow-Origin:
85
- - "*"
86
- Access-Control-Expose-Headers:
87
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
88
- Cache-Control:
89
- - max-age=0, private, must-revalidate
64
+ Date:
65
+ - Thu, 15 Feb 2018 06:34:05 GMT
90
66
  Content-Type:
91
67
  - application/vnd.api+json; charset=utf-8
92
- Date:
93
- - Fri, 24 Nov 2017 22:10:37 GMT
94
- Etag:
95
- - W/"e1891a3890ada669726748cfe11a590d"
96
- Server:
97
- - openresty/1.11.2.2
68
+ Connection:
69
+ - keep-alive
98
70
  Status:
99
71
  - 200 OK
100
- Vary:
101
- - Accept-Encoding
102
- Via:
103
- - kong/0.10.3
104
72
  X-Anonymous-Consumer:
105
73
  - 'true'
106
- X-Kong-Proxy-Latency:
107
- - '2'
108
- X-Kong-Upstream-Latency:
109
- - '14'
110
- X-Powered-By:
111
- - Phusion Passenger 5.1.12
74
+ Cache-Control:
75
+ - max-age=0, private, must-revalidate
76
+ Vary:
77
+ - Accept-Encoding, Origin
112
78
  X-Request-Id:
113
- - ce07ab29-8aca-494a-a556-4898e254de75
79
+ - 0d32a55c-018f-4afd-a766-ef7fa92f101d
80
+ Etag:
81
+ - W/"21338f4fa87738a9404b8de57895fe69"
114
82
  X-Runtime:
115
- - '0.011737'
116
- Content-Length:
117
- - '4319'
118
- Connection:
119
- - keep-alive
83
+ - '0.017991'
84
+ X-Powered-By:
85
+ - Phusion Passenger 5.2.0
86
+ Server:
87
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
120
88
  body:
121
89
  encoding: UTF-8
122
- string: '{"data":{"id":"10.5438/mcnv-ga6n","type":"dois","attributes":{"doi":"10.5438/mcnv-ga6n","identifier":"https://handle.test.datacite.org/10.5438/mcnv-ga6n","url":"https://blog.datacite.org/re3data-webinar-and-datacite-en-avant/","author":{"type":"Person","id":"https://orcid.org/0000-0003-4221-7956","name":"Witt,
123
- Michael","given-name":"Michael","family-name":"Witt"},"title":"re3data Webinar
124
- and DataCite: En Avant!","container-title":"DataCite Blog","description":{"type":"Abstract","text":"The
125
- inaugural meeting of the DataCite re3data Working Group was convened in Paris
126
- on September 20th at the offices of the International Council for Science
127
- (ICSU). Co-chairs Michael Witt and Frank Scholze gave the background and history
128
- of Databib..."},"resource-type-subtype":"BlogPosting","license":"https://creativecommons.org/licenses/by/4.0","version":35,"related-identifier":[],"schema-version":"http://datacite.org/schema/kernel-4","state":null,"xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291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XN0b3J5IG9mIERhdGFiaWIuLi48L2Rlc2NyaXB0\naW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPg==\n","published":"2015-11-25","registered":"2016-12-19T15:46:57.000Z","updated":"2017-11-22T10:50:19.000Z"},"relationships":{"client":{"data":{"id":"datacite.datacite","type":"clients"}},"provider":{"data":{"id":"datacite","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"Martin
129
- Fenner","contact-email":"tech@datacite.org","domains":"datacite.org","is-active":true,"created":"2011-12-07T13:43:39Z","updated":"2017-11-22T10:50:40Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"Britta
130
- Dreyer","contact-email":"britta.dreyer@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"created":"2011-12-07T13:41:07.000Z","updated":"2017-11-17T11:49:38.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
90
+ string: '{"data":{"id":"10.5438/mcnv-ga6n","type":"dois","attributes":{"doi":"10.5438/mcnv-ga6n","identifier":"https://handle.test.datacite.org/10.5438/mcnv-ga6n","url":"https://www.datacite.org","author":null,"title":null,"container-title":null,"description":null,"resource-type-subtype":null,"license":null,"version":35,"related-identifier":null,"schema-version":null,"state":"findable","reason":null,"xml":null,"published":null,"registered":"2016-12-19T15:46:57.000Z","updated":"2017-11-22T10:50:19.000Z"},"relationships":{"client":{"data":{"id":"datacite.datacite","type":"clients"}},"provider":{"data":{"id":"datacite","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"Martin
91
+ Fenner","contact-email":"tech@datacite.org","domains":"datacite.org","url":null,"is-active":true,"has-password":true,"created":"2011-12-07T13:43:39Z","updated":"2018-02-15T06:11:55Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"Britta
92
+ Dreyer","contact-email":"britta.dreyer@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"has-password":true,"created":"2011-12-07T13:41:07.000Z","updated":"2018-02-15T01:25:40.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
131
93
  http_version:
132
- recorded_at: Fri, 24 Nov 2017 22:10:37 GMT
94
+ recorded_at: Thu, 15 Feb 2018 06:34:05 GMT
133
95
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.datacite.org/prefixes/10.22002
5
+ uri: https://app.datacite.org/prefixes/10.22002
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Fri, 12 Jan 2018 18:11:18 GMT
20
+ - Thu, 15 Feb 2018 06:34:01 GMT
21
21
  Content-Type:
22
22
  - application/vnd.api+json; charset=utf-8
23
23
  Connection:
@@ -29,34 +29,26 @@ http_interactions:
29
29
  Cache-Control:
30
30
  - max-age=0, private, must-revalidate
31
31
  Vary:
32
- - Accept-Encoding
32
+ - Accept-Encoding, Origin
33
+ X-Request-Id:
34
+ - 294f0b7b-9e02-40c1-8ea2-fa318294a16b
33
35
  Etag:
34
- - W/"00d8969c9fcc61dfeb1b2a3edbdb2f8e"
36
+ - W/"4dda3e64d0acb5eaa3c81a9876f7bace"
35
37
  X-Runtime:
36
- - '0.018061'
37
- X-Request-Id:
38
- - b2f057f5-d86c-4f44-afba-471ed7037399
38
+ - '0.016792'
39
39
  X-Powered-By:
40
- - Phusion Passenger 5.1.12
40
+ - Phusion Passenger 5.2.0
41
41
  Server:
42
- - nginx/1.12.2 + Phusion Passenger 5.1.12
43
- Access-Control-Allow-Origin:
44
- - "*"
45
- Access-Control-Allow-Methods:
46
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
47
- Access-Control-Allow-Headers:
48
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
49
- Access-Control-Expose-Headers:
50
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
42
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
51
43
  body:
52
44
  encoding: ASCII-8BIT
53
45
  string: !binary |-
54
- eyJkYXRhIjp7ImlkIjoiMTAuMjIwMDIiLCJ0eXBlIjoicHJlZml4ZXMiLCJhdHRyaWJ1dGVzIjp7InJlZ2lzdHJhdGlvbi1hZ2VuY3kiOiJEYXRhQ2l0ZSIsImNyZWF0ZWQiOiIyMDE2LTA1LTMxVDE0OjAyOjMyLjAwMFoiLCJ1cGRhdGVkIjpudWxsfSwicmVsYXRpb25zaGlwcyI6eyJjbGllbnRzIjp7ImRhdGEiOlt7ImlkIjoidGluZC5jYWx0ZWNoIiwidHlwZSI6ImNsaWVudHMifV19LCJwcm92aWRlcnMiOnsiZGF0YSI6W3siaWQiOiJ0aW5kIiwidHlwZSI6InByb3ZpZGVycyJ9XX19fSwiaW5jbHVkZWQiOlt7ImlkIjoidGluZC5jYWx0ZWNoIiwidHlwZSI6ImNsaWVudHMiLCJhdHRyaWJ1dGVzIjp7Im5hbWUiOiJDYWx0ZWNoIiwic3ltYm9sIjoiVElORC5DQUxURUNIIiwieWVhciI6MjAxNiwiY29udGFjdC1uYW1lIjoiVElORCIsImNvbnRhY3QtZW1haWwiOiJ0ZWNoQHRpbmQuaW8iLCJkb21haW5zIjoiZGF0YS5jYWx0Z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uMDAwWiIsInVwZGF0ZWQiOiIyMDE4LTAyLTE1VDAyOjI1OjUxLjAwMFoifSwicmVsYXRpb25zaGlwcyI6eyJjbGllbnRzIjp7Im1ldGEiOnt9fSwicHJlZml4ZXMiOnsibWV0YSI6e319fX1dfQ==
55
47
  http_version:
56
- recorded_at: Fri, 12 Jan 2018 18:11:20 GMT
48
+ recorded_at: Thu, 15 Feb 2018 06:34:01 GMT
57
49
  - request:
58
50
  method: get
59
- uri: https://api.test.datacite.org/dois/10.22002/d1.694?include=client,provider
51
+ uri: https://app.test.datacite.org/dois/10.22002/d1.694?include=client,provider
60
52
  body:
61
53
  encoding: US-ASCII
62
54
  string: ''
@@ -71,7 +63,7 @@ http_interactions:
71
63
  message: OK
72
64
  headers:
73
65
  Date:
74
- - Fri, 12 Jan 2018 18:11:22 GMT
66
+ - Thu, 15 Feb 2018 06:34:02 GMT
75
67
  Content-Type:
76
68
  - application/vnd.api+json; charset=utf-8
77
69
  Connection:
@@ -83,31 +75,23 @@ http_interactions:
83
75
  Cache-Control:
84
76
  - max-age=0, private, must-revalidate
85
77
  Vary:
86
- - Accept-Encoding
78
+ - Accept-Encoding, Origin
79
+ X-Request-Id:
80
+ - 33bab9bb-6c1b-42e4-96ae-18281c658f39
87
81
  Etag:
88
- - W/"86ba73d74ecdef190ed868022940e8ba"
82
+ - W/"fc528723733857dbe8f6b27b78f54ee4"
89
83
  X-Runtime:
90
- - '0.056634'
91
- X-Request-Id:
92
- - b979005e-d574-4231-a84d-5984bdd06d08
84
+ - '0.061611'
93
85
  X-Powered-By:
94
- - Phusion Passenger 5.1.12
86
+ - Phusion Passenger 5.2.0
95
87
  Server:
96
- - nginx/1.12.2 + Phusion Passenger 5.1.12
97
- Access-Control-Allow-Origin:
98
- - "*"
99
- Access-Control-Allow-Methods:
100
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
101
- Access-Control-Allow-Headers:
102
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
103
- Access-Control-Expose-Headers:
104
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
88
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
105
89
  body:
106
90
  encoding: UTF-8
107
91
  string: '{"data":{"id":"10.22002/d1.694","type":"dois","attributes":{"doi":"10.22002/d1.694","identifier":"https://handle.test.datacite.org/10.22002/d1.694","url":null,"author":{"name":"Tester"},"title":"Test
108
- license","container-title":"CaltechDATA","description":null,"resource-type-subtype":"Dataset","license":null,"version":2,"related-identifier":[],"schema-version":"http://datacite.org/schema/kernel-4","state":"inactive","is-active":true,"xml":"PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPHJlc291\ncmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hl\nbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVt\nYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNp\ndGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRl\nLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZp\nZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuMjIwMDIvRDEuNjk0PC9pZGVu\ndGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3Jl\nYXRvck5hbWU+VGVzdGVyPC9jcmVhdG9yTmFtZT4KICAgICAgPGFmZmlsaWF0\naW9uPkNhbHRlY2g8L2FmZmlsaWF0aW9uPgogICAgPC9jcmVhdG9yPgogIDwv\nY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5UZXN0IGxpY2Vuc2U8\nL3RpdGxlPgogIDwvdGl0bGVzPgogIDxwdWJsaXNoZXI+Q2FsdGVjaERBVEE8\nL3B1Ymxpc2hlcj4KICA8cHVibGljYXRpb25ZZWFyPjIwMTg8L3B1YmxpY2F0\naW9uWWVhcj4KICA8c3ViamVjdHM+CiAgICA8c3ViamVjdD5UZXN0PC9zdWJq\nZWN0PgogIDwvc3ViamVjdHM+CiAgPGRhdGVzPgogICAgPGRhdGUgZGF0ZVR5\ncGU9Iklzc3VlZCI+MjAxOC0wMS0xMjwvZGF0ZT4KICA8L2RhdGVzPgogIDxs\nYW5ndWFnZT5lbmc8L2xhbmd1YWdlPgogIDxyZXNvdXJjZVR5cGUgcmVzb3Vy\nY2VUeXBlR2VuZXJhbD0iRGF0YXNldCIvPgogIDxmb3JtYXRzPgogICAgPGZv\ncm1hdC8+CiAgPC9mb3JtYXRzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4K\nICA8cmlnaHRzTGlzdD4KICAgIDxyaWdodHMgcmlnaHRzVVJJPSJ3d3cuZ29v\nZ2xlLmNvbSI+Y2MtemVybzwvcmlnaHRzPgogIDwvcmlnaHRzTGlzdD4KPC9y\nZXNvdXJjZT4=\n","published":"2018-01-12","registered":"2018-01-12T14:42:51.000Z","updated":"2018-01-12T14:42:51.000Z"},"relationships":{"client":{"data":{"id":"tind.cal","type":"clients"}},"provider":{"data":{"id":"tind","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"tind.cal","type":"clients","attributes":{"name":"California
109
- Institute of Technology","symbol":"TIND.CAL","year":2016,"contact-name":"tech@tind.io","contact-email":"tech@tind.io","domains":"tind.io","is-active":true,"password":"yes","created":"2016-10-25T15:16:46Z","updated":"2017-12-02T22:49:14Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"tind","type":"providers","attributes":{"name":"TIND
110
- Technologies","symbol":"TIND","year":2016,"contact-name":"Alexander Nietzold","contact-email":"alexander@tind.io","logo-url":"https://assets.datacite.org/images/members/tind.png","is-active":true,"password":"yes","created":"2016-06-08T18:16:18.000Z","updated":"2017-12-02T22:48:26.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
92
+ license","container-title":"CaltechDATA","description":null,"resource-type-subtype":"Dataset","license":null,"version":2,"related-identifier":[],"schema-version":"http://datacite.org/schema/kernel-4","state":"inactive","reason":null,"xml":"PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuMjIwMDIvRDEuNjk0PC9pZGVudGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWU+VGVzdGVyPC9jcmVhdG9yTmFtZT4KICAgICAgPGFmZmlsaWF0aW9uPkNhbHRlY2g8L2FmZmlsaWF0aW9uPgogICAgPC9jcmVhdG9yPgogIDwvY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5UZXN0IGxpY2Vuc2U8L3RpdGxlPgogIDwvdGl0bGVzPgogIDxwdWJsaXNoZXI+Q2FsdGVjaERBVEE8L3B1Ymxpc2hlcj4KICA8cHVibGljYXRpb25ZZWFyPjIwMTg8L3B1YmxpY2F0aW9uWWVhcj4KICA8c3ViamVjdHM+CiAgICA8c3ViamVjdD5UZXN0PC9zdWJqZWN0PgogIDwvc3ViamVjdHM+CiAgPGRhdGVzPgogICAgPGRhdGUgZGF0ZVR5cGU9Iklzc3VlZCI+MjAxOC0wMS0xMjwvZGF0ZT4KICA8L2RhdGVzPgogIDxsYW5ndWFnZT5lbmc8L2xhbmd1YWdlPgogIDxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iRGF0YXNldCIvPgogIDxmb3JtYXRzPgogICAgPGZvcm1hdC8+CiAgPC9mb3JtYXRzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4KICA8cmlnaHRzTGlzdD4KICAgIDxyaWdodHMgcmlnaHRzVVJJPSJ3d3cuZ29vZ2xlLmNvbSI+Y2MtemVybzwvcmlnaHRzPgogIDwvcmlnaHRzTGlzdD4KPC9yZXNvdXJjZT4K","published":"2018-01-12","registered":"2018-01-12T14:42:51.000Z","updated":"2018-01-12T14:42:51.000Z"},"relationships":{"client":{"data":{"id":"tind.cal","type":"clients"}},"provider":{"data":{"id":"tind","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"tind.cal","type":"clients","attributes":{"name":"California
93
+ Institute of Technology","symbol":"TIND.CAL","year":2016,"contact-name":"tech@tind.io","contact-email":"tech@tind.io","domains":"tind.io","url":null,"is-active":true,"has-password":true,"created":"2016-10-25T15:16:46Z","updated":"2018-02-15T01:30:37Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"tind","type":"providers","attributes":{"name":"TIND
94
+ Technologies","symbol":"TIND","year":2016,"contact-name":"Alexander Nietzold","contact-email":"alexander@tind.io","logo-url":"https://assets.datacite.org/images/members/tind.png","is-active":true,"has-password":true,"created":"2016-06-08T18:16:18.000Z","updated":"2018-02-15T01:25:40.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
111
95
  http_version:
112
- recorded_at: Fri, 12 Jan 2018 18:11:23 GMT
96
+ recorded_at: Thu, 15 Feb 2018 06:34:02 GMT
113
97
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.datacite.org/prefixes/10.4124
5
+ uri: https://app.datacite.org/prefixes/10.4124
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,57 +16,41 @@ http_interactions:
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
- Access-Control-Allow-Headers:
20
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
21
- Access-Control-Allow-Methods:
22
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
23
- Access-Control-Allow-Origin:
24
- - "*"
25
- Access-Control-Expose-Headers:
26
- - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
27
- Cache-Control:
28
- - max-age=0, private, must-revalidate
19
+ Date:
20
+ - Thu, 15 Feb 2018 06:33:58 GMT
29
21
  Content-Type:
30
22
  - application/vnd.api+json; charset=utf-8
31
- Date:
32
- - Fri, 24 Nov 2017 22:10:39 GMT
33
- Etag:
34
- - W/"737516685faccb6a36fbaff5fce9ad95"
35
- Server:
36
- - openresty/1.11.2.2
23
+ Connection:
24
+ - keep-alive
37
25
  Status:
38
26
  - 200 OK
39
- Vary:
40
- - Accept-Encoding
41
- Via:
42
- - kong/0.10.3
43
27
  X-Anonymous-Consumer:
44
28
  - 'true'
45
- X-Kong-Proxy-Latency:
46
- - '0'
47
- X-Kong-Upstream-Latency:
48
- - '15'
49
- X-Powered-By:
50
- - Phusion Passenger 5.1.12
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ Vary:
32
+ - Accept-Encoding, Origin
51
33
  X-Request-Id:
52
- - 4f0aaa41-a9b9-4269-86e7-5117d7c80018
34
+ - 719fbe0d-46e2-4594-995c-274c0934c0ce
35
+ Etag:
36
+ - W/"ca0ba9c079f576b532dfc92f34c78cb8"
53
37
  X-Runtime:
54
- - '0.014013'
55
- Content-Length:
56
- - '1050'
57
- Connection:
58
- - keep-alive
38
+ - '0.015101'
39
+ X-Powered-By:
40
+ - Phusion Passenger 5.2.0
41
+ Server:
42
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
59
43
  body:
60
44
  encoding: UTF-8
61
45
  string: '{"data":{"id":"10.4124","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2010-01-01T00:00:00.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"bl.old-api","type":"clients"}]},"providers":{"data":[{"id":"bl","type":"providers"}]}}},"included":[{"id":"bl.old-api","type":"clients","attributes":{"name":"BL''s
62
46
  DOI service prototype","symbol":"BL.OLD-API","year":2012,"contact-name":"Rachael
63
- Kotarski","contact-email":"datasets@bl.uk","domains":"bl.uk","is-active":true,"created":"2012-01-10T16:41:12Z","updated":"2017-11-07T17:09:31Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"bl","type":"providers","attributes":{"name":"The
64
- British Library","symbol":"BL","year":2010,"contact-name":"Rachael Kotarski","contact-email":"datasets@bl.uk","logo-url":"https://assets.datacite.org/images/members/bl.png","is-active":true,"created":"2010-01-01T00:00:00.000Z","updated":"2017-11-07T17:08:27.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
47
+ Kotarski","contact-email":"datasets@bl.uk","domains":"bl.uk","url":null,"is-active":true,"has-password":false,"created":"2012-01-10T16:41:12Z","updated":"2018-02-15T02:30:10Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"bl","type":"providers","attributes":{"name":"The
48
+ British Library","symbol":"BL","year":2010,"contact-name":"Rachael Kotarski","contact-email":"datasets@bl.uk","logo-url":"https://assets.datacite.org/images/members/bl.png","is-active":true,"has-password":true,"created":"2010-01-01T00:00:00.000Z","updated":"2018-02-15T02:25:51.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
65
49
  http_version:
66
- recorded_at: Fri, 24 Nov 2017 22:10:39 GMT
50
+ recorded_at: Thu, 15 Feb 2018 06:33:58 GMT
67
51
  - request:
68
52
  method: get
69
- uri: https://api.datacite.org/dois/10.4124/05f6c379-dd68-4cdb-880d-33d3e9576d52/1?include=client,provider
53
+ uri: https://app.datacite.org/dois/10.4124/05f6c379-dd68-4cdb-880d-33d3e9576d52/1?include=client,provider
70
54
  body:
71
55
  encoding: US-ASCII
72
56
  string: ''
@@ -80,40 +64,30 @@ http_interactions:
80
64
  code: 404
81
65
  message: Not Found
82
66
  headers:
83
- Access-Control-Allow-Methods:
84
- - GET, POST, PATCH, PUT, DELETE, OPTIONS
85
- Access-Control-Allow-Origin:
86
- - "*"
87
- Cache-Control:
88
- - no-cache
67
+ Date:
68
+ - Thu, 15 Feb 2018 06:33:58 GMT
89
69
  Content-Type:
90
70
  - application/json; charset=utf-8
91
- Date:
92
- - Fri, 24 Nov 2017 22:10:39 GMT
93
- Server:
94
- - openresty/1.11.2.2
71
+ Connection:
72
+ - keep-alive
95
73
  Status:
96
74
  - 404 Not Found
75
+ Cache-Control:
76
+ - no-cache
97
77
  Vary:
98
- - Accept-Encoding
99
- Via:
100
- - kong/0.10.3
101
- X-Kong-Proxy-Latency:
102
- - '0'
103
- X-Kong-Upstream-Latency:
104
- - '5'
105
- X-Powered-By:
106
- - Phusion Passenger 5.1.12
78
+ - Accept-Encoding, Origin
107
79
  X-Request-Id:
108
- - 40fbe80e-b157-4115-97f2-417a991e4aef
80
+ - 75bc99f2-b308-4b9b-8212-9209346b635f
109
81
  X-Runtime:
110
- - '0.004288'
111
- Connection:
112
- - keep-alive
82
+ - '0.004078'
83
+ X-Powered-By:
84
+ - Phusion Passenger 5.2.0
85
+ Server:
86
+ - nginx/1.12.2 + Phusion Passenger 5.2.0
113
87
  body:
114
88
  encoding: UTF-8
115
89
  string: '{"errors":[{"status":"404","title":"The resource you are looking for
116
90
  doesn''t exist."}]}'
117
91
  http_version:
118
- recorded_at: Fri, 24 Nov 2017 22:10:39 GMT
92
+ recorded_at: Thu, 15 Feb 2018 06:33:58 GMT
119
93
  recorded_with: VCR 3.0.3