bolognese 1.9.7 → 1.9.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (454) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +40 -15
  3. data/Gemfile.lock +22 -21
  4. data/bolognese.gemspec +1 -1
  5. data/lib/bolognese/doi_utils.rb +8 -8
  6. data/lib/bolognese/readers/crossref_reader.rb +1 -1
  7. data/lib/bolognese/readers/datacite_reader.rb +1 -1
  8. data/lib/bolognese/readers/schema_org_reader.rb +2 -2
  9. data/lib/bolognese/utils.rb +4 -4
  10. data/lib/bolognese/version.rb +1 -1
  11. data/spec/author_utils_spec.rb +12 -6
  12. data/spec/cli_spec.rb +9 -8
  13. data/spec/datacite_utils_spec.rb +3 -3
  14. data/spec/doi_utils_spec.rb +17 -17
  15. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +27 -20
  16. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +27 -20
  17. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_citation.yml +27 -20
  18. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +27 -20
  19. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +27 -20
  20. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_jats.yml +27 -20
  21. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +27 -20
  22. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +33 -24
  23. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +33 -24
  24. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_citation.yml +34 -25
  25. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +34 -25
  26. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +34 -25
  27. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_jats.yml +34 -25
  28. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +33 -24
  29. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +28 -22
  30. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +28 -22
  31. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +29 -25
  32. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/crossref.yml +18 -15
  33. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/datacite.yml +18 -15
  34. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/jalc.yml +18 -15
  35. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/kisti.yml +18 -15
  36. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/medra.yml +18 -15
  37. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/op.yml +18 -15
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +9 -5
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +9 -5
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +9 -5
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +9 -5
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_state.yml +34 -25
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +33 -24
  44. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_description.yml +9 -5
  45. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_identifiers.yml +9 -5
  46. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license.yml +9 -5
  47. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_name.yml +9 -5
  48. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_url.yml +9 -5
  49. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_state.yml +9 -5
  50. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +9 -5
  51. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +9 -5
  52. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi.yml +9 -5
  53. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi_with_protocol.yml +9 -5
  54. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/dx_doi_org_url.yml +9 -5
  55. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/force_test_resolver.yml +9 -5
  56. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/https_url.yml +9 -5
  57. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver.yml +9 -5
  58. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver_http.yml +9 -5
  59. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +9 -5
  60. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi_with_special_characters.yml +9 -5
  61. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +9 -5
  62. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +9 -5
  63. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +9 -5
  64. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +27 -20
  65. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +27 -20
  66. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/jalc.yml +27 -20
  67. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/kisti.yml +27 -20
  68. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +27 -20
  69. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +9 -5
  70. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +27 -20
  71. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/op.yml +27 -20
  72. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +9 -5
  73. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +9 -5
  74. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +9 -5
  75. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/{test_resolver_http.yml → force_stage_resolver.yml} +9 -5
  76. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +9 -5
  77. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver.yml +48 -0
  78. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/{force_test_resolver.yml → stage_resolver_http.yml} +9 -5
  79. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +53 -47
  80. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +53 -47
  81. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +52 -46
  82. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +52 -46
  83. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +35 -32
  84. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +35 -32
  85. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +35 -32
  86. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +53 -47
  87. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +35 -32
  88. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +35 -32
  89. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +34 -31
  90. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +34 -31
  91. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +35 -32
  92. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +34 -31
  93. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +35 -32
  94. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +35 -32
  95. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +34 -31
  96. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +35 -32
  97. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_match.yml +9 -5
  98. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_with_schemeUri_in_hash.yml +48 -0
  99. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_match.yml +9 -5
  100. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_no_match.yml +9 -5
  101. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_for_match.yml +9 -5
  102. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_match.yml +9 -5
  103. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_no_match.yml +9 -5
  104. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +9 -5
  105. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/with_affiliation.yml +9 -5
  106. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/without_affiliation.yml +9 -5
  107. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/maremma.yml +20 -16
  108. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/metadata_reports.yml +20 -37
  109. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +27 -20
  110. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +27 -20
  111. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +27 -20
  112. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/JaLC.yml +26 -19
  113. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/KISTI.yml +26 -19
  114. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/OP.yml +28 -21
  115. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/affiliation_is_space.yml +24 -23
  116. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book.yml +27 -20
  117. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book_chapter.yml +26 -19
  118. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/article_id_as_page_number.yml +23 -22
  119. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/author_literal.yml +27 -20
  120. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book.yml +28 -21
  121. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter.yml +27 -20
  122. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter_with_RDF_for_container.yml +29 -22
  123. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_oup.yml +26 -19
  124. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/component.yml +28 -21
  125. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset.yml +28 -21
  126. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset_usda.yml +26 -19
  127. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +28 -21
  128. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dissertation.yml +26 -19
  129. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/empty_given_name.yml +29 -21
  130. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/invalid_date.yml +27 -20
  131. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +27 -20
  132. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_original_language_title.yml +30 -22
  133. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with.yml +27 -20
  134. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_RDF_for_container.yml +27 -20
  135. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_funding.yml +27 -20
  136. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_issue.yml +26 -19
  137. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/mEDRA.yml +29 -60
  138. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/markup.yml +31 -23
  139. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/missing_creator.yml +27 -20
  140. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_issn.yml +25 -24
  141. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles.yml +28 -21
  142. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles_with_missing.yml +23 -22
  143. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +26 -19
  144. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/peer_review.yml +26 -19
  145. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +27 -20
  146. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content_copernicus.yml +32 -24
  147. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/report_osti.yml +37 -31
  148. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/vor_with_url.yml +27 -20
  149. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book.yml +30 -22
  150. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book_chapter.yml +26 -19
  151. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_json_metadata/metadata_from_api.yml +34 -40
  152. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +35 -32
  153. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system.yml +106 -0
  154. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system_schema_3.yml +106 -0
  155. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_with_related_id_system.yml +34 -41
  156. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +34 -25
  157. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +33 -24
  158. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +34 -25
  159. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_empty_awardTitle.yml +33 -24
  160. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +34 -25
  161. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_staging_system.yml +106 -0
  162. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Schema_org_type.yml +34 -25
  163. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +33 -24
  164. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +34 -25
  165. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +34 -25
  166. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/cc-by_3_0_us.yml +34 -32
  167. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/content_url.yml +35 -33
  168. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +34 -48
  169. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/dissertation.yml +33 -24
  170. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/doi_with_sign.yml +34 -28
  171. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +35 -28
  172. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/even_more_subject_scheme_FOR.yml +34 -25
  173. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_references.yml +34 -25
  174. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +34 -51
  175. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +34 -25
  176. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +35 -40
  177. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/leading_and_trailing_whitespace.yml +34 -53
  178. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/more_subject_scheme_FOR.yml +35 -37
  179. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorsName.yml +34 -33
  180. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +35 -52
  181. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/series-information.yml +34 -25
  182. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme.yml +33 -24
  183. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme_FOR.yml +35 -46
  184. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date/publication_date.yml +9 -5
  185. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +9 -5
  186. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +9 -5
  187. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +9 -5
  188. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/date.yml +9 -5
  189. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year-month.yml +9 -5
  190. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year.yml +9 -5
  191. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +9 -5
  192. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +9 -5
  193. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +9 -5
  194. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/future.yml +9 -5
  195. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/invalid.yml +9 -5
  196. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/nil.yml +9 -5
  197. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/past.yml +9 -5
  198. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/present.yml +9 -5
  199. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +16 -16
  200. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +16 -10
  201. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +17 -37
  202. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +15 -9
  203. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +15 -9
  204. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +17 -1203
  205. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +9 -5
  206. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +16 -18
  207. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +15 -9
  208. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +15 -9
  209. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation_and_country.yml +79 -40
  210. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +15 -9
  211. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/only_familyName_and_givenName.yml +12 -8
  212. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +28 -22
  213. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +28 -22
  214. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/harvard_dataverse.yml +14 -12
  215. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/pangaea.yml +12 -8
  216. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/zenodo.yml +16 -542
  217. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/only_title.yml +9 -5
  218. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_and_pages.yml +9 -5
  219. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_and_pages.yml +9 -5
  220. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_issue_and_pages.yml +9 -5
  221. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_as_codemeta_url.yml +9 -5
  222. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url.yml +9 -5
  223. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url_file.yml +9 -5
  224. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +18 -15
  225. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +18 -15
  226. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +16 -10
  227. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +15 -9
  228. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +16 -10
  229. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +17 -17
  230. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +15 -9
  231. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_language/insert.yml +16 -10
  232. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +15 -9
  233. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +16 -10
  234. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +15 -9
  235. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +16 -10
  236. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +16 -10
  237. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +15 -9
  238. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +15 -9
  239. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_sizes/insert.yml +16 -10
  240. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +15 -9
  241. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +15 -9
  242. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +16 -10
  243. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +9 -5
  244. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +9 -5
  245. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +9 -5
  246. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +9 -5
  247. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +9 -5
  248. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_orcid_id.yml +9 -5
  249. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +9 -5
  250. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +35 -32
  251. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +34 -31
  252. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +35 -32
  253. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +35 -32
  254. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/not_found.yml +9 -5
  255. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash.yml +9 -5
  256. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash_and_to_https.yml +9 -5
  257. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +9 -5
  258. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +9 -5
  259. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +9 -5
  260. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +9 -5
  261. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +9 -5
  262. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +9 -5
  263. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +9 -5
  264. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +9 -5
  265. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +9 -5
  266. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +9 -5
  267. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +9 -5
  268. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +9 -5
  269. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +9 -5
  270. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +9 -5
  271. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +9 -5
  272. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +9 -5
  273. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_options.yml +9 -5
  274. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_url.yml +9 -5
  275. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +9 -5
  276. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +9 -5
  277. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +9 -5
  278. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +9 -5
  279. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +9 -5
  280. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_array.yml +9 -5
  281. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_empty_array.yml +9 -5
  282. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_hash.yml +9 -5
  283. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_string.yml +9 -5
  284. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +9 -5
  285. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +9 -5
  286. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash_and_to_https.yml +9 -5
  287. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +9 -5
  288. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +9 -5
  289. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +9 -5
  290. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +9 -5
  291. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +9 -5
  292. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +9 -5
  293. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +9 -5
  294. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +9 -5
  295. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_id.yml +9 -5
  296. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_not_found.yml +9 -5
  297. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_url.yml +9 -5
  298. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_exists.yml +9 -5
  299. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_id.yml +9 -5
  300. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +9 -5
  301. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org_identifiers/with_identifiers.yml +9 -5
  302. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_doi/doi.yml +9 -5
  303. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/{doi_resolver/test_resolver.yml → validate_funder_doi/1_7_10.yml} +9 -5
  304. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_11.yml +48 -0
  305. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_12.yml +48 -0
  306. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_13.yml +48 -0
  307. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_14.yml +48 -0
  308. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_4.yml +48 -0
  309. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_5.yml +48 -0
  310. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_6.yml +48 -0
  311. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_7.yml +48 -0
  312. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_8.yml +48 -0
  313. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_9.yml +48 -0
  314. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi.yml +9 -5
  315. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi_without_prefix.yml +9 -5
  316. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/non-funder_doi.yml +9 -5
  317. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +9 -5
  318. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +9 -5
  319. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +9 -5
  320. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +9 -5
  321. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +9 -5
  322. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +9 -5
  323. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +9 -5
  324. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +9 -5
  325. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +9 -5
  326. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +9 -5
  327. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +9 -5
  328. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +9 -5
  329. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +9 -5
  330. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +9 -5
  331. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +9 -5
  332. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +9 -5
  333. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +9 -5
  334. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +9 -5
  335. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +17 -17
  336. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +16 -10
  337. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/authors_with_affiliations.yml +79 -40
  338. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/climate_data.yml +17 -13
  339. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +28 -24
  340. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/keywords_subject_scheme.yml +17 -88
  341. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/maremma.yml +20 -16
  342. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/text.yml +16 -10
  343. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +9 -5
  344. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +9 -5
  345. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml +16 -10
  346. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml +9 -5
  347. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml +9 -5
  348. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Missing_author.yml +9 -5
  349. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/interactive_resource_without_dates.yml +17 -14
  350. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/software_w/version.yml +16 -24
  351. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Another_dataset.yml +16 -34
  352. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +17 -17
  353. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +29 -25
  354. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +15 -9
  355. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +16 -10
  356. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/interactive_resource_without_dates.yml +16 -13
  357. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +9 -5
  358. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/keywords_subject_scheme.yml +17 -88
  359. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml +20 -16
  360. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/missing_creator.yml +9 -5
  361. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/multiple_abstracts.yml +15 -9
  362. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/organization_author.yml +9 -5
  363. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +15 -9
  364. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software_w/version.yml +16 -24
  365. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_only_first_page.yml +9 -5
  366. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +9 -5
  367. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +16 -14
  368. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite_check_codemeta_v2.yml +16 -14
  369. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +16 -10
  370. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +20 -16
  371. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +9 -5
  372. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +9 -5
  373. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +28 -22
  374. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +16 -10
  375. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/climate_data.yml +16 -12
  376. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/maremma.yml +19 -15
  377. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/text.yml +15 -9
  378. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_data_citation.yml +9 -5
  379. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_pages.yml +9 -5
  380. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +20 -16
  381. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +9 -5
  382. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +9 -5
  383. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +29 -23
  384. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/DOI_not_found.yml +16 -10
  385. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +16 -10
  386. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +16 -42
  387. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru_with_doi_in_options.yml +17 -43
  388. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/maremma.yml +20 -16
  389. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +9 -5
  390. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +9 -5
  391. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +29 -25
  392. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +9 -5
  393. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_version.yml +17 -26
  394. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Dataset_in_schema_4_0.yml +16 -10
  395. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Text_pass-thru.yml +17 -43
  396. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/book_chapter.yml +8 -4
  397. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/interactive_resource_without_dates.yml +16 -13
  398. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/maremma.yml +20 -16
  399. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_ORCID_ID.yml +9 -5
  400. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation.yml +9 -5
  401. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation_schema_org.yml +30 -22
  402. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_editor.yml +9 -5
  403. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting.yml +16 -16
  404. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting_schema_org.yml +28 -22
  405. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/journal_article.yml +9 -5
  406. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/maremma.yml +20 -16
  407. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/with_pages.yml +9 -5
  408. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +16 -16
  409. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +28 -22
  410. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +16 -10
  411. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +16 -10
  412. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +9 -5
  413. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/keywords_with_subject_scheme.yml +16 -87
  414. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +20 -16
  415. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/with_pages.yml +9 -5
  416. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +33 -24
  417. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +35 -52
  418. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +16 -36
  419. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_Cyark.yml +34 -48
  420. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +33 -24
  421. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +16 -10
  422. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/alternate_identifiers.yml +17 -18
  423. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/data_catalog.yml +16 -22
  424. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/geo_location_box.yml +17 -68
  425. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/interactive_resource_without_dates.yml +17 -14
  426. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +9 -5
  427. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +20 -16
  428. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/series_information.yml +15 -9
  429. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme.yml +16 -10
  430. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme_multiple_keywords.yml +16 -87
  431. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +17 -17
  432. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_schema_org.yml +30 -24
  433. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +16 -10
  434. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/journal_article.yml +9 -5
  435. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/with_pages.yml +9 -5
  436. data/spec/readers/crossref_reader_spec.rb +284 -23
  437. data/spec/readers/datacite_reader_spec.rb +64 -27
  438. data/spec/readers/schema_org_reader_spec.rb +4 -6
  439. data/spec/utils_spec.rb +15 -3
  440. data/spec/writers/bibtex_writer_spec.rb +4 -6
  441. data/spec/writers/citeproc_writer_spec.rb +3 -3
  442. data/spec/writers/csv_writer_spec.rb +1 -1
  443. data/spec/writers/datacite_writer_spec.rb +1 -1
  444. data/spec/writers/jats_writer_spec.rb +1 -1
  445. data/spec/writers/rdf_xml_writer_spec.rb +1 -1
  446. data/spec/writers/ris_writer_spec.rb +10 -8
  447. data/spec/writers/schema_org_writer_spec.rb +4 -4
  448. data/spec/writers/turtle_writer_spec.rb +1 -1
  449. metadata +22 -12
  450. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +0 -111
  451. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_alternate_identifiers.yml +0 -51
  452. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +0 -104
  453. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system_schema_3.yml +0 -99
  454. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_test_system.yml +0 -102
@@ -36,12 +36,11 @@ describe Bolognese::Metadata, vcr: true do
36
36
  expect(subject.publication_year).to eq("2011")
37
37
  expect(subject.related_identifiers.length).to eq(1)
38
38
  expect(subject.related_identifiers.last).to eq("relatedIdentifier" => "10.1371/journal.ppat.1000446",
39
- "relatedIdentifierType" => "DOI","relationType"=>"IsSupplementTo")
39
+ "relatedIdentifierType" => "DOI","relationType"=>"Cites")
40
40
  expect(subject.subjects).to eq([{"subject"=>"Plasmodium"},
41
41
  {"subject"=>"malaria"},
42
42
  {"subject"=>"taxonomy"},
43
43
  {"subject"=>"mitochondrial genome"},
44
- {"subject"=>"phylogeny"},
45
44
  {"subject"=>"Parasites"}])
46
45
  expect(subject.publisher).to eq("Dryad")
47
46
  expect(subject.agency).to eq("datacite")
@@ -61,14 +60,22 @@ describe Bolognese::Metadata, vcr: true do
61
60
  expect(subject.creators).to eq([{"nameIdentifiers"=> [{"nameIdentifier"=>"https://orcid.org/0000-0003-1419-2405", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}], "name"=>"Fenner, Martin", "givenName"=>"Martin", "familyName"=>"Fenner"}])
62
61
  expect(subject.titles).to eq([{"title"=>"Eating your own Dog Food"}])
63
62
  expect(subject.id).to eq("https://doi.org/10.5438/4k3m-nyvg")
64
- expect(subject.identifiers).to eq([{"identifier"=>"MS-49-3632-5083", "identifierType"=>"Local accession number"}])
65
63
  expect(subject.descriptions.first["description"]).to start_with("Eating your own dog food")
66
64
  expect(subject.dates).to eq([{"date"=>"2016-12-20", "dateType"=>"Created"}, {"date"=>"2016-12-20", "dateType"=>"Issued"}, {"date"=>"2016-12-20", "dateType"=>"Updated"}])
67
65
  expect(subject.publication_year).to eq("2016")
68
66
  expect(subject.related_identifiers.length).to eq(3)
69
67
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5438/0000-00ss", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf")
70
68
  expect(subject.publisher).to eq("DataCite")
71
- expect(subject.subjects).to eq([{"subject"=>"datacite"}, {"subject"=>"doi"}, {"subject"=>"metadata"}])
69
+ expect(subject.subjects).to eq([{"subject"=>"datacite"},
70
+ {"subject"=>"doi"},
71
+ {"subject"=>"metadata"},
72
+ {"schemeUri"=>"http://www.oecd.org/science/inno",
73
+ "subject"=>"FOS: Computer and information sciences",
74
+ "subjectScheme"=>"Fields of Science and Technology (FOS)",
75
+ "valueUri"=>"http://www.oecd.org/science/inno/38235147.pdf"},
76
+ {"schemeUri"=>"http://www.oecd.org/science/inno/38235147.pdf",
77
+ "subject"=>"FOS: Computer and information sciences",
78
+ "subjectScheme"=>"Fields of Science and Technology (FOS)"}])
72
79
  expect(subject.agency).to eq("datacite")
73
80
  expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
74
81
  end
@@ -235,15 +242,25 @@ describe Bolognese::Metadata, vcr: true do
235
242
  expect(subject.publication_year).to eq("2016")
236
243
  expect(subject.related_identifiers.length).to eq(1)
237
244
  expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.6084/m9.figshare.4234751", "relatedIdentifierType"=>"DOI", "relationType"=>"IsIdenticalTo")
238
- expect(subject.publisher).to eq("Figshare")
239
- expect(subject.subjects).to eq([{"subject"=>"Bioinformatics"},
240
- {"schemeUri"=>"http://www.oecd.org/science/inno/38235147.pdf",
241
- "subject"=>"FOS: Computer and information sciences",
242
- "subjectScheme"=>"Fields of Science and Technology (FOS)"},
243
- {"subject"=>"Computational Biology"},
244
- {"subject"=>"Systems Biology"}])
245
+ expect(subject.publisher).to eq("figshare")
246
+ expect(subject.subjects).to eq([
247
+ {"schemeUri"=>
248
+ "http://www.abs.gov.au/ausstats/abs@.nsf/0/6BB427AB9696C225CA2574180004463E",
249
+ "subject"=>"60102 Bioinformatics",
250
+ "subjectScheme"=>"FOR"},
251
+ {"schemeUri"=>"http://www.oecd.org/science/inno/38235147.pdf",
252
+ "subject"=>"FOS: Computer and information sciences",
253
+ "subjectScheme"=>"Fields of Science and Technology (FOS)"},
254
+ {"subject"=>"Computational Biology"},
255
+ {"schemeUri"=>
256
+ "http://www.abs.gov.au/ausstats/abs@.nsf/0/6BB427AB9696C225CA2574180004463E",
257
+ "subject"=>"60114 Systems Biology",
258
+ "subjectScheme"=>"FOR"},
259
+ {"schemeUri"=>"http://www.oecd.org/science/inno/38235147.pdf",
260
+ "subject"=>"FOS: Biological sciences",
261
+ "subjectScheme"=>"Fields of Science and Technology (FOS)"}])
245
262
  expect(subject.agency).to eq("datacite")
246
- expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-3")
263
+ expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
247
264
  end
248
265
 
249
266
  it "subject scheme FOR" do
@@ -299,11 +316,11 @@ describe Bolognese::Metadata, vcr: true do
299
316
  input = "10.6084/m9.figshare.1286826.v1"
300
317
  subject = Bolognese::Metadata.new(input: input)
301
318
  expect(subject.valid?).to be true
302
- expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
303
- + "rightsIdentifier"=>"cc-by-3.0",
304
- + "rightsIdentifierScheme"=>"SPDX",
305
- + "rightsUri"=>"https://creativecommons.org/licenses/by/3.0/legalcode",
306
- + "schemeUri"=>"https://spdx.org/licenses/"}])
319
+ expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
320
+ "rightsIdentifier"=>"cc-by-4.0",
321
+ "rightsIdentifierScheme"=>"SPDX",
322
+ "rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
323
+ "schemeUri"=>"https://spdx.org/licenses/"}])
307
324
  end
308
325
 
309
326
  it "funding schema version 3" do
@@ -914,7 +931,7 @@ describe Bolognese::Metadata, vcr: true do
914
931
  expect(subject.id).to eq("https://doi.org/10.5067/terra+aqua/ceres/cldtyphist_l3.004")
915
932
  expect(subject.types["schemaOrg"]).to eq("Dataset")
916
933
  expect(subject.types["resourceTypeGeneral"]).to eq("Dataset")
917
- expect(subject.creators).to eq([{"nameType"=>"Personal", "name"=>"Wong, Takmeng", "givenName"=>"Takmeng", "familyName"=>"Wong", "nameIdentifiers" => [], "affiliation" => []}])
934
+ expect(subject.creators).to eq([{"familyName"=>"Wong", "givenName"=>"Takmeng", "name"=>"Wong, Takmeng"}])
918
935
  expect(subject.titles).to eq([{"title"=>"CERES Level 3 Cloud Type Historgram Terra+Aqua HDF file - Edition4"}])
919
936
  expect(subject.publication_year).to eq("2016")
920
937
  expect(subject.publisher).to eq("NASA Langley Atmospheric Science Data Center DAAC")
@@ -935,7 +952,27 @@ describe Bolognese::Metadata, vcr: true do
935
952
  expect(subject.contributors.length).to eq(18)
936
953
  expect(subject.contributors.first).to eq("affiliation"=>[{"name"=>"Europäische Kommission, Brüssel"}], "contributorType"=>"Researcher", "familyName"=>"Reif", "givenName"=>"Karlheinz", "name"=>"Reif, Karlheinz", "nameType"=>"Personal", "nameIdentifiers" => [])
937
954
  expect(subject.titles).to eq([{"lang"=>"de", "title"=>"Flash Eurobarometer 54 (Madrid Summit)"}, {"lang"=>"en", "title"=>"Flash Eurobarometer 54 (Madrid Summit)"}, {"titleType"=>"Subtitle","lang"=>"de", "title"=>"The Common European Currency"}, {"titleType"=>"Subtitle", "lang"=>"en", "title"=>"The Common European Currency"}])
938
- expect(subject.subjects).to eq([{"subjectScheme"=>"ZA", "lang"=>"en", "subject"=>"KAT12 International Institutions, Relations, Conditions"}])
955
+ expect(subject.subjects).to eq([{"lang"=>"en",
956
+ "subject"=>"KAT12 International Institutions, Relations, Conditions",
957
+ "subjectScheme"=>"ZA"},
958
+ {"lang"=>"de",
959
+ "subject"=>"Internationale Politik und Institutionen",
960
+ "subjectScheme"=>"CESSDA Topic Classification"},
961
+ {"lang"=>"de",
962
+ "subject"=>"Regierung, politische Systeme, Parteien und Verbände",
963
+ "subjectScheme"=>"CESSDA Topic Classification"},
964
+ {"lang"=>"de",
965
+ "subject"=>"Wirtschaftssysteme und wirtschaftliche Entwicklung",
966
+ "subjectScheme"=>"CESSDA Topic Classification"},
967
+ {"lang"=>"en",
968
+ "subject"=>"International politics and organisation",
969
+ "subjectScheme"=>"CESSDA Topic Classification"},
970
+ {"lang"=>"en",
971
+ "subject"=>"Government, political systems and organisation",
972
+ "subjectScheme"=>"CESSDA Topic Classification"},
973
+ {"lang"=>"en",
974
+ "subject"=>"Economic systems and development",
975
+ "subjectScheme"=>"CESSDA Topic Classification"}])
939
976
  expect(subject.dates).to eq([{"date"=>"1995-12", "dateType"=>"Collected"}, {"date"=>"1996", "dateType"=>"Issued"}])
940
977
  expect(subject.publication_year).to eq("1996")
941
978
  expect(subject.publisher).to eq("GESIS Data Archive")
@@ -1046,11 +1083,11 @@ describe Bolognese::Metadata, vcr: true do
1046
1083
  expect(subject.state).to eq("not_found")
1047
1084
  end
1048
1085
 
1049
- it "DOI in test system" do
1050
- input = "https://handle.test.datacite.org/10.22002/d1.694"
1086
+ it "DOI in staging system" do
1087
+ input = "https://handle.stage.datacite.org/10.22002/d1.694"
1051
1088
  subject = Bolognese::Metadata.new(input: input, sandbox: true)
1052
1089
  expect(subject.valid?).to be true
1053
- expect(subject.id).to eq("https://handle.test.datacite.org/10.22002/d1.694")
1090
+ expect(subject.id).to eq("https://handle.stage.datacite.org/10.22002/d1.694")
1054
1091
  expect(subject.types["schemaOrg"]).to eq("Dataset")
1055
1092
  expect(subject.types["resourceTypeGeneral"]).to eq("Dataset")
1056
1093
  expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"Caltech"}], "name"=>"Tester", "nameIdentifiers" => []}])
@@ -1063,11 +1100,11 @@ describe Bolognese::Metadata, vcr: true do
1063
1100
  expect(subject.state).to eq("findable")
1064
1101
  end
1065
1102
 
1066
- it "DOI in test system schema 3" do
1103
+ it "DOI in staging system schema 3" do
1067
1104
  input = "10.21956/wellcomeopenres.25947.r17364"
1068
1105
  subject = Bolognese::Metadata.new(input: input, doi: input, sandbox: true)
1069
1106
  expect(subject.valid?).to be true
1070
- expect(subject.id).to eq("https://handle.test.datacite.org/10.21956/wellcomeopenres.25947.r17364")
1107
+ expect(subject.id).to eq("https://handle.stage.datacite.org/10.21956/wellcomeopenres.25947.r17364")
1071
1108
  expect(subject.types["schemaOrg"]).to eq("ScholarlyArticle")
1072
1109
  expect(subject.types["resourceTypeGeneral"]).to eq("Text")
1073
1110
  expect(subject.creators).to eq([{"name"=>"Fran2 Levy", "nameIdentifiers" => [], "affiliation" => []}])
@@ -1080,11 +1117,11 @@ describe Bolognese::Metadata, vcr: true do
1080
1117
  expect(subject.state).to eq("findable")
1081
1118
  end
1082
1119
 
1083
- it "Referee report in test system" do
1120
+ it "Referee report in staging system" do
1084
1121
  input = "10.21956/gatesopenres.530.r190"
1085
1122
  subject = Bolognese::Metadata.new(input: input, sandbox: true)
1086
1123
  expect(subject.valid?).to be true
1087
- expect(subject.id).to eq("https://handle.test.datacite.org/10.21956/gatesopenres.530.r190")
1124
+ expect(subject.id).to eq("https://handle.stage.datacite.org/10.21956/gatesopenres.530.r190")
1088
1125
  expect(subject.types["schemaOrg"]).to eq("ScholarlyArticle")
1089
1126
  expect(subject.types["resourceTypeGeneral"]).to eq("Text")
1090
1127
  expect(subject.types["ris"]).to eq("RPRT")
@@ -1226,7 +1263,7 @@ describe Bolognese::Metadata, vcr: true do
1226
1263
  expect(subject.types["schemaOrg"]).to eq("Dataset")
1227
1264
  expect(subject.types["resourceTypeGeneral"]).to eq("Dataset")
1228
1265
  expect(subject.titles).to eq([{"title"=>"BPI Challenge 2012"}])
1229
- expect(subject.dates).to eq([{"date"=>"2011-10-01/2012-03-14", "dateInformation"=>"Temporal coverage of this dataset.", "dateType"=>"Other"}, {"date"=>"2012", "dateType"=>"Issued"}])
1266
+ expect(subject.dates).to eq([{"date"=>"2012-04-23", "dateType"=>"Issued"}])
1230
1267
  expect(subject.publication_year).to eq("2012")
1231
1268
  expect(subject.state).to eq("findable")
1232
1269
  end
@@ -3,11 +3,8 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe Bolognese::Metadata, vcr: true do
6
- let(:input) { "https://blog.datacite.org/eating-your-own-dog-food/" }
7
6
  let(:fixture_path) { "spec/fixtures/" }
8
7
 
9
- subject { Bolognese::Metadata.new(input: input) }
10
-
11
8
  context "get schema_org raw" do
12
9
  it "BlogPosting" do
13
10
  input = fixture_path + 'schema_org.json'
@@ -18,6 +15,8 @@ describe Bolognese::Metadata, vcr: true do
18
15
 
19
16
  context "get schema_org metadata" do
20
17
  it "BlogPosting" do
18
+ input = "https://blog.datacite.org/eating-your-own-dog-food/"
19
+ subject = Bolognese::Metadata.new(input: input, from: "schema_org")
21
20
  expect(subject.valid?).to be true
22
21
  expect(subject.id).to eq("https://doi.org/10.5438/4k3m-nyvg")
23
22
  expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
@@ -36,6 +35,7 @@ describe Bolognese::Metadata, vcr: true do
36
35
  end
37
36
 
38
37
  it "BlogPosting with new DOI" do
38
+ input = "https://blog.datacite.org/eating-your-own-dog-food/"
39
39
  subject = Bolognese::Metadata.new(input: input, doi: "10.5438/0000-00ss")
40
40
  expect(subject.valid?).to be true
41
41
  expect(subject.id).to eq("https://doi.org/10.5438/0000-00ss")
@@ -47,7 +47,7 @@ describe Bolognese::Metadata, vcr: true do
47
47
  it "BlogPosting with type as array" do
48
48
  input = fixture_path + 'schema_org_type_as_array.json'
49
49
  subject = Bolognese::Metadata.new(input: input)
50
- #expect(subject.valid?).to be true
50
+ expect(subject.valid?).to be true
51
51
  expect(subject.id).to eq("https://doi.org/10.5438/4k3m-nyvg")
52
52
  expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
53
53
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"post-weblog", "resourceTypeGeneral"=>"Text", "ris"=>"GEN", "schemaOrg"=>"BlogPosting")
@@ -66,7 +66,6 @@ describe Bolognese::Metadata, vcr: true do
66
66
  input = "https://www.zenodo.org/record/1196821"
67
67
  subject = Bolognese::Metadata.new(input: input, from: "schema_org")
68
68
  expect(subject.valid?).to be false
69
-
70
69
  expect(subject.language).to eq("eng")
71
70
  expect(subject.errors).to eq("49:0: ERROR: Element '{http://datacite.org/schema/kernel-4}publisher': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '1'.")
72
71
  expect(subject.id).to eq("https://doi.org/10.5281/zenodo.1196821")
@@ -97,7 +96,6 @@ describe Bolognese::Metadata, vcr: true do
97
96
  it "pangaea" do
98
97
  input = "https://doi.pangaea.de/10.1594/PANGAEA.836178"
99
98
  subject = Bolognese::Metadata.new(input: input, from: "schema_org")
100
-
101
99
  expect(subject.valid?).to be true
102
100
  expect(subject.id).to eq("https://doi.org/10.1594/pangaea.836178")
103
101
  expect(subject.doi).to eq("10.1594/pangaea.836178")
data/spec/utils_spec.rb CHANGED
@@ -64,6 +64,18 @@ describe Bolognese::Metadata, vcr: true do
64
64
  expect(response).to eq("0000-0002-1394-3097")
65
65
  end
66
66
 
67
+ it "validate_orcid sandbox" do
68
+ orcid = "http://sandbox.orcid.org/0000-0002-2590-225X"
69
+ response = subject.validate_orcid(orcid)
70
+ expect(response).to eq("0000-0002-2590-225X")
71
+ end
72
+
73
+ it "validate_orcid sandbox https" do
74
+ orcid = "https://sandbox.orcid.org/0000-0002-2590-225X"
75
+ response = subject.validate_orcid(orcid)
76
+ expect(response).to eq("0000-0002-2590-225X")
77
+ end
78
+
67
79
  it "validate_orcid wrong id" do
68
80
  orcid = "0000-0002-1394-309"
69
81
  response = subject.validate_orcid(orcid)
@@ -179,15 +191,15 @@ describe Bolognese::Metadata, vcr: true do
179
191
  end
180
192
 
181
193
  it "sandbox via url" do
182
- url = "https://handle.test.datacite.org/10.20375/0000-0001-ddb8-7"
194
+ url = "https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7"
183
195
  response = subject.normalize_id(url)
184
- expect(response).to eq("https://handle.test.datacite.org/10.20375/0000-0001-ddb8-7")
196
+ expect(response).to eq("https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7")
185
197
  end
186
198
 
187
199
  it "sandbox via options" do
188
200
  url = "10.20375/0000-0001-ddb8-7"
189
201
  response = subject.normalize_id(url, sandbox: true)
190
- expect(response).to eq("https://handle.test.datacite.org/10.20375/0000-0001-ddb8-7")
202
+ expect(response).to eq("https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7")
191
203
  end
192
204
  end
193
205
 
@@ -145,17 +145,15 @@ describe Bolognese::Metadata, vcr: true do
145
145
 
146
146
  it "authors with affiliations" do
147
147
  input = "10.16910/jemr.9.1.2"
148
- subject = Bolognese::Metadata.new(input: input, from: "datacite")
148
+ subject = Bolognese::Metadata.new(input: input, from: "crossref")
149
149
  bibtex = BibTeX.parse(subject.bibtex).to_a(quotes: '').first
150
- expect(bibtex[:bibtex_type].to_s).to eq("misc")
150
+ expect(bibtex[:bibtex_type].to_s).to eq("article")
151
151
  expect(bibtex[:bibtex_key]).to eq("https://doi.org/10.16910/jemr.9.1.2")
152
152
  expect(bibtex[:doi]).to eq("10.16910/jemr.9.1.2")
153
153
  expect(bibtex[:title]).to eq("Eye tracking scanpath analysis techniques on web pages: A survey, evaluation and comparison")
154
- expect(bibtex[:author]).to eq("{Eraslan, Sukru; University Of Manchester, UK, & Middle East Technical University, Northern Cyprus Campus, Kalkanli, Guzelyurt, Turkey} and {Yesilada, Yeliz; Middle East Technical University, Northern Cyprus Campus, 99738 Kalkanli, Guzelyurt, Mersin 10, Turkey} and {Harper, Simon; School Of Computer Science, University Of Manchester, Manchester, United Kingdom}")
155
- expect(bibtex[:publisher]).to eq("eyemovement.org")
156
- expect(bibtex[:keywords]).to eq("eye tracking; eye movements; scanpaths; eye movement sequence; web pages; visual elements; web pages; scanpath analysis techniques; scanpath analysis; pattern detection; common scanpaths")
154
+ expect(bibtex[:author]).to eq("Eraslan, Sukru and Yesilada, Yeliz and Harper, Simon")
155
+ expect(bibtex[:publisher]).to eq("University of Bern")
157
156
  expect(bibtex[:year]).to eq("2015")
158
- expect(bibtex[:copyright]).to eq("Creative Commons Attribution 4.0 International")
159
157
  end
160
158
 
161
159
  it "keywords subject scheme" do
@@ -75,8 +75,8 @@ describe Bolognese::Metadata, vcr: true do
75
75
  expect(json["id"]).to eq("https://doi.org/10.26301/qdpd-2250")
76
76
  expect(json["DOI"]).to eq("10.26301/qdpd-2250")
77
77
  expect(json["title"]).to eq("USS Pampanito Submarine")
78
- expect(json["author"]).to eq([{"literal"=>"USS Pampanito"}])
79
- expect(json["publisher"]).to eq("Open Heritage 3D")
78
+ expect(json["author"]).to eq([{"literal"=>"CyArk"}])
79
+ expect(json["publisher"]).to eq("Open Heritage")
80
80
  expect(json["issued"]).to eq("date-parts"=>[[2020]])
81
81
  end
82
82
 
@@ -257,7 +257,7 @@ describe Bolognese::Metadata, vcr: true do
257
257
  expect(json["type"]).to eq("dataset")
258
258
  expect(json["id"]).to eq("https://doi.org/10.1594/pangaea.721193")
259
259
  expect(json["DOI"]).to eq("10.1594/pangaea.721193")
260
- expect(json["categories"]).to include("Animalia", "Bottles or small containers/Aquaria (<20 L)", "Calcification/Dissolution", "Coast and continental shelf", "Development", "Growth/Morphology", "Laboratory experiment", "Mollusca", "Pelagos", "Single species", "Temperate", "Zooplankton", "Experimental treatment", "Carbonate system computation flag", "Temperature, water", "Salinity", "pH", "Alkalinity, total", "Carbon, inorganic, dissolved", "Carbon dioxide", "Bicarbonate ion", "Carbonate ion", "Partial pressure of carbon dioxide (water) at sea surface temperature (wet air)", "Fugacity of carbon dioxide (water) at sea surface temperature (wet air)", "Aragonite saturation state", "Calcite saturation state", "Proportion", "Crassostrea gigas, larvae length", "Crassostrea gigas, larvae height", "Crassostrea gigas, non mineralized", "Crassostrea gigas, partially mineralized", "Crassostrea gigas, fully mineralized", "Calculated using seacarb after Nisumaa et al. (2010)", "Refractometer (Atago 100-S)", "pH meter (Mettler Toledo)", "pH meter (PHM290, Radiometer)", "Measured", "European Project on Ocean Acidification (EPOCA)", "European network of excellence for Ocean Ecosystems Analysis (EUR-OCEANS)", "Ocean Acidification International Coordination Centre (OA-ICC)")
260
+ expect(json["categories"]).to include("Animalia", "Bottles or small containers/Aquaria (<20 L)")
261
261
  expect(json["copyright"]).to eq("Creative Commons Attribution 3.0 Unported")
262
262
  end
263
263
 
@@ -67,7 +67,7 @@ describe Bolognese::Metadata, vcr: true do
67
67
  expect(csv[2]).to eq("2014-01-15")
68
68
  expect(csv[3]).to eq("findable")
69
69
  expect(csv[4]).to eq("Dataset")
70
- expect(csv[5]).to be_nil
70
+ expect(csv[5]).to eq("Dataset")
71
71
  expect(csv[6]).to eq("Integrated Multi-Mission Ocean Altimeter Data for Climate Research Version 2")
72
72
  expect(csv[7]).to eq("{GSFC}")
73
73
  expect(csv[8]).to eq("NASA Physical Oceanography DAAC")
@@ -222,7 +222,7 @@ describe Bolognese::Metadata, vcr: true do
222
222
  expect(subject.publication_year).to eq("2011")
223
223
  expect(subject.related_identifiers.length).to eq(1)
224
224
  expect(subject.related_identifiers.last).to eq("relatedIdentifier" => "10.1371/journal.ppat.1000446",
225
- "relatedIdentifierType" => "DOI","relationType"=>"IsSupplementTo")
225
+ "relatedIdentifierType" => "DOI","relationType"=>"Cites")
226
226
  expect(subject.publisher).to eq("Dryad")
227
227
  expect(subject.agency).to eq("datacite")
228
228
  expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
@@ -35,7 +35,7 @@ describe Bolognese::Metadata, vcr: true do
35
35
  subject = Bolognese::Metadata.new(input: input, from: "crossref")
36
36
  jats = Maremma.from_xml(subject.jats).fetch("element_citation", {})
37
37
  expect(jats.dig("publication_type")).to eq("journal")
38
- expect(jats.dig("article_title")).to eq("Triose Phosphate Isomerase Deficiency Is Caused by Altered DimerizationNot Catalytic Inactivityof the Mutant Enzymes")
38
+ expect(jats.dig("article_title")).to eq("Triose Phosphate Isomerase Deficiency Is Caused by Altered Dimerization???Not Catalytic Inactivity???of the Mutant Enzymes")
39
39
  expect(jats.dig("source")).to eq("PLoS ONE")
40
40
  expect(jats.dig("person_group", 0, "name").length).to eq(5)
41
41
  expect(jats.dig("person_group", 0, "name").first).to eq("surname"=>"Ralser", "given_names"=>"Markus")
@@ -45,7 +45,7 @@ describe Bolognese::Metadata, vcr: true do
45
45
  rdf_xml = Maremma.from_xml(subject.rdf_xml).fetch("RDF", {})
46
46
  expect(rdf_xml.dig("ScholarlyArticle", "rdf:about")).to eq("https://doi.org/10.5438/4k3m-nyvg")
47
47
  expect(rdf_xml.dig("ScholarlyArticle", "name")).to eq("Eating your own Dog Food")
48
- expect(rdf_xml.dig("ScholarlyArticle", "keywords")).to eq("datacite, doi, metadata")
48
+ expect(rdf_xml.dig("ScholarlyArticle", "keywords")).to eq("datacite, doi, metadata, FOS: Computer and information sciences, FOS: Computer and information sciences")
49
49
  expect(rdf_xml.dig("ScholarlyArticle", "datePublished", "__content__")).to eq("2016-12-20")
50
50
  end
51
51
 
@@ -96,10 +96,13 @@ describe Bolognese::Metadata, vcr: true do
96
96
  expect(ris[4]).to eq("UR - https://blog.datacite.org/eating-your-own-dog-food/")
97
97
  expect(ris[5]).to eq("AB - Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...")
98
98
  expect(ris[6]).to eq("KW - datacite")
99
- expect(ris[9]).to eq("PY - 2016")
100
- expect(ris[10]).to eq("PB - DataCite")
101
- expect(ris[11]).to eq("SN - 10.5438/0000-00ss")
102
- expect(ris[12]).to eq("ER - ")
99
+ expect(ris[9]).to eq("KW - FOS: Computer and information sciences")
100
+ expect(ris[10]).to eq("KW - FOS: Computer and information sciences")
101
+ expect(ris[11]).to eq("PY - 2016")
102
+ expect(ris[12]).to eq("PB - DataCite")
103
+ expect(ris[13]).to eq("LA - en")
104
+ expect(ris[14]).to eq("SN - 10.5438/0000-00ss")
105
+ expect(ris[15]).to eq("ER - ")
103
106
  end
104
107
 
105
108
  it "BlogPosting Citeproc JSON" do
@@ -163,10 +166,9 @@ describe Bolognese::Metadata, vcr: true do
163
166
  expect(ris[10]).to eq("DO - 10.5061/dryad.8515")
164
167
  expect(ris[11]).to eq("UR - http://datadryad.org/stash/dataset/doi:10.5061/dryad.8515")
165
168
  expect(ris[13]).to eq("KW - Plasmodium")
166
- expect(ris[19]).to eq("PY - 2011")
167
- expect(ris[20]).to eq("PB - Dryad")
168
- expect(ris[21]).to eq("LA - en")
169
- expect(ris[22]).to eq("ER - ")
169
+ expect(ris[19]).to eq("PB - Dryad")
170
+ expect(ris[20]).to eq("LA - en")
171
+ expect(ris[21]).to eq("ER - ")
170
172
  end
171
173
 
172
174
  it "maremma" do
@@ -53,9 +53,9 @@ describe Bolognese::Metadata, vcr: true do
53
53
  json = JSON.parse(subject.schema_org)
54
54
  expect(json["@id"]).to eq("https://doi.org/10.5061/dryad.8515")
55
55
  expect(json["@type"]).to eq("Dataset")
56
- expect(json["@reverse"]).to eq("isBasedOn"=>{"@id"=>"https://doi.org/10.1371/journal.ppat.1000446", "@type"=>"ScholarlyArticle"})
56
+ expect(json["citation"]).to eq("@id"=>"https://doi.org/10.1371/journal.ppat.1000446", "@type"=>"CreativeWork")
57
57
  expect(json["license"]).to eq("https://creativecommons.org/publicdomain/zero/1.0/legalcode")
58
- expect(json["keywords"]).to eq("Plasmodium, malaria, taxonomy, mitochondrial genome, phylogeny, Parasites")
58
+ expect(json["keywords"]).to eq("Plasmodium, malaria, taxonomy, mitochondrial genome, Parasites")
59
59
  end
60
60
 
61
61
  it "Schema.org JSON IsSupplementTo" do
@@ -128,7 +128,7 @@ describe Bolognese::Metadata, vcr: true do
128
128
  expect(json["@id"]).to eq("https://doi.org/10.4232/1.2745")
129
129
  expect(json["@type"]).to eq("Dataset")
130
130
  expect(json["name"]).to eq("Flash Eurobarometer 54 (Madrid Summit)")
131
- expect(json["keywords"]).to eq("KAT12 International Institutions, Relations, Conditions")
131
+ expect(json["keywords"]).to eq("KAT12 International Institutions, Relations, Conditions, Internationale Politik und Institutionen, Regierung, politische Systeme, Parteien und Verbände, Wirtschaftssysteme und wirtschaftliche Entwicklung, International politics and organisation, Government, political systems and organisation, Economic systems and development")
132
132
  end
133
133
 
134
134
  it "subject scheme multiple keywords" do
@@ -138,7 +138,7 @@ describe Bolognese::Metadata, vcr: true do
138
138
  expect(json["@id"]).to eq("https://doi.org/10.1594/pangaea.721193")
139
139
  expect(json["@type"]).to eq("Dataset")
140
140
  expect(json["name"]).to eq("Seawater carbonate chemistry and processes during experiments with Crassostrea gigas, 2007, supplement to: Kurihara, Haruko; Kato, Shoji; Ishimatsu, Atsushi (2007): Effects of increased seawater pCO2 on early development of the oyster Crassostrea gigas. Aquatic Biology, 1(1), 91-98")
141
- expect(json["keywords"]).to eq("Animalia, Bottles or small containers/Aquaria (<20 L), Calcification/Dissolution, Coast and continental shelf, Crassostrea gigas, Development, Growth/Morphology, Laboratory experiment, Mollusca, North Pacific, Pelagos, Single species, Temperate, Zooplankton, Experimental treatment, Carbonate system computation flag, Temperature, water, Salinity, pH, Alkalinity, total, Carbon, inorganic, dissolved, Carbon dioxide, Bicarbonate ion, Carbonate ion, Partial pressure of carbon dioxide (water) at sea surface temperature (wet air), Fugacity of carbon dioxide (water) at sea surface temperature (wet air), Aragonite saturation state, Calcite saturation state, Proportion, Crassostrea gigas, larvae length, Crassostrea gigas, larvae height, Crassostrea gigas, non mineralized, Crassostrea gigas, partially mineralized, Crassostrea gigas, fully mineralized, Experiment, Calculated using seacarb after Nisumaa et al. (2010), Refractometer (Atago 100-S), pH meter (Mettler Toledo), pH meter (PHM290, Radiometer), Measured, European Project on Ocean Acidification (EPOCA), European network of excellence for Ocean Ecosystems Analysis (EUR-OCEANS), Ocean Acidification International Coordination Centre (OA-ICC)")
141
+ expect(json["keywords"]).to include("Animalia, Bottles or small containers/Aquaria (<20 L)")
142
142
  expect(json["license"]).to eq("https://creativecommons.org/licenses/by/3.0/legalcode")
143
143
  end
144
144
 
@@ -18,7 +18,7 @@ describe Bolognese::Metadata, vcr: true do
18
18
  expect(subject.valid?).to be true
19
19
  ttl = subject.turtle.split("\n")
20
20
  expect(ttl[0]).to eq("@prefix schema: <http://schema.org/> .")
21
- expect(ttl[2]).to eq("<https://doi.org/10.1371/journal.ppat.1000446> a schema:ScholarlyArticle;")
21
+ expect(ttl[2]).to eq("<https://doi.org/10.5061/dryad.8515> a schema:Dataset;")
22
22
  end
23
23
 
24
24
  it "BlogPosting" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.7
4
+ version: 1.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-26 00:00:00.000000000 Z
11
+ date: 2021-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.7'
19
+ version: 4.9.4
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '5'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '4.7'
29
+ version: 4.9.4
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5'
@@ -831,7 +831,6 @@ files:
831
831
  - spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_jats.yml
832
832
  - spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml
833
833
  - spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml
834
- - spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml
835
834
  - spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml
836
835
  - spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml
837
836
  - spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/crossref.yml
@@ -846,7 +845,6 @@ files:
846
845
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml
847
846
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_state.yml
848
847
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml
849
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_alternate_identifiers.yml
850
848
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_description.yml
851
849
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_identifiers.yml
852
850
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license.yml
@@ -878,10 +876,10 @@ files:
878
876
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml
879
877
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml
880
878
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml
881
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_test_resolver.yml
879
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_stage_resolver.yml
882
880
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml
883
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver.yml
884
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver_http.yml
881
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver.yml
882
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver_http.yml
885
883
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml
886
884
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml
887
885
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml
@@ -901,6 +899,7 @@ files:
901
899
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml
902
900
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml
903
901
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_match.yml
902
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_with_schemeUri_in_hash.yml
904
903
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_match.yml
905
904
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_no_match.yml
906
905
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_for_match.yml
@@ -955,15 +954,15 @@ files:
955
954
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book_chapter.yml
956
955
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_json_metadata/metadata_from_api.yml
957
956
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml
958
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml
959
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system_schema_3.yml
957
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system.yml
958
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system_schema_3.yml
960
959
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_with_related_id_system.yml
961
960
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml
962
961
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml
963
962
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml
964
963
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_empty_awardTitle.yml
965
964
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml
966
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_test_system.yml
965
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_staging_system.yml
967
966
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Schema_org_type.yml
968
967
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml
969
968
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml
@@ -1105,6 +1104,17 @@ files:
1105
1104
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml
1106
1105
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org_identifiers/with_identifiers.yml
1107
1106
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_doi/doi.yml
1107
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_10.yml
1108
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_11.yml
1109
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_12.yml
1110
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_13.yml
1111
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_14.yml
1112
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_4.yml
1113
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_5.yml
1114
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_6.yml
1115
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_7.yml
1116
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_8.yml
1117
+ - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_9.yml
1108
1118
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi.yml
1109
1119
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi_without_prefix.yml
1110
1120
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/non-funder_doi.yml