bolognese 0.9.38 → 0.9.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +12 -11
  3. data/bolognese.gemspec +3 -2
  4. data/lib/bolognese/readers/crossref_reader.rb +5 -1
  5. data/lib/bolognese/version.rb +1 -1
  6. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +13 -11
  7. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +10 -12
  8. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +10 -10
  9. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +10 -10
  10. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +12 -10
  11. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +13 -15
  12. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +14 -14
  13. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +13 -15
  14. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +13 -15
  15. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +13 -15
  16. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +13 -13
  17. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +13 -13
  18. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +13 -13
  19. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +13 -13
  20. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +3 -3
  21. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +2 -2
  22. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +2 -2
  23. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +3 -3
  24. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_doi.yml +11 -13
  25. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +12 -12
  26. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +3 -3
  27. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +2 -2
  28. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +2 -2
  29. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +3 -3
  30. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +3 -3
  31. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +3 -3
  32. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +10 -10
  33. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +10 -12
  34. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +10 -12
  35. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +3 -3
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +11 -11
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +3 -3
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +3 -3
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +3 -3
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_test_resolver.yml +3 -3
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +3 -3
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver.yml +3 -3
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver_http.yml +2 -2
  44. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +21 -23
  45. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +20 -22
  46. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +20 -22
  47. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +22 -22
  48. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +15 -15
  49. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +16 -12
  50. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +12 -14
  51. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +22 -22
  52. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +13 -15
  53. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +14 -16
  54. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +14 -16
  55. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +14 -14
  56. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +13 -13
  57. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +16 -16
  58. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +16 -16
  59. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +11 -15
  60. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +13 -15
  61. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +14 -14
  62. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +3 -3
  63. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/maremma.yml +8 -8
  64. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/no_codemeta_json.yml +7 -7
  65. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/not_found_error.yml +7 -7
  66. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +13 -11
  67. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +11 -11
  68. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +9 -9
  69. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +11 -11
  70. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +11 -13
  71. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +13 -11
  72. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +10 -12
  73. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +15 -15
  74. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +14 -12
  75. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +9 -11
  76. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +13 -13
  77. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +15 -15
  78. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +13 -13
  79. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +14 -16
  80. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +14 -16
  81. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +13 -15
  82. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +15 -15
  83. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +15 -15
  84. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +13 -15
  85. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +15 -15
  86. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +13 -15
  87. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorName.yml +14 -16
  88. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +14 -14
  89. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +2 -2
  90. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +2 -2
  91. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +2 -2
  92. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +3 -3
  93. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +3 -3
  94. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +3 -3
  95. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_ORCID.yml +10 -14
  96. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_jacow_org_scheme.yml +11 -11
  97. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_multiple_name_identifier.yml +10 -14
  98. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_no_ORCID.yml +11 -13
  99. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +10 -14
  100. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_multiple_names_in_display-order.yml +7 -11
  101. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +11 -13
  102. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +12 -16
  103. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +11 -15
  104. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +10 -14
  105. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +11 -11
  106. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +2 -2
  107. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +12 -16
  108. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +7 -11
  109. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +8 -12
  110. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +9 -11
  111. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +12 -12
  112. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +12 -12
  113. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/not_found_error.yml +2 -2
  114. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +7 -7
  115. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +9 -7
  116. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_alternate_identifiers/insert.yml +5 -7
  117. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +5 -5
  118. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +5 -7
  119. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +5 -7
  120. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +6 -8
  121. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +6 -8
  122. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +6 -8
  123. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +6 -6
  124. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +5 -7
  125. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +5 -7
  126. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +5 -7
  127. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +6 -8
  128. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +5 -7
  129. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +5 -7
  130. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +5 -7
  131. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +5 -7
  132. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +2 -2
  133. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +3 -3
  134. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +2 -2
  135. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +2 -2
  136. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +3 -3
  137. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +2 -2
  138. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +13 -13
  139. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +15 -15
  140. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +13 -13
  141. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +11 -13
  142. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +3 -3
  143. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +3 -3
  144. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +3 -3
  145. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +2 -2
  146. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +3 -3
  147. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +3 -3
  148. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +2 -2
  149. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +3 -3
  150. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +2 -2
  151. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +3 -3
  152. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +2 -2
  153. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +2 -2
  154. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +3 -3
  155. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +3 -3
  156. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +3 -3
  157. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +2 -2
  158. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +2 -2
  159. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +3 -3
  160. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +3 -3
  161. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +2 -2
  162. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +3 -3
  163. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +3 -3
  164. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +2 -2
  165. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +2 -2
  166. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +3 -3
  167. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +3 -3
  168. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +3 -3
  169. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +3 -3
  170. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +2 -2
  171. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +3 -3
  172. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +3 -3
  173. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +3 -3
  174. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +3 -3
  175. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +3 -3
  176. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +3 -3
  177. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +3 -3
  178. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +3 -3
  179. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +3 -3
  180. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +3 -3
  181. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +3 -3
  182. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +3 -3
  183. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +3 -3
  184. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +2 -2
  185. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +3 -3
  186. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +2 -2
  187. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +3 -3
  188. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +3 -3
  189. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +2 -2
  190. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +2 -2
  191. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +3 -3
  192. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +5 -7
  193. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +6 -8
  194. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +12 -12
  195. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/maremma.yml +8 -8
  196. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/text.yml +6 -6
  197. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +2 -2
  198. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +3 -3
  199. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +6 -8
  200. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +12 -12
  201. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +5 -5
  202. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +6 -6
  203. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +2 -2
  204. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml +8 -8
  205. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/multiple_abstracts.yml +6 -8
  206. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +6 -8
  207. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +3 -3
  208. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +6 -8
  209. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +6 -8
  210. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +10 -10
  211. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +2 -2
  212. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +3 -3
  213. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +13 -13
  214. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +6 -8
  215. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +10 -10
  216. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +2 -2
  217. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +3 -3
  218. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +12 -12
  219. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +6 -6
  220. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +6 -6
  221. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/maremma.yml +8 -8
  222. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +3 -3
  223. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +3 -3
  224. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +13 -13
  225. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +2 -2
  226. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +6 -8
  227. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +13 -13
  228. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +5 -5
  229. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +6 -8
  230. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +2 -2
  231. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +8 -8
  232. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/with_pages.yml +2 -2
  233. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +8 -6
  234. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +6 -8
  235. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +6 -8
  236. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +6 -8
  237. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +5 -7
  238. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +2 -2
  239. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +8 -8
  240. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +23 -25
  241. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_Citeproc_JSON.yml +18 -18
  242. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_DataCite_JSON.yml +18 -18
  243. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Crossref_DOI.yml +18 -18
  244. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/DataONE.yml +18 -18
  245. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +23 -25
  246. data/spec/readers/crossref_reader_spec.rb +6 -6
  247. metadata +20 -8
  248. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/Dataset.yml +0 -142
  249. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/datacite.yml +0 -37
@@ -25,7 +25,7 @@ describe Bolognese::Metadata, vcr: true do
25
25
  expect(subject.license).to eq("id"=>"http://creativecommons.org/licenses/by/3.0")
26
26
  expect(subject.title).to eq("Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth")
27
27
  expect(subject.date_published).to eq("2014-02-11")
28
- expect(subject.date_modified).to eq("2015-08-11T05:35:02Z")
28
+ expect(subject.date_modified).to eq("2015-08-11T11:35:02Z")
29
29
  expect(subject.is_part_of).to eq("type"=>"Periodical", "title"=>"eLife", "issn"=>"2050-084X")
30
30
  expect(subject.references.count).to eq(25)
31
31
  expect(subject.references[19]).to eq("id"=>"https://doi.org/10.5061/dryad.b835k", "type"=>"CreativeWork")
@@ -56,7 +56,7 @@ describe Bolognese::Metadata, vcr: true do
56
56
  expect(subject.title).to eq("Triose Phosphate Isomerase Deficiency Is Caused by Altered Dimerization–Not Catalytic Inactivity–of the Mutant Enzymes")
57
57
  expect(subject.license).to eq("id"=>"http://creativecommons.org/licenses/by/4.0")
58
58
  expect(subject.date_published).to eq("2006-12-20")
59
- expect(subject.date_modified).to eq("2017-06-17T06:26:15Z")
59
+ expect(subject.date_modified).to eq("2017-06-17T12:26:15Z")
60
60
  expect(subject.pagination).to eq("e30")
61
61
  expect(subject.is_part_of).to eq("type"=>"Periodical", "title"=>"PLoS ONE", "issn"=>"1932-6203")
62
62
  expect(subject.provider).to eq("Crossref")
@@ -76,7 +76,7 @@ describe Bolognese::Metadata, vcr: true do
76
76
  expect(subject.alternate_name).to eq("biorxiv;097196v1")
77
77
  expect(subject.description).to start_with("This article presents a practical roadmap")
78
78
  expect(subject.date_published).to eq("2016-12-28")
79
- expect(subject.date_modified).to eq("2016-12-29T00:10:20Z")
79
+ expect(subject.date_modified).to eq("2016-12-29T06:10:20Z")
80
80
  expect(subject.is_part_of).to be_nil
81
81
  expect(subject.provider).to eq("Crossref")
82
82
  end
@@ -93,7 +93,7 @@ describe Bolognese::Metadata, vcr: true do
93
93
  expect(subject.license).to eq("id"=>"http://doi.wiley.com/10.1002/tdm_license_1.1")
94
94
  expect(subject.title).to eq("THE IMPACT OF PARASITE MANIPULATION AND PREDATOR FORAGING BEHAVIOR ON PREDATOR–PREY COMMUNITIES")
95
95
  expect(subject.date_published).to eq("2006-11")
96
- expect(subject.date_modified).to eq("2017-04-01T00:47:57Z")
96
+ expect(subject.date_modified).to eq("2017-04-01T06:47:57Z")
97
97
  expect(subject.pagination).to eq("2832-2841")
98
98
  expect(subject.is_part_of).to eq("type"=>"Periodical", "title"=>"Ecology", "issn"=>"0012-9658")
99
99
  expect(subject.provider).to eq("Crossref")
@@ -112,7 +112,7 @@ describe Bolognese::Metadata, vcr: true do
112
112
  expect(subject.license).to eq("id"=>"http://creativecommons.org/licenses/by/3.0")
113
113
  expect(subject.title).to eq("Delineating a Retesting Zone Using Receiver Operating Characteristic Analysis on Serial QuantiFERON Tuberculosis Test Results in US Healthcare Workers")
114
114
  expect(subject.date_published).to eq("2012")
115
- expect(subject.date_modified).to eq("2016-08-02T12:42:41Z")
115
+ expect(subject.date_modified).to eq("2016-08-02T18:42:41Z")
116
116
  expect(subject.pagination).to eq("1-7")
117
117
  expect(subject.is_part_of).to eq("type"=>"Periodical", "title"=>"Pulmonary Medicine", "issn"=>["2090-1836", "2090-1844"])
118
118
  expect(subject.provider).to eq("Crossref")
@@ -130,7 +130,7 @@ describe Bolognese::Metadata, vcr: true do
130
130
  expect(subject.author.first).to eq("type"=>"Person", "name"=>"Sarah E. Beck", "givenName"=>"Sarah E.", "familyName"=>"Beck")
131
131
  expect(subject.title).to eq("Paving the path to HIV neurotherapy: Predicting SIV CNS disease")
132
132
  expect(subject.date_published).to eq("2015-07")
133
- expect(subject.date_modified).to eq("2017-06-23T02:44:48Z")
133
+ expect(subject.date_modified).to eq("2017-06-23T08:44:48Z")
134
134
  expect(subject.is_part_of).to eq("type"=>"Periodical", "title"=>"European Journal of Pharmacology", "issn"=>"00142999")
135
135
  expect(subject.provider).to eq("Crossref")
136
136
  end
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: 0.9.38
4
+ version: 0.9.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2017-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -220,6 +220,20 @@ dependencies:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
222
  version: 0.2.0
223
+ - !ruby/object:Gem::Dependency
224
+ name: oj
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: 2.8.3
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: 2.8.3
223
237
  - !ruby/object:Gem::Dependency
224
238
  name: rdf-turtle
225
239
  requirement: !ruby/object:Gem::Requirement
@@ -395,7 +409,7 @@ dependencies:
395
409
  version: '1.0'
396
410
  - - ">="
397
411
  - !ruby/object:Gem::Version
398
- version: 1.0.0
412
+ version: 1.0.8
399
413
  type: :development
400
414
  prerelease: false
401
415
  version_requirements: !ruby/object:Gem::Requirement
@@ -405,21 +419,21 @@ dependencies:
405
419
  version: '1.0'
406
420
  - - ">="
407
421
  - !ruby/object:Gem::Version
408
- version: 1.0.0
422
+ version: 1.0.8
409
423
  - !ruby/object:Gem::Dependency
410
424
  name: simplecov
411
425
  requirement: !ruby/object:Gem::Requirement
412
426
  requirements:
413
427
  - - "~>"
414
428
  - !ruby/object:Gem::Version
415
- version: 0.14.1
429
+ version: '0.1'
416
430
  type: :development
417
431
  prerelease: false
418
432
  version_requirements: !ruby/object:Gem::Requirement
419
433
  requirements:
420
434
  - - "~>"
421
435
  - !ruby/object:Gem::Version
422
- version: 0.14.1
436
+ version: '0.1'
423
437
  description: Ruby gem and command-line utility for conversion of DOI metadata from
424
438
  and to different metadata formats, including schema.org.
425
439
  email: mfenner@datacite.org
@@ -553,7 +567,6 @@ files:
553
567
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml
554
568
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml
555
569
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml
556
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/Dataset.yml
557
570
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_doi.yml
558
571
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml
559
572
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml
@@ -714,7 +727,6 @@ files:
714
727
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml
715
728
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml
716
729
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml
717
- - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/datacite.yml
718
730
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml
719
731
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml
720
732
  - spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml
@@ -1,142 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api.datacite.org/prefixes/10.5061
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Maremma - https://github.com/datacite/maremma
12
- Accept:
13
- - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
- response:
15
- status:
16
- code: 200
17
- message: OK
18
- headers:
19
- Access-Control-Allow-Headers:
20
- - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
21
- Access-Control-Allow-Methods:
22
- - GET, POST, OPTIONS
23
- Access-Control-Allow-Origin:
24
- - "*"
25
- Access-Control-Max-Age:
26
- - '1728000'
27
- Cache-Control:
28
- - max-age=0, private, must-revalidate
29
- Content-Type:
30
- - application/vnd.api+json; charset=utf-8
31
- Date:
32
- - Tue, 25 Jul 2017 05:25:39 GMT
33
- Etag:
34
- - W/"1eb3f4f371821b1becc6cd25a71755ce"
35
- Server:
36
- - openresty/1.11.2.2
37
- Status:
38
- - 200 OK
39
- Vary:
40
- - Accept-Encoding
41
- Via:
42
- - kong/0.10.3
43
- X-Content-Type-Options:
44
- - nosniff
45
- X-Frame-Options:
46
- - SAMEORIGIN
47
- X-Kong-Proxy-Latency:
48
- - '1'
49
- X-Kong-Upstream-Latency:
50
- - '524'
51
- X-Powered-By:
52
- - Phusion Passenger 5.1.6
53
- X-Ratelimit-Limit-Hour:
54
- - '100000'
55
- X-Ratelimit-Remaining-Hour:
56
- - '99999'
57
- X-Request-Id:
58
- - 48473f14-1946-4cb8-bdc7-62a5a7ad849a
59
- X-Runtime:
60
- - '0.523006'
61
- X-Xss-Protection:
62
- - 1; mode=block
63
- Connection:
64
- - keep-alive
65
- body:
66
- encoding: UTF-8
67
- string: '{"data":{"id":"10.5061","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:07Z"}}}'
68
- http_version:
69
- recorded_at: Tue, 25 Jul 2017 05:25:37 GMT
70
- - request:
71
- method: get
72
- uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5061/dryad.8515&wt=json
73
- body:
74
- encoding: US-ASCII
75
- string: ''
76
- headers:
77
- User-Agent:
78
- - Maremma - https://github.com/datacite/maremma
79
- Accept:
80
- - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
81
- response:
82
- status:
83
- code: 200
84
- message: OK
85
- headers:
86
- Access-Control-Allow-Methods:
87
- - GET, POST, OPTIONS
88
- Access-Control-Allow-Origin:
89
- - "*"
90
- Content-Type:
91
- - application/json;charset=UTF-8
92
- Date:
93
- - Tue, 25 Jul 2017 05:25:39 GMT
94
- Server:
95
- - openresty/1.11.2.2
96
- Content-Length:
97
- - '4111'
98
- Connection:
99
- - keep-alive
100
- body:
101
- encoding: UTF-8
102
- string: '{"responseHeader":{"status":0,"QTime":2},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"CDL.DRYAD","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01FVFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwub3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTA2MS9EUllBRC44NTE1PC9pZGVudGlmaWVyPgogIDx2ZXJzaW9uPjE8L3ZlcnNpb24+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5PbGxvbW8sIEJlbmphbWluPC9jcmVhdG9yTmFtZT4KICAgIDwvY3JlYXRvcj4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWU+RHVyYW5kLCBQYXRyaWNr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ICAgIDxyZWxhdGVkSWRlbnRpZmllciByZWxhdGVkSWRlbnRpZmllclR5cGU9IkRPSSIgcmVsYXRpb25UeXBlPSJJc1JlZmVyZW5jZWRCeSI+MTAuMTM3MS9KT1VSTkFMLlBQQVQuMTAwMDQ0NjwvcmVsYXRlZElkZW50aWZpZXI+CiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSXNTdXBwbGVtZW50VG8iPjEwLjEzNzEvSk9VUk5BTC5QUEFULjEwMDA0NDY8L3JlbGF0ZWRJZGVudGlmaWVyPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iUE1JRCIgcmVsYXRpb25UeXBlPSJJc1JlZmVyZW5jZWRCeSI+MTk0Nzg4Nzc8L3JlbGF0ZWRJZGVudGlmaWVyPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iUE1JRCIgcmVsYXRpb25UeXBlPSJJc1N1cHBsZW1lbnRUbyI+MTk0Nzg4Nzc8L3JlbGF0ZWRJZGVudGlmaWVyPgogIDwvcmVsYXRlZElkZW50aWZpZXJzPgogIDxyaWdodHNMaXN0PgogICAgPHJpZ2h0cyByaWdodHNVUkk9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8iLz4KICA8L3JpZ2h0c0xpc3Q+CjwvcmVzb3VyY2U+","allocator_symbol":"CDL","minted":"2011-02-01T17:32:02Z","updated":"2017-07-14T01:32:56Z","doi":"10.5061/DRYAD.8515"}]}}
103
-
104
- '
105
- http_version:
106
- recorded_at: Tue, 25 Jul 2017 05:25:37 GMT
107
- - request:
108
- method: head
109
- uri: https://doi.org/10.5061/dryad.8515
110
- body:
111
- encoding: US-ASCII
112
- string: ''
113
- headers:
114
- User-Agent:
115
- - Maremma - https://github.com/datacite/maremma
116
- Accept:
117
- - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
118
- response:
119
- status:
120
- code: 303
121
- message: See Other
122
- headers:
123
- Server:
124
- - Apache-Coyote/1.1
125
- Vary:
126
- - Accept
127
- Location:
128
- - http://datadryad.org/resource/doi:10.5061/dryad.8515
129
- Expires:
130
- - Tue, 25 Jul 2017 05:27:43 GMT
131
- Content-Type:
132
- - text/html;charset=utf-8
133
- Content-Length:
134
- - '189'
135
- Date:
136
- - Tue, 25 Jul 2017 05:25:39 GMT
137
- body:
138
- encoding: UTF-8
139
- string: ''
140
- http_version:
141
- recorded_at: Tue, 25 Jul 2017 05:25:38 GMT
142
- recorded_with: VCR 3.0.3
@@ -1,37 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Maremma - https://github.com/datacite/maremma
12
- Accept:
13
- - text/xml
14
- response:
15
- status:
16
- code: 200
17
- message: OK
18
- headers:
19
- Server:
20
- - Apache-Coyote/1.1
21
- Crossref-Deployment-Name:
22
- - cr7-1
23
- Content-Type:
24
- - text/xml;charset=UTF-8
25
- Content-Language:
26
- - en-US
27
- Date:
28
- - Sun, 23 Jul 2017 11:22:17 GMT
29
- Connection:
30
- - close
31
- body:
32
- encoding: ASCII-8BIT
33
- string: !binary |-
34
- PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1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