bolognese 1.9.7 → 1.9.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -15
- data/Gemfile.lock +22 -21
- data/bolognese.gemspec +1 -1
- data/lib/bolognese/doi_utils.rb +8 -8
- data/lib/bolognese/readers/crossref_reader.rb +1 -1
- data/lib/bolognese/readers/datacite_reader.rb +1 -1
- data/lib/bolognese/readers/schema_org_reader.rb +2 -2
- data/lib/bolognese/utils.rb +4 -4
- data/lib/bolognese/version.rb +1 -1
- data/spec/author_utils_spec.rb +12 -6
- data/spec/cli_spec.rb +9 -8
- data/spec/datacite_utils_spec.rb +3 -3
- data/spec/doi_utils_spec.rb +17 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_citation.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_jats.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_citation.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_jats.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +28 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +28 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +29 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/crossref.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/datacite.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/jalc.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/kisti.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/medra.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/op.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_state.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_description.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_identifiers.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_name.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_state.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi_with_protocol.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/dx_doi_org_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/force_test_resolver.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/https_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver_http.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi_with_special_characters.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/jalc.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/kisti.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/op.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/{test_resolver_http.yml → force_stage_resolver.yml} +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/{force_test_resolver.yml → stage_resolver_http.yml} +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +53 -47
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +53 -47
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +52 -46
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +52 -46
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +53 -47
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +34 -31
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +34 -31
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +34 -31
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +34 -31
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_match.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_with_schemeUri_in_hash.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_match.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_no_match.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_for_match.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_match.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_no_match.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/with_affiliation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/without_affiliation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/metadata_reports.yml +20 -37
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/JaLC.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/KISTI.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/OP.yml +28 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/affiliation_is_space.yml +24 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book_chapter.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/article_id_as_page_number.yml +23 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/author_literal.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book.yml +28 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter_with_RDF_for_container.yml +29 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_oup.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/component.yml +28 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset.yml +28 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset_usda.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +28 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dissertation.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/empty_given_name.yml +29 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/invalid_date.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_original_language_title.yml +30 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_RDF_for_container.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_funding.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_issue.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/mEDRA.yml +29 -60
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/markup.yml +31 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/missing_creator.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_issn.yml +25 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles.yml +28 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles_with_missing.yml +23 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/peer_review.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content_copernicus.yml +32 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/report_osti.yml +37 -31
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/vor_with_url.yml +27 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book.yml +30 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book_chapter.yml +26 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_json_metadata/metadata_from_api.yml +34 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system.yml +106 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system_schema_3.yml +106 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_with_related_id_system.yml +34 -41
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_empty_awardTitle.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_staging_system.yml +106 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Schema_org_type.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/cc-by_3_0_us.yml +34 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/content_url.yml +35 -33
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +34 -48
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/dissertation.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/doi_with_sign.yml +34 -28
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +35 -28
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/even_more_subject_scheme_FOR.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_references.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +34 -51
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +35 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/leading_and_trailing_whitespace.yml +34 -53
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/more_subject_scheme_FOR.yml +35 -37
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorsName.yml +34 -33
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +35 -52
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/series-information.yml +34 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme_FOR.yml +35 -46
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date/publication_date.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/date.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year-month.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/future.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/invalid.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/nil.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/past.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/present.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +17 -37
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +17 -1203
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +16 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation_and_country.yml +79 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/only_familyName_and_givenName.yml +12 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +28 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +28 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/harvard_dataverse.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/pangaea.yml +12 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/zenodo.yml +16 -542
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/only_title.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_and_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_and_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_issue_and_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_as_codemeta_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url_file.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +18 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_language/insert.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_sizes/insert.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_orcid_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +34 -31
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +35 -32
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/not_found.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash_and_to_https.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_options.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_array.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_empty_array.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_hash.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_string.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash_and_to_https.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_not_found.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_exists.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org_identifiers/with_identifiers.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_doi/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/{doi_resolver/test_resolver.yml → validate_funder_doi/1_7_10.yml} +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_11.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_12.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_13.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_14.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_4.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_5.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_6.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_7.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_8.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_9.yml +48 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi_without_prefix.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/non-funder_doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/authors_with_affiliations.yml +79 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/climate_data.yml +17 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +28 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/keywords_subject_scheme.yml +17 -88
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/text.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Missing_author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/interactive_resource_without_dates.yml +17 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/software_w/version.yml +16 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Another_dataset.yml +16 -34
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +29 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/interactive_resource_without_dates.yml +16 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/keywords_subject_scheme.yml +17 -88
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/missing_creator.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/multiple_abstracts.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/organization_author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software_w/version.yml +16 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_only_first_page.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +16 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite_check_codemeta_v2.yml +16 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +28 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/climate_data.yml +16 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/maremma.yml +19 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/text.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +29 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/DOI_not_found.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +16 -42
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru_with_doi_in_options.yml +17 -43
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +29 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_version.yml +17 -26
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Dataset_in_schema_4_0.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Text_pass-thru.yml +17 -43
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/book_chapter.yml +8 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/interactive_resource_without_dates.yml +16 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_ORCID_ID.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation_schema_org.yml +30 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_editor.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting_schema_org.yml +28 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/journal_article.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/with_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +28 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/keywords_with_subject_scheme.yml +16 -87
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/with_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +35 -52
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +16 -36
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_Cyark.yml +34 -48
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +33 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/alternate_identifiers.yml +17 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/data_catalog.yml +16 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/geo_location_box.yml +17 -68
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/interactive_resource_without_dates.yml +17 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +20 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/series_information.yml +15 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme_multiple_keywords.yml +16 -87
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_schema_org.yml +30 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +16 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/journal_article.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/with_pages.yml +9 -5
- data/spec/readers/crossref_reader_spec.rb +284 -23
- data/spec/readers/datacite_reader_spec.rb +64 -27
- data/spec/readers/schema_org_reader_spec.rb +4 -6
- data/spec/utils_spec.rb +15 -3
- data/spec/writers/bibtex_writer_spec.rb +4 -6
- data/spec/writers/citeproc_writer_spec.rb +3 -3
- data/spec/writers/csv_writer_spec.rb +1 -1
- data/spec/writers/datacite_writer_spec.rb +1 -1
- data/spec/writers/jats_writer_spec.rb +1 -1
- data/spec/writers/rdf_xml_writer_spec.rb +1 -1
- data/spec/writers/ris_writer_spec.rb +10 -8
- data/spec/writers/schema_org_writer_spec.rb +4 -4
- data/spec/writers/turtle_writer_spec.rb +1 -1
- metadata +22 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +0 -111
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_alternate_identifiers.yml +0 -51
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +0 -104
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system_schema_3.yml +0 -99
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_test_system.yml +0 -102
@@ -36,12 +36,11 @@ describe Bolognese::Metadata, vcr: true do
|
|
36
36
|
expect(subject.publication_year).to eq("2011")
|
37
37
|
expect(subject.related_identifiers.length).to eq(1)
|
38
38
|
expect(subject.related_identifiers.last).to eq("relatedIdentifier" => "10.1371/journal.ppat.1000446",
|
39
|
-
"relatedIdentifierType" => "DOI","relationType"=>"
|
39
|
+
"relatedIdentifierType" => "DOI","relationType"=>"Cites")
|
40
40
|
expect(subject.subjects).to eq([{"subject"=>"Plasmodium"},
|
41
41
|
{"subject"=>"malaria"},
|
42
42
|
{"subject"=>"taxonomy"},
|
43
43
|
{"subject"=>"mitochondrial genome"},
|
44
|
-
{"subject"=>"phylogeny"},
|
45
44
|
{"subject"=>"Parasites"}])
|
46
45
|
expect(subject.publisher).to eq("Dryad")
|
47
46
|
expect(subject.agency).to eq("datacite")
|
@@ -61,14 +60,22 @@ describe Bolognese::Metadata, vcr: true do
|
|
61
60
|
expect(subject.creators).to eq([{"nameIdentifiers"=> [{"nameIdentifier"=>"https://orcid.org/0000-0003-1419-2405", "nameIdentifierScheme"=>"ORCID", "schemeUri"=>"https://orcid.org"}], "name"=>"Fenner, Martin", "givenName"=>"Martin", "familyName"=>"Fenner"}])
|
62
61
|
expect(subject.titles).to eq([{"title"=>"Eating your own Dog Food"}])
|
63
62
|
expect(subject.id).to eq("https://doi.org/10.5438/4k3m-nyvg")
|
64
|
-
expect(subject.identifiers).to eq([{"identifier"=>"MS-49-3632-5083", "identifierType"=>"Local accession number"}])
|
65
63
|
expect(subject.descriptions.first["description"]).to start_with("Eating your own dog food")
|
66
64
|
expect(subject.dates).to eq([{"date"=>"2016-12-20", "dateType"=>"Created"}, {"date"=>"2016-12-20", "dateType"=>"Issued"}, {"date"=>"2016-12-20", "dateType"=>"Updated"}])
|
67
65
|
expect(subject.publication_year).to eq("2016")
|
68
66
|
expect(subject.related_identifiers.length).to eq(3)
|
69
67
|
expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.5438/0000-00ss", "relatedIdentifierType"=>"DOI", "relationType"=>"IsPartOf")
|
70
68
|
expect(subject.publisher).to eq("DataCite")
|
71
|
-
expect(subject.subjects).to eq([{"subject"=>"datacite"},
|
69
|
+
expect(subject.subjects).to eq([{"subject"=>"datacite"},
|
70
|
+
{"subject"=>"doi"},
|
71
|
+
{"subject"=>"metadata"},
|
72
|
+
{"schemeUri"=>"http://www.oecd.org/science/inno",
|
73
|
+
"subject"=>"FOS: Computer and information sciences",
|
74
|
+
"subjectScheme"=>"Fields of Science and Technology (FOS)",
|
75
|
+
"valueUri"=>"http://www.oecd.org/science/inno/38235147.pdf"},
|
76
|
+
{"schemeUri"=>"http://www.oecd.org/science/inno/38235147.pdf",
|
77
|
+
"subject"=>"FOS: Computer and information sciences",
|
78
|
+
"subjectScheme"=>"Fields of Science and Technology (FOS)"}])
|
72
79
|
expect(subject.agency).to eq("datacite")
|
73
80
|
expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
|
74
81
|
end
|
@@ -235,15 +242,25 @@ describe Bolognese::Metadata, vcr: true do
|
|
235
242
|
expect(subject.publication_year).to eq("2016")
|
236
243
|
expect(subject.related_identifiers.length).to eq(1)
|
237
244
|
expect(subject.related_identifiers.last).to eq("relatedIdentifier"=>"10.6084/m9.figshare.4234751", "relatedIdentifierType"=>"DOI", "relationType"=>"IsIdenticalTo")
|
238
|
-
expect(subject.publisher).to eq("
|
239
|
-
expect(subject.subjects).to eq([
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
+
expect(subject.publisher).to eq("figshare")
|
246
|
+
expect(subject.subjects).to eq([
|
247
|
+
{"schemeUri"=>
|
248
|
+
"http://www.abs.gov.au/ausstats/abs@.nsf/0/6BB427AB9696C225CA2574180004463E",
|
249
|
+
"subject"=>"60102 Bioinformatics",
|
250
|
+
"subjectScheme"=>"FOR"},
|
251
|
+
{"schemeUri"=>"http://www.oecd.org/science/inno/38235147.pdf",
|
252
|
+
"subject"=>"FOS: Computer and information sciences",
|
253
|
+
"subjectScheme"=>"Fields of Science and Technology (FOS)"},
|
254
|
+
{"subject"=>"Computational Biology"},
|
255
|
+
{"schemeUri"=>
|
256
|
+
"http://www.abs.gov.au/ausstats/abs@.nsf/0/6BB427AB9696C225CA2574180004463E",
|
257
|
+
"subject"=>"60114 Systems Biology",
|
258
|
+
"subjectScheme"=>"FOR"},
|
259
|
+
{"schemeUri"=>"http://www.oecd.org/science/inno/38235147.pdf",
|
260
|
+
"subject"=>"FOS: Biological sciences",
|
261
|
+
"subjectScheme"=>"Fields of Science and Technology (FOS)"}])
|
245
262
|
expect(subject.agency).to eq("datacite")
|
246
|
-
expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-
|
263
|
+
expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
|
247
264
|
end
|
248
265
|
|
249
266
|
it "subject scheme FOR" do
|
@@ -299,11 +316,11 @@ describe Bolognese::Metadata, vcr: true do
|
|
299
316
|
input = "10.6084/m9.figshare.1286826.v1"
|
300
317
|
subject = Bolognese::Metadata.new(input: input)
|
301
318
|
expect(subject.valid?).to be true
|
302
|
-
expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
319
|
+
expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 4.0 International",
|
320
|
+
"rightsIdentifier"=>"cc-by-4.0",
|
321
|
+
"rightsIdentifierScheme"=>"SPDX",
|
322
|
+
"rightsUri"=>"https://creativecommons.org/licenses/by/4.0/legalcode",
|
323
|
+
"schemeUri"=>"https://spdx.org/licenses/"}])
|
307
324
|
end
|
308
325
|
|
309
326
|
it "funding schema version 3" do
|
@@ -914,7 +931,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
914
931
|
expect(subject.id).to eq("https://doi.org/10.5067/terra+aqua/ceres/cldtyphist_l3.004")
|
915
932
|
expect(subject.types["schemaOrg"]).to eq("Dataset")
|
916
933
|
expect(subject.types["resourceTypeGeneral"]).to eq("Dataset")
|
917
|
-
expect(subject.creators).to eq([{"
|
934
|
+
expect(subject.creators).to eq([{"familyName"=>"Wong", "givenName"=>"Takmeng", "name"=>"Wong, Takmeng"}])
|
918
935
|
expect(subject.titles).to eq([{"title"=>"CERES Level 3 Cloud Type Historgram Terra+Aqua HDF file - Edition4"}])
|
919
936
|
expect(subject.publication_year).to eq("2016")
|
920
937
|
expect(subject.publisher).to eq("NASA Langley Atmospheric Science Data Center DAAC")
|
@@ -935,7 +952,27 @@ describe Bolognese::Metadata, vcr: true do
|
|
935
952
|
expect(subject.contributors.length).to eq(18)
|
936
953
|
expect(subject.contributors.first).to eq("affiliation"=>[{"name"=>"Europäische Kommission, Brüssel"}], "contributorType"=>"Researcher", "familyName"=>"Reif", "givenName"=>"Karlheinz", "name"=>"Reif, Karlheinz", "nameType"=>"Personal", "nameIdentifiers" => [])
|
937
954
|
expect(subject.titles).to eq([{"lang"=>"de", "title"=>"Flash Eurobarometer 54 (Madrid Summit)"}, {"lang"=>"en", "title"=>"Flash Eurobarometer 54 (Madrid Summit)"}, {"titleType"=>"Subtitle","lang"=>"de", "title"=>"The Common European Currency"}, {"titleType"=>"Subtitle", "lang"=>"en", "title"=>"The Common European Currency"}])
|
938
|
-
expect(subject.subjects).to eq([{"
|
955
|
+
expect(subject.subjects).to eq([{"lang"=>"en",
|
956
|
+
"subject"=>"KAT12 International Institutions, Relations, Conditions",
|
957
|
+
"subjectScheme"=>"ZA"},
|
958
|
+
{"lang"=>"de",
|
959
|
+
"subject"=>"Internationale Politik und Institutionen",
|
960
|
+
"subjectScheme"=>"CESSDA Topic Classification"},
|
961
|
+
{"lang"=>"de",
|
962
|
+
"subject"=>"Regierung, politische Systeme, Parteien und Verbände",
|
963
|
+
"subjectScheme"=>"CESSDA Topic Classification"},
|
964
|
+
{"lang"=>"de",
|
965
|
+
"subject"=>"Wirtschaftssysteme und wirtschaftliche Entwicklung",
|
966
|
+
"subjectScheme"=>"CESSDA Topic Classification"},
|
967
|
+
{"lang"=>"en",
|
968
|
+
"subject"=>"International politics and organisation",
|
969
|
+
"subjectScheme"=>"CESSDA Topic Classification"},
|
970
|
+
{"lang"=>"en",
|
971
|
+
"subject"=>"Government, political systems and organisation",
|
972
|
+
"subjectScheme"=>"CESSDA Topic Classification"},
|
973
|
+
{"lang"=>"en",
|
974
|
+
"subject"=>"Economic systems and development",
|
975
|
+
"subjectScheme"=>"CESSDA Topic Classification"}])
|
939
976
|
expect(subject.dates).to eq([{"date"=>"1995-12", "dateType"=>"Collected"}, {"date"=>"1996", "dateType"=>"Issued"}])
|
940
977
|
expect(subject.publication_year).to eq("1996")
|
941
978
|
expect(subject.publisher).to eq("GESIS Data Archive")
|
@@ -1046,11 +1083,11 @@ describe Bolognese::Metadata, vcr: true do
|
|
1046
1083
|
expect(subject.state).to eq("not_found")
|
1047
1084
|
end
|
1048
1085
|
|
1049
|
-
it "DOI in
|
1050
|
-
input = "https://handle.
|
1086
|
+
it "DOI in staging system" do
|
1087
|
+
input = "https://handle.stage.datacite.org/10.22002/d1.694"
|
1051
1088
|
subject = Bolognese::Metadata.new(input: input, sandbox: true)
|
1052
1089
|
expect(subject.valid?).to be true
|
1053
|
-
expect(subject.id).to eq("https://handle.
|
1090
|
+
expect(subject.id).to eq("https://handle.stage.datacite.org/10.22002/d1.694")
|
1054
1091
|
expect(subject.types["schemaOrg"]).to eq("Dataset")
|
1055
1092
|
expect(subject.types["resourceTypeGeneral"]).to eq("Dataset")
|
1056
1093
|
expect(subject.creators).to eq([{"affiliation"=>[{"name"=>"Caltech"}], "name"=>"Tester", "nameIdentifiers" => []}])
|
@@ -1063,11 +1100,11 @@ describe Bolognese::Metadata, vcr: true do
|
|
1063
1100
|
expect(subject.state).to eq("findable")
|
1064
1101
|
end
|
1065
1102
|
|
1066
|
-
it "DOI in
|
1103
|
+
it "DOI in staging system schema 3" do
|
1067
1104
|
input = "10.21956/wellcomeopenres.25947.r17364"
|
1068
1105
|
subject = Bolognese::Metadata.new(input: input, doi: input, sandbox: true)
|
1069
1106
|
expect(subject.valid?).to be true
|
1070
|
-
expect(subject.id).to eq("https://handle.
|
1107
|
+
expect(subject.id).to eq("https://handle.stage.datacite.org/10.21956/wellcomeopenres.25947.r17364")
|
1071
1108
|
expect(subject.types["schemaOrg"]).to eq("ScholarlyArticle")
|
1072
1109
|
expect(subject.types["resourceTypeGeneral"]).to eq("Text")
|
1073
1110
|
expect(subject.creators).to eq([{"name"=>"Fran2 Levy", "nameIdentifiers" => [], "affiliation" => []}])
|
@@ -1080,11 +1117,11 @@ describe Bolognese::Metadata, vcr: true do
|
|
1080
1117
|
expect(subject.state).to eq("findable")
|
1081
1118
|
end
|
1082
1119
|
|
1083
|
-
it "Referee report in
|
1120
|
+
it "Referee report in staging system" do
|
1084
1121
|
input = "10.21956/gatesopenres.530.r190"
|
1085
1122
|
subject = Bolognese::Metadata.new(input: input, sandbox: true)
|
1086
1123
|
expect(subject.valid?).to be true
|
1087
|
-
expect(subject.id).to eq("https://handle.
|
1124
|
+
expect(subject.id).to eq("https://handle.stage.datacite.org/10.21956/gatesopenres.530.r190")
|
1088
1125
|
expect(subject.types["schemaOrg"]).to eq("ScholarlyArticle")
|
1089
1126
|
expect(subject.types["resourceTypeGeneral"]).to eq("Text")
|
1090
1127
|
expect(subject.types["ris"]).to eq("RPRT")
|
@@ -1226,7 +1263,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
1226
1263
|
expect(subject.types["schemaOrg"]).to eq("Dataset")
|
1227
1264
|
expect(subject.types["resourceTypeGeneral"]).to eq("Dataset")
|
1228
1265
|
expect(subject.titles).to eq([{"title"=>"BPI Challenge 2012"}])
|
1229
|
-
expect(subject.dates).to eq([{"date"=>"
|
1266
|
+
expect(subject.dates).to eq([{"date"=>"2012-04-23", "dateType"=>"Issued"}])
|
1230
1267
|
expect(subject.publication_year).to eq("2012")
|
1231
1268
|
expect(subject.state).to eq("findable")
|
1232
1269
|
end
|
@@ -3,11 +3,8 @@
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
5
|
describe Bolognese::Metadata, vcr: true do
|
6
|
-
let(:input) { "https://blog.datacite.org/eating-your-own-dog-food/" }
|
7
6
|
let(:fixture_path) { "spec/fixtures/" }
|
8
7
|
|
9
|
-
subject { Bolognese::Metadata.new(input: input) }
|
10
|
-
|
11
8
|
context "get schema_org raw" do
|
12
9
|
it "BlogPosting" do
|
13
10
|
input = fixture_path + 'schema_org.json'
|
@@ -18,6 +15,8 @@ describe Bolognese::Metadata, vcr: true do
|
|
18
15
|
|
19
16
|
context "get schema_org metadata" do
|
20
17
|
it "BlogPosting" do
|
18
|
+
input = "https://blog.datacite.org/eating-your-own-dog-food/"
|
19
|
+
subject = Bolognese::Metadata.new(input: input, from: "schema_org")
|
21
20
|
expect(subject.valid?).to be true
|
22
21
|
expect(subject.id).to eq("https://doi.org/10.5438/4k3m-nyvg")
|
23
22
|
expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
|
@@ -36,6 +35,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
36
35
|
end
|
37
36
|
|
38
37
|
it "BlogPosting with new DOI" do
|
38
|
+
input = "https://blog.datacite.org/eating-your-own-dog-food/"
|
39
39
|
subject = Bolognese::Metadata.new(input: input, doi: "10.5438/0000-00ss")
|
40
40
|
expect(subject.valid?).to be true
|
41
41
|
expect(subject.id).to eq("https://doi.org/10.5438/0000-00ss")
|
@@ -47,7 +47,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
47
47
|
it "BlogPosting with type as array" do
|
48
48
|
input = fixture_path + 'schema_org_type_as_array.json'
|
49
49
|
subject = Bolognese::Metadata.new(input: input)
|
50
|
-
|
50
|
+
expect(subject.valid?).to be true
|
51
51
|
expect(subject.id).to eq("https://doi.org/10.5438/4k3m-nyvg")
|
52
52
|
expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
|
53
53
|
expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"post-weblog", "resourceTypeGeneral"=>"Text", "ris"=>"GEN", "schemaOrg"=>"BlogPosting")
|
@@ -66,7 +66,6 @@ describe Bolognese::Metadata, vcr: true do
|
|
66
66
|
input = "https://www.zenodo.org/record/1196821"
|
67
67
|
subject = Bolognese::Metadata.new(input: input, from: "schema_org")
|
68
68
|
expect(subject.valid?).to be false
|
69
|
-
|
70
69
|
expect(subject.language).to eq("eng")
|
71
70
|
expect(subject.errors).to eq("49:0: ERROR: Element '{http://datacite.org/schema/kernel-4}publisher': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '1'.")
|
72
71
|
expect(subject.id).to eq("https://doi.org/10.5281/zenodo.1196821")
|
@@ -97,7 +96,6 @@ describe Bolognese::Metadata, vcr: true do
|
|
97
96
|
it "pangaea" do
|
98
97
|
input = "https://doi.pangaea.de/10.1594/PANGAEA.836178"
|
99
98
|
subject = Bolognese::Metadata.new(input: input, from: "schema_org")
|
100
|
-
|
101
99
|
expect(subject.valid?).to be true
|
102
100
|
expect(subject.id).to eq("https://doi.org/10.1594/pangaea.836178")
|
103
101
|
expect(subject.doi).to eq("10.1594/pangaea.836178")
|
data/spec/utils_spec.rb
CHANGED
@@ -64,6 +64,18 @@ describe Bolognese::Metadata, vcr: true do
|
|
64
64
|
expect(response).to eq("0000-0002-1394-3097")
|
65
65
|
end
|
66
66
|
|
67
|
+
it "validate_orcid sandbox" do
|
68
|
+
orcid = "http://sandbox.orcid.org/0000-0002-2590-225X"
|
69
|
+
response = subject.validate_orcid(orcid)
|
70
|
+
expect(response).to eq("0000-0002-2590-225X")
|
71
|
+
end
|
72
|
+
|
73
|
+
it "validate_orcid sandbox https" do
|
74
|
+
orcid = "https://sandbox.orcid.org/0000-0002-2590-225X"
|
75
|
+
response = subject.validate_orcid(orcid)
|
76
|
+
expect(response).to eq("0000-0002-2590-225X")
|
77
|
+
end
|
78
|
+
|
67
79
|
it "validate_orcid wrong id" do
|
68
80
|
orcid = "0000-0002-1394-309"
|
69
81
|
response = subject.validate_orcid(orcid)
|
@@ -179,15 +191,15 @@ describe Bolognese::Metadata, vcr: true do
|
|
179
191
|
end
|
180
192
|
|
181
193
|
it "sandbox via url" do
|
182
|
-
url = "https://handle.
|
194
|
+
url = "https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7"
|
183
195
|
response = subject.normalize_id(url)
|
184
|
-
expect(response).to eq("https://handle.
|
196
|
+
expect(response).to eq("https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7")
|
185
197
|
end
|
186
198
|
|
187
199
|
it "sandbox via options" do
|
188
200
|
url = "10.20375/0000-0001-ddb8-7"
|
189
201
|
response = subject.normalize_id(url, sandbox: true)
|
190
|
-
expect(response).to eq("https://handle.
|
202
|
+
expect(response).to eq("https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7")
|
191
203
|
end
|
192
204
|
end
|
193
205
|
|
@@ -145,17 +145,15 @@ describe Bolognese::Metadata, vcr: true do
|
|
145
145
|
|
146
146
|
it "authors with affiliations" do
|
147
147
|
input = "10.16910/jemr.9.1.2"
|
148
|
-
subject = Bolognese::Metadata.new(input: input, from: "
|
148
|
+
subject = Bolognese::Metadata.new(input: input, from: "crossref")
|
149
149
|
bibtex = BibTeX.parse(subject.bibtex).to_a(quotes: '').first
|
150
|
-
expect(bibtex[:bibtex_type].to_s).to eq("
|
150
|
+
expect(bibtex[:bibtex_type].to_s).to eq("article")
|
151
151
|
expect(bibtex[:bibtex_key]).to eq("https://doi.org/10.16910/jemr.9.1.2")
|
152
152
|
expect(bibtex[:doi]).to eq("10.16910/jemr.9.1.2")
|
153
153
|
expect(bibtex[:title]).to eq("Eye tracking scanpath analysis techniques on web pages: A survey, evaluation and comparison")
|
154
|
-
expect(bibtex[:author]).to eq("
|
155
|
-
expect(bibtex[:publisher]).to eq("
|
156
|
-
expect(bibtex[:keywords]).to eq("eye tracking; eye movements; scanpaths; eye movement sequence; web pages; visual elements; web pages; scanpath analysis techniques; scanpath analysis; pattern detection; common scanpaths")
|
154
|
+
expect(bibtex[:author]).to eq("Eraslan, Sukru and Yesilada, Yeliz and Harper, Simon")
|
155
|
+
expect(bibtex[:publisher]).to eq("University of Bern")
|
157
156
|
expect(bibtex[:year]).to eq("2015")
|
158
|
-
expect(bibtex[:copyright]).to eq("Creative Commons Attribution 4.0 International")
|
159
157
|
end
|
160
158
|
|
161
159
|
it "keywords subject scheme" do
|
@@ -75,8 +75,8 @@ describe Bolognese::Metadata, vcr: true do
|
|
75
75
|
expect(json["id"]).to eq("https://doi.org/10.26301/qdpd-2250")
|
76
76
|
expect(json["DOI"]).to eq("10.26301/qdpd-2250")
|
77
77
|
expect(json["title"]).to eq("USS Pampanito Submarine")
|
78
|
-
expect(json["author"]).to eq([{"literal"=>"
|
79
|
-
expect(json["publisher"]).to eq("Open Heritage
|
78
|
+
expect(json["author"]).to eq([{"literal"=>"CyArk"}])
|
79
|
+
expect(json["publisher"]).to eq("Open Heritage")
|
80
80
|
expect(json["issued"]).to eq("date-parts"=>[[2020]])
|
81
81
|
end
|
82
82
|
|
@@ -257,7 +257,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
257
257
|
expect(json["type"]).to eq("dataset")
|
258
258
|
expect(json["id"]).to eq("https://doi.org/10.1594/pangaea.721193")
|
259
259
|
expect(json["DOI"]).to eq("10.1594/pangaea.721193")
|
260
|
-
expect(json["categories"]).to include("Animalia", "Bottles or small containers/Aquaria (<20 L)"
|
260
|
+
expect(json["categories"]).to include("Animalia", "Bottles or small containers/Aquaria (<20 L)")
|
261
261
|
expect(json["copyright"]).to eq("Creative Commons Attribution 3.0 Unported")
|
262
262
|
end
|
263
263
|
|
@@ -67,7 +67,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
67
67
|
expect(csv[2]).to eq("2014-01-15")
|
68
68
|
expect(csv[3]).to eq("findable")
|
69
69
|
expect(csv[4]).to eq("Dataset")
|
70
|
-
expect(csv[5]).to
|
70
|
+
expect(csv[5]).to eq("Dataset")
|
71
71
|
expect(csv[6]).to eq("Integrated Multi-Mission Ocean Altimeter Data for Climate Research Version 2")
|
72
72
|
expect(csv[7]).to eq("{GSFC}")
|
73
73
|
expect(csv[8]).to eq("NASA Physical Oceanography DAAC")
|
@@ -222,7 +222,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
222
222
|
expect(subject.publication_year).to eq("2011")
|
223
223
|
expect(subject.related_identifiers.length).to eq(1)
|
224
224
|
expect(subject.related_identifiers.last).to eq("relatedIdentifier" => "10.1371/journal.ppat.1000446",
|
225
|
-
"relatedIdentifierType" => "DOI","relationType"=>"
|
225
|
+
"relatedIdentifierType" => "DOI","relationType"=>"Cites")
|
226
226
|
expect(subject.publisher).to eq("Dryad")
|
227
227
|
expect(subject.agency).to eq("datacite")
|
228
228
|
expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
|
@@ -35,7 +35,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
35
35
|
subject = Bolognese::Metadata.new(input: input, from: "crossref")
|
36
36
|
jats = Maremma.from_xml(subject.jats).fetch("element_citation", {})
|
37
37
|
expect(jats.dig("publication_type")).to eq("journal")
|
38
|
-
expect(jats.dig("article_title")).to eq("Triose Phosphate Isomerase Deficiency Is Caused by Altered Dimerization
|
38
|
+
expect(jats.dig("article_title")).to eq("Triose Phosphate Isomerase Deficiency Is Caused by Altered Dimerization???Not Catalytic Inactivity???of the Mutant Enzymes")
|
39
39
|
expect(jats.dig("source")).to eq("PLoS ONE")
|
40
40
|
expect(jats.dig("person_group", 0, "name").length).to eq(5)
|
41
41
|
expect(jats.dig("person_group", 0, "name").first).to eq("surname"=>"Ralser", "given_names"=>"Markus")
|
@@ -45,7 +45,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
45
45
|
rdf_xml = Maremma.from_xml(subject.rdf_xml).fetch("RDF", {})
|
46
46
|
expect(rdf_xml.dig("ScholarlyArticle", "rdf:about")).to eq("https://doi.org/10.5438/4k3m-nyvg")
|
47
47
|
expect(rdf_xml.dig("ScholarlyArticle", "name")).to eq("Eating your own Dog Food")
|
48
|
-
expect(rdf_xml.dig("ScholarlyArticle", "keywords")).to eq("datacite, doi, metadata")
|
48
|
+
expect(rdf_xml.dig("ScholarlyArticle", "keywords")).to eq("datacite, doi, metadata, FOS: Computer and information sciences, FOS: Computer and information sciences")
|
49
49
|
expect(rdf_xml.dig("ScholarlyArticle", "datePublished", "__content__")).to eq("2016-12-20")
|
50
50
|
end
|
51
51
|
|
@@ -96,10 +96,13 @@ describe Bolognese::Metadata, vcr: true do
|
|
96
96
|
expect(ris[4]).to eq("UR - https://blog.datacite.org/eating-your-own-dog-food/")
|
97
97
|
expect(ris[5]).to eq("AB - Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...")
|
98
98
|
expect(ris[6]).to eq("KW - datacite")
|
99
|
-
expect(ris[9]).to eq("
|
100
|
-
expect(ris[10]).to eq("
|
101
|
-
expect(ris[11]).to eq("
|
102
|
-
expect(ris[12]).to eq("
|
99
|
+
expect(ris[9]).to eq("KW - FOS: Computer and information sciences")
|
100
|
+
expect(ris[10]).to eq("KW - FOS: Computer and information sciences")
|
101
|
+
expect(ris[11]).to eq("PY - 2016")
|
102
|
+
expect(ris[12]).to eq("PB - DataCite")
|
103
|
+
expect(ris[13]).to eq("LA - en")
|
104
|
+
expect(ris[14]).to eq("SN - 10.5438/0000-00ss")
|
105
|
+
expect(ris[15]).to eq("ER - ")
|
103
106
|
end
|
104
107
|
|
105
108
|
it "BlogPosting Citeproc JSON" do
|
@@ -163,10 +166,9 @@ describe Bolognese::Metadata, vcr: true do
|
|
163
166
|
expect(ris[10]).to eq("DO - 10.5061/dryad.8515")
|
164
167
|
expect(ris[11]).to eq("UR - http://datadryad.org/stash/dataset/doi:10.5061/dryad.8515")
|
165
168
|
expect(ris[13]).to eq("KW - Plasmodium")
|
166
|
-
expect(ris[19]).to eq("
|
167
|
-
expect(ris[20]).to eq("
|
168
|
-
expect(ris[21]).to eq("
|
169
|
-
expect(ris[22]).to eq("ER - ")
|
169
|
+
expect(ris[19]).to eq("PB - Dryad")
|
170
|
+
expect(ris[20]).to eq("LA - en")
|
171
|
+
expect(ris[21]).to eq("ER - ")
|
170
172
|
end
|
171
173
|
|
172
174
|
it "maremma" do
|
@@ -53,9 +53,9 @@ describe Bolognese::Metadata, vcr: true do
|
|
53
53
|
json = JSON.parse(subject.schema_org)
|
54
54
|
expect(json["@id"]).to eq("https://doi.org/10.5061/dryad.8515")
|
55
55
|
expect(json["@type"]).to eq("Dataset")
|
56
|
-
expect(json["
|
56
|
+
expect(json["citation"]).to eq("@id"=>"https://doi.org/10.1371/journal.ppat.1000446", "@type"=>"CreativeWork")
|
57
57
|
expect(json["license"]).to eq("https://creativecommons.org/publicdomain/zero/1.0/legalcode")
|
58
|
-
expect(json["keywords"]).to eq("Plasmodium, malaria, taxonomy, mitochondrial genome,
|
58
|
+
expect(json["keywords"]).to eq("Plasmodium, malaria, taxonomy, mitochondrial genome, Parasites")
|
59
59
|
end
|
60
60
|
|
61
61
|
it "Schema.org JSON IsSupplementTo" do
|
@@ -128,7 +128,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
128
128
|
expect(json["@id"]).to eq("https://doi.org/10.4232/1.2745")
|
129
129
|
expect(json["@type"]).to eq("Dataset")
|
130
130
|
expect(json["name"]).to eq("Flash Eurobarometer 54 (Madrid Summit)")
|
131
|
-
expect(json["keywords"]).to eq("KAT12 International Institutions, Relations, Conditions")
|
131
|
+
expect(json["keywords"]).to eq("KAT12 International Institutions, Relations, Conditions, Internationale Politik und Institutionen, Regierung, politische Systeme, Parteien und Verbände, Wirtschaftssysteme und wirtschaftliche Entwicklung, International politics and organisation, Government, political systems and organisation, Economic systems and development")
|
132
132
|
end
|
133
133
|
|
134
134
|
it "subject scheme multiple keywords" do
|
@@ -138,7 +138,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
138
138
|
expect(json["@id"]).to eq("https://doi.org/10.1594/pangaea.721193")
|
139
139
|
expect(json["@type"]).to eq("Dataset")
|
140
140
|
expect(json["name"]).to eq("Seawater carbonate chemistry and processes during experiments with Crassostrea gigas, 2007, supplement to: Kurihara, Haruko; Kato, Shoji; Ishimatsu, Atsushi (2007): Effects of increased seawater pCO2 on early development of the oyster Crassostrea gigas. Aquatic Biology, 1(1), 91-98")
|
141
|
-
expect(json["keywords"]).to
|
141
|
+
expect(json["keywords"]).to include("Animalia, Bottles or small containers/Aquaria (<20 L)")
|
142
142
|
expect(json["license"]).to eq("https://creativecommons.org/licenses/by/3.0/legalcode")
|
143
143
|
end
|
144
144
|
|
@@ -18,7 +18,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
18
18
|
expect(subject.valid?).to be true
|
19
19
|
ttl = subject.turtle.split("\n")
|
20
20
|
expect(ttl[0]).to eq("@prefix schema: <http://schema.org/> .")
|
21
|
-
expect(ttl[2]).to eq("<https://doi.org/10.
|
21
|
+
expect(ttl[2]).to eq("<https://doi.org/10.5061/dryad.8515> a schema:Dataset;")
|
22
22
|
end
|
23
23
|
|
24
24
|
it "BlogPosting" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bolognese
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maremma
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.9.4
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '5'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 4.9.4
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5'
|
@@ -831,7 +831,6 @@ files:
|
|
831
831
|
- spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_jats.yml
|
832
832
|
- spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml
|
833
833
|
- spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml
|
834
|
-
- spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml
|
835
834
|
- spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml
|
836
835
|
- spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml
|
837
836
|
- spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/crossref.yml
|
@@ -846,7 +845,6 @@ files:
|
|
846
845
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml
|
847
846
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_state.yml
|
848
847
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml
|
849
|
-
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_alternate_identifiers.yml
|
850
848
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_description.yml
|
851
849
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_identifiers.yml
|
852
850
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license.yml
|
@@ -878,10 +876,10 @@ files:
|
|
878
876
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml
|
879
877
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml
|
880
878
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml
|
881
|
-
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/
|
879
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_stage_resolver.yml
|
882
880
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml
|
883
|
-
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/
|
884
|
-
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/
|
881
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver.yml
|
882
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver_http.yml
|
885
883
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml
|
886
884
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml
|
887
885
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml
|
@@ -901,6 +899,7 @@ files:
|
|
901
899
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml
|
902
900
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml
|
903
901
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_match.yml
|
902
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_with_schemeUri_in_hash.yml
|
904
903
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_match.yml
|
905
904
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_no_match.yml
|
906
905
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_for_match.yml
|
@@ -955,15 +954,15 @@ files:
|
|
955
954
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book_chapter.yml
|
956
955
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_json_metadata/metadata_from_api.yml
|
957
956
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml
|
958
|
-
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/
|
959
|
-
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/
|
957
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system.yml
|
958
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system_schema_3.yml
|
960
959
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_with_related_id_system.yml
|
961
960
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml
|
962
961
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml
|
963
962
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml
|
964
963
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_empty_awardTitle.yml
|
965
964
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml
|
966
|
-
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/
|
965
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_staging_system.yml
|
967
966
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Schema_org_type.yml
|
968
967
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml
|
969
968
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml
|
@@ -1105,6 +1104,17 @@ files:
|
|
1105
1104
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml
|
1106
1105
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org_identifiers/with_identifiers.yml
|
1107
1106
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_doi/doi.yml
|
1107
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_10.yml
|
1108
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_11.yml
|
1109
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_12.yml
|
1110
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_13.yml
|
1111
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_14.yml
|
1112
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_4.yml
|
1113
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_5.yml
|
1114
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_6.yml
|
1115
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_7.yml
|
1116
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_8.yml
|
1117
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_9.yml
|
1108
1118
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi.yml
|
1109
1119
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi_without_prefix.yml
|
1110
1120
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/non-funder_doi.yml
|