bolognese 1.9.3 → 1.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (449) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +47 -5
  3. data/Gemfile.lock +21 -17
  4. data/bolognese.gemspec +1 -1
  5. data/lib/bolognese/author_utils.rb +8 -3
  6. data/lib/bolognese/doi_utils.rb +10 -9
  7. data/lib/bolognese/readers/crossref_reader.rb +21 -4
  8. data/lib/bolognese/readers/datacite_reader.rb +26 -6
  9. data/lib/bolognese/readers/schema_org_reader.rb +2 -2
  10. data/lib/bolognese/utils.rb +7 -7
  11. data/lib/bolognese/version.rb +1 -1
  12. data/lib/bolognese/writers/jats_writer.rb +3 -1
  13. data/spec/author_utils_spec.rb +12 -6
  14. data/spec/cli_spec.rb +8 -7
  15. data/spec/datacite_utils_spec.rb +3 -3
  16. data/spec/doi_utils_spec.rb +29 -17
  17. data/spec/fixtures/datacite-geolocationpolygons-multiple.xml +20 -0
  18. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_citation.yml +23 -17
  19. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +24 -18
  20. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +24 -18
  21. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_jats.yml +24 -18
  22. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +24 -18
  23. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +26 -24
  24. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +132 -22
  25. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +26 -24
  26. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +26 -24
  27. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/crossref.yml +12 -8
  28. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/datacite.yml +12 -8
  29. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/jalc.yml +12 -8
  30. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/kisti.yml +12 -8
  31. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/medra.yml +12 -8
  32. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/op.yml +12 -8
  33. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +6 -4
  34. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +6 -4
  35. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +6 -4
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +6 -4
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_state.yml +24 -18
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +23 -17
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_description.yml +6 -4
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_identifiers.yml +6 -4
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license.yml +6 -4
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_name.yml +6 -4
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_url.yml +6 -4
  44. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_state.yml +6 -4
  45. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +6 -4
  46. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +6 -4
  47. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi.yml +6 -4
  48. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi_with_protocol.yml +6 -4
  49. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/dx_doi_org_url.yml +6 -4
  50. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/force_test_resolver.yml +6 -4
  51. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/https_url.yml +6 -4
  52. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver.yml +6 -4
  53. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver_http.yml +6 -4
  54. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +6 -4
  55. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi_with_special_characters.yml +6 -4
  56. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +6 -4
  57. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +6 -4
  58. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +6 -4
  59. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +18 -12
  60. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +18 -12
  61. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/jalc.yml +18 -12
  62. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/kisti.yml +18 -12
  63. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +18 -12
  64. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +6 -4
  65. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +18 -12
  66. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/op.yml +18 -12
  67. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +6 -4
  68. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +6 -4
  69. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +6 -4
  70. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/{force_test_resolver.yml → force_stage_resolver.yml} +6 -4
  71. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +6 -4
  72. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/{test_resolver.yml → stage_resolver.yml} +6 -4
  73. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver_http.yml +46 -0
  74. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +41 -28
  75. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +41 -28
  76. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +41 -28
  77. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +41 -28
  78. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +30 -21
  79. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +29 -20
  80. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +30 -21
  81. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +42 -29
  82. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +30 -21
  83. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +30 -21
  84. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +30 -21
  85. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +29 -20
  86. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +30 -21
  87. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +29 -20
  88. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +30 -21
  89. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +29 -20
  90. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +30 -21
  91. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +30 -21
  92. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_match.yml +6 -4
  93. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_with_schemeUri_in_hash.yml +48 -0
  94. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_match.yml +6 -4
  95. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_no_match.yml +6 -4
  96. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_for_match.yml +6 -4
  97. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_match.yml +6 -4
  98. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_no_match.yml +6 -4
  99. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +6 -4
  100. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/with_affiliation.yml +6 -4
  101. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/without_affiliation.yml +6 -4
  102. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/maremma.yml +13 -13
  103. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/metadata_reports.yml +12 -12
  104. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +18 -12
  105. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +18 -12
  106. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +18 -12
  107. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/JaLC.yml +17 -11
  108. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/KISTI.yml +17 -11
  109. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/OP.yml +19 -13
  110. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/affiliation_is_space.yml +15 -15
  111. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book.yml +18 -12
  112. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book_chapter.yml +18 -12
  113. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/article_id_as_page_number.yml +14 -14
  114. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/author_literal.yml +18 -12
  115. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book.yml +19 -13
  116. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter.yml +18 -12
  117. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter_with_RDF_for_container.yml +20 -14
  118. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_oup.yml +17 -11
  119. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/component.yml +17 -11
  120. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset.yml +19 -13
  121. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset_usda.yml +17 -11
  122. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +19 -13
  123. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dissertation.yml +17 -11
  124. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/empty_given_name.yml +20 -13
  125. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/invalid_date.yml +18 -12
  126. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +18 -12
  127. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_original_language_title.yml +21 -14
  128. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with.yml +18 -12
  129. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_RDF_for_container.yml +18 -12
  130. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_funding.yml +18 -12
  131. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_issue.yml +18 -12
  132. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/mEDRA.yml +20 -52
  133. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/markup.yml +22 -15
  134. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/missing_creator.yml +18 -12
  135. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_issn.yml +16 -16
  136. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles.yml +19 -13
  137. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles_with_missing.yml +14 -14
  138. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +17 -11
  139. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/peer_review.yml +17 -11
  140. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +18 -12
  141. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content_copernicus.yml +23 -16
  142. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/report_osti.yml +28 -23
  143. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/vor_with_url.yml +18 -12
  144. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book.yml +21 -14
  145. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book_chapter.yml +18 -12
  146. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_json_metadata/metadata_from_api.yml +26 -20
  147. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +30 -21
  148. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system.yml +110 -0
  149. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/{DOI_in_test_system_schema_3.yml → DOI_in_staging_system_schema_3.yml} +29 -22
  150. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_with_related_id_system.yml +42 -29
  151. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +21 -15
  152. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +23 -17
  153. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +23 -17
  154. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_empty_awardTitle.yml +23 -17
  155. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +23 -17
  156. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_staging_system.yml +108 -0
  157. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_test_system.yml +30 -24
  158. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Schema_org_type.yml +23 -17
  159. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +24 -18
  160. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +23 -17
  161. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +24 -18
  162. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/cc-by_3_0_us.yml +47 -21
  163. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/content_url.yml +27 -21
  164. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +29 -23
  165. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/dissertation.yml +24 -18
  166. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/doi_with_sign.yml +27 -21
  167. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +25 -19
  168. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/even_more_subject_scheme_FOR.yml +24 -18
  169. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_references.yml +24 -18
  170. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +30 -24
  171. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +23 -17
  172. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +35 -28
  173. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/leading_and_trailing_whitespace.yml +29 -22
  174. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/more_subject_scheme_FOR.yml +30 -22
  175. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorsName.yml +28 -22
  176. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +27 -21
  177. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/series-information.yml +24 -18
  178. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme.yml +23 -17
  179. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme_FOR.yml +31 -22
  180. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date/publication_date.yml +6 -4
  181. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +6 -4
  182. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +6 -4
  183. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +6 -4
  184. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/date.yml +6 -4
  185. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year-month.yml +6 -4
  186. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year.yml +6 -4
  187. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +6 -4
  188. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +6 -4
  189. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +6 -4
  190. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/future.yml +6 -4
  191. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/invalid.yml +6 -4
  192. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/nil.yml +6 -4
  193. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/past.yml +6 -4
  194. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/present.yml +6 -4
  195. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +17 -12
  196. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +11 -9
  197. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +15 -13
  198. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +11 -9
  199. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +11 -9
  200. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +1058 -991
  201. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +6 -4
  202. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +17 -15
  203. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +12 -10
  204. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +11 -9
  205. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation_and_country.yml +77 -40
  206. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +12 -10
  207. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/only_familyName_and_givenName.yml +7 -7
  208. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +30 -24
  209. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +30 -26
  210. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/harvard_dataverse.yml +14 -12
  211. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/pangaea.yml +12 -8
  212. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/zenodo.yml +15 -541
  213. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/only_title.yml +6 -4
  214. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_and_pages.yml +6 -4
  215. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_and_pages.yml +6 -4
  216. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_issue_and_pages.yml +6 -4
  217. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_as_codemeta_url.yml +6 -4
  218. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url.yml +6 -4
  219. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url_file.yml +6 -4
  220. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +12 -8
  221. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +12 -8
  222. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +12 -10
  223. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +11 -9
  224. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +11 -9
  225. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +18 -13
  226. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +12 -10
  227. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_language/insert.yml +11 -9
  228. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +11 -9
  229. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +12 -10
  230. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +12 -10
  231. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +11 -9
  232. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +11 -9
  233. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +12 -10
  234. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +12 -10
  235. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_sizes/insert.yml +12 -10
  236. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +11 -9
  237. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +12 -10
  238. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +11 -9
  239. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +6 -4
  240. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +6 -4
  241. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +6 -4
  242. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +6 -4
  243. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +6 -4
  244. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_orcid_id.yml +6 -4
  245. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +6 -4
  246. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +30 -21
  247. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +29 -20
  248. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +30 -21
  249. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +30 -21
  250. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/not_found.yml +6 -4
  251. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash.yml +6 -4
  252. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash_and_to_https.yml +6 -4
  253. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +6 -4
  254. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +6 -4
  255. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +6 -4
  256. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +6 -4
  257. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +6 -4
  258. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +6 -4
  259. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +6 -4
  260. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +6 -4
  261. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +6 -4
  262. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +6 -4
  263. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +6 -4
  264. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +6 -4
  265. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +6 -4
  266. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +6 -4
  267. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +6 -4
  268. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +6 -4
  269. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_options.yml +6 -4
  270. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_url.yml +6 -4
  271. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +6 -4
  272. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +6 -4
  273. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +6 -4
  274. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +6 -4
  275. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +6 -4
  276. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_array.yml +6 -4
  277. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_empty_array.yml +6 -4
  278. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_hash.yml +6 -4
  279. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_string.yml +6 -4
  280. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +6 -4
  281. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +6 -4
  282. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash_and_to_https.yml +6 -4
  283. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +6 -4
  284. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +6 -4
  285. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +6 -4
  286. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +6 -4
  287. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +6 -4
  288. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +6 -4
  289. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +6 -4
  290. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +6 -4
  291. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_id.yml +6 -4
  292. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_not_found.yml +6 -4
  293. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_url.yml +6 -4
  294. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_exists.yml +6 -4
  295. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_id.yml +6 -4
  296. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +6 -4
  297. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org_identifiers/with_identifiers.yml +6 -4
  298. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_doi/doi.yml +6 -4
  299. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/{doi_resolver/test_resolver_http.yml → validate_funder_doi/1_7_10.yml} +8 -4
  300. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_11.yml +48 -0
  301. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_12.yml +48 -0
  302. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_13.yml +48 -0
  303. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_14.yml +48 -0
  304. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_4.yml +48 -0
  305. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_5.yml +48 -0
  306. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_6.yml +48 -0
  307. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_7.yml +48 -0
  308. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_8.yml +48 -0
  309. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_9.yml +48 -0
  310. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi.yml +6 -4
  311. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi_without_prefix.yml +6 -4
  312. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/non-funder_doi.yml +6 -4
  313. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +6 -4
  314. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +6 -4
  315. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +6 -4
  316. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +6 -4
  317. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +6 -4
  318. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +6 -4
  319. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +6 -4
  320. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +6 -4
  321. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +6 -4
  322. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +6 -4
  323. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +6 -4
  324. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +6 -4
  325. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +6 -4
  326. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +6 -4
  327. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +6 -4
  328. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +6 -4
  329. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +6 -4
  330. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +6 -4
  331. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +18 -13
  332. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +12 -10
  333. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/authors_with_affiliations.yml +77 -40
  334. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/climate_data.yml +14 -12
  335. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +26 -24
  336. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/keywords_subject_scheme.yml +19 -17
  337. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/maremma.yml +13 -13
  338. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/text.yml +12 -10
  339. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +6 -4
  340. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +6 -4
  341. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml +12 -10
  342. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml +6 -4
  343. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml +6 -4
  344. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Missing_author.yml +6 -4
  345. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/interactive_resource_without_dates.yml +15 -13
  346. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/software_w/version.yml +14 -12
  347. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Another_dataset.yml +19 -13
  348. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +18 -13
  349. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +24 -22
  350. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +12 -10
  351. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +12 -10
  352. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/interactive_resource_without_dates.yml +14 -12
  353. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +6 -4
  354. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/keywords_subject_scheme.yml +20 -18
  355. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml +13 -13
  356. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/missing_creator.yml +6 -4
  357. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/multiple_abstracts.yml +11 -9
  358. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/organization_author.yml +6 -4
  359. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +12 -10
  360. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software_w/version.yml +14 -12
  361. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_only_first_page.yml +6 -4
  362. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +6 -4
  363. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +15 -13
  364. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite_check_codemeta_v2.yml +14 -12
  365. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +12 -10
  366. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +13 -13
  367. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +6 -4
  368. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +6 -4
  369. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +24 -22
  370. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +12 -10
  371. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/climate_data.yml +13 -11
  372. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/maremma.yml +13 -13
  373. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/text.yml +11 -9
  374. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_data_citation.yml +6 -4
  375. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_pages.yml +6 -4
  376. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +13 -13
  377. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +6 -4
  378. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +6 -4
  379. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +26 -24
  380. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/DOI_not_found.yml +10 -8
  381. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +12 -10
  382. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +26 -22
  383. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru_with_doi_in_options.yml +26 -22
  384. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/maremma.yml +13 -13
  385. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +6 -4
  386. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +6 -4
  387. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +26 -24
  388. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +6 -4
  389. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_version.yml +14 -12
  390. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Dataset_in_schema_4_0.yml +12 -10
  391. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Text_pass-thru.yml +27 -23
  392. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/book_chapter.yml +5 -3
  393. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/interactive_resource_without_dates.yml +14 -12
  394. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/maremma.yml +13 -13
  395. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_ORCID_ID.yml +6 -4
  396. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation.yml +6 -4
  397. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation_schema_org.yml +28 -24
  398. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_editor.yml +6 -4
  399. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting.yml +17 -12
  400. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting_schema_org.yml +26 -24
  401. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/journal_article.yml +6 -4
  402. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/maremma.yml +13 -13
  403. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/with_pages.yml +6 -4
  404. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +17 -12
  405. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +26 -24
  406. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +11 -9
  407. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +12 -10
  408. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +6 -4
  409. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/keywords_with_subject_scheme.yml +20 -18
  410. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +13 -13
  411. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/with_pages.yml +6 -4
  412. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +24 -18
  413. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +31 -25
  414. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +14 -12
  415. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_Cyark.yml +24 -41
  416. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +24 -18
  417. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +12 -10
  418. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/alternate_identifiers.yml +15 -13
  419. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/data_catalog.yml +13 -11
  420. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/geo_location_box.yml +22 -19
  421. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/interactive_resource_without_dates.yml +15 -13
  422. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +6 -4
  423. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +12 -12
  424. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/series_information.yml +12 -10
  425. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme.yml +11 -9
  426. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme_multiple_keywords.yml +19 -17
  427. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +18 -13
  428. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_schema_org.yml +26 -24
  429. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +12 -10
  430. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/journal_article.yml +6 -4
  431. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/with_pages.yml +6 -4
  432. data/spec/metadata_spec.rb +1 -1
  433. data/spec/readers/crossref_reader_spec.rb +299 -24
  434. data/spec/readers/datacite_json_reader_spec.rb +1 -1
  435. data/spec/readers/datacite_reader_spec.rb +74 -29
  436. data/spec/readers/schema_org_reader_spec.rb +4 -6
  437. data/spec/utils_spec.rb +17 -4
  438. data/spec/writers/bibtex_writer_spec.rb +4 -6
  439. data/spec/writers/citeproc_writer_spec.rb +3 -3
  440. data/spec/writers/csv_writer_spec.rb +1 -1
  441. data/spec/writers/datacite_writer_spec.rb +1 -1
  442. data/spec/writers/jats_writer_spec.rb +1 -1
  443. data/spec/writers/rdf_xml_writer_spec.rb +1 -1
  444. data/spec/writers/ris_writer_spec.rb +10 -8
  445. data/spec/writers/schema_org_writer_spec.rb +5 -5
  446. data/spec/writers/turtle_writer_spec.rb +1 -1
  447. metadata +23 -11
  448. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_alternate_identifiers.yml +0 -51
  449. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +0 -104
@@ -153,7 +153,7 @@ describe Bolognese::Metadata, vcr: true do
153
153
  it "missing_comma" do
154
154
  json = IO.read(fixture_path + "datacite_software_missing_comma.json")
155
155
  response = subject.jsonlint(json)
156
- expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:364]"])
156
+ expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:388]"])
157
157
  end
158
158
 
159
159
  it "overlapping_keys" do
@@ -61,7 +61,7 @@ describe Bolognese::Metadata, vcr: true do
61
61
  expect(subject.creators.length).to eq(5)
62
62
  expect(subject.creators.first).to eq("nameType"=>"Personal", "name"=>"Ralser, Markus", "givenName"=>"Markus", "familyName"=>"Ralser")
63
63
  expect(subject.contributors).to eq([{"contributorType"=>"Editor", "familyName"=>"Janbon", "givenName"=>"Guilhem", "name"=>"Janbon, Guilhem", "nameType"=>"Personal"}])
64
- expect(subject.titles).to eq([{"title"=>"Triose Phosphate Isomerase Deficiency Is Caused by Altered DimerizationNot Catalytic Inactivityof the Mutant Enzymes"}])
64
+ expect(subject.titles).to eq([{"title"=>"Triose Phosphate Isomerase Deficiency Is Caused by Altered Dimerization???Not Catalytic Inactivity???of the Mutant Enzymes"}])
65
65
  expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
66
66
  "rightsIdentifier"=>"cc-by-4.0",
67
67
  "rightsIdentifierScheme"=>"SPDX",
@@ -109,10 +109,10 @@ describe Bolognese::Metadata, vcr: true do
109
109
  subject = Bolognese::Metadata.new(input: input)
110
110
  expect(subject.valid?).to be true
111
111
  expect(subject.id).to eq("https://doi.org/10.7600/jspfsm.56.60")
112
- expect(subject.url).to eq("http://jlc.jst.go.jp/JST.JSTAGE/jspfsm/56.60?lang=en&from=CrossRef&type=abstract")
112
+ expect(subject.url).to eq("https://www.jstage.jst.go.jp/article/jspfsm/56/1/56_1_60/_article/-char/ja/")
113
113
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"JournalArticle", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
114
114
  expect(subject.creators).to eq([{"name"=>":(unav)", "nameType"=>"Organizational"}])
115
- expect(subject.titles).to eq([{"lang"=>"ja", "title"=>"自律神経・循環器応答"}])
115
+ expect(subject.titles).to eq([{"lang"=>"ja", "title"=>"??????????????????????????????"}])
116
116
  expect(subject.dates).to include({"date"=>"2007", "dateType"=>"Issued"})
117
117
  expect(subject.publication_year).to eq("2007")
118
118
  expect(subject.publisher).to eq("The Japanese Society of Physical Fitness and Sports Medicine")
@@ -131,7 +131,7 @@ describe Bolognese::Metadata, vcr: true do
131
131
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"JournalArticle", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
132
132
  expect(subject.creators.length).to eq(8)
133
133
  expect(subject.creators.first).to eq("familyName"=>"Mesquita-Joanes", "givenName"=>"Francesc", "name"=>"Mesquita-Joanes, Francesc", "nameType"=>"Personal")
134
- expect(subject.titles).to eq([{"title"=>"Global distribution of Fabaeformiscandona subacuta: an exotic invasive Ostracoda on the Iberian Peninsula?"}])
134
+ expect(subject.titles).to eq([{"title"=>"Global distribution of Fabaeformiscandona subacuta: an??exotic??invasive Ostracoda on the Iberian Peninsula?"}])
135
135
  expect(subject.dates).to include({"date"=>"2012-01-01", "dateType"=>"Issued"})
136
136
  expect(subject.publication_year).to eq("2012")
137
137
  expect(subject.publisher).to eq("Oxford University Press (OUP)")
@@ -152,7 +152,7 @@ describe Bolognese::Metadata, vcr: true do
152
152
  expect(subject.creators.length).to eq(3)
153
153
  expect(subject.creators.first).to eq("familyName"=>"Chen", "givenName"=>"Lili", "name"=>"Chen, Lili", "nameType"=>"Personal")
154
154
  expect(subject.titles).to eq([{"title"=>"Human Body Orientation Estimation in Multiview Scenarios"}])
155
- expect(subject.dates).to eq([{"date"=>"2012", "dateType"=>"Issued"}, {"date"=>"2019-07-03T01:07:17Z", "dateType"=>"Updated"}])
155
+ expect(subject.dates).to eq([{"date"=>"2012", "dateType"=>"Issued"}, {"date"=>"2020-11-24T03:11:32Z", "dateType"=>"Updated"}])
156
156
  expect(subject.publication_year).to eq("2012")
157
157
  expect(subject.publisher).to eq("Springer Science and Business Media LLC")
158
158
  expect(subject.related_identifiers.length).to eq(7)
@@ -234,8 +234,8 @@ describe Bolognese::Metadata, vcr: true do
234
234
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"JournalArticle", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
235
235
  expect(subject.creators).to eq([{"nameType"=>"Personal", "name"=>"Fenton, A.", "givenName"=>"A.", "familyName"=>"Fenton"}, {"nameType"=>"Personal", "name"=>"Rands, S. A.", "givenName"=>"S. A.", "familyName"=>"Rands"}])
236
236
  expect(subject.rights_list).to eq([{"rightsUri"=>"http://doi.wiley.com/10.1002/tdm_license_1.1"}])
237
- expect(subject.titles).to eq([{"title"=>"THE IMPACT OF PARASITE MANIPULATION AND PREDATOR FORAGING BEHAVIOR ON PREDATORPREY COMMUNITIES"}])
238
- expect(subject.dates).to eq([{"date"=>"2006-11", "dateType"=>"Issued"}, {"date"=>"2019-04-28T17:51:50Z", "dateType"=>"Updated"}])
237
+ expect(subject.titles).to eq([{"title"=>"THE IMPACT OF PARASITE MANIPULATION AND PREDATOR FORAGING BEHAVIOR ON PREDATOR???PREY COMMUNITIES"}])
238
+ expect(subject.dates).to eq([{"date"=>"2006-11", "dateType"=>"Issued"}, {"date"=>"2019-04-28T13:51:50Z", "dateType"=>"Updated"}])
239
239
  expect(subject.publication_year).to eq("2006")
240
240
  expect(subject.publisher).to eq("Wiley")
241
241
  expect(subject.related_identifiers.length).to eq(35)
@@ -284,7 +284,268 @@ describe Bolognese::Metadata, vcr: true do
284
284
  expect(subject.dates).to include({"date"=>"2015-07", "dateType"=>"Issued"})
285
285
  expect(subject.publication_year).to eq("2015")
286
286
  expect(subject.publisher).to eq("Elsevier BV")
287
- expect(subject.related_identifiers).to eq([{"relatedIdentifier"=>"0014-2999", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection"}])
287
+ expect(subject.related_identifiers).to eq([{"relatedIdentifier"=>"0014-2999", "relatedIdentifierType"=>"ISSN", "relationType"=>"IsPartOf", "resourceTypeGeneral"=>"Collection"},
288
+ {"relatedIdentifier"=>"10.1212/01.wnl.0000287431.88658.8b",
289
+ "relatedIdentifierType"=>"DOI",
290
+ "relationType"=>"References"},
291
+ {"relatedIdentifier"=>"10.1182/blood-2010-09-308684",
292
+ "relatedIdentifierType"=>"DOI",
293
+ "relationType"=>"References"},
294
+ {"relatedIdentifier"=>"10.1007/s13365-015-0313-7",
295
+ "relatedIdentifierType"=>"DOI",
296
+ "relationType"=>"References"},
297
+ {"relatedIdentifier"=>"10.1016/j.jneuroim.2006.04.017",
298
+ "relatedIdentifierType"=>"DOI",
299
+ "relationType"=>"References"},
300
+ {"relatedIdentifier"=>"10.1086/514001",
301
+ "relatedIdentifierType"=>"DOI",
302
+ "relationType"=>"References"},
303
+ {"relatedIdentifier"=>"10.1002/ana.410310403",
304
+ "relatedIdentifierType"=>"DOI",
305
+ "relationType"=>"References"},
306
+ {"relatedIdentifier"=>"10.1093/infdis/jir214",
307
+ "relatedIdentifierType"=>"DOI",
308
+ "relationType"=>"References"},
309
+ {"relatedIdentifier"=>"10.1097/qad.0b013e32836010bd",
310
+ "relatedIdentifierType"=>"DOI",
311
+ "relationType"=>"References"},
312
+ {"relatedIdentifier"=>"10.1261/rna.036863.112",
313
+ "relatedIdentifierType"=>"DOI",
314
+ "relationType"=>"References"},
315
+ {"relatedIdentifier"=>"10.4103/0019-5359.107389",
316
+ "relatedIdentifierType"=>"DOI",
317
+ "relationType"=>"References"},
318
+ {"relatedIdentifier"=>"10.3233/jad-2008-14103",
319
+ "relatedIdentifierType"=>"DOI",
320
+ "relationType"=>"References"},
321
+ {"relatedIdentifier"=>"10.1126/science.287.5455.959",
322
+ "relatedIdentifierType"=>"DOI",
323
+ "relationType"=>"References"},
324
+ {"relatedIdentifier"=>"10.1097/01.qai.0000165799.59322.f5",
325
+ "relatedIdentifierType"=>"DOI",
326
+ "relationType"=>"References"},
327
+ {"relatedIdentifier"=>"10.1002/ana.410420503",
328
+ "relatedIdentifierType"=>"DOI",
329
+ "relationType"=>"References"},
330
+ {"relatedIdentifier"=>"10.1089/ars.2012.4834",
331
+ "relatedIdentifierType"=>"DOI",
332
+ "relationType"=>"References"},
333
+ {"relatedIdentifier"=>"10.1111/j.1600-0404.1987.tb05458.x",
334
+ "relatedIdentifierType"=>"DOI",
335
+ "relationType"=>"References"},
336
+ {"relatedIdentifier"=>"10.1097/00002030-198905000-00006",
337
+ "relatedIdentifierType"=>"DOI",
338
+ "relationType"=>"References"},
339
+ {"relatedIdentifier"=>"10.1002/ana.410200304",
340
+ "relatedIdentifierType"=>"DOI",
341
+ "relationType"=>"References"},
342
+ {"relatedIdentifier"=>"10.1186/1742-6405-2-6",
343
+ "relatedIdentifierType"=>"DOI",
344
+ "relationType"=>"References"},
345
+ {"relatedIdentifier"=>"10.1111/j.1600-0684.1993.tb00649.x",
346
+ "relatedIdentifierType"=>"DOI",
347
+ "relationType"=>"References"},
348
+ {"relatedIdentifier"=>"10.1186/1742-6405-7-15",
349
+ "relatedIdentifierType"=>"DOI",
350
+ "relationType"=>"References"},
351
+ {"relatedIdentifier"=>"10.1212/wnl.0b013e318200d727",
352
+ "relatedIdentifierType"=>"DOI",
353
+ "relationType"=>"References"},
354
+ {"relatedIdentifier"=>"10.1089/aid.2006.0292",
355
+ "relatedIdentifierType"=>"DOI",
356
+ "relationType"=>"References"},
357
+ {"relatedIdentifier"=>"10.1126/science.3646751",
358
+ "relatedIdentifierType"=>"DOI",
359
+ "relationType"=>"References"},
360
+ {"relatedIdentifier"=>"10.1002/ajmg.b.32071",
361
+ "relatedIdentifierType"=>"DOI",
362
+ "relationType"=>"References"},
363
+ {"relatedIdentifier"=>"10.1186/1756-6606-6-40",
364
+ "relatedIdentifierType"=>"DOI",
365
+ "relationType"=>"References"},
366
+ {"relatedIdentifier"=>"10.1086/344938",
367
+ "relatedIdentifierType"=>"DOI",
368
+ "relationType"=>"References"},
369
+ {"relatedIdentifier"=>"10.1128/jvi.71.8.6055-6060.1997",
370
+ "relatedIdentifierType"=>"DOI",
371
+ "relationType"=>"References"},
372
+ {"relatedIdentifier"=>"10.1016/j.jneuroim.2004.08.031",
373
+ "relatedIdentifierType"=>"DOI",
374
+ "relationType"=>"References"},
375
+ {"relatedIdentifier"=>"10.1371/journal.pone.0003603",
376
+ "relatedIdentifierType"=>"DOI",
377
+ "relationType"=>"References"},
378
+ {"relatedIdentifier"=>"10.1093/jnen/61.1.85",
379
+ "relatedIdentifierType"=>"DOI",
380
+ "relationType"=>"References"},
381
+ {"relatedIdentifier"=>"10.1097/qad.0b013e32832c4af0",
382
+ "relatedIdentifierType"=>"DOI",
383
+ "relationType"=>"References"},
384
+ {"relatedIdentifier"=>"10.3389/fgene.2013.00083",
385
+ "relatedIdentifierType"=>"DOI",
386
+ "relationType"=>"References"},
387
+ {"relatedIdentifier"=>"10.1080/13550280390194109",
388
+ "relatedIdentifierType"=>"DOI",
389
+ "relationType"=>"References"},
390
+ {"relatedIdentifier"=>"10.1002/ana.410420504",
391
+ "relatedIdentifierType"=>"DOI",
392
+ "relationType"=>"References"},
393
+ {"relatedIdentifier"=>"10.1001/archneur.61.11.1687",
394
+ "relatedIdentifierType"=>"DOI",
395
+ "relationType"=>"References"},
396
+ {"relatedIdentifier"=>"10.1212/01.wnl.0000277635.05973.55",
397
+ "relatedIdentifierType"=>"DOI",
398
+ "relationType"=>"References"},
399
+ {"relatedIdentifier"=>"10.1038/nmeth.3014",
400
+ "relatedIdentifierType"=>"DOI",
401
+ "relationType"=>"References"},
402
+ {"relatedIdentifier"=>"10.1097/qai.0000000000000048",
403
+ "relatedIdentifierType"=>"DOI",
404
+ "relationType"=>"References"},
405
+ {"relatedIdentifier"=>"10.1093/infdis/jit278",
406
+ "relatedIdentifierType"=>"DOI",
407
+ "relationType"=>"References"},
408
+ {"relatedIdentifier"=>"10.1007/s13365-014-0283-1",
409
+ "relatedIdentifierType"=>"DOI",
410
+ "relationType"=>"References"},
411
+ {"relatedIdentifier"=>"10.1097/00002030-199905280-00010",
412
+ "relatedIdentifierType"=>"DOI",
413
+ "relationType"=>"References"},
414
+ {"relatedIdentifier"=>"10.1097/qco.0b013e32834ef586",
415
+ "relatedIdentifierType"=>"DOI",
416
+ "relationType"=>"References"},
417
+ {"relatedIdentifier"=>"10.4049/jimmunol.169.6.3438",
418
+ "relatedIdentifierType"=>"DOI",
419
+ "relationType"=>"References"},
420
+ {"relatedIdentifier"=>"10.2174/1389200024605082",
421
+ "relatedIdentifierType"=>"DOI",
422
+ "relationType"=>"References"},
423
+ {"relatedIdentifier"=>"10.1126/science.1546323",
424
+ "relatedIdentifierType"=>"DOI",
425
+ "relationType"=>"References"},
426
+ {"relatedIdentifier"=>"10.1016/s1474-4422(14)70137-1",
427
+ "relatedIdentifierType"=>"DOI",
428
+ "relationType"=>"References"},
429
+ {"relatedIdentifier"=>"10.1016/j.jns.2009.06.043",
430
+ "relatedIdentifierType"=>"DOI",
431
+ "relationType"=>"References"},
432
+ {"relatedIdentifier"=>"10.1128/jvi.77.16.9029-9040.2003",
433
+ "relatedIdentifierType"=>"DOI",
434
+ "relationType"=>"References"},
435
+ {"relatedIdentifier"=>"10.1002/jcp.24254",
436
+ "relatedIdentifierType"=>"DOI",
437
+ "relationType"=>"References"},
438
+ {"relatedIdentifier"=>"10.1128/jvi.76.1.292-302.2002",
439
+ "relatedIdentifierType"=>"DOI",
440
+ "relationType"=>"References"},
441
+ {"relatedIdentifier"=>"10.1182/blood-2012-03-414706",
442
+ "relatedIdentifierType"=>"DOI",
443
+ "relationType"=>"References"},
444
+ {"relatedIdentifier"=>"10.1016/j.jneuroim.2013.11.004",
445
+ "relatedIdentifierType"=>"DOI",
446
+ "relationType"=>"References"},
447
+ {"relatedIdentifier"=>"10.1038/nrg3198",
448
+ "relatedIdentifierType"=>"DOI",
449
+ "relationType"=>"References"},
450
+ {"relatedIdentifier"=>"10.1016/s0140-6736(96)10178-1",
451
+ "relatedIdentifierType"=>"DOI",
452
+ "relationType"=>"References"},
453
+ {"relatedIdentifier"=>"10.1128/jvi.00366-11",
454
+ "relatedIdentifierType"=>"DOI",
455
+ "relationType"=>"References"},
456
+ {"relatedIdentifier"=>"10.1007/s13365-011-0053-2",
457
+ "relatedIdentifierType"=>"DOI",
458
+ "relationType"=>"References"},
459
+ {"relatedIdentifier"=>"10.1083/jcb.201211138",
460
+ "relatedIdentifierType"=>"DOI",
461
+ "relationType"=>"References"},
462
+ {"relatedIdentifier"=>"10.1111/j.1600-0684.2011.00475.x",
463
+ "relatedIdentifierType"=>"DOI",
464
+ "relationType"=>"References"},
465
+ {"relatedIdentifier"=>"10.1038/srep05915",
466
+ "relatedIdentifierType"=>"DOI",
467
+ "relationType"=>"References"},
468
+ {"relatedIdentifier"=>"10.1096/fj.09-143503",
469
+ "relatedIdentifierType"=>"DOI",
470
+ "relationType"=>"References"},
471
+ {"relatedIdentifier"=>"10.1542/peds.111.2.e168",
472
+ "relatedIdentifierType"=>"DOI",
473
+ "relationType"=>"References"},
474
+ {"relatedIdentifier"=>"10.2174/1566524013363555",
475
+ "relatedIdentifierType"=>"DOI",
476
+ "relationType"=>"References"},
477
+ {"relatedIdentifier"=>"10.1126/science.283.5403.857",
478
+ "relatedIdentifierType"=>"DOI",
479
+ "relationType"=>"References"},
480
+ {"relatedIdentifier"=>"10.1212/01.wnl.0000145763.68284.15",
481
+ "relatedIdentifierType"=>"DOI",
482
+ "relationType"=>"References"},
483
+ {"relatedIdentifier"=>"10.1002/ana.410230727",
484
+ "relatedIdentifierType"=>"DOI",
485
+ "relationType"=>"References"},
486
+ {"relatedIdentifier"=>"10.1186/1742-4690-10-95",
487
+ "relatedIdentifierType"=>"DOI",
488
+ "relationType"=>"References"},
489
+ {"relatedIdentifier"=>"10.1128/jvi.79.2.684-695.2005",
490
+ "relatedIdentifierType"=>"DOI",
491
+ "relationType"=>"References"},
492
+ {"relatedIdentifier"=>"10.1111/j.1600-0684.2005.00126.x",
493
+ "relatedIdentifierType"=>"DOI",
494
+ "relationType"=>"References"},
495
+ {"relatedIdentifier"=>"10.1186/1756-8722-6-6",
496
+ "relatedIdentifierType"=>"DOI",
497
+ "relationType"=>"References"},
498
+ {"relatedIdentifier"=>"10.1016/j.jmb.2013.12.017",
499
+ "relatedIdentifierType"=>"DOI",
500
+ "relationType"=>"References"},
501
+ {"relatedIdentifier"=>"10.1590/s0037-86822012000600002",
502
+ "relatedIdentifierType"=>"DOI",
503
+ "relationType"=>"References"},
504
+ {"relatedIdentifier"=>"10.1080/13550280390218715",
505
+ "relatedIdentifierType"=>"DOI",
506
+ "relationType"=>"References"},
507
+ {"relatedIdentifier"=>"10.1111/j.1468-1331.2012.03777.x",
508
+ "relatedIdentifierType"=>"DOI",
509
+ "relationType"=>"References"},
510
+ {"relatedIdentifier"=>"10.3233/jad-2010-090649",
511
+ "relatedIdentifierType"=>"DOI",
512
+ "relationType"=>"References"},
513
+ {"relatedIdentifier"=>"10.1080/13550280500516484",
514
+ "relatedIdentifierType"=>"DOI",
515
+ "relationType"=>"References"},
516
+ {"relatedIdentifier"=>"10.1080/13550280390218751",
517
+ "relatedIdentifierType"=>"DOI",
518
+ "relationType"=>"References"},
519
+ {"relatedIdentifier"=>"10.1189/jlb.0811394",
520
+ "relatedIdentifierType"=>"DOI",
521
+ "relationType"=>"References"},
522
+ {"relatedIdentifier"=>"10.1007/s11481-011-9330-3",
523
+ "relatedIdentifierType"=>"DOI",
524
+ "relationType"=>"References"},
525
+ {"relatedIdentifier"=>"10.1080/13550280802074539",
526
+ "relatedIdentifierType"=>"DOI",
527
+ "relationType"=>"References"},
528
+ {"relatedIdentifier"=>"10.1086/650743",
529
+ "relatedIdentifierType"=>"DOI",
530
+ "relationType"=>"References"},
531
+ {"relatedIdentifier"=>"10.1371/journal.pone.0008129",
532
+ "relatedIdentifierType"=>"DOI",
533
+ "relationType"=>"References"},
534
+ {"relatedIdentifier"=>"10.1128/jvi.80.10.5074-5077.2006",
535
+ "relatedIdentifierType"=>"DOI",
536
+ "relationType"=>"References"},
537
+ {"relatedIdentifier"=>"10.1186/1742-2094-10-62",
538
+ "relatedIdentifierType"=>"DOI",
539
+ "relationType"=>"References"},
540
+ {"relatedIdentifier"=>"10.1086/323478",
541
+ "relatedIdentifierType"=>"DOI",
542
+ "relationType"=>"References"},
543
+ {"relatedIdentifier"=>"10.1128/jvi.73.12.10480-10488.1999",
544
+ "relatedIdentifierType"=>"DOI",
545
+ "relationType"=>"References"},
546
+ {"relatedIdentifier"=>"10.1111/hiv.12134",
547
+ "relatedIdentifierType"=>"DOI",
548
+ "relationType"=>"References"}])
288
549
  expect(subject.container).to eq("firstPage"=>"303", "identifier"=>"0014-2999", "identifierType"=>"ISSN", "lastPage"=>"312", "title"=>"European Journal of Pharmacology", "type"=>"Journal", "volume"=>"759")
289
550
  expect(subject.agency).to eq("crossref")
290
551
  end
@@ -372,6 +633,11 @@ describe Bolognese::Metadata, vcr: true do
372
633
  expect(subject.publication_year).to eq("2015")
373
634
  expect(subject.publisher).to eq("Springer Science and Business Media LLC")
374
635
  expect(subject.agency).to eq("crossref")
636
+ expect(subject.container["type"]).to eq("Book")
637
+ expect(subject.container["title"]).to eq("Shoulder Stiffness")
638
+ expect(subject.container["firstPage"]).to eq("155")
639
+ expect(subject.container["lastPage"]).to eq("158")
640
+ expect(subject.container["identifiers"]).to eq([{"identifier"=>"978-3-662-46369-7", "identifierType"=>"ISBN"}])
375
641
  end
376
642
 
377
643
  it "another book chapter" do
@@ -387,6 +653,10 @@ describe Bolognese::Metadata, vcr: true do
387
653
  expect(subject.publication_year).to eq("2018")
388
654
  expect(subject.publisher).to eq("Springer Science and Business Media LLC")
389
655
  expect(subject.agency).to eq("crossref")
656
+ expect(subject.container["type"]).to eq("Book Series")
657
+ expect(subject.container["title"]).to eq("SpringerBriefs in Medical Earth Sciences")
658
+ expect(subject.container["identifier"]).to eq("2523-3629")
659
+ expect(subject.container["identifierType"]).to eq("ISSN")
390
660
  end
391
661
 
392
662
  it "yet another book chapter" do
@@ -396,12 +666,17 @@ describe Bolognese::Metadata, vcr: true do
396
666
  expect(subject.id).to eq("https://doi.org/10.4018/978-1-4666-1891-6.ch004")
397
667
  expect(subject.url).to eq("http://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/978-1-4666-1891-6.ch004")
398
668
  expect(subject.types).to eq("bibtex"=>"inbook", "citeproc"=>"chapter", "resourceType"=>"BookChapter", "resourceTypeGeneral"=>"BookChapter", "ris"=>"CHAP", "schemaOrg"=>"Chapter")
399
- expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"Université de Lyon, France"}], "familyName"=>"Bichot", "givenName"=>"Charles-Edmond", "name"=>"Bichot, Charles-Edmond", "nameType"=>"Personal"}])
669
+ expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"Universit?? de Lyon, France"}], "familyName"=>"Bichot", "givenName"=>"Charles-Edmond", "name"=>"Bichot, Charles-Edmond", "nameType"=>"Personal"}])
400
670
  expect(subject.titles).to eq([{"title"=>"Unsupervised and Supervised Image Segmentation Using Graph Partitioning"}])
401
- expect(subject.dates).to eq([{"date"=>"2012-08-08", "dateType"=>"Issued"}, {"date"=>"2019-07-02T17:17:21Z", "dateType"=>"Updated"}])
671
+ expect(subject.dates).to eq([{"date"=>"2012-08-08", "dateType"=>"Issued"}, {"date"=>"2019-07-02T13:17:21Z", "dateType"=>"Updated"}])
402
672
  expect(subject.publication_year).to eq("2012")
403
673
  expect(subject.publisher).to eq("IGI Global")
404
674
  expect(subject.agency).to eq("crossref")
675
+ expect(subject.container["type"]).to eq("Book")
676
+ expect(subject.container["title"]).to eq("Graph-Based Methods in Computer Vision")
677
+ expect(subject.container["firstPage"]).to eq("72")
678
+ expect(subject.container["lastPage"]).to eq("94")
679
+ expect(subject.container["identifiers"]).to eq([{"identifier"=>"9781466618916", "identifierType"=>"ISBN"}])
405
680
  end
406
681
 
407
682
  it "missing creator" do
@@ -429,7 +704,7 @@ describe Bolognese::Metadata, vcr: true do
429
704
  expect(subject.types).to eq("bibtex"=>"book", "citeproc"=>"book", "resourceType"=>"Book", "resourceTypeGeneral"=>"Book", "ris"=>"BOOK", "schemaOrg"=>"Book")
430
705
  expect(subject.creators).to eq([{"familyName"=>"Leung", "givenName"=>"Vincent S.", "name"=>"Leung, Vincent S.", "nameType"=>"Personal"}])
431
706
  expect(subject.titles).to eq([{"title"=>"The Politics of the Past in Early China"}])
432
- expect(subject.dates).to eq([{"date"=>"2019-07-01", "dateType"=>"Issued"}, {"date"=>"2019-12-01T18:11:11Z", "dateType"=>"Updated"}])
707
+ expect(subject.dates).to eq([{"date"=>"2019-07-01", "dateType"=>"Issued"}, {"date"=>"2021-01-08T19:18:57Z", "dateType"=>"Updated"}])
433
708
  expect(subject.publication_year).to eq("2019")
434
709
  expect(subject.publisher).to eq("Cambridge University Press (CUP)")
435
710
  expect(subject.agency).to eq("crossref")
@@ -463,8 +738,8 @@ describe Bolognese::Metadata, vcr: true do
463
738
  expect(subject.url).to eq("http://doi.wiley.com/10.1029/AR035")
464
739
  expect(subject.types).to eq("bibtex"=>"book", "citeproc"=>"book", "resourceType"=>"Book", "resourceTypeGeneral"=>"Book", "ris"=>"BOOK", "schemaOrg"=>"Book")
465
740
  expect(subject.creators).to eq([{"familyName"=>"McGinnis", "givenName"=>"Richard Frank", "name"=>"McGinnis, Richard Frank", "nameType"=>"Personal"}])
466
- expect(subject.titles).to eq([{"title"=>"Biogeography of Lanternfishes (Myctophidae) South of 30°S"}])
467
- expect(subject.dates).to eq([{"date"=>"1982", "dateType"=>"Issued"}, {"date"=>"2019-06-15T05:11:12Z", "dateType"=>"Updated"}])
741
+ expect(subject.titles).to eq([{"title"=>"Biogeography of Lanternfishes (Myctophidae) South of 30??S"}])
742
+ expect(subject.dates).to eq([{"date"=>"1982", "dateType"=>"Issued"}, {"date"=>"2021-02-23T21:58:36Z", "dateType"=>"Updated"}])
468
743
  expect(subject.publication_year).to eq("1982")
469
744
  expect(subject.publisher).to eq("Wiley")
470
745
  expect(subject.related_identifiers.length).to eq(44)
@@ -547,8 +822,8 @@ describe Bolognese::Metadata, vcr: true do
547
822
  expect(subject.url).to eq("http://journals.openedition.org/dms/865")
548
823
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"JournalArticle", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
549
824
  expect(subject.creators).to eq([{"familyName"=>"Peraya", "givenName"=>"Daniel", "name"=>"Peraya, Daniel", "nameType"=>"Personal"}])
550
- expect(subject.titles).to eq([{"title"=>"Distances, absence, proximités et présences : des concepts en déplacement"}, {"title"=>"Distance(s), proximity and presence(s): evolving concepts"}])
551
- expect(subject.dates).to include({"date"=>"2014-12-23", "dateType"=>"Issued"})
825
+ expect(subject.titles).to eq([{"title"=>"Distances, absence, proximit??s et pr??sences??: des concepts en d??placement"}, {"title"=>"Distance(s), proximity and presence(s): evolving concepts"}])
826
+ expect(subject.dates).to include({"date"=>"2014-12-14", "dateType"=>"Issued"})
552
827
  expect(subject.publication_year).to eq("2014")
553
828
  expect(subject.publisher).to eq("OpenEdition")
554
829
  expect(subject.agency).to eq("crossref")
@@ -604,7 +879,7 @@ describe Bolognese::Metadata, vcr: true do
604
879
  expect(subject.publication_year).to eq("2017")
605
880
  expect(subject.publisher).to eq("The Royal Society")
606
881
  expect(subject.agency).to eq("crossref")
607
- expect(subject.date_registered).to eq("2019-07-18T04:43:12Z")
882
+ expect(subject.date_registered).to eq("2021-02-14T10:36:45Z")
608
883
  end
609
884
 
610
885
  it "empty given name" do
@@ -615,10 +890,10 @@ describe Bolognese::Metadata, vcr: true do
615
890
  expect(subject.url).to eq("http://doi.wiley.com/10.1111/j.1865-1682.2010.01171.x")
616
891
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"JournalArticle", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
617
892
  expect(subject.creators.length).to eq(5)
618
- expect(subject.creators[3]).to eq("familyName"=>"Ehtisham-ul-Haq", "givenName"=>"", "name"=>"Ehtisham-ul-Haq,", "nameType"=>"Personal")
893
+ expect(subject.creators[3]).to eq("familyName"=>"Ehtisham-ul-Haq", "givenName"=>"???", "name"=>"Ehtisham-ul-Haq, ???", "nameType"=>"Personal")
619
894
  expect(subject.titles).to eq([{"title"=>"Serological Evidence of Brucella abortus Prevalence in Punjab Province, Pakistan - A Cross-Sectional Study"}])
620
895
  expect(subject.rights_list).to eq([{"rightsUri"=>"http://doi.wiley.com/10.1002/tdm_license_1.1"}])
621
- expect(subject.dates).to eq([{"date"=>"2010-12", "dateType"=>"Issued"}, {"date"=>"2019-03-05T09:22:24Z", "dateType"=>"Updated"}])
896
+ expect(subject.dates).to eq([{"date"=>"2010-12", "dateType"=>"Issued"}, {"date"=>"2021-02-04T22:37:42Z", "dateType"=>"Updated"}])
622
897
  expect(subject.publication_year).to eq("2010")
623
898
  expect(subject.publisher).to eq("Wiley")
624
899
  end
@@ -638,7 +913,7 @@ describe Bolognese::Metadata, vcr: true do
638
913
  "name" => "Ma, Jun-An",
639
914
  "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0002-3902-6799", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}],
640
915
  "nameType" => "Personal")
641
- expect(subject.titles).to eq([{"title"=>"Silver-Catalyzed [3+3] Annulation of Glycine Imino Esters with SeyferthGilbert Reagent To Access Tetrahydro-1,2,4-triazinecarboxylate Esters"}])
916
+ expect(subject.titles).to eq([{"title"=>"Silver-Catalyzed [3+3] Annulation of Glycine Imino Esters with Seyferth???Gilbert Reagent To Access Tetrahydro-1,2,4-triazinecarboxylate Esters"}])
642
917
  expect(subject.dates).to eq([{"date"=>"2020-04-08", "dateType"=>"Issued"}, {"date"=>"2020-06-16T23:13:36Z", "dateType"=>"Updated"}])
643
918
  expect(subject.publication_year).to eq("2020")
644
919
  expect(subject.publisher).to eq("Georg Thieme Verlag KG")
@@ -691,13 +966,13 @@ describe Bolognese::Metadata, vcr: true do
691
966
  expect(subject.url).to eq("http://journals.sagepub.com/doi/10.1177/0042098011428175")
692
967
  expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"article-journal", "resourceType"=>"JournalArticle", "resourceTypeGeneral"=>"JournalArticle", "ris"=>"JOUR", "schemaOrg"=>"ScholarlyArticle")
693
968
  expect(subject.creators.length).to eq(1)
694
- expect(subject.creators.first).to eq("familyName"=>"Petrovici", "givenName"=>"Norbert", "name"=>"Petrovici, Norbert", "nameType"=>"Personal")
969
+ expect(subject.creators.first).to eq("affiliation"=>[{"name"=>"??"}], "familyName"=>"Petrovici", "givenName"=>"Norbert", "name"=>"Petrovici, Norbert", "nameType"=>"Personal")
695
970
  expect(subject.titles).to eq([{"title"=>"Workers and the City: Rethinking the Geographies of Power in Post-socialist Urbanisation"}])
696
971
  expect(subject.dates).to include({"date"=>"2011-12-22", "dateType"=>"Issued"})
697
972
  expect(subject.publication_year).to eq("2011")
698
973
  expect(subject.publisher).to eq("SAGE Publications")
699
974
  expect(subject.agency).to eq("crossref")
700
- expect(subject.date_registered).to eq("2017-12-17T00:37:32Z")
975
+ expect(subject.date_registered).to eq("2021-05-16T02:02:38Z")
701
976
  end
702
977
 
703
978
  it "multiple issn" do
@@ -747,7 +1022,7 @@ describe Bolognese::Metadata, vcr: true do
747
1022
  "givenName" => "Jun",
748
1023
  "name" => "Shao, Jun",
749
1024
  "nameIdentifiers" => [{"nameIdentifier"=>"https://orcid.org/0000-0001-6130-6474", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}])
750
- expect(subject.titles).to eq([{"title"=>"The Atmospheric Bridge Communicated the δ<sup>13</sup>C Declineduring the Last Deglaciation to the Global Upper Ocean"}])
1025
+ expect(subject.titles).to eq([{"title"=>"The Atmospheric Bridge Communicated the ??<sup>13</sup>C Decline during the Last Deglaciation to the Global Upper Ocean"}])
751
1026
  expect(subject.id).to eq("https://doi.org/10.5194/cp-2020-95")
752
1027
  expect(subject.identifiers).to be_empty
753
1028
  expect(subject.descriptions.first["description"]).to start_with("Abstract. During the early last glacial termination")
@@ -792,7 +1067,7 @@ describe Bolognese::Metadata, vcr: true do
792
1067
  expect(subject.descriptions).to be_empty
793
1068
  expect(subject.dates).to include({"date"=>"2010-01-01", "dateType"=>"Issued"})
794
1069
  expect(subject.publication_year).to eq("2010")
795
- expect(subject.publisher).to eq("Office of Scientific and Technical Information (OSTI)")
1070
+ expect(subject.publisher).to eq("Office of Scientific and Technical Information (OSTI)")
796
1071
  expect(subject.agency).to eq("crossref")
797
1072
  end
798
1073
 
@@ -805,7 +1080,7 @@ describe Bolognese::Metadata, vcr: true do
805
1080
  expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"article-journal", "resourceType"=>"JournalIssue", "resourceTypeGeneral"=>"Text", "ris"=>"JOUR", "schemaOrg"=>"PublicationIssue")
806
1081
  expect(subject.creators).to eq([{"name"=>":(unav)", "nameType"=>"Organizational"}])
807
1082
  expect(subject.titles).to eq([{"title"=>":(unav)"}])
808
- expect(subject.dates).to eq([{"date"=>"2018-10", "dateType"=>"Issued"}, {"date"=>"2018-10-03T12:09:12Z", "dateType"=>"Updated"}])
1083
+ expect(subject.dates).to eq([{"date"=>"2018-10", "dateType"=>"Issued"}, {"date"=>"2018-10-03T08:09:12Z", "dateType"=>"Updated"}])
809
1084
  expect(subject.publication_year).to eq("2018")
810
1085
  expect(subject.publisher).to eq("Baskent University")
811
1086
  expect(subject.related_identifiers.length).to eq(1)