bolognese 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -16
- data/README.md +9 -0
- data/lib/bolognese.rb +0 -8
- data/lib/bolognese/array.rb +2 -2
- data/lib/bolognese/author_utils.rb +18 -6
- data/lib/bolognese/cli.rb +2 -17
- data/lib/bolognese/datacite_utils.rb +8 -7
- data/lib/bolognese/metadata.rb +291 -178
- data/lib/bolognese/readers/bibtex_reader.rb +66 -0
- data/lib/bolognese/readers/citeproc_reader.rb +74 -0
- data/lib/bolognese/readers/codemeta_reader.rb +71 -0
- data/lib/bolognese/readers/crosscite_reader.rb +12 -0
- data/lib/bolognese/readers/crossref_reader.rb +209 -0
- data/lib/bolognese/readers/datacite_json_reader.rb +75 -0
- data/lib/bolognese/readers/datacite_reader.rb +181 -0
- data/lib/bolognese/readers/ris_reader.rb +84 -0
- data/lib/bolognese/readers/schema_org_reader.rb +119 -0
- data/lib/bolognese/utils.rb +42 -67
- data/lib/bolognese/version.rb +1 -1
- data/lib/bolognese/writers/bibtex_writer.rb +25 -0
- data/lib/bolognese/writers/citeproc_writer.rb +29 -0
- data/lib/bolognese/writers/codemeta_writer.rb +25 -0
- data/lib/bolognese/writers/crosscite_writer.rb +49 -0
- data/lib/bolognese/writers/crossref_writer.rb +9 -0
- data/lib/bolognese/writers/datacite_json_writer.rb +45 -0
- data/lib/bolognese/writers/datacite_writer.rb +10 -0
- data/lib/bolognese/writers/rdf_xml_writer.rb +9 -0
- data/lib/bolognese/writers/ris_writer.rb +26 -0
- data/lib/bolognese/writers/schema_org_writer.rb +45 -0
- data/lib/bolognese/writers/turtle_writer.rb +9 -0
- data/spec/author_utils_spec.rb +74 -34
- data/spec/cli_spec.rb +6 -6
- data/spec/datacite_utils_spec.rb +10 -11
- data/spec/doi_utils_spec.rb +2 -1
- data/spec/fixtures/crossref.ris +2 -1
- data/spec/fixtures/datacite.json +6 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +9 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +9 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +10 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +8 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +11 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +10 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +10 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +201 -200
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +201 -200
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +201 -200
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +201 -200
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/is_personal_name_/has_type_organization.yml → Bolognese_Metadata/authors_as_string/author.yml} +61 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/authors_as_string/single_author.yml → Bolognese_Metadata/authors_as_string/no_author.yml} +60 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +204 -6
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +204 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +204 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +204 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +102 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +100 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +102 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +100 -4
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +97 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_name_identifier/has_ORCID.yml → Bolognese_Metadata/find_from_format_by_ID/schema_org.yml} +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_one_author/has_familyName.yml → Bolognese_Metadata/find_from_format_from_file/codemeta.yml} +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +97 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/is_personal_name_/has_no_info.yml → Bolognese_Metadata/from_schema_org/with_id.yml} +59 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata → Bolognese_Metadata/get_codemeta_metadata}/maremma.yml +9 -9
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata → Bolognese_Metadata/get_codemeta_metadata}/no_codemeta_json.yml +8 -8
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata → Bolognese_Metadata/get_codemeta_metadata}/not_found_error.yml +8 -8
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata → Bolognese_Metadata/get_crossref_metadata}/DOI_with_ORCID_ID.yml +61 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata → Bolognese_Metadata/get_crossref_metadata}/DOI_with_SICI_DOI.yml +62 -3
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata → Bolognese_Metadata/get_crossref_metadata}/DOI_with_data_citation.yml +61 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata → Bolognese_Metadata/get_crossref_metadata}/date_in_future.yml +61 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata → Bolognese_Metadata/get_crossref_metadata}/journal_article.yml +62 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +97 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +97 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Datacite/get_metadata → Bolognese_Metadata/get_datacite_metadata}/author_only_full_name.yml +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +97 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_name_identifier/has_no_ORCID.yml → Bolognese_Metadata/get_datacite_metadata/date.yml} +63 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Datacite/get_metadata → Bolognese_Metadata/get_datacite_metadata}/keywords_with_attributes.yml +64 -3
- data/spec/fixtures/vcr_cassettes/{Bolognese_Datacite/get_metadata → Bolognese_Metadata/get_datacite_metadata}/multiple_author_names_in_one_creatorName.yml +63 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_one_author/has_name_in_display-order.yml → Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml} +63 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata/posted_content.yml → Bolognese_Metadata/get_date_from_date_parts/date.yml} +59 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +201 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifier/has_ORCID.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifier/has_jacow_org_scheme.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_name_identifier/has_no_ORCID.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_multiple_names_in_display-order.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +134 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +136 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +132 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +136 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_SchemaOrg/get_metadata → Bolognese_Metadata/get_schema_org_metadata}/BlogPosting.yml +201 -200
- data/spec/fixtures/vcr_cassettes/{Bolognese_SchemaOrg/get_metadata → Bolognese_Metadata/get_schema_org_metadata}/not_found_error.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_alternate_identifiers/insert.yml +97 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +97 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +97 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +203 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref → Bolognese_Metadata}/is_personal_name_/has_family_name.yml +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +201 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref → Bolognese_Metadata}/is_personal_name_/has_known_given_name.yml +61 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/is_personal_name_/has_type_person.yml → Bolognese_Metadata/is_personal_name_/has_no_info.yml} +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +97 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/authors_as_string/author.yml → Bolognese_Metadata/normalize_doi/SICI_doi.yml} +59 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +203 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/authors_as_string/no_author.yml → Bolognese_Metadata/normalize_doi/doi_with_protocol.yml} +59 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +203 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_one_author/is_organization.yml → Bolognese_Metadata/normalize_id/url.yml} +59 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +203 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/is_personal_name_/has_comma.yml → Bolognese_Metadata/normalize_url/uri.yml} +2 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/authors_as_string/with_organization.yml → Bolognese_Metadata/normalize_url/with_trailing_slash.yml} +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +203 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/is_personal_name_/has_id.yml → Bolognese_Metadata/parse_attributes/hash.yml} +59 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_SchemaOrg/get_metadata/BlogPosting_schema_org_JSON.yml → Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml} +201 -200
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata_as_datacite_xml → Bolognese_Metadata/write_metadata_as_bibtex}/maremma.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +731 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_citeproc → Bolognese_Metadata/write_metadata_as_bibtex}/with_pages.yml +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_SchemaOrg/get_metadata_as_bibtex/with_data_citation.yml → Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml} +201 -200
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_citeproc → Bolognese_Metadata/write_metadata_as_citeproc}/journal_article.yml +62 -3
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata_as_ris → Bolognese_Metadata/write_metadata_as_citeproc}/maremma.yml +8 -8
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_ris → Bolognese_Metadata/write_metadata_as_citeproc}/with_pages.yml +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata_as_bibtex → Bolognese_Metadata/write_metadata_as_crosscite}/maremma.yml +9 -9
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_datacite_xml → Bolognese_Metadata/write_metadata_as_crosscite}/with_ORCID_ID.yml +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +731 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_SchemaOrg/get_metadata_as_citeproc/BlogPosting.yml → Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml} +201 -200
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_datacite_xml → Bolognese_Metadata/write_metadata_as_crosscite}/with_editor.yml +62 -3
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_one_author/has_name_in_sort-order.yml → Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml} +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +100 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +377 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_datacite_xml → Bolognese_Metadata/write_metadata_as_datacite_json}/with_data_citation.yml +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +654 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +97 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata_as_citeproc → Bolognese_Metadata/write_metadata_as_datacite_xml}/maremma.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +377 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_ris/journal_article.yml → Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml} +61 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +654 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +944 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_DataciteJson/get_metadata_as_rdf_xml → Bolognese_Metadata/write_metadata_as_rdf_xml}/BlogPosting.yml +88 -23
- data/spec/fixtures/vcr_cassettes/{Bolognese_Citeproc/get_metadata_as_rdf_xml/BlogPosting.yml → Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting_Citeproc_JSON.yml} +26 -20
- data/spec/fixtures/vcr_cassettes/{Bolognese_Bibtex/get_metadata_as_rdf_xml → Bolognese_Metadata/write_metadata_as_rdf_xml}/Crossref_DOI.yml +26 -20
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_rdf_xml → Bolognese_Metadata/write_metadata_as_rdf_xml}/journal_article.yml +87 -22
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata_as_rdf_xml → Bolognese_Metadata/write_metadata_as_rdf_xml}/maremma.yml +35 -29
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_turtle → Bolognese_Metadata/write_metadata_as_rdf_xml}/with_pages.yml +88 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +654 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_bibtex/with_data_citation.yml → Bolognese_Metadata/write_metadata_as_ris/journal_article.yml} +59 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +100 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_bibtex → Bolognese_Metadata/write_metadata_as_ris}/with_pages.yml +62 -3
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +99 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +99 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata/Schema_org_JSON.yml → Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml} +61 -2
- data/spec/fixtures/vcr_cassettes/{Bolognese_Codemeta/get_metadata → Bolognese_Metadata/write_metadata_as_schema_org}/maremma_schema_org_JSON.yml +9 -9
- data/spec/fixtures/vcr_cassettes/{Bolognese_Datacite/get_metadata_as_rdf_xml → Bolognese_Metadata/write_metadata_as_turtle}/BlogPosting.yml +88 -23
- data/spec/fixtures/vcr_cassettes/{Bolognese_Citeproc/get_metadata_as_turtle/BlogPosting.yml → Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_Citeproc_JSON.yml} +26 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_DataCite_JSON.yml +4589 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Bibtex/get_metadata_as_turtle → Bolognese_Metadata/write_metadata_as_turtle}/Crossref_DOI.yml +26 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/DataONE.yml +4589 -0
- data/spec/fixtures/vcr_cassettes/{Bolognese_Datacite/get_metadata_as_turtle → Bolognese_Metadata/write_metadata_as_turtle}/Dataset.yml +88 -23
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_turtle → Bolognese_Metadata/write_metadata_as_turtle}/journal_article.yml +87 -22
- data/spec/fixtures/vcr_cassettes/{Bolognese_Crossref/get_metadata_as_rdf_xml → Bolognese_Metadata/write_metadata_as_turtle}/with_pages.yml +87 -22
- data/spec/metadata_spec.rb +8 -2
- data/spec/readers/bibtex_reader_spec.rb +30 -0
- data/spec/readers/citeproc_reader_spec.rb +28 -0
- data/spec/readers/codemeta_reader_spec.rb +90 -0
- data/spec/readers/crossref_reader_spec.rb +142 -0
- data/spec/readers/datacite_json_reader_spec.rb +48 -0
- data/spec/readers/datacite_reader_spec.rb +215 -0
- data/spec/readers/ris_reader_spec.rb +32 -0
- data/spec/readers/schema_org_reader_spec.rb +63 -0
- data/spec/utils_spec.rb +24 -25
- data/spec/writers/bibtex_writer_spec.rb +102 -0
- data/spec/writers/citeproc_writer_spec.rb +138 -0
- data/spec/writers/codemeta_writer_spec.rb +36 -0
- data/spec/writers/crosscite_writer_spec.rb +81 -0
- data/spec/writers/crossref_writer_spec.rb +19 -0
- data/spec/writers/datacite_json_writer_spec.rb +74 -0
- data/spec/writers/datacite_writer_spec.rb +124 -0
- data/spec/writers/rdf_xml_writer_spec.rb +97 -0
- data/spec/writers/ris_writer_spec.rb +153 -0
- data/spec/writers/schema_org_writer_spec.rb +59 -0
- data/spec/writers/turtle_writer_spec.rb +82 -0
- metadata +213 -132
- data/codemeta.json +0 -39
- data/lib/bolognese/bibtex.rb +0 -163
- data/lib/bolognese/citeproc.rb +0 -120
- data/lib/bolognese/codemeta.rb +0 -153
- data/lib/bolognese/crossref.rb +0 -281
- data/lib/bolognese/datacite.rb +0 -288
- data/lib/bolognese/datacite_json.rb +0 -220
- data/lib/bolognese/ris.rb +0 -117
- data/lib/bolognese/schema_org.rb +0 -196
- data/spec/bibtex_spec.rb +0 -90
- data/spec/citeproc_spec.rb +0 -66
- data/spec/codemeta_spec.rb +0 -221
- data/spec/crossref_spec.rb +0 -348
- data/spec/datacite_json_spec.rb +0 -125
- data/spec/datacite_spec.rb +0 -406
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_schema_org_JSON/maremma.yml +0 -100
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_turtle/maremma.yml +0 -4680
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/not_found_error.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_string/DOI_with_data_citation.yml +0 -672
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/author.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_multiple_names_in_display-order.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_Thai.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order_with_ORCID.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/hyper-authorship.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/multiple_author_names.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/multiple_author_names_in_one_field.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/BlogPosting.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Dataset.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Date.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Funding_schema_version_3.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Funding_schema_version_4.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON_IsSupplementTo.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON_isReferencedBy.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/author.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/author_with_scheme.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/is_identical_to.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/jsonlint.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/multiple_licenses.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_bibtex/BlogPosting.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_bibtex/Dataset.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/BlogPosting.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/Dataset.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_codemeta/SoftwareSourceCode.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_datacite_xml_4_0/Dataset.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/BlogPosting.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/Dataset.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_turtle/BlogPosting.yml +0 -4620
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_alternate_identifiers/insert.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_contributors/none.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_creators/insert.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_dates/insert.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_descriptions/insert.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_identifier/doi.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator_only_name.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publication_year/insert.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publisher/insert.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/insert.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/related_identifier.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_resource_type/insert.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_rights_list/insert.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_subjects/insert.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_titles/insert.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_version/insert.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_turtle/BlogPosting.yml +0 -4583
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/generate/datacite.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/read/datacite.yml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_datacite_xml/with_data_citation.yml +0 -653
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_ris/BlogPosting.yml +0 -653
- data/spec/schema_org_spec.rb +0 -151
@@ -1,5 +1,64 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.datacite.org/prefixes/10.7554
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: ''
|
18
|
+
headers:
|
19
|
+
Access-Control-Allow-Headers:
|
20
|
+
- Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
|
21
|
+
Access-Control-Allow-Methods:
|
22
|
+
- GET, POST, OPTIONS
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
Access-Control-Max-Age:
|
26
|
+
- '1728000'
|
27
|
+
Cache-Control:
|
28
|
+
- max-age=0, private, must-revalidate
|
29
|
+
Content-Type:
|
30
|
+
- application/vnd.api+json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Sat, 06 May 2017 11:42:30 GMT
|
33
|
+
Etag:
|
34
|
+
- W/"daf85afdb45f3c2713bc7e75916ba82a"
|
35
|
+
Server:
|
36
|
+
- openresty/1.11.2.2
|
37
|
+
Status:
|
38
|
+
- 200 OK
|
39
|
+
Vary:
|
40
|
+
- Accept-Encoding
|
41
|
+
X-Content-Type-Options:
|
42
|
+
- nosniff
|
43
|
+
X-Frame-Options:
|
44
|
+
- SAMEORIGIN
|
45
|
+
X-Powered-By:
|
46
|
+
- Phusion Passenger 5.1.2
|
47
|
+
X-Request-Id:
|
48
|
+
- f794adfc-4679-4d59-832a-0adbcb53470a
|
49
|
+
X-Runtime:
|
50
|
+
- '0.171109'
|
51
|
+
X-Xss-Protection:
|
52
|
+
- 1; mode=block
|
53
|
+
Content-Length:
|
54
|
+
- '124'
|
55
|
+
Connection:
|
56
|
+
- keep-alive
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"data":{"id":"10.7554","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T21:07:27Z"}}}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Sat, 06 May 2017 11:42:30 GMT
|
3
62
|
- request:
|
4
63
|
method: get
|
5
64
|
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.7554/elife.01567&noredirect=true&pid=tech@datacite.org
|
@@ -25,7 +84,7 @@ http_interactions:
|
|
25
84
|
Content-Language:
|
26
85
|
- en-US
|
27
86
|
Date:
|
28
|
-
-
|
87
|
+
- Sat, 06 May 2017 11:42:30 GMT
|
29
88
|
Connection:
|
30
89
|
- close
|
31
90
|
body:
|
@@ -668,7 +727,7 @@ http_interactions:
|
|
668
727
|
aWNsZT4NCiAgICAgIDwvam91cm5hbD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8
|
669
728
|
L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
670
729
|
http_version:
|
671
|
-
recorded_at:
|
730
|
+
recorded_at: Sat, 06 May 2017 11:42:30 GMT
|
672
731
|
- request:
|
673
732
|
method: get
|
674
733
|
uri: http://schema.org/
|
@@ -698,9 +757,9 @@ http_interactions:
|
|
698
757
|
Vary:
|
699
758
|
- Accept, Accept-Encoding
|
700
759
|
X-Cloud-Trace-Context:
|
701
|
-
-
|
760
|
+
- cc41f59fb84fcd0e003b13073210331f
|
702
761
|
Date:
|
703
|
-
-
|
762
|
+
- Sat, 06 May 2017 11:42:32 GMT
|
704
763
|
Server:
|
705
764
|
- Google Frontend
|
706
765
|
Content-Length:
|
@@ -711,7 +770,7 @@ http_interactions:
|
|
711
770
|
encoding: UTF-8
|
712
771
|
string: ''
|
713
772
|
http_version:
|
714
|
-
recorded_at:
|
773
|
+
recorded_at: Sat, 06 May 2017 11:42:32 GMT
|
715
774
|
- request:
|
716
775
|
method: get
|
717
776
|
uri: http://schema.org/docs/jsonldcontext.json
|
@@ -739,21 +798,21 @@ http_interactions:
|
|
739
798
|
Content-Type:
|
740
799
|
- application/ld+json; charset=utf-8
|
741
800
|
Etag:
|
742
|
-
-
|
801
|
+
- 24751170506112659a2048647386json
|
743
802
|
Last-Modified:
|
744
|
-
-
|
803
|
+
- Sat, 06 May 2017 11:26:59 UTC
|
745
804
|
X-Cloud-Trace-Context:
|
746
|
-
-
|
805
|
+
- 3818b621ae7b9fb6c27f07afef86b57a;o=1
|
747
806
|
Date:
|
748
|
-
-
|
807
|
+
- Sat, 06 May 2017 11:42:34 GMT
|
749
808
|
Server:
|
750
809
|
- Google Frontend
|
751
810
|
Content-Length:
|
752
|
-
- '
|
811
|
+
- '128470'
|
753
812
|
Set-Cookie:
|
754
813
|
- GOOGAPPUID=3-2e; Path=/
|
755
814
|
Expires:
|
756
|
-
-
|
815
|
+
- Sat, 06 May 2017 11:42:34 GMT
|
757
816
|
body:
|
758
817
|
encoding: UTF-8
|
759
818
|
string: |
|
@@ -983,6 +1042,7 @@ http_interactions:
|
|
983
1042
|
"ComputerStore": {"@id": "schema:ComputerStore"},
|
984
1043
|
"ConfirmAction": {"@id": "schema:ConfirmAction"},
|
985
1044
|
"Consortium": {"@id": "schema:Consortium"},
|
1045
|
+
"ConsumeAction": {"@id": "schema:ConsumeAction"},
|
986
1046
|
"ContactPage": {"@id": "schema:ContactPage"},
|
987
1047
|
"ContactPoint": {"@id": "schema:ContactPoint"},
|
988
1048
|
"ContactPointOption": {"@id": "schema:ContactPointOption"},
|
@@ -1215,6 +1275,7 @@ http_interactions:
|
|
1215
1275
|
"ImageGallery": {"@id": "schema:ImageGallery"},
|
1216
1276
|
"ImageObject": {"@id": "schema:ImageObject"},
|
1217
1277
|
"ImagingTest": {"@id": "schema:ImagingTest"},
|
1278
|
+
"InStock": {"@id": "schema:InStock"},
|
1218
1279
|
"InStoreOnly": {"@id": "schema:InStoreOnly"},
|
1219
1280
|
"IndividualProduct": {"@id": "schema:IndividualProduct"},
|
1220
1281
|
"Infectious": {"@id": "schema:Infectious"},
|
@@ -1450,6 +1511,7 @@ http_interactions:
|
|
1450
1511
|
"Osteopathic": {"@id": "schema:Osteopathic"},
|
1451
1512
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
1452
1513
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
1514
|
+
"OutOfStock": {"@id": "schema:OutOfStock"},
|
1453
1515
|
"OutletStore": {"@id": "schema:OutletStore"},
|
1454
1516
|
"OwnershipInfo": {"@id": "schema:OwnershipInfo"},
|
1455
1517
|
"PET": {"@id": "schema:PET"},
|
@@ -2958,7 +3020,7 @@ http_interactions:
|
|
2958
3020
|
}
|
2959
3021
|
}
|
2960
3022
|
http_version:
|
2961
|
-
recorded_at:
|
3023
|
+
recorded_at: Sat, 06 May 2017 11:42:34 GMT
|
2962
3024
|
- request:
|
2963
3025
|
method: get
|
2964
3026
|
uri: http://schema.org/
|
@@ -2988,9 +3050,9 @@ http_interactions:
|
|
2988
3050
|
Vary:
|
2989
3051
|
- Accept, Accept-Encoding
|
2990
3052
|
X-Cloud-Trace-Context:
|
2991
|
-
-
|
3053
|
+
- 171d5607beb87e7749e3671b5ed57ba2
|
2992
3054
|
Date:
|
2993
|
-
-
|
3055
|
+
- Sat, 06 May 2017 11:42:34 GMT
|
2994
3056
|
Server:
|
2995
3057
|
- Google Frontend
|
2996
3058
|
Content-Length:
|
@@ -3001,7 +3063,7 @@ http_interactions:
|
|
3001
3063
|
encoding: UTF-8
|
3002
3064
|
string: ''
|
3003
3065
|
http_version:
|
3004
|
-
recorded_at:
|
3066
|
+
recorded_at: Sat, 06 May 2017 11:42:34 GMT
|
3005
3067
|
- request:
|
3006
3068
|
method: get
|
3007
3069
|
uri: http://schema.org/docs/jsonldcontext.json
|
@@ -3029,21 +3091,21 @@ http_interactions:
|
|
3029
3091
|
Content-Type:
|
3030
3092
|
- application/ld+json; charset=utf-8
|
3031
3093
|
Etag:
|
3032
|
-
-
|
3094
|
+
- 24751170506112659a2048647386json
|
3033
3095
|
Last-Modified:
|
3034
|
-
-
|
3096
|
+
- Sat, 06 May 2017 11:26:59 UTC
|
3035
3097
|
X-Cloud-Trace-Context:
|
3036
|
-
-
|
3098
|
+
- c1b6c78d48c8e571ce50bc580b7c4c51
|
3037
3099
|
Date:
|
3038
|
-
-
|
3100
|
+
- Sat, 06 May 2017 11:42:34 GMT
|
3039
3101
|
Server:
|
3040
3102
|
- Google Frontend
|
3041
3103
|
Content-Length:
|
3042
|
-
- '
|
3104
|
+
- '128470'
|
3043
3105
|
Set-Cookie:
|
3044
3106
|
- GOOGAPPUID=3-2e; Path=/
|
3045
3107
|
Expires:
|
3046
|
-
-
|
3108
|
+
- Sat, 06 May 2017 11:42:34 GMT
|
3047
3109
|
body:
|
3048
3110
|
encoding: UTF-8
|
3049
3111
|
string: |
|
@@ -3273,6 +3335,7 @@ http_interactions:
|
|
3273
3335
|
"ComputerStore": {"@id": "schema:ComputerStore"},
|
3274
3336
|
"ConfirmAction": {"@id": "schema:ConfirmAction"},
|
3275
3337
|
"Consortium": {"@id": "schema:Consortium"},
|
3338
|
+
"ConsumeAction": {"@id": "schema:ConsumeAction"},
|
3276
3339
|
"ContactPage": {"@id": "schema:ContactPage"},
|
3277
3340
|
"ContactPoint": {"@id": "schema:ContactPoint"},
|
3278
3341
|
"ContactPointOption": {"@id": "schema:ContactPointOption"},
|
@@ -3505,6 +3568,7 @@ http_interactions:
|
|
3505
3568
|
"ImageGallery": {"@id": "schema:ImageGallery"},
|
3506
3569
|
"ImageObject": {"@id": "schema:ImageObject"},
|
3507
3570
|
"ImagingTest": {"@id": "schema:ImagingTest"},
|
3571
|
+
"InStock": {"@id": "schema:InStock"},
|
3508
3572
|
"InStoreOnly": {"@id": "schema:InStoreOnly"},
|
3509
3573
|
"IndividualProduct": {"@id": "schema:IndividualProduct"},
|
3510
3574
|
"Infectious": {"@id": "schema:Infectious"},
|
@@ -3740,6 +3804,7 @@ http_interactions:
|
|
3740
3804
|
"Osteopathic": {"@id": "schema:Osteopathic"},
|
3741
3805
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
3742
3806
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
3807
|
+
"OutOfStock": {"@id": "schema:OutOfStock"},
|
3743
3808
|
"OutletStore": {"@id": "schema:OutletStore"},
|
3744
3809
|
"OwnershipInfo": {"@id": "schema:OwnershipInfo"},
|
3745
3810
|
"PET": {"@id": "schema:PET"},
|
@@ -5248,5 +5313,5 @@ http_interactions:
|
|
5248
5313
|
}
|
5249
5314
|
}
|
5250
5315
|
http_version:
|
5251
|
-
recorded_at:
|
5316
|
+
recorded_at: Sat, 06 May 2017 11:42:35 GMT
|
5252
5317
|
recorded_with: VCR 3.0.3
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
|
-
-
|
13
|
+
- application/json
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
@@ -35,35 +35,35 @@ http_interactions:
|
|
35
35
|
X-Geo-Block-List:
|
36
36
|
- ''
|
37
37
|
X-Github-Request-Id:
|
38
|
-
-
|
38
|
+
- 8268:21AF2:1728673:1817383:590DB63B
|
39
39
|
Content-Length:
|
40
40
|
- '1260'
|
41
41
|
Accept-Ranges:
|
42
42
|
- bytes
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Sat, 06 May 2017 11:42:43 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-hhn1521-HHN
|
51
51
|
X-Cache:
|
52
52
|
- HIT
|
53
53
|
X-Cache-Hits:
|
54
54
|
- '1'
|
55
55
|
X-Timer:
|
56
|
-
-
|
56
|
+
- S1494070963.113396,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
|
+
- 3280e4716d3496b03981b57687a55e13029d9c22
|
63
63
|
Expires:
|
64
|
-
-
|
64
|
+
- Sat, 06 May 2017 11:47:43 GMT
|
65
65
|
Source-Age:
|
66
|
-
- '
|
66
|
+
- '119'
|
67
67
|
body:
|
68
68
|
encoding: ASCII-8BIT
|
69
69
|
string: !binary |-
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
YnktbGFuZy5vcmciCgl9LAoJInJlYWRtZSI6ICJodHRwczovL2dpdGh1Yi5j
|
97
97
|
b20vZGF0YWNpdGUvbWFyZW1tYS9ibG9iL21hc3Rlci9SRUFETUUubWQiCn0K
|
98
98
|
http_version:
|
99
|
-
recorded_at:
|
99
|
+
recorded_at: Sat, 06 May 2017 11:42:43 GMT
|
100
100
|
- request:
|
101
101
|
method: get
|
102
102
|
uri: http://schema.org/
|
@@ -126,9 +126,9 @@ http_interactions:
|
|
126
126
|
Vary:
|
127
127
|
- Accept, Accept-Encoding
|
128
128
|
X-Cloud-Trace-Context:
|
129
|
-
-
|
129
|
+
- a38300dbf85f87c0e22104b62d495e4a
|
130
130
|
Date:
|
131
|
-
-
|
131
|
+
- Sat, 06 May 2017 11:42:43 GMT
|
132
132
|
Server:
|
133
133
|
- Google Frontend
|
134
134
|
Content-Length:
|
@@ -139,7 +139,7 @@ http_interactions:
|
|
139
139
|
encoding: UTF-8
|
140
140
|
string: ''
|
141
141
|
http_version:
|
142
|
-
recorded_at:
|
142
|
+
recorded_at: Sat, 06 May 2017 11:42:43 GMT
|
143
143
|
- request:
|
144
144
|
method: get
|
145
145
|
uri: http://schema.org/docs/jsonldcontext.json
|
@@ -167,21 +167,21 @@ http_interactions:
|
|
167
167
|
Content-Type:
|
168
168
|
- application/ld+json; charset=utf-8
|
169
169
|
Etag:
|
170
|
-
-
|
170
|
+
- 24751170506112659a2048647386json
|
171
171
|
Last-Modified:
|
172
|
-
-
|
172
|
+
- Sat, 06 May 2017 11:26:59 UTC
|
173
173
|
X-Cloud-Trace-Context:
|
174
|
-
-
|
174
|
+
- 399bbe3c4d40a6774a15ab88ffc956fb
|
175
175
|
Date:
|
176
|
-
-
|
176
|
+
- Sat, 06 May 2017 11:42:44 GMT
|
177
177
|
Server:
|
178
178
|
- Google Frontend
|
179
179
|
Content-Length:
|
180
|
-
- '
|
180
|
+
- '128470'
|
181
181
|
Set-Cookie:
|
182
182
|
- GOOGAPPUID=3-2e; Path=/
|
183
183
|
Expires:
|
184
|
-
-
|
184
|
+
- Sat, 06 May 2017 11:42:44 GMT
|
185
185
|
body:
|
186
186
|
encoding: UTF-8
|
187
187
|
string: |
|
@@ -411,6 +411,7 @@ http_interactions:
|
|
411
411
|
"ComputerStore": {"@id": "schema:ComputerStore"},
|
412
412
|
"ConfirmAction": {"@id": "schema:ConfirmAction"},
|
413
413
|
"Consortium": {"@id": "schema:Consortium"},
|
414
|
+
"ConsumeAction": {"@id": "schema:ConsumeAction"},
|
414
415
|
"ContactPage": {"@id": "schema:ContactPage"},
|
415
416
|
"ContactPoint": {"@id": "schema:ContactPoint"},
|
416
417
|
"ContactPointOption": {"@id": "schema:ContactPointOption"},
|
@@ -643,6 +644,7 @@ http_interactions:
|
|
643
644
|
"ImageGallery": {"@id": "schema:ImageGallery"},
|
644
645
|
"ImageObject": {"@id": "schema:ImageObject"},
|
645
646
|
"ImagingTest": {"@id": "schema:ImagingTest"},
|
647
|
+
"InStock": {"@id": "schema:InStock"},
|
646
648
|
"InStoreOnly": {"@id": "schema:InStoreOnly"},
|
647
649
|
"IndividualProduct": {"@id": "schema:IndividualProduct"},
|
648
650
|
"Infectious": {"@id": "schema:Infectious"},
|
@@ -878,6 +880,7 @@ http_interactions:
|
|
878
880
|
"Osteopathic": {"@id": "schema:Osteopathic"},
|
879
881
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
880
882
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
883
|
+
"OutOfStock": {"@id": "schema:OutOfStock"},
|
881
884
|
"OutletStore": {"@id": "schema:OutletStore"},
|
882
885
|
"OwnershipInfo": {"@id": "schema:OwnershipInfo"},
|
883
886
|
"PET": {"@id": "schema:PET"},
|
@@ -2386,7 +2389,7 @@ http_interactions:
|
|
2386
2389
|
}
|
2387
2390
|
}
|
2388
2391
|
http_version:
|
2389
|
-
recorded_at:
|
2392
|
+
recorded_at: Sat, 06 May 2017 11:42:44 GMT
|
2390
2393
|
- request:
|
2391
2394
|
method: get
|
2392
2395
|
uri: http://schema.org/
|
@@ -2416,9 +2419,9 @@ http_interactions:
|
|
2416
2419
|
Vary:
|
2417
2420
|
- Accept, Accept-Encoding
|
2418
2421
|
X-Cloud-Trace-Context:
|
2419
|
-
-
|
2422
|
+
- 876524f711918f78e6f08bb850c903a0
|
2420
2423
|
Date:
|
2421
|
-
-
|
2424
|
+
- Sat, 06 May 2017 11:42:44 GMT
|
2422
2425
|
Server:
|
2423
2426
|
- Google Frontend
|
2424
2427
|
Content-Length:
|
@@ -2429,7 +2432,7 @@ http_interactions:
|
|
2429
2432
|
encoding: UTF-8
|
2430
2433
|
string: ''
|
2431
2434
|
http_version:
|
2432
|
-
recorded_at:
|
2435
|
+
recorded_at: Sat, 06 May 2017 11:42:44 GMT
|
2433
2436
|
- request:
|
2434
2437
|
method: get
|
2435
2438
|
uri: http://schema.org/docs/jsonldcontext.json
|
@@ -2457,21 +2460,21 @@ http_interactions:
|
|
2457
2460
|
Content-Type:
|
2458
2461
|
- application/ld+json; charset=utf-8
|
2459
2462
|
Etag:
|
2460
|
-
-
|
2463
|
+
- 24751170506112659a2048647386json
|
2461
2464
|
Last-Modified:
|
2462
|
-
-
|
2465
|
+
- Sat, 06 May 2017 11:26:59 UTC
|
2463
2466
|
X-Cloud-Trace-Context:
|
2464
|
-
-
|
2467
|
+
- 2b4f846f685987fa3b07b4b3a649b80a
|
2465
2468
|
Date:
|
2466
|
-
-
|
2469
|
+
- Sat, 06 May 2017 11:42:44 GMT
|
2467
2470
|
Server:
|
2468
2471
|
- Google Frontend
|
2469
2472
|
Content-Length:
|
2470
|
-
- '
|
2473
|
+
- '128470'
|
2471
2474
|
Set-Cookie:
|
2472
2475
|
- GOOGAPPUID=3-2e; Path=/
|
2473
2476
|
Expires:
|
2474
|
-
-
|
2477
|
+
- Sat, 06 May 2017 11:42:44 GMT
|
2475
2478
|
body:
|
2476
2479
|
encoding: UTF-8
|
2477
2480
|
string: |
|
@@ -2701,6 +2704,7 @@ http_interactions:
|
|
2701
2704
|
"ComputerStore": {"@id": "schema:ComputerStore"},
|
2702
2705
|
"ConfirmAction": {"@id": "schema:ConfirmAction"},
|
2703
2706
|
"Consortium": {"@id": "schema:Consortium"},
|
2707
|
+
"ConsumeAction": {"@id": "schema:ConsumeAction"},
|
2704
2708
|
"ContactPage": {"@id": "schema:ContactPage"},
|
2705
2709
|
"ContactPoint": {"@id": "schema:ContactPoint"},
|
2706
2710
|
"ContactPointOption": {"@id": "schema:ContactPointOption"},
|
@@ -2933,6 +2937,7 @@ http_interactions:
|
|
2933
2937
|
"ImageGallery": {"@id": "schema:ImageGallery"},
|
2934
2938
|
"ImageObject": {"@id": "schema:ImageObject"},
|
2935
2939
|
"ImagingTest": {"@id": "schema:ImagingTest"},
|
2940
|
+
"InStock": {"@id": "schema:InStock"},
|
2936
2941
|
"InStoreOnly": {"@id": "schema:InStoreOnly"},
|
2937
2942
|
"IndividualProduct": {"@id": "schema:IndividualProduct"},
|
2938
2943
|
"Infectious": {"@id": "schema:Infectious"},
|
@@ -3168,6 +3173,7 @@ http_interactions:
|
|
3168
3173
|
"Osteopathic": {"@id": "schema:Osteopathic"},
|
3169
3174
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
3170
3175
|
"Otolaryngologic": {"@id": "schema:Otolaryngologic"},
|
3176
|
+
"OutOfStock": {"@id": "schema:OutOfStock"},
|
3171
3177
|
"OutletStore": {"@id": "schema:OutletStore"},
|
3172
3178
|
"OwnershipInfo": {"@id": "schema:OwnershipInfo"},
|
3173
3179
|
"PET": {"@id": "schema:PET"},
|
@@ -4676,5 +4682,5 @@ http_interactions:
|
|
4676
4682
|
}
|
4677
4683
|
}
|
4678
4684
|
http_version:
|
4679
|
-
recorded_at:
|
4685
|
+
recorded_at: Sat, 06 May 2017 11:42:44 GMT
|
4680
4686
|
recorded_with: VCR 3.0.3
|