bolognese 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +2 -3
  4. data/lib/bolognese.rb +1 -0
  5. data/lib/bolognese/datacite.rb +6 -2
  6. data/lib/bolognese/version.rb +1 -1
  7. data/spec/codemeta_spec.rb +1 -1
  8. data/spec/crossref_spec.rb +2 -2
  9. data/spec/fixtures/vcr_cassettes/Bolognese_Bibtex/get_metadata_as_rdf_xml/Crossref_DOI.yml +18 -4598
  10. data/spec/fixtures/vcr_cassettes/Bolognese_Bibtex/get_metadata_as_turtle/Crossref_DOI.yml +18 -738
  11. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +14 -22
  12. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +14 -22
  13. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +14 -24
  14. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +16 -22
  15. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +14 -22
  16. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +15 -160
  17. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +15 -160
  18. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +17 -160
  19. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +17 -160
  20. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +17 -160
  21. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +519 -528
  22. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +519 -528
  23. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +519 -528
  24. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +519 -528
  25. data/spec/fixtures/vcr_cassettes/Bolognese_Citeproc/get_metadata_as_rdf_xml/BlogPosting.yml +18 -4598
  26. data/spec/fixtures/vcr_cassettes/Bolognese_Citeproc/get_metadata_as_turtle/BlogPosting.yml +18 -18
  27. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/maremma.yml +25 -22
  28. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/maremma_schema_org_JSON.yml +23 -20
  29. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/no_codemeta_json.yml +7 -7
  30. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/not_found_error.yml +7 -7
  31. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_bibtex/maremma.yml +24 -21
  32. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_citeproc/maremma.yml +10 -10
  33. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_datacite_xml/maremma.yml +26 -23
  34. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_rdf_xml/maremma.yml +26 -4606
  35. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_ris/maremma.yml +7 -7
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_schema_org_JSON/maremma.yml +26 -23
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_turtle/maremma.yml +28 -4608
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/author.yml +9 -5
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/no_author.yml +9 -5
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/single_author.yml +9 -5
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/with_organization.yml +9 -5
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_ORCID_ID.yml +9 -145
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_SICI_DOI.yml +173 -98
  44. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_data_citation.yml +9 -187
  45. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/Schema_org_JSON.yml +9 -5
  46. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/date_in_future.yml +9 -83
  47. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/journal_article.yml +9 -155
  48. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/not_found_error.yml +2 -92
  49. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/posted_content.yml +9 -187
  50. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_data_citation.yml +9 -5
  51. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_pages.yml +9 -5
  52. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/journal_article.yml +5 -5
  53. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/with_pages.yml +5 -5
  54. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_ORCID_ID.yml +9 -5
  55. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_data_citation.yml +9 -5
  56. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_editor.yml +9 -5
  57. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/journal_article.yml +23 -23
  58. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/with_pages.yml +23 -23
  59. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/journal_article.yml +5 -5
  60. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/with_pages.yml +5 -5
  61. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_string/DOI_with_data_citation.yml +9 -5
  62. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/journal_article.yml +23 -23
  63. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/with_pages.yml +23 -4603
  64. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_ORCID.yml +14 -129
  65. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_no_ORCID.yml +13 -109
  66. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_familyName.yml +13 -130
  67. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order.yml +12 -160
  68. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order_with_ORCID.yml +14 -151
  69. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_sort-order.yml +13 -148
  70. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/is_organization.yml +9 -5
  71. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_comma.yml +9 -5
  72. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_family_name.yml +9 -5
  73. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_id.yml +9 -5
  74. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_no_info.yml +9 -5
  75. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_organization.yml +9 -5
  76. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_person.yml +9 -5
  77. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/BlogPosting.yml +14 -129
  78. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Dataset.yml +14 -147
  79. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Date.yml +14 -108
  80. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Funding_schema_version_3.yml +14 -114
  81. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Funding_schema_version_4.yml +13 -449
  82. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON_IsSupplementTo.yml +14 -145
  83. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON_isReferencedBy.yml +14 -147
  84. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/is_identical_to.yml +14 -150
  85. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/multiple_licenses.yml +13 -159
  86. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_bibtex/BlogPosting.yml +14 -129
  87. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_bibtex/Dataset.yml +14 -147
  88. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/BlogPosting.yml +8 -125
  89. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/Dataset.yml +10 -143
  90. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_codemeta/SoftwareSourceCode.yml +14 -107
  91. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_datacite_xml_4_0/Dataset.yml +14 -147
  92. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdf_xml/BlogPosting.yml +27 -142
  93. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/BlogPosting.yml +9 -124
  94. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/Dataset.yml +10 -143
  95. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_turtle/BlogPosting.yml +27 -142
  96. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_turtle/Dataset.yml +28 -161
  97. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_alternate_identifiers/insert.yml +13 -148
  98. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_contributors/none.yml +14 -147
  99. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_creators/insert.yml +14 -147
  100. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_dates/insert.yml +14 -147
  101. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_descriptions/insert.yml +13 -130
  102. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_identifier/doi.yml +14 -147
  103. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator_only_name.yml +13 -148
  104. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publication_year/insert.yml +13 -148
  105. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publisher/insert.yml +13 -148
  106. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/insert.yml +13 -148
  107. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/related_identifier.yml +14 -147
  108. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_resource_type/insert.yml +14 -147
  109. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_rights_list/insert.yml +14 -147
  110. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_subjects/insert.yml +14 -147
  111. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_titles/insert.yml +14 -147
  112. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_version/insert.yml +14 -147
  113. data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_rdf_xml/BlogPosting.yml +27 -142
  114. data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_turtle/BlogPosting.yml +18 -18
  115. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +5 -17
  116. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +5 -17
  117. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +7 -17
  118. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +8 -16
  119. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +5 -19
  120. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +5 -17
  121. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +5 -19
  122. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +7 -17
  123. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/generate/datacite.yml +10 -143
  124. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/read/datacite.yml +10 -143
  125. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/BlogPosting.yml +538 -538
  126. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/BlogPosting_schema_org_JSON.yml +538 -538
  127. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/not_found_error.yml +2 -2
  128. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_bibtex/with_data_citation.yml +538 -538
  129. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_citeproc/BlogPosting.yml +12 -12
  130. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_datacite_xml/with_data_citation.yml +538 -538
  131. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_ris/BlogPosting.yml +12 -12
  132. metadata +2 -67
  133. data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_ris/BlogPosting.yml +0 -100
  134. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/author_from_schema_org/with_id.yml +0 -930
  135. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/author_to_schema_org/with_id.yml +0 -930
  136. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/from_schema_org/with_id.yml +0 -930
  137. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/DOI_with_ORCID_ID.yml +0 -506
  138. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/DOI_with_data_citation.yml +0 -901
  139. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/SICI_doi.yml +0 -930
  140. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi.yml +0 -930
  141. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_from_url_without_doi_proxy.yml +0 -930
  142. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_prefix_too_long.yml +0 -930
  143. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_prefix_with_string.yml +0 -930
  144. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_with_protocol.yml +0 -930
  145. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/dx_doi_org_url.yml +0 -930
  146. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/https_url.yml +0 -930
  147. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/not_valid_doi_prefix.yml +0 -930
  148. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/doi.yml +0 -930
  149. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/doi_as_url.yml +0 -930
  150. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/ftp.yml +0 -930
  151. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/invalid_url.yml +0 -930
  152. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/string.yml +0 -930
  153. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/url.yml +0 -930
  154. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/url_with_utf-8.yml +0 -930
  155. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_ids/doi.yml +0 -930
  156. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_ids/url.yml +0 -930
  157. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_url/doi.yml +0 -930
  158. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_url/url.yml +0 -930
  159. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/array.yml +0 -930
  160. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/hash.yml +0 -930
  161. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/nil.yml +0 -930
  162. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/string.yml +0 -930
  163. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/array.yml +0 -930
  164. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/hash.yml +0 -930
  165. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/nil.yml +0 -930
  166. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/string.yml +0 -930
  167. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/sanitize/should_only_keep_specific_tags.yml +0 -930
  168. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/sanitize/should_remove_a_tags.yml +0 -930
  169. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/to_schema_org/with_id.yml +0 -930
  170. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/DOI.yml +0 -930
  171. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/URL.yml +0 -930
  172. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/string.yml +0 -930
  173. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Citeproc_JSON.yml +0 -173
  174. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON.yml +0 -173
  175. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_datacite_xml_4_0/Funding.yml +0 -474
  176. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_microdata/BlogPosting.yml +0 -4735
  177. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdf/xml/BlogPosting.yml +0 -4735
  178. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdf/xml/Dataset.yml +0 -4753
  179. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdfa/BlogPosting.yml +0 -4735
  180. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdfxml/BlogPosting.yml +0 -9315
  181. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_string/Dataset.yml +0 -173
  182. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator_given_and_family_name.yml +0 -173
  183. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/rel_identifiers.yml +0 -173
  184. data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/BlogPosting.yml +0 -4735
  185. data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_bibtex/BlogPosting.yml +0 -155
  186. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref.yml +0 -44
  187. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref_doi_not_url.yml +0 -44
  188. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite.yml +0 -44
  189. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite_doi_http.yml +0 -44
  190. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/orcid.yml +0 -44
  191. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/crossref.yml +0 -44
  192. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/crossref_doi_not_url.yml +0 -44
  193. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/datacite.yml +0 -44
  194. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/datacite_doi_http.yml +0 -44
  195. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write/datacite_to_bibtex.yml +0 -173
  196. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_rdf_xml/BlogPosting.yml +0 -5233
  197. data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_turtle/BlogPosting.yml +0 -5233
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://doi.org/10.5438/4k3m-nyvg
5
+ uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,78 +10,7 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
12
12
  Accept:
13
- - application/vnd.datacite.datacite+xml
14
- response:
15
- status:
16
- code: 303
17
- message: ''
18
- headers:
19
- Server:
20
- - Apache-Coyote/1.1
21
- Vary:
22
- - Accept
23
- Location:
24
- - http://data.datacite.org/10.5438%2F4k3m-nyvg
25
- Expires:
26
- - Sat, 08 Apr 2017 16:41:58 GMT
27
- Content-Type:
28
- - text/html;charset=utf-8
29
- Content-Length:
30
- - '173'
31
- Date:
32
- - Sat, 08 Apr 2017 16:12:45 GMT
33
- body:
34
- encoding: UTF-8
35
- string: |-
36
- <html><head><title>Handle Redirect</title></head>
37
- <body><a href="http://data.datacite.org/10.5438%2F4k3m-nyvg">http://data.datacite.org/10.5438%2F4k3m-nyvg</a></body></html>
38
- http_version:
39
- recorded_at: Sat, 08 Apr 2017 16:12:46 GMT
40
- - request:
41
- method: get
42
- uri: http://data.datacite.org/10.5438%2F4k3m-nyvg
43
- body:
44
- encoding: US-ASCII
45
- string: ''
46
- headers:
47
- User-Agent:
48
- - Maremma - https://github.com/datacite/maremma
49
- Accept:
50
- - application/vnd.datacite.datacite+xml
51
- response:
52
- status:
53
- code: 301
54
- message: ''
55
- headers:
56
- Content-Type:
57
- - text/html
58
- Date:
59
- - Sat, 08 Apr 2017 16:12:46 GMT
60
- Location:
61
- - https://data.datacite.org/10.5438%2F4k3m-nyvg
62
- Server:
63
- - openresty/1.11.2.2
64
- Content-Length:
65
- - '191'
66
- Connection:
67
- - keep-alive
68
- body:
69
- encoding: UTF-8
70
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
71
- bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
72
- http_version:
73
- recorded_at: Sat, 08 Apr 2017 16:12:46 GMT
74
- - request:
75
- method: get
76
- uri: https://data.datacite.org/10.5438%2F4k3m-nyvg
77
- body:
78
- encoding: US-ASCII
79
- string: ''
80
- headers:
81
- User-Agent:
82
- - Maremma - https://github.com/datacite/maremma
83
- Accept:
84
- - application/vnd.datacite.datacite+xml
13
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
85
14
  response:
86
15
  status:
87
16
  code: 200
@@ -91,65 +20,19 @@ http_interactions:
91
20
  - GET, POST, OPTIONS
92
21
  Access-Control-Allow-Origin:
93
22
  - "*"
94
- Cache-Control:
95
- - no-transform, max-age=3600
96
23
  Content-Type:
97
- - application/vnd.datacite.datacite+xml
24
+ - application/json;charset=UTF-8
98
25
  Date:
99
- - Sat, 08 Apr 2017 16:12:46 GMT
100
- Last-Modified:
101
- - Mon, 09 Jan 2017 13:53:11 GMT
26
+ - Tue, 18 Apr 2017 18:29:20 GMT
102
27
  Server:
103
28
  - openresty/1.11.2.2
104
- Vary:
105
- - Accept
106
- Content-Length:
107
- - '2045'
108
29
  Connection:
109
30
  - keep-alive
110
31
  body:
111
32
  encoding: UTF-8
112
- string: |
113
- <?xml version="1.0" encoding="UTF-8"?>
114
- <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd">
115
- <identifier identifierType="DOI">10.5438/4K3M-NYVG</identifier>
116
- <creators>
117
- <creator>
118
- <creatorName>Fenner, Martin</creatorName>
119
- <givenName>Martin</givenName>
120
- <familyName>Fenner</familyName>
121
- <nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">0000-0003-1419-2405</nameIdentifier>
122
- </creator>
123
- </creators>
124
- <titles>
125
- <title>Eating your own Dog Food</title>
126
- </titles>
127
- <publisher>DataCite</publisher>
128
- <publicationYear>2016</publicationYear>
129
- <resourceType resourceTypeGeneral="Text">BlogPosting</resourceType>
130
- <alternateIdentifiers>
131
- <alternateIdentifier alternateIdentifierType="Local accession number">MS-49-3632-5083</alternateIdentifier>
132
- </alternateIdentifiers>
133
- <subjects>
134
- <subject>datacite</subject>
135
- <subject>doi</subject>
136
- <subject>metadata</subject>
137
- </subjects>
138
- <dates>
139
- <date dateType="Created">2016-12-20</date>
140
- <date dateType="Issued">2016-12-20</date>
141
- <date dateType="Updated">2016-12-20</date>
142
- </dates>
143
- <relatedIdentifiers>
144
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/0012</relatedIdentifier>
145
- <relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/55E5-T5C0</relatedIdentifier>
146
- <relatedIdentifier relatedIdentifierType="DOI" relationType="IsPartOf">10.5438/0000-00SS</relatedIdentifier>
147
- </relatedIdentifiers>
148
- <version>1.0</version>
149
- <descriptions>
150
- <description descriptionType="Abstract">Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...</description>
151
- </descriptions>
152
- </resource>
33
+ string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"minted":"2016-12-19T20:49:21Z","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTQzOC80SzNNLU5ZVkc8L2lkZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5GZW5uZXIsIE1hcnRpbjwvY3JlYXRvck5hbWU+CiAgICAgIDxnaXZlbk5hbWU+TWFydGluPC9naXZlbk5hbWU+CiAgICAgIDxmYW1pbHlOYW1lPkZlbm5lcjwvZmFtaWx5TmFtZT4KICAgICAgPG5hbWVJZGV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://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml"]}]}}
34
+
35
+ '
153
36
  http_version:
154
- recorded_at: Sat, 08 Apr 2017 16:12:46 GMT
37
+ recorded_at: Tue, 18 Apr 2017 18:29:20 GMT
155
38
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://doi.org/10.5061/dryad.8515
5
+ uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.5061/dryad.8515&wt=json
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,78 +10,7 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
12
12
  Accept:
13
- - application/vnd.datacite.datacite+xml
14
- response:
15
- status:
16
- code: 303
17
- message: ''
18
- headers:
19
- Server:
20
- - Apache-Coyote/1.1
21
- Vary:
22
- - Accept
23
- Location:
24
- - http://data.datacite.org/10.5061%2Fdryad.8515
25
- Expires:
26
- - Sat, 08 Apr 2017 16:41:58 GMT
27
- Content-Type:
28
- - text/html;charset=utf-8
29
- Content-Length:
30
- - '175'
31
- Date:
32
- - Sat, 08 Apr 2017 16:12:44 GMT
33
- body:
34
- encoding: UTF-8
35
- string: |-
36
- <html><head><title>Handle Redirect</title></head>
37
- <body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
38
- http_version:
39
- recorded_at: Sat, 08 Apr 2017 16:12:44 GMT
40
- - request:
41
- method: get
42
- uri: http://data.datacite.org/10.5061%2Fdryad.8515
43
- body:
44
- encoding: US-ASCII
45
- string: ''
46
- headers:
47
- User-Agent:
48
- - Maremma - https://github.com/datacite/maremma
49
- Accept:
50
- - application/vnd.datacite.datacite+xml
51
- response:
52
- status:
53
- code: 301
54
- message: ''
55
- headers:
56
- Content-Type:
57
- - text/html
58
- Date:
59
- - Sat, 08 Apr 2017 16:12:45 GMT
60
- Location:
61
- - https://data.datacite.org/10.5061%2Fdryad.8515
62
- Server:
63
- - openresty/1.11.2.2
64
- Content-Length:
65
- - '191'
66
- Connection:
67
- - keep-alive
68
- body:
69
- encoding: UTF-8
70
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
71
- bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
72
- http_version:
73
- recorded_at: Sat, 08 Apr 2017 16:12:45 GMT
74
- - request:
75
- method: get
76
- uri: https://data.datacite.org/10.5061%2Fdryad.8515
77
- body:
78
- encoding: US-ASCII
79
- string: ''
80
- headers:
81
- User-Agent:
82
- - Maremma - https://github.com/datacite/maremma
83
- Accept:
84
- - application/vnd.datacite.datacite+xml
13
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
85
14
  response:
86
15
  status:
87
16
  code: 200
@@ -91,83 +20,21 @@ http_interactions:
91
20
  - GET, POST, OPTIONS
92
21
  Access-Control-Allow-Origin:
93
22
  - "*"
94
- Cache-Control:
95
- - no-transform, max-age=3600
96
23
  Content-Type:
97
- - application/vnd.datacite.datacite+xml
24
+ - application/json;charset=UTF-8
98
25
  Date:
99
- - Sat, 08 Apr 2017 16:12:45 GMT
100
- Last-Modified:
101
- - Sat, 04 Feb 2017 17:54:37 GMT
26
+ - Tue, 18 Apr 2017 18:29:20 GMT
102
27
  Server:
103
28
  - openresty/1.11.2.2
104
- Vary:
105
- - Accept
106
29
  Content-Length:
107
- - '2601'
30
+ - '3658'
108
31
  Connection:
109
32
  - keep-alive
110
33
  body:
111
- encoding: ASCII-8BIT
112
- string: !binary |-
113
- PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291
114
- cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwt
115
- MyIgeG1sbnM6eHNpPSJodHRwO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ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElk
166
- ZW50aWZpZXJUeXBlPSJQTUlEIiByZWxhdGlvblR5cGU9IklzUmVmZXJlbmNl
167
- ZEJ5Ij4xOTQ3ODg3NzwvcmVsYXRlZElkZW50aWZpZXI+ICA8L3JlbGF0ZWRJ
168
- ZGVudGlmaWVycz4gIDxyaWdodHNMaXN0PiAgICA8cmlnaHRzIHJpZ2h0c1VS
169
- ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
170
- cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
34
+ encoding: UTF-8
35
+ string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"minted":"2011-02-01T17:32:02Z","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01FVFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwub3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+ICA8aWRlbnRp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JlbGF0aW9uVHlwZT0iSGFzUGFydCI+MTAuNTA2MS9EUllBRC44NTE1LzE8L3JlbGF0ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSGFzUGFydCI+MTAuNTA2MS9EUllBRC44NTE1LzI8L3JlbGF0ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSXNSZWZlcmVuY2VkQnkiPjEwLjEzNzEvSk9VUk5BTC5QUEFULjEwMDA0NDY8L3JlbGF0ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJQTUlEIiByZWxhdGlvblR5cGU9IklzUmVmZXJlbmNlZEJ5Ij4xOTQ3ODg3NzwvcmVsYXRlZElkZW50aWZpZXI+ICA8L3JlbGF0ZWRJZGVudGlmaWVycz4gIDxyaWdodHNMaXN0PiAgICA8cmlnaHRzIHJpZ2h0c1VSST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3plcm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+","updated":"2017-02-04T17:54:39Z","doi":"10.5061/DRYAD.8515"}]}}
36
+
37
+ '
171
38
  http_version:
172
- recorded_at: Sat, 08 Apr 2017 16:12:45 GMT
39
+ recorded_at: Tue, 18 Apr 2017 18:29:20 GMT
173
40
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://doi.org/10.5063/f1m61h5x
5
+ uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.5063/f1m61h5x&wt=json
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,124 +10,31 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
12
12
  Accept:
13
- - application/vnd.datacite.datacite+xml
13
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
14
  response:
15
15
  status:
16
- code: 303
16
+ code: 200
17
17
  message: ''
18
18
  headers:
19
- Server:
20
- - Apache-Coyote/1.1
21
- Vary:
22
- - Accept
23
- Location:
24
- - http://data.datacite.org/10.5063%2Ff1m61h5x
25
- Expires:
26
- - Fri, 24 Feb 2017 00:31:22 GMT
19
+ Access-Control-Allow-Methods:
20
+ - GET, POST, OPTIONS
21
+ Access-Control-Allow-Origin:
22
+ - "*"
27
23
  Content-Type:
28
- - text/html;charset=utf-8
29
- Content-Length:
30
- - '171'
24
+ - application/json;charset=UTF-8
31
25
  Date:
32
- - Thu, 23 Feb 2017 23:41:59 GMT
33
- body:
34
- encoding: UTF-8
35
- string: |-
36
- <html><head><title>Handle Redirect</title></head>
37
- <body><a href="http://data.datacite.org/10.5063%2Ff1m61h5x">http://data.datacite.org/10.5063%2Ff1m61h5x</a></body></html>
38
- http_version:
39
- recorded_at: Thu, 23 Feb 2017 23:42:00 GMT
40
- - request:
41
- method: get
42
- uri: http://data.datacite.org/10.5063%2Ff1m61h5x
43
- body:
44
- encoding: US-ASCII
45
- string: ''
46
- headers:
47
- User-Agent:
48
- - Maremma - https://github.com/datacite/maremma
49
- Accept:
50
- - application/vnd.datacite.datacite+xml
51
- response:
52
- status:
53
- code: 301
54
- message: ''
55
- headers:
26
+ - Tue, 18 Apr 2017 18:29:20 GMT
56
27
  Server:
57
28
  - openresty/1.11.2.2
58
- Date:
59
- - Thu, 23 Feb 2017 23:42:00 GMT
60
- Content-Type:
61
- - text/html
62
29
  Content-Length:
63
- - '191'
30
+ - '1280'
64
31
  Connection:
65
32
  - keep-alive
66
- Location:
67
- - https://data.datacite.org/10.5063%2Ff1m61h5x
68
- body:
69
- encoding: UTF-8
70
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
71
- bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
72
- http_version:
73
- recorded_at: Thu, 23 Feb 2017 23:42:00 GMT
74
- - request:
75
- method: get
76
- uri: https://data.datacite.org/10.5063%2Ff1m61h5x
77
- body:
78
- encoding: US-ASCII
79
- string: ''
80
- headers:
81
- User-Agent:
82
- - Maremma - https://github.com/datacite/maremma
83
- Accept:
84
- - application/vnd.datacite.datacite+xml
85
- response:
86
- status:
87
- code: 200
88
- message: ''
89
- headers:
90
- Server:
91
- - openresty/1.11.2.2
92
- Date:
93
- - Thu, 23 Feb 2017 23:42:01 GMT
94
- Content-Type:
95
- - application/vnd.datacite.datacite+xml
96
- Content-Length:
97
- - '819'
98
- Connection:
99
- - keep-alive
100
- Cache-Control:
101
- - no-transform, max-age=3600
102
- Last-Modified:
103
- - Sat, 18 Jun 2016 04:33:32 GMT
104
- Vary:
105
- - Accept
106
- Access-Control-Allow-Origin:
107
- - "*"
108
- Access-Control-Allow-Methods:
109
- - GET, POST, OPTIONS
110
33
  body:
111
34
  encoding: UTF-8
112
- string: |
113
- <?xml version="1.0" encoding="UTF-8"?>
114
- <resource xmlns="http://datacite.org/schema/kernel-3"
115
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
116
- xsi:schemaLocation="http://datacite.org/schema/kernel-3
117
- http://schema.datacite.org/meta/kernel-3/metadata.xsd">
118
- <identifier identifierType="DOI">10.5063/F1M61H5X</identifier>
119
- <creators>
120
- <creator>
121
- <creatorName>Jones, Matthew B.; Slaughter, Peter; Nahf, Rob; Boettiger, Carl ; Jones, Chris; Read, Jordan; Walker, Lauren; Hart, Edmund; Chamberlain, Scott</creatorName>
122
- </creator>
123
- </creators>
124
- <titles>
125
- <title>dataone: R interface to the DataONE network of data repositories</title>
126
- </titles>
127
- <publisher>KNB Data Repository</publisher>
128
- <publicationYear>2016</publicationYear>
129
- <resourceType resourceTypeGeneral="Software"/>
130
- </resource>
35
+ string: '{"responseHeader":{"status":0,"QTime":7},"response":{"numFound":1,"start":0,"docs":[{"minted":"2016-03-12T03:15:04Z","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIKICB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIgogIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL2RhdGFjaXRlLm9yZy9zY2hlbWEva2VybmVsLTMKICAgIGh0dHA6Ly9zY2hlbWEuZGF0YWNpdGUub3JnL21ldGEva2VybmVsLTMvbWV0YWRhdGEueHNkIj4KICA8aWRlbnRpZmllciBpZGVudGlmaWVyVHlwZT0iRE9JIj4xMC41MDYzL0YxTTYxSDVYPC9pZGVudGlmaWVyPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWU+Sm9uZXMsIE1hdHRoZXcgQi47IFNsYXVnaHRlciwgUGV0ZXI7IE5haGYsIFJvYjsgQm9ldHRpZ2VyLCBDYXJsIDsgSm9uZXMsIENocmlzOyBSZWFkLCBKb3JkYW47IFdhbGtlciwgTGF1cmVuOyBIYXJ0LCBFZG11bmQ7IENoYW1iZXJsYWluLCBTY290dDwvY3JlYXRvck5hbWU+CiAgICA8L2NyZWF0b3I+CiAgPC9jcmVhdG9ycz4KICA8dGl0bGVzPgogICAgPHRpdGxlPmRhdGFvbmU6IFIgaW50ZXJmYWNlIHRvIHRoZSBEYXRhT05FIG5ldHdvcmsgb2YgZGF0YSByZXBvc2l0b3JpZXM8L3RpdGxlPgogIDwvdGl0bGVzPgogIDxwdWJsaXNoZXI+S05CIERhdGEgUmVwb3NpdG9yeTwvcHVibGlzaGVyPgogIDxwdWJsaWNhdGlvblllYXI+MjAxNjwvcHVibGljYXRpb25ZZWFyPgogIDxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iU29mdHdhcmUiLz4KPC9yZXNvdXJjZT4K","updated":"2016-06-18T04:33:34Z","doi":"10.5063/F1M61H5X"}]}}
36
+
37
+ '
131
38
  http_version:
132
- recorded_at: Thu, 23 Feb 2017 23:42:01 GMT
39
+ recorded_at: Tue, 18 Apr 2017 18:29:20 GMT
133
40
  recorded_with: VCR 3.0.3