bolognese 0.9.38 → 0.9.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -11
- data/bolognese.gemspec +3 -2
- data/lib/bolognese/readers/crossref_reader.rb +5 -1
- data/lib/bolognese/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +10 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +12 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_doi.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +10 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +10 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_test_resolver.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver_http.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +21 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +20 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +20 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +16 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +12 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +11 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/no_codemeta_json.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/not_found_error.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +10 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +9 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorName.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_ORCID.yml +10 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_jacow_org_scheme.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_multiple_name_identifier.yml +10 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_no_ORCID.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +10 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_multiple_names_in_display-order.yml +7 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +12 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +11 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +10 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +12 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +7 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +8 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +9 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/not_found_error.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +9 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_alternate_identifiers/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/text.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/multiple_abstracts.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/with_pages.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +23 -25
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_Citeproc_JSON.yml +18 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_DataCite_JSON.yml +18 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Crossref_DOI.yml +18 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/DataONE.yml +18 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +23 -25
- data/spec/readers/crossref_reader_spec.rb +6 -6
- metadata +20 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/Dataset.yml +0 -142
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/datacite.yml +0 -37
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/vnd.api+json; charset=utf-8
|
31
31
|
Date:
|
32
|
-
- Sat,
|
32
|
+
- Sat, 29 Jul 2017 13:40:58 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"b9f2d79281c542db437c42a5bac25ac8"
|
35
35
|
Server:
|
@@ -47,17 +47,17 @@ http_interactions:
|
|
47
47
|
X-Kong-Proxy-Latency:
|
48
48
|
- '1'
|
49
49
|
X-Kong-Upstream-Latency:
|
50
|
-
- '
|
50
|
+
- '217'
|
51
51
|
X-Powered-By:
|
52
|
-
- Phusion Passenger 5.1.
|
52
|
+
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99986'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- abde2926-6647-4246-b635-bf235bb4df26
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.216035'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
63
|
Content-Length:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
encoding: UTF-8
|
69
69
|
string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}'
|
70
70
|
http_version:
|
71
|
-
recorded_at: Sat,
|
71
|
+
recorded_at: Sat, 29 Jul 2017 13:40:58 GMT
|
72
72
|
- request:
|
73
73
|
method: get
|
74
74
|
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
|
@@ -92,20 +92,18 @@ http_interactions:
|
|
92
92
|
Content-Type:
|
93
93
|
- application/json;charset=UTF-8
|
94
94
|
Date:
|
95
|
-
- Sat,
|
95
|
+
- Sat, 29 Jul 2017 13:40:59 GMT
|
96
96
|
Server:
|
97
97
|
- openresty/1.11.2.2
|
98
|
-
Content-Length:
|
99
|
-
- '3095'
|
100
98
|
Connection:
|
101
99
|
- keep-alive
|
102
100
|
body:
|
103
101
|
encoding: UTF-8
|
104
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
102
|
+
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"DATACITE.DATACITE","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTQzOC80SzNNLU5ZVkc8L2lkZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5GZW5uZXIsIE1hcnRpbjwvY3JlYXRvck5hbWU+CiAgICAgIDxnaXZlbk5hbWU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uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","allocator_symbol":"DATACITE","minted":"2016-12-19T20:49:21Z","updated":"2017-01-09T13:53:12Z","doi":"10.5438/4K3M-NYVG","media":["application/xml:https://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml"]}]}}
|
105
103
|
|
106
104
|
'
|
107
105
|
http_version:
|
108
|
-
recorded_at: Sat,
|
106
|
+
recorded_at: Sat, 29 Jul 2017 13:40:59 GMT
|
109
107
|
- request:
|
110
108
|
method: head
|
111
109
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -129,16 +127,16 @@ http_interactions:
|
|
129
127
|
Location:
|
130
128
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
131
129
|
Expires:
|
132
|
-
- Sat,
|
130
|
+
- Sat, 29 Jul 2017 13:52:36 GMT
|
133
131
|
Content-Type:
|
134
132
|
- text/html;charset=utf-8
|
135
133
|
Content-Length:
|
136
134
|
- '187'
|
137
135
|
Date:
|
138
|
-
- Sat,
|
136
|
+
- Sat, 29 Jul 2017 13:40:59 GMT
|
139
137
|
body:
|
140
138
|
encoding: UTF-8
|
141
139
|
string: ''
|
142
140
|
http_version:
|
143
|
-
recorded_at: Sat,
|
141
|
+
recorded_at: Sat, 29 Jul 2017 13:40:59 GMT
|
144
142
|
recorded_with: VCR 3.0.3
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/vnd.api+json; charset=utf-8
|
31
31
|
Date:
|
32
|
-
- Sat,
|
32
|
+
- Sat, 29 Jul 2017 13:41:14 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"b9f2d79281c542db437c42a5bac25ac8"
|
35
35
|
Server:
|
@@ -45,30 +45,28 @@ http_interactions:
|
|
45
45
|
X-Frame-Options:
|
46
46
|
- SAMEORIGIN
|
47
47
|
X-Kong-Proxy-Latency:
|
48
|
-
- '
|
48
|
+
- '2'
|
49
49
|
X-Kong-Upstream-Latency:
|
50
|
-
- '
|
50
|
+
- '141'
|
51
51
|
X-Powered-By:
|
52
|
-
- Phusion Passenger 5.1.
|
52
|
+
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99978'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 2388b817-db69-4b9b-b821-6700b6860b18
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.139258'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
|
-
Content-Length:
|
64
|
-
- '124'
|
65
63
|
Connection:
|
66
64
|
- keep-alive
|
67
65
|
body:
|
68
66
|
encoding: UTF-8
|
69
67
|
string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}'
|
70
68
|
http_version:
|
71
|
-
recorded_at: Sat,
|
69
|
+
recorded_at: Sat, 29 Jul 2017 13:41:14 GMT
|
72
70
|
- request:
|
73
71
|
method: get
|
74
72
|
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
|
@@ -92,18 +90,18 @@ http_interactions:
|
|
92
90
|
Content-Type:
|
93
91
|
- application/json;charset=UTF-8
|
94
92
|
Date:
|
95
|
-
- Sat,
|
93
|
+
- Sat, 29 Jul 2017 13:41:14 GMT
|
96
94
|
Server:
|
97
95
|
- openresty/1.11.2.2
|
98
96
|
Connection:
|
99
97
|
- keep-alive
|
100
98
|
body:
|
101
99
|
encoding: UTF-8
|
102
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
100
|
+
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"DATACITE.DATACITE","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0i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maWVyPgogIDwvcmVsYXRlZElkZW50aWZpZXJzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4KICA8ZGVzY3JpcHRpb25zPgogICAgPGRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPkVhdGluZyB5b3VyIG93biBkb2cgZm9vZCBpcyBhIHNsYW5nIHRlcm0gdG8gZGVzY3JpYmUgdGhhdCBhbiBvcmdhbml6YXRpb24gc2hvdWxkIGl0c2VsZiB1c2UgdGhlIHByb2R1Y3RzIGFuZCBzZXJ2aWNlcyBpdCBwcm92aWRlcy4gRm9yIERhdGFDaXRlIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHByb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJtIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","allocator_symbol":"DATACITE","minted":"2016-12-19T20:49:21Z","updated":"2017-01-09T13:53:12Z","doi":"10.5438/4K3M-NYVG","media":["application/xml:https://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml"]}]}}
|
103
101
|
|
104
102
|
'
|
105
103
|
http_version:
|
106
|
-
recorded_at: Sat,
|
104
|
+
recorded_at: Sat, 29 Jul 2017 13:41:14 GMT
|
107
105
|
- request:
|
108
106
|
method: head
|
109
107
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -127,16 +125,16 @@ http_interactions:
|
|
127
125
|
Location:
|
128
126
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
129
127
|
Expires:
|
130
|
-
- Sat,
|
128
|
+
- Sat, 29 Jul 2017 13:52:36 GMT
|
131
129
|
Content-Type:
|
132
130
|
- text/html;charset=utf-8
|
133
131
|
Content-Length:
|
134
132
|
- '187'
|
135
133
|
Date:
|
136
|
-
- Sat,
|
134
|
+
- Sat, 29 Jul 2017 13:41:15 GMT
|
137
135
|
body:
|
138
136
|
encoding: UTF-8
|
139
137
|
string: ''
|
140
138
|
http_version:
|
141
|
-
recorded_at: Sat,
|
139
|
+
recorded_at: Sat, 29 Jul 2017 13:41:15 GMT
|
142
140
|
recorded_with: VCR 3.0.3
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/vnd.api+json; charset=utf-8
|
31
31
|
Date:
|
32
|
-
- Sat,
|
32
|
+
- Sat, 29 Jul 2017 13:41:06 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"b9f2d79281c542db437c42a5bac25ac8"
|
35
35
|
Server:
|
@@ -45,19 +45,19 @@ http_interactions:
|
|
45
45
|
X-Frame-Options:
|
46
46
|
- SAMEORIGIN
|
47
47
|
X-Kong-Proxy-Latency:
|
48
|
-
- '
|
48
|
+
- '145'
|
49
49
|
X-Kong-Upstream-Latency:
|
50
|
-
- '
|
50
|
+
- '265'
|
51
51
|
X-Powered-By:
|
52
|
-
- Phusion Passenger 5.1.
|
52
|
+
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99982'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 54efaf73-019f-43bd-aa3c-019e33283c93
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.233118'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
63
|
Content-Length:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
encoding: UTF-8
|
69
69
|
string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}'
|
70
70
|
http_version:
|
71
|
-
recorded_at: Sat,
|
71
|
+
recorded_at: Sat, 29 Jul 2017 13:41:06 GMT
|
72
72
|
- request:
|
73
73
|
method: get
|
74
74
|
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
|
@@ -92,20 +92,18 @@ http_interactions:
|
|
92
92
|
Content-Type:
|
93
93
|
- application/json;charset=UTF-8
|
94
94
|
Date:
|
95
|
-
- Sat,
|
95
|
+
- Sat, 29 Jul 2017 13:41:06 GMT
|
96
96
|
Server:
|
97
97
|
- openresty/1.11.2.2
|
98
|
-
Content-Length:
|
99
|
-
- '3095'
|
100
98
|
Connection:
|
101
99
|
- keep-alive
|
102
100
|
body:
|
103
101
|
encoding: UTF-8
|
104
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
102
|
+
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"DATACITE.DATACITE","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTQzOC80SzNNLU5ZVkc8L2lkZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5GZW5uZXIsIE1hcnRpbjwvY3JlYXRvck5hbWU+CiAgICAgIDxnaXZlbk5hbWU+TWFydGluPC9naXZlbk5hbWU+CiAgICAgID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lc291cmNlPgo=","allocator_symbol":"DATACITE","minted":"2016-12-19T20:49:21Z","updated":"2017-01-09T13:53:12Z","doi":"10.5438/4K3M-NYVG","media":["application/xml:https://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml"]}]}}
|
105
103
|
|
106
104
|
'
|
107
105
|
http_version:
|
108
|
-
recorded_at: Sat,
|
106
|
+
recorded_at: Sat, 29 Jul 2017 13:41:06 GMT
|
109
107
|
- request:
|
110
108
|
method: head
|
111
109
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -129,16 +127,16 @@ http_interactions:
|
|
129
127
|
Location:
|
130
128
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
131
129
|
Expires:
|
132
|
-
- Sat,
|
130
|
+
- Sat, 29 Jul 2017 13:52:36 GMT
|
133
131
|
Content-Type:
|
134
132
|
- text/html;charset=utf-8
|
135
133
|
Content-Length:
|
136
134
|
- '187'
|
137
135
|
Date:
|
138
|
-
- Sat,
|
136
|
+
- Sat, 29 Jul 2017 13:41:06 GMT
|
139
137
|
body:
|
140
138
|
encoding: UTF-8
|
141
139
|
string: ''
|
142
140
|
http_version:
|
143
|
-
recorded_at: Sat,
|
141
|
+
recorded_at: Sat, 29 Jul 2017 13:41:07 GMT
|
144
142
|
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml
CHANGED
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/vnd.api+json; charset=utf-8
|
31
31
|
Date:
|
32
|
-
- Sat,
|
32
|
+
- Sat, 29 Jul 2017 13:41:10 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"b9f2d79281c542db437c42a5bac25ac8"
|
35
35
|
Server:
|
@@ -47,26 +47,28 @@ http_interactions:
|
|
47
47
|
X-Kong-Proxy-Latency:
|
48
48
|
- '1'
|
49
49
|
X-Kong-Upstream-Latency:
|
50
|
-
- '
|
50
|
+
- '741'
|
51
51
|
X-Powered-By:
|
52
|
-
- Phusion Passenger 5.1.
|
52
|
+
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99980'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 5055f9ff-46d8-46fd-8f06-01092e089df1
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.738510'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
|
+
Content-Length:
|
64
|
+
- '124'
|
63
65
|
Connection:
|
64
66
|
- keep-alive
|
65
67
|
body:
|
66
68
|
encoding: UTF-8
|
67
69
|
string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}'
|
68
70
|
http_version:
|
69
|
-
recorded_at: Sat,
|
71
|
+
recorded_at: Sat, 29 Jul 2017 13:41:10 GMT
|
70
72
|
- request:
|
71
73
|
method: get
|
72
74
|
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
|
@@ -90,11 +92,9 @@ http_interactions:
|
|
90
92
|
Content-Type:
|
91
93
|
- application/json;charset=UTF-8
|
92
94
|
Date:
|
93
|
-
- Sat,
|
95
|
+
- Sat, 29 Jul 2017 13:41:11 GMT
|
94
96
|
Server:
|
95
97
|
- openresty/1.11.2.2
|
96
|
-
Content-Length:
|
97
|
-
- '3095'
|
98
98
|
Connection:
|
99
99
|
- keep-alive
|
100
100
|
body:
|
@@ -103,7 +103,7 @@ http_interactions:
|
|
103
103
|
|
104
104
|
'
|
105
105
|
http_version:
|
106
|
-
recorded_at: Sat,
|
106
|
+
recorded_at: Sat, 29 Jul 2017 13:41:11 GMT
|
107
107
|
- request:
|
108
108
|
method: head
|
109
109
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -127,16 +127,16 @@ http_interactions:
|
|
127
127
|
Location:
|
128
128
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
129
129
|
Expires:
|
130
|
-
- Sat,
|
130
|
+
- Sat, 29 Jul 2017 13:52:36 GMT
|
131
131
|
Content-Type:
|
132
132
|
- text/html;charset=utf-8
|
133
133
|
Content-Length:
|
134
134
|
- '187'
|
135
135
|
Date:
|
136
|
-
- Sat,
|
136
|
+
- Sat, 29 Jul 2017 13:41:10 GMT
|
137
137
|
body:
|
138
138
|
encoding: UTF-8
|
139
139
|
string: ''
|
140
140
|
http_version:
|
141
|
-
recorded_at: Sat,
|
141
|
+
recorded_at: Sat, 29 Jul 2017 13:41:11 GMT
|
142
142
|
recorded_with: VCR 3.0.3
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/vnd.api+json; charset=utf-8
|
31
31
|
Date:
|
32
|
-
- Sat,
|
32
|
+
- Sat, 29 Jul 2017 13:41:00 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"b9f2d79281c542db437c42a5bac25ac8"
|
35
35
|
Server:
|
@@ -45,19 +45,19 @@ http_interactions:
|
|
45
45
|
X-Frame-Options:
|
46
46
|
- SAMEORIGIN
|
47
47
|
X-Kong-Proxy-Latency:
|
48
|
-
- '
|
48
|
+
- '1'
|
49
49
|
X-Kong-Upstream-Latency:
|
50
|
-
- '
|
50
|
+
- '351'
|
51
51
|
X-Powered-By:
|
52
|
-
- Phusion Passenger 5.1.
|
52
|
+
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99985'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 42a303bc-bdba-45cb-8286-dacd1cea422c
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.349307'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
63
|
Content-Length:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
encoding: UTF-8
|
69
69
|
string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}'
|
70
70
|
http_version:
|
71
|
-
recorded_at: Sat,
|
71
|
+
recorded_at: Sat, 29 Jul 2017 13:41:00 GMT
|
72
72
|
- request:
|
73
73
|
method: get
|
74
74
|
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
|
@@ -92,7 +92,7 @@ http_interactions:
|
|
92
92
|
Content-Type:
|
93
93
|
- application/json;charset=UTF-8
|
94
94
|
Date:
|
95
|
-
- Sat,
|
95
|
+
- Sat, 29 Jul 2017 13:41:00 GMT
|
96
96
|
Server:
|
97
97
|
- openresty/1.11.2.2
|
98
98
|
Content-Length:
|
@@ -105,7 +105,7 @@ http_interactions:
|
|
105
105
|
|
106
106
|
'
|
107
107
|
http_version:
|
108
|
-
recorded_at: Sat,
|
108
|
+
recorded_at: Sat, 29 Jul 2017 13:41:00 GMT
|
109
109
|
- request:
|
110
110
|
method: head
|
111
111
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -129,16 +129,16 @@ http_interactions:
|
|
129
129
|
Location:
|
130
130
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
131
131
|
Expires:
|
132
|
-
- Sat,
|
132
|
+
- Sat, 29 Jul 2017 13:52:36 GMT
|
133
133
|
Content-Type:
|
134
134
|
- text/html;charset=utf-8
|
135
135
|
Content-Length:
|
136
136
|
- '187'
|
137
137
|
Date:
|
138
|
-
- Sat,
|
138
|
+
- Sat, 29 Jul 2017 13:41:01 GMT
|
139
139
|
body:
|
140
140
|
encoding: UTF-8
|
141
141
|
string: ''
|
142
142
|
http_version:
|
143
|
-
recorded_at: Sat,
|
143
|
+
recorded_at: Sat, 29 Jul 2017 13:41:01 GMT
|
144
144
|
recorded_with: VCR 3.0.3
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/vnd.api+json; charset=utf-8
|
31
31
|
Date:
|
32
|
-
- Sat,
|
32
|
+
- Sat, 29 Jul 2017 13:41:08 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"b9f2d79281c542db437c42a5bac25ac8"
|
35
35
|
Server:
|
@@ -45,28 +45,30 @@ http_interactions:
|
|
45
45
|
X-Frame-Options:
|
46
46
|
- SAMEORIGIN
|
47
47
|
X-Kong-Proxy-Latency:
|
48
|
-
- '
|
48
|
+
- '1'
|
49
49
|
X-Kong-Upstream-Latency:
|
50
|
-
- '
|
50
|
+
- '748'
|
51
51
|
X-Powered-By:
|
52
|
-
- Phusion Passenger 5.1.
|
52
|
+
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99981'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- f5ede0f9-50ca-4f92-be20-fc9bde958140
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.746366'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
|
+
Content-Length:
|
64
|
+
- '124'
|
63
65
|
Connection:
|
64
66
|
- keep-alive
|
65
67
|
body:
|
66
68
|
encoding: UTF-8
|
67
69
|
string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}'
|
68
70
|
http_version:
|
69
|
-
recorded_at: Sat,
|
71
|
+
recorded_at: Sat, 29 Jul 2017 13:41:08 GMT
|
70
72
|
- request:
|
71
73
|
method: get
|
72
74
|
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
|
@@ -90,20 +92,18 @@ http_interactions:
|
|
90
92
|
Content-Type:
|
91
93
|
- application/json;charset=UTF-8
|
92
94
|
Date:
|
93
|
-
- Sat,
|
95
|
+
- Sat, 29 Jul 2017 13:41:09 GMT
|
94
96
|
Server:
|
95
97
|
- openresty/1.11.2.2
|
96
|
-
Content-Length:
|
97
|
-
- '3095'
|
98
98
|
Connection:
|
99
99
|
- keep-alive
|
100
100
|
body:
|
101
101
|
encoding: UTF-8
|
102
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
102
|
+
string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"DATACITE.DATACITE","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTQzOC80SzNNLU5ZVkc8L2lkZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5GZW5uZXIsIE1hcnRpbjwvY3JlYXRvck5hbWU+CiAgICAgIDxnaXZlbk5hbWU+TWFydGluPC9naXZlbk5hbWU+CiAgICAgIDxmYW1pbHlOYW1lPkZlbm5lcjwvZmFtaWx5TmFtZT4KICAgICAgPG5hbWVJZGVudGlmaWVyIHNjaGVtZVVSST0iaHR0cDovL29yY2lkLm9yZ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llciByZWxhdGVkSWRlbnRpZmllclR5cGU9IkRPSSIgcmVsYXRpb25UeXBlPSJSZWZlcmVuY2VzIj4xMC41NDM4LzAwMTI8L3JlbGF0ZWRJZGVudGlmaWVyPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iRE9JIiByZWxhdGlvblR5cGU9IlJlZmVyZW5jZXMiPjEwLjU0MzgvNTVFNS1UNUMwPC9yZWxhdGVkSWRlbnRpZmllcj4KICAgIDxyZWxhdGVkSWRlbnRpZmllciByZWxhdGVkSWRlbnRpZmllclR5cGU9IkRPSSIgcmVsYXRpb25UeXBlPSJJc1BhcnRPZiI+MTAuNTQzOC8wMDAwLTAwU1M8L3JlbGF0ZWRJZGVudGlmaWVyPgogIDwvcmVsYXRlZElkZW50aWZpZXJzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4KICA8ZGVzY3JpcHRpb25zPgogICAgPGRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPkVhdGluZyB5b3VyIG93biBkb2cgZm9vZCBpcyBhIHNsYW5nIHRlcm0gdG8gZGVzY3JpYmUgdGhhdCBhbiBvcmdhbml6YXRpb24gc2hvdWxkIGl0c2VsZiB1c2UgdGhlIHByb2R1Y3RzIGFuZCBzZXJ2aWNlcyBpdCBwcm92aWRlcy4gRm9yIERhdGFDaXRlIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHByb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJtIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","allocator_symbol":"DATACITE","minted":"2016-12-19T20:49:21Z","updated":"2017-01-09T13:53:12Z","doi":"10.5438/4K3M-NYVG","media":["application/xml:https://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml"]}]}}
|
103
103
|
|
104
104
|
'
|
105
105
|
http_version:
|
106
|
-
recorded_at: Sat,
|
106
|
+
recorded_at: Sat, 29 Jul 2017 13:41:09 GMT
|
107
107
|
- request:
|
108
108
|
method: head
|
109
109
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -127,16 +127,16 @@ http_interactions:
|
|
127
127
|
Location:
|
128
128
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
129
129
|
Expires:
|
130
|
-
- Sat,
|
130
|
+
- Sat, 29 Jul 2017 13:52:36 GMT
|
131
131
|
Content-Type:
|
132
132
|
- text/html;charset=utf-8
|
133
133
|
Content-Length:
|
134
134
|
- '187'
|
135
135
|
Date:
|
136
|
-
- Sat,
|
136
|
+
- Sat, 29 Jul 2017 13:41:08 GMT
|
137
137
|
body:
|
138
138
|
encoding: UTF-8
|
139
139
|
string: ''
|
140
140
|
http_version:
|
141
|
-
recorded_at: Sat,
|
141
|
+
recorded_at: Sat, 29 Jul 2017 13:41:09 GMT
|
142
142
|
recorded_with: VCR 3.0.3
|