bolognese 0.9.33 → 0.9.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bolognese/metadata.rb +14 -4
- data/lib/bolognese/readers/datacite_reader.rb +4 -3
- data/lib/bolognese/version.rb +1 -1
- data/lib/bolognese/writers/crosscite_writer.rb +2 -0
- data/lib/bolognese/writers/datacite_json_writer.rb +2 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +10 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +9 -9
- 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 +10 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +16 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +12 -12
- 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 +12 -12
- 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 +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +3 -3
- 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/url.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +10 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +9 -9
- 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 +19 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +22 -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 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +20 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +15 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +15 -17
- 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 +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +11 -9
- 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 +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +11 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +12 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +15 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +15 -17
- 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 +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +15 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorName.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +13 -15
- 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 +3 -3
- 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 +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_ORCID.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_jacow_org_scheme.yml +15 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_multiple_name_identifier.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_no_ORCID.yml +15 -17
- 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_multiple_names_in_display-order.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +15 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +12 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +13 -13
- 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 +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +7 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_alternate_identifiers/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +7 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +9 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +9 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +9 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +3 -3
- 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 +3 -3
- 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 +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +13 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +15 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +14 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.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 +3 -3
- 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 +3 -3
- 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 +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +3 -3
- 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 +2 -2
- 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 +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +3 -3
- 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 +3 -3
- 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 +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +2 -2
- 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_url/DOI.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +3 -3
- 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 +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +8 -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 +8 -8
- 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 +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +8 -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 +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +3 -3
- 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 +8 -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 +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +75 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +2 -2
- 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 +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +3 -3
- 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 +7 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +73 -0
- 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 +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +7 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +8 -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 +3 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +3 -3
- 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 +26 -26
- 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 +26 -26
- data/spec/readers/bibtex_reader_spec.rb +1 -1
- data/spec/readers/citeproc_reader_spec.rb +1 -1
- data/spec/readers/codemeta_reader_spec.rb +1 -1
- data/spec/readers/crosscite_reader_spec.rb +1 -1
- data/spec/readers/crossref_reader_spec.rb +1 -1
- data/spec/readers/datacite_json_reader_spec.rb +1 -1
- data/spec/readers/datacite_reader_spec.rb +1 -1
- data/spec/readers/ris_reader_spec.rb +1 -1
- data/spec/readers/schema_org_reader_spec.rb +1 -1
- data/spec/writers/crosscite_writer_spec.rb +14 -0
- data/spec/writers/datacite_writer_spec.rb +19 -0
- metadata +3 -1
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/vnd.api+json; charset=utf-8
|
31
31
|
Date:
|
32
|
-
- Sat, 22 Jul 2017
|
32
|
+
- Sat, 22 Jul 2017 20:28:08 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"b8e8c74c8d2edc7cfc1ceedfe0458b59"
|
35
35
|
Server:
|
@@ -45,33 +45,31 @@ 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
|
+
- '620'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.5
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99954'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- b59f6278-b768-49f9-9e72-774f75c435d2
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.618519'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
|
-
Content-Length:
|
64
|
-
- '125'
|
65
63
|
Connection:
|
66
64
|
- keep-alive
|
67
65
|
body:
|
68
66
|
encoding: UTF-8
|
69
67
|
string: '{"data":{"id":"10.18169","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:25:36Z"}}}'
|
70
68
|
http_version:
|
71
|
-
recorded_at: Sat, 22 Jul 2017
|
69
|
+
recorded_at: Sat, 22 Jul 2017 20:28:07 GMT
|
72
70
|
- request:
|
73
71
|
method: get
|
74
|
-
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,updated&q=doi:10.18169/papdeottx00502&wt=json
|
72
|
+
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.18169/papdeottx00502&wt=json
|
75
73
|
body:
|
76
74
|
encoding: US-ASCII
|
77
75
|
string: ''
|
@@ -92,20 +90,20 @@ http_interactions:
|
|
92
90
|
Content-Type:
|
93
91
|
- application/json;charset=UTF-8
|
94
92
|
Date:
|
95
|
-
- Sat, 22 Jul 2017
|
93
|
+
- Sat, 22 Jul 2017 20:28:08 GMT
|
96
94
|
Server:
|
97
95
|
- openresty/1.11.2.2
|
98
96
|
Content-Length:
|
99
|
-
- '
|
97
|
+
- '1815'
|
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":29},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"TIB.PAP","xml":"PHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3L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RwOi8vd3d3LnByaW9yYXJ0cmVnaXN0ZXIuY29tL3Jlc29sdmUucGhwP2Rpc2Nsb3N1cmU9T1RUWDAwNTAyDTwvYWx0ZXJuYXRlSWRlbnRpZmllcj4NPC9hbHRlcm5hdGVJZGVudGlmaWVycz4NPHNpemVzPg08c2l6ZT48L3NpemU+DTwvc2l6ZXM+DTxmb3JtYXRzPg08Zm9ybWF0PlBERjwvZm9ybWF0Pg08L2Zvcm1hdHM+DTx2ZXJzaW9uPjE8L3ZlcnNpb24+DTxkZXNjcmlwdGlvbnM+DTxkZXNjcmlwdGlvbiBkZXNjcmlwdGlvblR5cGU9IkFic3RyYWN0Ij4NPC9kZXNjcmlwdGlvbj4NPC9kZXNjcmlwdGlvbnM+DTwvcmVzb3VyY2U+DQ==","allocator_symbol":"TIB","minted":"2017-04-07T11:11:49Z","updated":"2017-04-07T11:11:49Z","doi":"10.18169/PAPDEOTTX00502"}]}}
|
105
103
|
|
106
104
|
'
|
107
105
|
http_version:
|
108
|
-
recorded_at: Sat, 22 Jul 2017
|
106
|
+
recorded_at: Sat, 22 Jul 2017 20:28:07 GMT
|
109
107
|
- request:
|
110
108
|
method: head
|
111
109
|
uri: https://doi.org/10.18169/papdeottx00502
|
@@ -129,16 +127,16 @@ http_interactions:
|
|
129
127
|
Location:
|
130
128
|
- http://www.priorartregister.com/resolve.php?disclosure=OTTX00502
|
131
129
|
Expires:
|
132
|
-
- Sat, 22 Jul 2017
|
130
|
+
- Sat, 22 Jul 2017 21:26:21 GMT
|
133
131
|
Content-Type:
|
134
132
|
- text/html;charset=utf-8
|
135
133
|
Content-Length:
|
136
134
|
- '213'
|
137
135
|
Date:
|
138
|
-
- Sat, 22 Jul 2017
|
136
|
+
- Sat, 22 Jul 2017 20:28:09 GMT
|
139
137
|
body:
|
140
138
|
encoding: UTF-8
|
141
139
|
string: ''
|
142
140
|
http_version:
|
143
|
-
recorded_at: Sat, 22 Jul 2017
|
141
|
+
recorded_at: Sat, 22 Jul 2017 20:28:08 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, 22 Jul 2017
|
32
|
+
- Sat, 22 Jul 2017 20:27:58 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"0411b3916b13b0c38e2c133d6e9905e2"
|
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
|
+
- '701'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.5
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99959'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 6d049b71-66d0-406c-8c52-faf73b8c35e1
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.699060'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
63
|
Content-Length:
|
@@ -68,10 +68,10 @@ http_interactions:
|
|
68
68
|
encoding: UTF-8
|
69
69
|
string: '{"data":{"id":"10.5281","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:13Z"}}}'
|
70
70
|
http_version:
|
71
|
-
recorded_at: Sat, 22 Jul 2017
|
71
|
+
recorded_at: Sat, 22 Jul 2017 20:27:57 GMT
|
72
72
|
- request:
|
73
73
|
method: get
|
74
|
-
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,updated&q=doi:10.5281/zenodo.1239&wt=json
|
74
|
+
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5281/zenodo.1239&wt=json
|
75
75
|
body:
|
76
76
|
encoding: US-ASCII
|
77
77
|
string: ''
|
@@ -92,20 +92,20 @@ http_interactions:
|
|
92
92
|
Content-Type:
|
93
93
|
- application/json;charset=UTF-8
|
94
94
|
Date:
|
95
|
-
- Sat, 22 Jul 2017
|
95
|
+
- Sat, 22 Jul 2017 20:27:58 GMT
|
96
96
|
Server:
|
97
97
|
- openresty/1.11.2.2
|
98
98
|
Content-Length:
|
99
|
-
- '
|
99
|
+
- '3204'
|
100
100
|
Connection:
|
101
101
|
- keep-alive
|
102
102
|
body:
|
103
103
|
encoding: UTF-8
|
104
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
104
|
+
string: '{"responseHeader":{"status":0,"QTime":13},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"CERN.ZENODO","xml":"PHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTI4MS9aRU5PRE8uMTIzOTwvaWRlbnRpZmllcj4KICA8Y3JlYXRvcnM+CiAgICA8Y3JlYXRvcj4KICAgICAgPGNyZWF0b3JOYW1lPkphaG4sIE5hamtvPC9jcmVhdG9yTmFtZT4KICAgIDwvY3JlYXRvcj4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWU+RmVubmVyLCBNYXJ0aW48L2NyZWF0b3JOYW1lPgogICAgPC9jcmV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JhbnQgYWdyZWVtZW50IG51bWJlciBvZiBGUDcgcHJvamVjdHMuIEEgc2Vjb25kIGZpbGUgc2hvd3MgdGhlIGZyZXF1ZW5jeSBvZiBGUDcgZ3JhbnRzLiBUaGUgc2FtcGxlIHdhcyBjcmVhdGVkIGluIEp1bHkgMjAxMi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgoNCg0K","allocator_symbol":"CERN","minted":"2013-04-03T09:52:22Z","updated":"2014-04-15T08:13:50Z","doi":"10.5281/ZENODO.1239"}]}}
|
105
105
|
|
106
106
|
'
|
107
107
|
http_version:
|
108
|
-
recorded_at: Sat, 22 Jul 2017
|
108
|
+
recorded_at: Sat, 22 Jul 2017 20:27:57 GMT
|
109
109
|
- request:
|
110
110
|
method: head
|
111
111
|
uri: https://doi.org/10.5281/zenodo.1239
|
@@ -129,16 +129,16 @@ http_interactions:
|
|
129
129
|
Location:
|
130
130
|
- http://zenodo.org/record/1239
|
131
131
|
Expires:
|
132
|
-
- Sat, 22 Jul 2017
|
132
|
+
- Sat, 22 Jul 2017 21:26:21 GMT
|
133
133
|
Content-Type:
|
134
134
|
- text/html;charset=utf-8
|
135
135
|
Content-Length:
|
136
136
|
- '143'
|
137
137
|
Date:
|
138
|
-
- Sat, 22 Jul 2017
|
138
|
+
- Sat, 22 Jul 2017 20:27:59 GMT
|
139
139
|
body:
|
140
140
|
encoding: UTF-8
|
141
141
|
string: ''
|
142
142
|
http_version:
|
143
|
-
recorded_at: Sat, 22 Jul 2017
|
143
|
+
recorded_at: Sat, 22 Jul 2017 20:27:58 GMT
|
144
144
|
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.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, 22 Jul 2017
|
32
|
+
- Sat, 22 Jul 2017 20:28:19 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"58c74e33ab541adc084b3eaeb81a81fd"
|
35
35
|
Server:
|
@@ -45,33 +45,31 @@ 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
|
+
- '169'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.5
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99948'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 73ea5865-713d-4b99-b0d1-47f920ca8b8f
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.167082'
|
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.6084","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:26Z"}}}'
|
70
68
|
http_version:
|
71
|
-
recorded_at: Sat, 22 Jul 2017
|
69
|
+
recorded_at: Sat, 22 Jul 2017 20:28:18 GMT
|
72
70
|
- request:
|
73
71
|
method: get
|
74
|
-
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,updated&q=doi:10.6084/m9.figshare.4234751.v1&wt=json
|
72
|
+
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.6084/m9.figshare.4234751.v1&wt=json
|
75
73
|
body:
|
76
74
|
encoding: US-ASCII
|
77
75
|
string: ''
|
@@ -92,18 +90,20 @@ http_interactions:
|
|
92
90
|
Content-Type:
|
93
91
|
- application/json;charset=UTF-8
|
94
92
|
Date:
|
95
|
-
- Sat, 22 Jul 2017
|
93
|
+
- Sat, 22 Jul 2017 20:28:19 GMT
|
96
94
|
Server:
|
97
95
|
- openresty/1.11.2.2
|
96
|
+
Content-Length:
|
97
|
+
- '3877'
|
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":106},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"FIGSHARE.ARS","xml":"PHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+PGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNjA4NC9tOS5maWdzaGFyZS40MjM0NzUxLnYxPC9pZGVudGlmaWVyPjxjcmVhdG9ycz48Y3JlYXRvcj48Y3JlYXRvck5hbWU+QWxleGFuZGVyIEp1bmdlPC9jcmVhdG9yTmFtZT48bmFtZUlkZW50aWZpZXIgbmFtZUlkZW50aWZpZXJTY2hlbWU9Ik9SQ0lEIiBzY2hlbWVVUkk9Imh0dHA6Ly9vcmNpZC5vcmciPjAwMDAtMDAwMi0yNDEwLTk2NzE8L25hbWVJZGVudGlmaWVyPjwvY3JlYXRvcj48Y3JlYXRvcj48Y3JlYXRvck5hbWU+SmFuIEMuIFJlZnNnYWFyZDwvY3JlYXRvck5hbWU+P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N0PlN5c3RlbXMgQmlvbG9neTwvc3ViamVjdD48L3N1YmplY3RzPjxwdWJsaXNoZXI+Rmlnc2hhcmU8L3B1Ymxpc2hlcj48cHVibGljYXRpb25ZZWFyPjIwMTY8L3B1YmxpY2F0aW9uWWVhcj48ZGF0ZXM+PGRhdGUgZGF0ZVR5cGU9IkNyZWF0ZWQiPjIwMTYtMTEtMTY8L2RhdGU+PGRhdGUgZGF0ZVR5cGU9IlVwZGF0ZWQiPjIwMTYtMTEtMTY8L2RhdGU+PC9kYXRlcz48cmVzb3VyY2VUeXBlIHJlc291cmNlVHlwZUdlbmVyYWw9IkRhdGFzZXQiPkRhdGFzZXQ8L3Jlc291cmNlVHlwZT48c2l6ZXM+PHNpemU+MTEyMDMzNTUxMiBCeXRlczwvc2l6ZT48L3NpemVzPjxyZWxhdGVkSWRlbnRpZmllcnM+PHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iRE9JIiByZWxhdGlvblR5cGU9IklzSWRlbnRpY2FsVG8iPjEwLjYwODQvbTkuZmlnc2hhcmUuNDIzNDc1MTwvcmVsYXRlZElkZW50aWZpZXI+PC9yZWxhdGVkSWRlbnRpZmllcnM+PHJpZ2h0c0xpc3Q+PHJpZ2h0cyByaWdodHNVUkk9Imh0dHBzOi8vY3JlYXRpdmVjb21tb25zLm9yZy9saWNlbnNlcy9ieS80LjAvIj5DQy1CWTwvcmlnaHRzPjwvcmlnaHRzTGlzdD48L3Jlc291cmNlPg==","allocator_symbol":"FIGSHARE","minted":"2016-11-16T10:49:12Z","updated":"2016-11-16T10:49:12Z","doi":"10.6084/M9.FIGSHARE.4234751.V1"}]}}
|
103
103
|
|
104
104
|
'
|
105
105
|
http_version:
|
106
|
-
recorded_at: Sat, 22 Jul 2017
|
106
|
+
recorded_at: Sat, 22 Jul 2017 20:28:18 GMT
|
107
107
|
- request:
|
108
108
|
method: head
|
109
109
|
uri: https://doi.org/10.6084/m9.figshare.4234751.v1
|
@@ -127,16 +127,16 @@ http_interactions:
|
|
127
127
|
Location:
|
128
128
|
- https://figshare.com/articles/RAIN_v1/4234751/1
|
129
129
|
Expires:
|
130
|
-
- Sat, 22 Jul 2017
|
130
|
+
- Sat, 22 Jul 2017 21:26:21 GMT
|
131
131
|
Content-Type:
|
132
132
|
- text/html;charset=utf-8
|
133
133
|
Content-Length:
|
134
134
|
- '179'
|
135
135
|
Date:
|
136
|
-
- Sat, 22 Jul 2017
|
136
|
+
- Sat, 22 Jul 2017 20:28:19 GMT
|
137
137
|
body:
|
138
138
|
encoding: UTF-8
|
139
139
|
string: ''
|
140
140
|
http_version:
|
141
|
-
recorded_at: Sat, 22 Jul 2017
|
141
|
+
recorded_at: Sat, 22 Jul 2017 20:28:19 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, 22 Jul 2017
|
32
|
+
- Sat, 22 Jul 2017 20:28:13 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"9a46bd199f495df4b5c695de62967e1b"
|
35
35
|
Server:
|
@@ -47,31 +47,29 @@ http_interactions:
|
|
47
47
|
X-Kong-Proxy-Latency:
|
48
48
|
- '1'
|
49
49
|
X-Kong-Upstream-Latency:
|
50
|
-
- '
|
50
|
+
- '527'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.5
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99952'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 3155b431-fb2d-4efd-a5ad-b380868bfa98
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.525182'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
|
-
Content-Length:
|
64
|
-
- '125'
|
65
63
|
Connection:
|
66
64
|
- keep-alive
|
67
65
|
body:
|
68
66
|
encoding: UTF-8
|
69
67
|
string: '{"data":{"id":"10.21233","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:26:05Z"}}}'
|
70
68
|
http_version:
|
71
|
-
recorded_at: Sat, 22 Jul 2017
|
69
|
+
recorded_at: Sat, 22 Jul 2017 20:28:11 GMT
|
72
70
|
- request:
|
73
71
|
method: get
|
74
|
-
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,updated&q=doi:10.21233/n34n5q&wt=json
|
72
|
+
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.21233/n34n5q&wt=json
|
75
73
|
body:
|
76
74
|
encoding: US-ASCII
|
77
75
|
string: ''
|
@@ -92,20 +90,20 @@ http_interactions:
|
|
92
90
|
Content-Type:
|
93
91
|
- application/json;charset=UTF-8
|
94
92
|
Date:
|
95
|
-
- Sat, 22 Jul 2017
|
93
|
+
- Sat, 22 Jul 2017 20:28:13 GMT
|
96
94
|
Server:
|
97
95
|
- openresty/1.11.2.2
|
98
96
|
Content-Length:
|
99
|
-
- '
|
97
|
+
- '4288'
|
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":155},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"PURDUE.UWISC","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9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Rpb24gZGVzY3JpcHRpb25UeXBlPSJBYnN0cmFjdCIgeG1sOmxhbmc9IkVOIj5SYXcgZGF0YSBmb3IgdGhlIE51ZWx0aW4gTGFrZSBTaXRlIDEgcG9sbGVuIHN1cmZhY2Ugc2FtcGxlIGRhdGFzZXQgb2J0YWluZWQgZnJvbSB0aGUgTmVvdG9tYSBQYWxlb2Vjb2xvZ2ljYWwgRGF0YWJhc2UuPC9kZXNjcmlwdGlvbj4gIDwvZGVzY3JpcHRpb25zPiAgPHJpZ2h0c0xpc3Q+ICAgIDxyaWdodHMgcmlnaHRzVVJJPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9saWNlbnNlcy9ieS80LjAvZGVlZC5lbl9VUyI+Q0MtQlk0PC9yaWdodHM+ICA8L3JpZ2h0c0xpc3Q+ICA8Z2VvTG9jYXRpb25zPiAgICA8Z2VvTG9jYXRpb24+ICAgICAgPGdlb0xvY2F0aW9uQm94PjYwLjAzIC05OS44NSA2MC4wMyAtOTkuODU8L2dlb0xvY2F0aW9uQm94PiAgICA8L2dlb0xvY2F0aW9uPiAgPC9nZW9Mb2NhdGlvbnM+PC9yZXNvdXJjZT4=","allocator_symbol":"PURDUE","minted":"2017-04-18T01:36:23Z","updated":"2017-04-18T01:36:23Z","doi":"10.21233/N34N5Q"}]}}
|
105
103
|
|
106
104
|
'
|
107
105
|
http_version:
|
108
|
-
recorded_at: Sat, 22 Jul 2017
|
106
|
+
recorded_at: Sat, 22 Jul 2017 20:28:12 GMT
|
109
107
|
- request:
|
110
108
|
method: head
|
111
109
|
uri: https://doi.org/10.21233/n34n5q
|
@@ -129,16 +127,16 @@ http_interactions:
|
|
129
127
|
Location:
|
130
128
|
- http://data.neotomadb.org/datasets/3157
|
131
129
|
Expires:
|
132
|
-
- Sat, 22 Jul 2017
|
130
|
+
- Sat, 22 Jul 2017 21:26:21 GMT
|
133
131
|
Content-Type:
|
134
132
|
- text/html;charset=utf-8
|
135
133
|
Content-Length:
|
136
134
|
- '163'
|
137
135
|
Date:
|
138
|
-
- Sat, 22 Jul 2017
|
136
|
+
- Sat, 22 Jul 2017 20:28:14 GMT
|
139
137
|
body:
|
140
138
|
encoding: UTF-8
|
141
139
|
string: ''
|
142
140
|
http_version:
|
143
|
-
recorded_at: Sat, 22 Jul 2017
|
141
|
+
recorded_at: Sat, 22 Jul 2017 20:28:13 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, 22 Jul 2017
|
32
|
+
- Sat, 22 Jul 2017 20:28:29 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"aa6fa14b140bcc63272dcdd760463b2a"
|
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
|
+
- '626'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.5
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99944'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- fc861733-6eca-482d-8198-f01024c93a83
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.620732'
|
61
61
|
X-Xss-Protection:
|
62
62
|
- 1; mode=block
|
63
63
|
Content-Length:
|
@@ -68,10 +68,10 @@ http_interactions:
|
|
68
68
|
encoding: UTF-8
|
69
69
|
string: '{"data":{"id":"10.7910","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:41Z"}}}'
|
70
70
|
http_version:
|
71
|
-
recorded_at: Sat, 22 Jul 2017
|
71
|
+
recorded_at: Sat, 22 Jul 2017 20:28:28 GMT
|
72
72
|
- request:
|
73
73
|
method: get
|
74
|
-
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,updated&q=doi:10.7910/dvn/eqtqyo&wt=json
|
74
|
+
uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.7910/dvn/eqtqyo&wt=json
|
75
75
|
body:
|
76
76
|
encoding: US-ASCII
|
77
77
|
string: ''
|
@@ -92,20 +92,18 @@ http_interactions:
|
|
92
92
|
Content-Type:
|
93
93
|
- application/json;charset=UTF-8
|
94
94
|
Date:
|
95
|
-
- Sat, 22 Jul 2017
|
95
|
+
- Sat, 22 Jul 2017 20:28:29 GMT
|
96
96
|
Server:
|
97
97
|
- openresty/1.11.2.2
|
98
|
-
Content-Length:
|
99
|
-
- '1310'
|
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":1},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"CDL.DATAVERS","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIKICB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIgogIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL2RhdGFjaXRlLm9yZy9zY2hlbWEva2VybmVsLTQKICAgIGh0dHA6Ly9zY2hlbWEuZGF0YWNpdGUub3JnL21ldGEva2VybmVsLTQvbWV0YWRhdGEueHNkIj4KICA8aWRlbnRpZmllciBpZGVudGlmaWVyVHlwZT0iRE9JIj4xMC43OTEwL0RWTi9FUVRRWU88L2lkZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5Fbm9zLCBSeWFuIChIYXJ2YXJkIFVuaXZlcnNpdHkpOyBGb3dsZXIsIEFudGhvbnkgKFVuaXZlcnNpdHkgb2YgQ2hpY2Fnbyk7IFZhdnJlY2ssIEx5bm4gKFVDTEEpPC9jcmVhdG9yTmFtZT4KICAgIDwvY3JlYXRvcj4KICA8L2NyZWF0b3JzPgogIDx0aXRsZXM+CiAgICA8dGl0bGU+UmVwbGljYXRpb24gRGF0YSBmb3I6IEluY3JlYXNpbmcgSW5lcXVhbGl0eTogVGhlIEVmZmVjdCBvZiBHT1RWIE1vYmlsaXphdGlvbiBvbiB0aGUgQ29tcG9zaXRpb24gb2YgdGhlIEVsZWN0b3JhdGU8L3RpdGxlPgogIDwvdGl0bGVzPgogIDxwdWJsaXNoZXI+SGFydmFyZCBEYXRhdmVyc2U8L3B1Ymxpc2hlcj4KICA8cHVibGljYXRpb25ZZWFyPjIwMTc8L3B1YmxpY2F0aW9uWWVhcj4KICA8cmVzb3VyY2VUeXBlIHJlc291cmNlVHlwZUdlbmVyYWw9IkRhdGFzZXQiLz4KPC9yZXNvdXJjZT4K","allocator_symbol":"CDL","minted":"2017-04-12T19:46:37Z","updated":"2017-04-12T19:46:37Z","doi":"10.7910/DVN/EQTQYO"}]}}
|
105
103
|
|
106
104
|
'
|
107
105
|
http_version:
|
108
|
-
recorded_at: Sat, 22 Jul 2017
|
106
|
+
recorded_at: Sat, 22 Jul 2017 20:28:28 GMT
|
109
107
|
- request:
|
110
108
|
method: head
|
111
109
|
uri: https://doi.org/10.7910/dvn/eqtqyo
|
@@ -129,16 +127,16 @@ http_interactions:
|
|
129
127
|
Location:
|
130
128
|
- https://dataverse.harvard.edu/citation?persistentId=doi:10.7910/DVN/EQTQYO
|
131
129
|
Expires:
|
132
|
-
- Sat, 22 Jul 2017
|
130
|
+
- Sat, 22 Jul 2017 21:26:21 GMT
|
133
131
|
Content-Type:
|
134
132
|
- text/html;charset=utf-8
|
135
133
|
Content-Length:
|
136
134
|
- '233'
|
137
135
|
Date:
|
138
|
-
- Sat, 22 Jul 2017
|
136
|
+
- Sat, 22 Jul 2017 20:28:30 GMT
|
139
137
|
body:
|
140
138
|
encoding: UTF-8
|
141
139
|
string: ''
|
142
140
|
http_version:
|
143
|
-
recorded_at: Sat, 22 Jul 2017
|
141
|
+
recorded_at: Sat, 22 Jul 2017 20:28:29 GMT
|
144
142
|
recorded_with: VCR 3.0.3
|