bolognese 0.9.42 → 0.9.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/bolognese/readers/crossref_reader.rb +13 -2
- data/lib/bolognese/version.rb +1 -1
- data/spec/cli_spec.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_file/crossref/default.yml +45 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_file/crossref/to_bibtex.yml +45 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_file/crossref/to_crossref.yml +45 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_file/crossref/to_datacite.yml +45 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_file/crossref/to_schema_org.yml +45 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +52 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +52 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_citation.yml +56 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +51 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +51 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +51 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_citation.yml +17 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +15 -15
- 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 +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_doi.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +51 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +51 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +53 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +52 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_test_resolver.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver_http.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +23 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +24 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +19 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +12 -12
- 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 +21 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +12 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +12 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +45 -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 +50 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +51 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +52 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset.yml +162 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +51 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +54 -10
- 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 +51 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_raw/journal_article.yml +45 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_test_system.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +11 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +16 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +12 -12
- 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 +15 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +16 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorName.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_ORCID.yml +15 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_jacow_org_scheme.yml +14 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_multiple_name_identifier.yml +15 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifiers/has_no_ORCID.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_multiple_names_in_display-order.yml +13 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +14 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +15 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +16 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +15 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +11 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +13 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +11 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +16 -16
- 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 +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_alternate_identifiers/insert.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +7 -5
- 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 +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +15 -13
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +13 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +14 -14
- 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 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml +8 -111
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml +48 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml +48 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +5 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +44 -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 +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +8 -6
- 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 +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/journal_article.yml +45 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +8 -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 +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +14 -14
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +44 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +45 -3
- 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 +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +6 -8
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +7 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +45 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +24 -24
- 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 -24
- data/spec/readers/crossref_reader_spec.rb +24 -0
- data/spec/writers/ris_writer_spec.rb +7 -5
- metadata +10 -2
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.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, 05 Aug 2017 13:27:23 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
|
+
- '568'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99955'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- cae5eb8d-0748-44c2-9e43-225fd711e706
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.566315'
|
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, 05 Aug 2017 13:27:21 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,9 +92,11 @@ http_interactions:
|
|
92
92
|
Content-Type:
|
93
93
|
- application/json;charset=UTF-8
|
94
94
|
Date:
|
95
|
-
- Sat,
|
95
|
+
- Sat, 05 Aug 2017 13:27:24 GMT
|
96
96
|
Server:
|
97
97
|
- openresty/1.11.2.2
|
98
|
+
Content-Length:
|
99
|
+
- '3095'
|
98
100
|
Connection:
|
99
101
|
- keep-alive
|
100
102
|
body:
|
@@ -103,7 +105,7 @@ http_interactions:
|
|
103
105
|
|
104
106
|
'
|
105
107
|
http_version:
|
106
|
-
recorded_at: Sat,
|
108
|
+
recorded_at: Sat, 05 Aug 2017 13:27:22 GMT
|
107
109
|
- request:
|
108
110
|
method: head
|
109
111
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -127,16 +129,16 @@ http_interactions:
|
|
127
129
|
Location:
|
128
130
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
129
131
|
Expires:
|
130
|
-
- Sat,
|
132
|
+
- Sat, 05 Aug 2017 14:00:35 GMT
|
131
133
|
Content-Type:
|
132
134
|
- text/html;charset=utf-8
|
133
135
|
Content-Length:
|
134
136
|
- '187'
|
135
137
|
Date:
|
136
|
-
- Sat,
|
138
|
+
- Sat, 05 Aug 2017 13:27:24 GMT
|
137
139
|
body:
|
138
140
|
encoding: UTF-8
|
139
141
|
string: ''
|
140
142
|
http_version:
|
141
|
-
recorded_at: Sat,
|
143
|
+
recorded_at: Sat, 05 Aug 2017 13:27:23 GMT
|
142
144
|
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/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, 05 Aug 2017 13:27:20 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
|
+
- '499'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99956'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 3b3c9b6b-dece-4dc5-9618-5acbdda15e71
|
59
59
|
X-Runtime:
|
60
|
-
- '0.
|
60
|
+
- '0.497262'
|
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, 05 Aug 2017 13:27:19 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,18 +92,20 @@ http_interactions:
|
|
92
92
|
Content-Type:
|
93
93
|
- application/json;charset=UTF-8
|
94
94
|
Date:
|
95
|
-
- Sat,
|
95
|
+
- Sat, 05 Aug 2017 13:27:21 GMT
|
96
96
|
Server:
|
97
97
|
- openresty/1.11.2.2
|
98
|
+
Content-Length:
|
99
|
+
- '3095'
|
98
100
|
Connection:
|
99
101
|
- keep-alive
|
100
102
|
body:
|
101
103
|
encoding: UTF-8
|
102
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
104
|
+
string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"DATACITE.DATACITE","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG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Rlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPkVhdGluZyB5b3VyIG93biBkb2cgZm9vZCBpcyBhIHNsYW5nIHRlcm0gdG8gZGVzY3JpYmUgdGhhdCBhbiBvcmdhbml6YXRpb24gc2hvdWxkIGl0c2VsZiB1c2UgdGhlIHByb2R1Y3RzIGFuZCBzZXJ2aWNlcyBpdCBwcm92aWRlcy4gRm9yIERhdGFDaXRlIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHByb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJtIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","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
105
|
|
104
106
|
'
|
105
107
|
http_version:
|
106
|
-
recorded_at: Sat,
|
108
|
+
recorded_at: Sat, 05 Aug 2017 13:27:20 GMT
|
107
109
|
- request:
|
108
110
|
method: head
|
109
111
|
uri: https://doi.org/10.5438/4k3m-nyvg
|
@@ -127,16 +129,16 @@ http_interactions:
|
|
127
129
|
Location:
|
128
130
|
- https://blog.datacite.org/eating-your-own-dog-food/
|
129
131
|
Expires:
|
130
|
-
- Sat,
|
132
|
+
- Sat, 05 Aug 2017 14:00:35 GMT
|
131
133
|
Content-Type:
|
132
134
|
- text/html;charset=utf-8
|
133
135
|
Content-Length:
|
134
136
|
- '187'
|
135
137
|
Date:
|
136
|
-
- Sat,
|
138
|
+
- Sat, 05 Aug 2017 13:27:21 GMT
|
137
139
|
body:
|
138
140
|
encoding: UTF-8
|
139
141
|
string: ''
|
140
142
|
http_version:
|
141
|
-
recorded_at: Sat,
|
143
|
+
recorded_at: Sat, 05 Aug 2017 13:27:20 GMT
|
142
144
|
recorded_with: VCR 3.0.3
|
@@ -19,13 +19,13 @@ http_interactions:
|
|
19
19
|
Server:
|
20
20
|
- Apache-Coyote/1.1
|
21
21
|
Crossref-Deployment-Name:
|
22
|
-
-
|
22
|
+
- qs2-2
|
23
23
|
Content-Type:
|
24
24
|
- text/xml;charset=UTF-8
|
25
25
|
Content-Language:
|
26
26
|
- en-US
|
27
27
|
Date:
|
28
|
-
- Sat,
|
28
|
+
- Sat, 05 Aug 2017 13:27:50 GMT
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
@@ -33,5 +33,47 @@ http_interactions:
|
|
33
33
|
string: !binary |-
|
34
34
|
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1YWdlPSJlbiIgbWV0YWRhdGFfZGlzdHJpYnV0aW9uX29wdHM9ImFueSI+DQogICAgICAgIDxncm91cF90aXRsZT5TY2llbnRpZmljIENvbW11bmljYXRpb24gYW5kIEVkdWNhdGlvbjwvZ3JvdXBfdGl0bGU+DQogICAgICAgIDxjb250cmlidXRvcnM+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImZpcnN0Ij4NCiAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1hcnRpbjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgIDxzdXJuYW1lPkZlbm5lcjwvc3VybmFtZT4NCiAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3Jj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yZXNvdXJjZT5odHRwczovL3N5bmRpY2F0aW9uLmhpZ2h3aXJlLm9yZy9jb250ZW50L2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgPC9jb2xsZWN0aW9uPg0KICAgICAgICA8L2RvaV9kYXRhPg0KICAgICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
35
35
|
http_version:
|
36
|
-
recorded_at: Sat,
|
36
|
+
recorded_at: Sat, 05 Aug 2017 13:27:49 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Sat, 05 Aug 2017 13:27:51 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Sat, 05 Aug 2017 13:27:50 GMT
|
37
79
|
recorded_with: VCR 3.0.3
|
@@ -35,39 +35,39 @@ http_interactions:
|
|
35
35
|
X-Geo-Block-List:
|
36
36
|
- ''
|
37
37
|
X-Github-Request-Id:
|
38
|
-
-
|
38
|
+
- 49D4:2A69A:123F950:13BC95C:5985C6B6
|
39
39
|
Content-Length:
|
40
40
|
- '1260'
|
41
41
|
Accept-Ranges:
|
42
42
|
- bytes
|
43
43
|
Date:
|
44
|
-
- Sat,
|
44
|
+
- Sat, 05 Aug 2017 13:26:38 GMT
|
45
45
|
Via:
|
46
46
|
- 1.1 varnish
|
47
47
|
Connection:
|
48
48
|
- keep-alive
|
49
49
|
X-Served-By:
|
50
|
-
- cache-
|
50
|
+
- cache-sjc3134-SJC
|
51
51
|
X-Cache:
|
52
52
|
- HIT
|
53
53
|
X-Cache-Hits:
|
54
54
|
- '1'
|
55
55
|
X-Timer:
|
56
|
-
-
|
56
|
+
- S1501939598.112240,VS0,VE0
|
57
57
|
Vary:
|
58
58
|
- Authorization,Accept-Encoding
|
59
59
|
Access-Control-Allow-Origin:
|
60
60
|
- "*"
|
61
61
|
X-Fastly-Request-Id:
|
62
|
-
-
|
62
|
+
- 121baa17a74697072bd5a674666fd0fd5f05b78f
|
63
63
|
Expires:
|
64
|
-
- Sat,
|
64
|
+
- Sat, 05 Aug 2017 13:31:38 GMT
|
65
65
|
Source-Age:
|
66
|
-
- '
|
66
|
+
- '216'
|
67
67
|
body:
|
68
68
|
encoding: ASCII-8BIT
|
69
69
|
string: !binary |-
|
70
70
|
ewoJIkBjb250ZXh0IjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9jb2RlbWV0YS9jb2RlbWV0YS9tYXN0ZXI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4iLAoJImlzQXV0b21hdGVkQnVpbGQiOiB0cnVlLAoJImxpY2Vuc2VJZCI6ICJNSVQiLAoJInB1Ymxpc2hlciI6ICJEYXRhQ2l0ZSIsCgkidGFncyI6IFsKCQkiZmFyYWRheSIsCgkJImV4Y29uIiwKCQkibmV0L2h0dHAiCgldLAoJInRpdGxlIjogIk1hcmVtbWE6IGEgUnVieSBsaWJyYXJ5IGZvciBzaW1wbGlmaWVkIG5ldHdvcmsgY2FsbHMiLAoJInByb2dyYW1taW5nTGFuZ3VhZ2UiOiB7CgkJIm5hbWUiOiAiUnVieSIsCgkJInZlcnNpb24iOiAi4omlIDIuMy4zIiwKCQkiVVJMIjogImh0dHBzOi8vd3d3LnJ1YnktbGFuZy5vcmciCgl9LAoJInJlYWRtZSI6ICJodHRwczovL2dpdGh1Yi5jb20vZGF0YWNpdGUvbWFyZW1tYS9ibG9iL21hc3Rlci9SRUFETUUubWQiCn0K
|
71
71
|
http_version:
|
72
|
-
recorded_at: Sat,
|
72
|
+
recorded_at: Sat, 05 Aug 2017 13:26:36 GMT
|
73
73
|
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/no_codemeta_json.yml
CHANGED
@@ -27,33 +27,33 @@ http_interactions:
|
|
27
27
|
X-Xss-Protection:
|
28
28
|
- 1; mode=block
|
29
29
|
X-Github-Request-Id:
|
30
|
-
-
|
30
|
+
- 91DA:1BAF8:60425:73020:5985C790
|
31
31
|
Content-Length:
|
32
32
|
- '15'
|
33
33
|
Accept-Ranges:
|
34
34
|
- bytes
|
35
35
|
Date:
|
36
|
-
- Sat,
|
36
|
+
- Sat, 05 Aug 2017 13:26:40 GMT
|
37
37
|
Via:
|
38
38
|
- 1.1 varnish
|
39
39
|
Connection:
|
40
40
|
- keep-alive
|
41
41
|
X-Served-By:
|
42
|
-
- cache-
|
42
|
+
- cache-sjc3625-SJC
|
43
43
|
X-Cache:
|
44
44
|
- MISS
|
45
45
|
X-Cache-Hits:
|
46
46
|
- '0'
|
47
47
|
X-Timer:
|
48
|
-
-
|
48
|
+
- S1501939600.008574,VS0,VE149
|
49
49
|
Vary:
|
50
50
|
- Authorization,Accept-Encoding
|
51
51
|
Access-Control-Allow-Origin:
|
52
52
|
- "*"
|
53
53
|
X-Fastly-Request-Id:
|
54
|
-
-
|
54
|
+
- 30749c5a535eabae9f0b4fdbcfeb09b1ea1bb86b
|
55
55
|
Expires:
|
56
|
-
- Sat,
|
56
|
+
- Sat, 05 Aug 2017 13:31:40 GMT
|
57
57
|
Source-Age:
|
58
58
|
- '0'
|
59
59
|
body:
|
@@ -62,5 +62,5 @@ http_interactions:
|
|
62
62
|
|
63
63
|
'
|
64
64
|
http_version:
|
65
|
-
recorded_at: Sat,
|
65
|
+
recorded_at: Sat, 05 Aug 2017 13:26:38 GMT
|
66
66
|
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/not_found_error.yml
CHANGED
@@ -27,33 +27,33 @@ http_interactions:
|
|
27
27
|
X-Xss-Protection:
|
28
28
|
- 1; mode=block
|
29
29
|
X-Github-Request-Id:
|
30
|
-
-
|
30
|
+
- 63AC:154C8:D1623B:E09669:5985C78D
|
31
31
|
Content-Length:
|
32
32
|
- '15'
|
33
33
|
Accept-Ranges:
|
34
34
|
- bytes
|
35
35
|
Date:
|
36
|
-
- Sat,
|
36
|
+
- Sat, 05 Aug 2017 13:26:38 GMT
|
37
37
|
Via:
|
38
38
|
- 1.1 varnish
|
39
39
|
Connection:
|
40
40
|
- keep-alive
|
41
41
|
X-Served-By:
|
42
|
-
- cache-
|
42
|
+
- cache-sjc3628-SJC
|
43
43
|
X-Cache:
|
44
44
|
- MISS
|
45
45
|
X-Cache-Hits:
|
46
46
|
- '0'
|
47
47
|
X-Timer:
|
48
|
-
-
|
48
|
+
- S1501939598.988286,VS0,VE39
|
49
49
|
Vary:
|
50
50
|
- Authorization,Accept-Encoding
|
51
51
|
Access-Control-Allow-Origin:
|
52
52
|
- "*"
|
53
53
|
X-Fastly-Request-Id:
|
54
|
-
-
|
54
|
+
- ac6f3ad1c2df65fbee5abac5944a3db108c4c261
|
55
55
|
Expires:
|
56
|
-
- Sat,
|
56
|
+
- Sat, 05 Aug 2017 13:31:38 GMT
|
57
57
|
Source-Age:
|
58
58
|
- '0'
|
59
59
|
body:
|
@@ -62,5 +62,5 @@ http_interactions:
|
|
62
62
|
|
63
63
|
'
|
64
64
|
http_version:
|
65
|
-
recorded_at: Sat,
|
65
|
+
recorded_at: Sat, 05 Aug 2017 13:26:36 GMT
|
66
66
|
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.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, 05 Aug 2017 13:22:39 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"325be65c21373447eaaa6dcd9f27719d"
|
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
|
+
- '1013'
|
51
51
|
X-Powered-By:
|
52
52
|
- Phusion Passenger 5.1.6
|
53
53
|
X-Ratelimit-Limit-Hour:
|
54
54
|
- '100000'
|
55
55
|
X-Ratelimit-Remaining-Hour:
|
56
|
-
- '
|
56
|
+
- '99994'
|
57
57
|
X-Request-Id:
|
58
|
-
-
|
58
|
+
- 4259ac02-9b38-40a4-9482-7b822874746f
|
59
59
|
X-Runtime:
|
60
|
-
- '
|
60
|
+
- '1.011066'
|
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.1155","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T20:45:51Z"}}}'
|
70
70
|
http_version:
|
71
|
-
recorded_at: Sat,
|
71
|
+
recorded_at: Sat, 05 Aug 2017 13:22:38 GMT
|
72
72
|
- request:
|
73
73
|
method: get
|
74
74
|
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1155/2012/291294&noredirect=true&pid=tech@datacite.org
|
@@ -94,7 +94,7 @@ http_interactions:
|
|
94
94
|
Content-Language:
|
95
95
|
- en-US
|
96
96
|
Date:
|
97
|
-
- Sat,
|
97
|
+
- Sat, 05 Aug 2017 13:22:39 GMT
|
98
98
|
Connection:
|
99
99
|
- close
|
100
100
|
body:
|
@@ -102,5 +102,47 @@ http_interactions:
|
|
102
102
|
string: !binary |-
|
103
103
|
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTE1NSIgdGltZXN0YW1wPSIyMDE2LTA4LTAyIDE0OjQyOjQxIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8am91cm5hbD4NCiAgICAgICAgPGpvdXJuYWxfbWV0YWRhdGEgbGFuZ3VhZ2U9ImVuIj4NCiAgICAgICAgICA8ZnVsbF90aXRsZT5QdWxtb25hcnkgTWVkaWNpbmU8L2Z1bGxfdGl0bGU+DQogICAgICAgICAgPGFiYnJldl90aXRsZT5QdWxtb25hcnkgTWVkaWNpbmU8L2FiYnJldl90aXRsZT4NCiAgICAgICAgICA8aXNzbiBtZWRpYV90eXBlPSJwcmludCI+MjA5MC0xODM2PC9pc3NuPg0KICAgICAgICAgIDxpc3NuIG1lZGlhX3R5cGU9ImVsZWN0cm9uaWMiPjIwOTAtMTg0NDwvaXNzbj4NCiAgICAgICAgPC9qb3VybmFsX21ldGFkYXRhPg0KICAgICAgICA8am91cm5hbF9pc3N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ICAgICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgICAgIDxpdGVtIGNyYXdsZXI9InlhaG9vIj4NCiAgICAgICAgICAgICAgICA8cmVzb3VyY2U+aHR0cDovL2Rvd25sb2Fkcy5oaW5kYXdpLmNvbS9qb3VybmFscy9wbS8yMDEyLzI5MTI5NC5wZGY8L3Jlc291cmNlPg0KICAgICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgICAgIDxpdGVtIGNyYXdsZXI9InNjaXJ1cyI+DQogICAgICAgICAgICAgICAgPHJlc291cmNlPmh0dHA6Ly9kb3dubG9hZHMuaGluZGF3aS5jb20vam91cm5hbHMvcG0vMjAxMi8yOTEyOTQucGRmPC9yZXNvdXJjZT4NCiAgICAgICAgICAgICAgPC9pdGVtPg0KICAgICAgICAgICAgICA8aXRlbSBjcmF3bGVyPSJpUGFyYWRpZ21zIj4NCiAgICAgICAgICAgICAgICA8cmVzb3VyY2U+aHR0cDovL2Rvd25sb2Fkcy5oaW5kYXdpLmNvbS9qb3VybmFscy9wbS8yMDEyLzI5MTI5NC5wZGY8L3Jlc291cmNlPg0KICAgICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgICA8L2NvbGxlY3Rpb24+DQogICAgICAgICAgPC9kb2lfZGF0YT4NCiAgICAgICAgICA8Y2l0YXRpb25fbGlzdD4NCiAgICAgICAgICAgIDxjaXRhdGlvbiBrZXk9IjEiPg0KICAgICAgICAgICAgICA8am91cm5hbF90aXRsZT5BbWVyaWNhbiBKb3VybmFsIG9mIFJlc3BpcmF0b3J5IGFuZCBDcml0aWNhbCBDYXJlIE1lZGljaW5lPC9qb3VybmFsX3RpdGxlPg0KICAgICAgICAgICAgICA8dm9sdW1lPjE3OTwvdm9sdW1lPg0KICAgICAgICAgICAgICA8Y1llYXI+MjAwOTwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMiI+DQogICAgICAgICAgICAgIDxkb2k+MTAuMTEyOC9DVkkuMDAxNjgtMDk8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSIzIj4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMTY0L3JjY20uMjAwNjA0LTQ3Mk9DPC9kb2k+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iNCI+DQogICAgICAgICAgICAgIDxkb2k+MTAuNTU4OC9panRsZC4xMS4wMzY0PC9kb2k+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iNSI+DQogICAgICAgICAgICAgIDxkb2k+MTAuMTEyOC9DVkkuMDUwNTgtMTE8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSI2Ij4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMDA3L3MwMDQyMC0wMTAtMDU3MS14PC9kb2k+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iNyI+DQogICAgICAgICAgICAgIDxkb2k+MTAuMTA4Ni81OTM5NjU8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSI4Ij4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMzc4L2NoZXN0LjA5LTIzNTA8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSI5Ij4NCiAgICAgICAgICAgICAgPGpvdXJuYWxfdGl0bGU+SW50ZXJuYXRpb25hbCBKb3VybmFsIG9mIFR1YmVyY3Vsb3NpcyBhbmQgTHVuZyBEaXNlYXNlPC9qb3VybmFsX3RpdGxlPg0KICAgICAgICAgICAgICA8dm9sdW1lPjEyPC92b2x1bWU+DQogICAgICAgICAgICAgIDxpc3N1ZT4xMTwvaXNzdWU+DQogICAgICAgICAgICAgIDxmaXJzdF9wYWdlPjEyMzU8L2ZpcnN0X3BhZ2U+DQogICAgICAgICAgICAgIDxjWWVhcj4yMDA4PC9jWWVhcj4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSIxMCI+DQogICAgICAgICAgICAgIDxkb2k+MTAuMTA1Ni9ORUpNc2EwMzE2Njc8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSIxMSI+DQogICAgICAgICAgICAgIDxkb2k+MTAuMTM3OC9jaGVzdC4xMjguMS4xMTY8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSIxMiI+DQogICAgICAgICAgICAgIDxjWWVhcj4yMDEyPC9jWWVhcj4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSIxMyI+DQogICAgICAgICAgICAgIDxqb3VybmFsX3RpdGxlPk1vcmJpZGl0eSBhbmQgTW9ydGFsaXR5IFdlZWtseSBSZXBvcnQ8L2pvdXJuYWxfdGl0bGU+DQogICAgICAgICAgICAgIDx2b2x1bWU+NTk8L3ZvbHVtZT4NCiAgICAgICAgICAgICAgPGlzc3VlPjU8L2lzc3VlPg0KICAgICAgICAgICAgICA8Zmlyc3RfcGFnZT4xPC9maXJzdF9wYWdlPg0KICAgICAgICAgICAgICA8Y1llYXI+MjAxMDwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMTQiPg0KICAgICAgICAgICAgICA8Y1llYXI+MjAxMTwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMTUiPg0KICAgICAgICAgICAgICA8Y1llYXI+MjAxMTwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMTYiPg0KICAgICAgICAgICAgICA8Y1llYXI+MjAxMTwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMTciPg0KICAgICAgICAgICAgICA8Y1llYXI+MjAxMTwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMTgiPg0KICAgICAgICAgICAgICA8Y1llYXI+MjAxMjwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMjAiPg0KICAgICAgICAgICAgICA8Y1llYXI+MTk5MjwvY1llYXI+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMjIiPg0KICAgICAgICAgICAgICA8ZG9pPjEwLjMyMDUvZGdraDAwMDE0ODwvZG9pPg0KICAgICAgICAgICAgPC9jaXRhdGlvbj4NCiAgICAgICAgICAgIDxjaXRhdGlvbiBrZXk9IjIzIj4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMzc4L2NoZXN0LjExLTA5OTI8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgICA8Y2l0YXRpb24ga2V5PSIyNCI+DQogICAgICAgICAgICAgIDxkb2k+MTAuMTE4Ni8xNDcxLTIzMzQtMTAtMjIwPC9kb2k+DQogICAgICAgICAgICA8L2NpdGF0aW9uPg0KICAgICAgICAgICAgPGNpdGF0aW9uIGtleT0iMjUiPg0KICAgICAgICAgICAgICA8ZG9pPjEwLjExODYvMTc0NS02NjczLTctNjwvZG9pPg0KICAgICAgICAgICAgPC9jaXRhdGlvbj4NCiAgICAgICAgICAgIDxjaXRhdGlvbiBrZXk9IjI3Ij4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMTI4L0NWSS4wMDM5OC0wNzwvZG9pPg0KICAgICAgICAgICAgPC9jaXRhdGlvbj4NCiAgICAgICAgICAgIDxjaXRhdGlvbiBrZXk9IjI4Ij4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMTY0L3JjY20uMjAxMDA2LTA5NzRPQzwvZG9pPg0KICAgICAgICAgICAgPC9jaXRhdGlvbj4NCiAgICAgICAgICAgIDxjaXRhdGlvbiBrZXk9IjI5Ij4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMTM2L3RoeC4yMDEwLjE0MzE4MDwvZG9pPg0KICAgICAgICAgICAgPC9jaXRhdGlvbj4NCiAgICAgICAgICAgIDxjaXRhdGlvbiBrZXk9IjMwIj4NCiAgICAgICAgICAgICAgPGRvaT4xMC4xMzc4L2NoZXN0LjEyLTAwNDU8L2RvaT4NCiAgICAgICAgICAgIDwvY2l0YXRpb24+DQogICAgICAgICAgPC9jaXRhdGlvbl9saXN0Pg0KICAgICAgICA8L2pvdXJuYWxfYXJ0aWNsZT4NCiAgICAgIDwvam91cm5hbD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
104
104
|
http_version:
|
105
|
-
recorded_at: Sat,
|
105
|
+
recorded_at: Sat, 05 Aug 2017 13:22:38 GMT
|
106
|
+
- request:
|
107
|
+
method: get
|
108
|
+
uri: http://api.crossref.org/prefixes/10.1155
|
109
|
+
body:
|
110
|
+
encoding: US-ASCII
|
111
|
+
string: ''
|
112
|
+
headers:
|
113
|
+
User-Agent:
|
114
|
+
- Maremma - https://github.com/datacite/maremma
|
115
|
+
Accept:
|
116
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
117
|
+
response:
|
118
|
+
status:
|
119
|
+
code: 200
|
120
|
+
message: OK
|
121
|
+
headers:
|
122
|
+
Content-Type:
|
123
|
+
- application/json;charset=UTF-8
|
124
|
+
Vary:
|
125
|
+
- Accept
|
126
|
+
Access-Control-Allow-Origin:
|
127
|
+
- "*"
|
128
|
+
Access-Control-Allow-Headers:
|
129
|
+
- X-Requested-With
|
130
|
+
Content-Length:
|
131
|
+
- '203'
|
132
|
+
Server:
|
133
|
+
- http-kit
|
134
|
+
Date:
|
135
|
+
- Sat, 05 Aug 2017 13:22:41 GMT
|
136
|
+
X-Rate-Limit-Limit:
|
137
|
+
- '50'
|
138
|
+
X-Rate-Limit-Interval:
|
139
|
+
- 1s
|
140
|
+
Connection:
|
141
|
+
- close
|
142
|
+
body:
|
143
|
+
encoding: UTF-8
|
144
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/98","name":"Hindawi
|
145
|
+
Limited","prefix":"http:\/\/id.crossref.org\/prefix\/10.1155"}}'
|
146
|
+
http_version:
|
147
|
+
recorded_at: Sat, 05 Aug 2017 13:22:39 GMT
|
106
148
|
recorded_with: VCR 3.0.3
|