bolognese 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +2 -3
- data/lib/bolognese.rb +1 -0
- data/lib/bolognese/datacite.rb +6 -2
- data/lib/bolognese/version.rb +1 -1
- data/spec/codemeta_spec.rb +1 -1
- data/spec/crossref_spec.rb +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Bibtex/get_metadata_as_rdf_xml/Crossref_DOI.yml +18 -4598
- data/spec/fixtures/vcr_cassettes/Bolognese_Bibtex/get_metadata_as_turtle/Crossref_DOI.yml +18 -738
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +14 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +14 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +14 -24
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +16 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +14 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +15 -160
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +15 -160
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +17 -160
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +17 -160
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +17 -160
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +519 -528
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_bibtex.yml +519 -528
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +519 -528
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +519 -528
- data/spec/fixtures/vcr_cassettes/Bolognese_Citeproc/get_metadata_as_rdf_xml/BlogPosting.yml +18 -4598
- data/spec/fixtures/vcr_cassettes/Bolognese_Citeproc/get_metadata_as_turtle/BlogPosting.yml +18 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/maremma.yml +25 -22
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/maremma_schema_org_JSON.yml +23 -20
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/no_codemeta_json.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata/not_found_error.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_bibtex/maremma.yml +24 -21
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_citeproc/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_datacite_xml/maremma.yml +26 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_rdf_xml/maremma.yml +26 -4606
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_ris/maremma.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_schema_org_JSON/maremma.yml +26 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_turtle/maremma.yml +28 -4608
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/no_author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/single_author.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/with_organization.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_ORCID_ID.yml +9 -145
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_SICI_DOI.yml +173 -98
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_data_citation.yml +9 -187
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/Schema_org_JSON.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/date_in_future.yml +9 -83
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/journal_article.yml +9 -155
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/not_found_error.yml +2 -92
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/posted_content.yml +9 -187
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_bibtex/with_pages.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/journal_article.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/with_pages.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_ORCID_ID.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_editor.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/journal_article.yml +23 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_rdf_xml/with_pages.yml +23 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/journal_article.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/with_pages.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_string/DOI_with_data_citation.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/journal_article.yml +23 -23
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_turtle/with_pages.yml +23 -4603
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_ORCID.yml +14 -129
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_no_ORCID.yml +13 -109
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_familyName.yml +13 -130
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order.yml +12 -160
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order_with_ORCID.yml +14 -151
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_sort-order.yml +13 -148
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/is_organization.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_comma.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_family_name.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_id.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_no_info.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_organization.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_person.yml +9 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/BlogPosting.yml +14 -129
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Dataset.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Date.yml +14 -108
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Funding_schema_version_3.yml +14 -114
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Funding_schema_version_4.yml +13 -449
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON_IsSupplementTo.yml +14 -145
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON_isReferencedBy.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/is_identical_to.yml +14 -150
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/multiple_licenses.yml +13 -159
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_bibtex/BlogPosting.yml +14 -129
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_bibtex/Dataset.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/BlogPosting.yml +8 -125
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/Dataset.yml +10 -143
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_codemeta/SoftwareSourceCode.yml +14 -107
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_datacite_xml_4_0/Dataset.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdf_xml/BlogPosting.yml +27 -142
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/BlogPosting.yml +9 -124
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/Dataset.yml +10 -143
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_turtle/BlogPosting.yml +27 -142
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_turtle/Dataset.yml +28 -161
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_alternate_identifiers/insert.yml +13 -148
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_contributors/none.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_creators/insert.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_dates/insert.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_descriptions/insert.yml +13 -130
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_identifier/doi.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator_only_name.yml +13 -148
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publication_year/insert.yml +13 -148
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publisher/insert.yml +13 -148
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/insert.yml +13 -148
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/related_identifier.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_resource_type/insert.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_rights_list/insert.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_subjects/insert.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_titles/insert.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_version/insert.yml +14 -147
- data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_rdf_xml/BlogPosting.yml +27 -142
- data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_turtle/BlogPosting.yml +18 -18
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +5 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +5 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +7 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +8 -16
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +5 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +5 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +5 -19
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +7 -17
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/generate/datacite.yml +10 -143
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/read/datacite.yml +10 -143
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/BlogPosting.yml +538 -538
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/BlogPosting_schema_org_JSON.yml +538 -538
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/not_found_error.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_bibtex/with_data_citation.yml +538 -538
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_citeproc/BlogPosting.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_datacite_xml/with_data_citation.yml +538 -538
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_ris/BlogPosting.yml +12 -12
- metadata +2 -67
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_ris/BlogPosting.yml +0 -100
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/author_from_schema_org/with_id.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/author_to_schema_org/with_id.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/from_schema_org/with_id.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/DOI_with_ORCID_ID.yml +0 -506
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/DOI_with_data_citation.yml +0 -901
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/SICI_doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_from_url_without_doi_proxy.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_prefix_too_long.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_prefix_with_string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_with_protocol.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/dx_doi_org_url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/https_url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/not_valid_doi_prefix.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/doi_as_url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/ftp.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/invalid_url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_id/url_with_utf-8.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_ids/doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_ids/url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_url/doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_url/url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/array.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/hash.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/nil.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/array.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/hash.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/nil.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/sanitize/should_only_keep_specific_tags.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/sanitize/should_remove_a_tags.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/to_schema_org/with_id.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/DOI.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/URL.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Citeproc_JSON.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Schema_org_JSON.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_datacite_xml_4_0/Funding.yml +0 -474
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_microdata/BlogPosting.yml +0 -4735
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdf/xml/BlogPosting.yml +0 -4735
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdf/xml/Dataset.yml +0 -4753
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdfa/BlogPosting.yml +0 -4735
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_rdfxml/BlogPosting.yml +0 -9315
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_string/Dataset.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator_given_and_family_name.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/rel_identifiers.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/BlogPosting.yml +0 -4735
- data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_bibtex/BlogPosting.yml +0 -155
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref_doi_not_url.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite_doi_http.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/orcid.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/crossref.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/crossref_doi_not_url.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/datacite.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider_by_ID/datacite_doi_http.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write/datacite_to_bibtex.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_rdf_xml/BlogPosting.yml +0 -5233
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_turtle/BlogPosting.yml +0 -5233
data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_datacite_xml_4_0/Dataset.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.5061/dryad.8515&wt=json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,164 +10,31 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
|
-
- application/
|
13
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
14
14
|
response:
|
15
15
|
status:
|
16
|
-
code:
|
16
|
+
code: 200
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
-
|
23
|
-
Location:
|
24
|
-
- http://data.datacite.org/10.5061%2Fdryad.8515
|
25
|
-
Expires:
|
26
|
-
- Fri, 24 Feb 2017 00:31:22 GMT
|
19
|
+
Access-Control-Allow-Methods:
|
20
|
+
- GET, POST, OPTIONS
|
21
|
+
Access-Control-Allow-Origin:
|
22
|
+
- "*"
|
27
23
|
Content-Type:
|
28
|
-
-
|
29
|
-
Content-Length:
|
30
|
-
- '175'
|
24
|
+
- application/json;charset=UTF-8
|
31
25
|
Date:
|
32
|
-
-
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
<html><head><title>Handle Redirect</title></head>
|
37
|
-
<body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
|
38
|
-
http_version:
|
39
|
-
recorded_at: Thu, 23 Feb 2017 23:43:35 GMT
|
40
|
-
- request:
|
41
|
-
method: get
|
42
|
-
uri: http://data.datacite.org/10.5061%2Fdryad.8515
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ''
|
46
|
-
headers:
|
47
|
-
User-Agent:
|
48
|
-
- Maremma - https://github.com/datacite/maremma
|
49
|
-
Accept:
|
50
|
-
- application/vnd.datacite.datacite+xml
|
51
|
-
response:
|
52
|
-
status:
|
53
|
-
code: 301
|
54
|
-
message: ''
|
55
|
-
headers:
|
26
|
+
- Tue, 18 Apr 2017 18:29:25 GMT
|
56
27
|
Server:
|
57
28
|
- openresty/1.11.2.2
|
58
|
-
Date:
|
59
|
-
- Thu, 23 Feb 2017 23:43:35 GMT
|
60
|
-
Content-Type:
|
61
|
-
- text/html
|
62
29
|
Content-Length:
|
63
|
-
- '
|
30
|
+
- '3658'
|
64
31
|
Connection:
|
65
32
|
- keep-alive
|
66
|
-
Location:
|
67
|
-
- https://data.datacite.org/10.5061%2Fdryad.8515
|
68
33
|
body:
|
69
34
|
encoding: UTF-8
|
70
|
-
string: "
|
71
|
-
|
72
|
-
|
73
|
-
recorded_at: Thu, 23 Feb 2017 23:43:35 GMT
|
74
|
-
- request:
|
75
|
-
method: get
|
76
|
-
uri: https://data.datacite.org/10.5061%2Fdryad.8515
|
77
|
-
body:
|
78
|
-
encoding: US-ASCII
|
79
|
-
string: ''
|
80
|
-
headers:
|
81
|
-
User-Agent:
|
82
|
-
- Maremma - https://github.com/datacite/maremma
|
83
|
-
Accept:
|
84
|
-
- application/vnd.datacite.datacite+xml
|
85
|
-
response:
|
86
|
-
status:
|
87
|
-
code: 200
|
88
|
-
message: ''
|
89
|
-
headers:
|
90
|
-
Server:
|
91
|
-
- openresty/1.11.2.2
|
92
|
-
Date:
|
93
|
-
- Thu, 23 Feb 2017 23:43:35 GMT
|
94
|
-
Content-Type:
|
95
|
-
- application/vnd.datacite.datacite+xml
|
96
|
-
Content-Length:
|
97
|
-
- '2601'
|
98
|
-
Connection:
|
99
|
-
- keep-alive
|
100
|
-
Cache-Control:
|
101
|
-
- no-transform, max-age=3600
|
102
|
-
Last-Modified:
|
103
|
-
- Sat, 04 Feb 2017 17:54:37 GMT
|
104
|
-
Vary:
|
105
|
-
- Accept
|
106
|
-
Access-Control-Allow-Origin:
|
107
|
-
- "*"
|
108
|
-
Access-Control-Allow-Methods:
|
109
|
-
- GET, POST, OPTIONS
|
110
|
-
body:
|
111
|
-
encoding: ASCII-8BIT
|
112
|
-
string: !binary |-
|
113
|
-
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291
|
114
|
-
cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwt
|
115
|
-
MyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVt
|
116
|
-
YS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01F
|
117
|
-
VFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxu
|
118
|
-
cy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9y
|
119
|
-
Zy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwu
|
120
|
-
b3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8v
|
121
|
-
ZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyB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kZW50aWZpZXI+ICA8L3JlbGF0ZWRJ
|
168
|
-
ZGVudGlmaWVycz4gIDxyaWdodHNMaXN0PiAgICA8cmlnaHRzIHJpZ2h0c1VS
|
169
|
-
ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
|
170
|
-
cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
|
35
|
+
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"minted":"2011-02-01T17:32:02Z","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01FVFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwub3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+ICA8aWRlbnRpZmllciBpZGVudGlmaWVyVHlwZT0iRE9JIj4xMC41MDYxL0RSWUFELjg1MTU8L2lkZW50aWZpZXI+ICA8dmVyc2lvbj4xPC92ZXJzaW9uPiAgPGNyZWF0b3JzPiAgICA8Y3JlYXRvcj4gICAgICA8Y3JlYXRvck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W9uVHlwZT0iSGFzUGFydCI+MTAuNTA2MS9EUllBRC44NTE1LzI8L3JlbGF0ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSXNSZWZlcmVuY2VkQnkiPjEwLjEzNzEvSk9VUk5BTC5QUEFULjEwMDA0NDY8L3JlbGF0ZWRJZGVudGlmaWVyPiAgICA8cmVsYXRlZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJQTUlEIiByZWxhdGlvblR5cGU9IklzUmVmZXJlbmNlZEJ5Ij4xOTQ3ODg3NzwvcmVsYXRlZElkZW50aWZpZXI+ICA8L3JlbGF0ZWRJZGVudGlmaWVycz4gIDxyaWdodHNMaXN0PiAgICA8cmlnaHRzIHJpZ2h0c1VSST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3plcm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+","updated":"2017-02-04T17:54:39Z","doi":"10.5061/DRYAD.8515"}]}}
|
36
|
+
|
37
|
+
'
|
171
38
|
http_version:
|
172
|
-
recorded_at:
|
39
|
+
recorded_at: Tue, 18 Apr 2017 18:29:25 GMT
|
173
40
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,78 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
|
-
- application/
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 303
|
17
|
-
message: ''
|
18
|
-
headers:
|
19
|
-
Server:
|
20
|
-
- Apache-Coyote/1.1
|
21
|
-
Vary:
|
22
|
-
- Accept
|
23
|
-
Location:
|
24
|
-
- http://data.datacite.org/10.5438%2F4k3m-nyvg
|
25
|
-
Expires:
|
26
|
-
- Sat, 15 Apr 2017 09:27:41 GMT
|
27
|
-
Content-Type:
|
28
|
-
- text/html;charset=utf-8
|
29
|
-
Content-Length:
|
30
|
-
- '173'
|
31
|
-
Date:
|
32
|
-
- Sat, 15 Apr 2017 08:53:41 GMT
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
<html><head><title>Handle Redirect</title></head>
|
37
|
-
<body><a href="http://data.datacite.org/10.5438%2F4k3m-nyvg">http://data.datacite.org/10.5438%2F4k3m-nyvg</a></body></html>
|
38
|
-
http_version:
|
39
|
-
recorded_at: Sat, 15 Apr 2017 08:53:42 GMT
|
40
|
-
- request:
|
41
|
-
method: get
|
42
|
-
uri: http://data.datacite.org/10.5438%2F4k3m-nyvg
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ''
|
46
|
-
headers:
|
47
|
-
User-Agent:
|
48
|
-
- Maremma - https://github.com/datacite/maremma
|
49
|
-
Accept:
|
50
|
-
- application/vnd.datacite.datacite+xml
|
51
|
-
response:
|
52
|
-
status:
|
53
|
-
code: 301
|
54
|
-
message: ''
|
55
|
-
headers:
|
56
|
-
Content-Type:
|
57
|
-
- text/html
|
58
|
-
Date:
|
59
|
-
- Sat, 15 Apr 2017 08:53:42 GMT
|
60
|
-
Location:
|
61
|
-
- https://data.datacite.org/10.5438%2F4k3m-nyvg
|
62
|
-
Server:
|
63
|
-
- openresty/1.11.2.2
|
64
|
-
Content-Length:
|
65
|
-
- '191'
|
66
|
-
Connection:
|
67
|
-
- keep-alive
|
68
|
-
body:
|
69
|
-
encoding: UTF-8
|
70
|
-
string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
71
|
-
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
|
72
|
-
http_version:
|
73
|
-
recorded_at: Sat, 15 Apr 2017 08:53:42 GMT
|
74
|
-
- request:
|
75
|
-
method: get
|
76
|
-
uri: https://data.datacite.org/10.5438%2F4k3m-nyvg
|
77
|
-
body:
|
78
|
-
encoding: US-ASCII
|
79
|
-
string: ''
|
80
|
-
headers:
|
81
|
-
User-Agent:
|
82
|
-
- Maremma - https://github.com/datacite/maremma
|
83
|
-
Accept:
|
84
|
-
- application/vnd.datacite.datacite+xml
|
13
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
85
14
|
response:
|
86
15
|
status:
|
87
16
|
code: 200
|
@@ -91,67 +20,23 @@ http_interactions:
|
|
91
20
|
- GET, POST, OPTIONS
|
92
21
|
Access-Control-Allow-Origin:
|
93
22
|
- "*"
|
94
|
-
Cache-Control:
|
95
|
-
- no-transform, max-age=3600
|
96
23
|
Content-Type:
|
97
|
-
- application/
|
24
|
+
- application/json;charset=UTF-8
|
98
25
|
Date:
|
99
|
-
-
|
100
|
-
Last-Modified:
|
101
|
-
- Mon, 09 Jan 2017 13:53:11 GMT
|
26
|
+
- Tue, 18 Apr 2017 18:29:26 GMT
|
102
27
|
Server:
|
103
28
|
- openresty/1.11.2.2
|
104
|
-
Vary:
|
105
|
-
- Accept
|
106
29
|
Content-Length:
|
107
|
-
- '
|
30
|
+
- '3025'
|
108
31
|
Connection:
|
109
32
|
- keep-alive
|
110
33
|
body:
|
111
34
|
encoding: UTF-8
|
112
|
-
string:
|
113
|
-
|
114
|
-
|
115
|
-
<identifier identifierType="DOI">10.5438/4K3M-NYVG</identifier>
|
116
|
-
<creators>
|
117
|
-
<creator>
|
118
|
-
<creatorName>Fenner, Martin</creatorName>
|
119
|
-
<givenName>Martin</givenName>
|
120
|
-
<familyName>Fenner</familyName>
|
121
|
-
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">0000-0003-1419-2405</nameIdentifier>
|
122
|
-
</creator>
|
123
|
-
</creators>
|
124
|
-
<titles>
|
125
|
-
<title>Eating your own Dog Food</title>
|
126
|
-
</titles>
|
127
|
-
<publisher>DataCite</publisher>
|
128
|
-
<publicationYear>2016</publicationYear>
|
129
|
-
<resourceType resourceTypeGeneral="Text">BlogPosting</resourceType>
|
130
|
-
<alternateIdentifiers>
|
131
|
-
<alternateIdentifier alternateIdentifierType="Local accession number">MS-49-3632-5083</alternateIdentifier>
|
132
|
-
</alternateIdentifiers>
|
133
|
-
<subjects>
|
134
|
-
<subject>datacite</subject>
|
135
|
-
<subject>doi</subject>
|
136
|
-
<subject>metadata</subject>
|
137
|
-
</subjects>
|
138
|
-
<dates>
|
139
|
-
<date dateType="Created">2016-12-20</date>
|
140
|
-
<date dateType="Issued">2016-12-20</date>
|
141
|
-
<date dateType="Updated">2016-12-20</date>
|
142
|
-
</dates>
|
143
|
-
<relatedIdentifiers>
|
144
|
-
<relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/0012</relatedIdentifier>
|
145
|
-
<relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/55E5-T5C0</relatedIdentifier>
|
146
|
-
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsPartOf">10.5438/0000-00SS</relatedIdentifier>
|
147
|
-
</relatedIdentifiers>
|
148
|
-
<version>1.0</version>
|
149
|
-
<descriptions>
|
150
|
-
<description descriptionType="Abstract">Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...</description>
|
151
|
-
</descriptions>
|
152
|
-
</resource>
|
35
|
+
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"minted":"2016-12-19T20:49:21Z","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291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RlZElkZW50aWZpZXJzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4KICA8ZGVzY3JpcHRpb25zPgogICAgPGRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPkVhdGluZyB5b3VyIG93biBkb2cgZm9vZCBpcyBhIHNsYW5nIHRlcm0gdG8gZGVzY3JpYmUgdGhhdCBhbiBvcmdhbml6YXRpb24gc2hvdWxkIGl0c2VsZiB1c2UgdGhlIHByb2R1Y3RzIGFuZCBzZXJ2aWNlcyBpdCBwcm92aWRlcy4gRm9yIERhdGFDaXRlIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHByb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJtIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","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"]}]}}
|
36
|
+
|
37
|
+
'
|
153
38
|
http_version:
|
154
|
-
recorded_at:
|
39
|
+
recorded_at: Tue, 18 Apr 2017 18:29:26 GMT
|
155
40
|
- request:
|
156
41
|
method: get
|
157
42
|
uri: http://schema.org/
|
@@ -181,9 +66,9 @@ http_interactions:
|
|
181
66
|
Vary:
|
182
67
|
- Accept, Accept-Encoding
|
183
68
|
X-Cloud-Trace-Context:
|
184
|
-
-
|
69
|
+
- 2bdbf301f02d6cb2503e013e890496bb
|
185
70
|
Date:
|
186
|
-
-
|
71
|
+
- Tue, 18 Apr 2017 18:29:26 GMT
|
187
72
|
Server:
|
188
73
|
- Google Frontend
|
189
74
|
Content-Length:
|
@@ -194,7 +79,7 @@ http_interactions:
|
|
194
79
|
encoding: UTF-8
|
195
80
|
string: ''
|
196
81
|
http_version:
|
197
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 18 Apr 2017 18:29:26 GMT
|
198
83
|
- request:
|
199
84
|
method: get
|
200
85
|
uri: http://schema.org/docs/jsonldcontext.json
|
@@ -222,13 +107,13 @@ http_interactions:
|
|
222
107
|
Content-Type:
|
223
108
|
- application/ld+json; charset=utf-8
|
224
109
|
Etag:
|
225
|
-
-
|
110
|
+
- 24751170418182029a2048647386json
|
226
111
|
Last-Modified:
|
227
|
-
-
|
112
|
+
- Tue, 18 Apr 2017 18:20:29 UTC
|
228
113
|
X-Cloud-Trace-Context:
|
229
|
-
-
|
114
|
+
- d54e5210a97cf2c09f7416f0adf927eb
|
230
115
|
Date:
|
231
|
-
-
|
116
|
+
- Tue, 18 Apr 2017 18:29:27 GMT
|
232
117
|
Server:
|
233
118
|
- Google Frontend
|
234
119
|
Content-Length:
|
@@ -236,7 +121,7 @@ http_interactions:
|
|
236
121
|
Set-Cookie:
|
237
122
|
- GOOGAPPUID=3-2e; Path=/
|
238
123
|
Expires:
|
239
|
-
-
|
124
|
+
- Tue, 18 Apr 2017 18:29:27 GMT
|
240
125
|
body:
|
241
126
|
encoding: UTF-8
|
242
127
|
string: |
|
@@ -2441,7 +2326,7 @@ http_interactions:
|
|
2441
2326
|
}
|
2442
2327
|
}
|
2443
2328
|
http_version:
|
2444
|
-
recorded_at:
|
2329
|
+
recorded_at: Tue, 18 Apr 2017 18:29:27 GMT
|
2445
2330
|
- request:
|
2446
2331
|
method: get
|
2447
2332
|
uri: http://schema.org/
|
@@ -2471,9 +2356,9 @@ http_interactions:
|
|
2471
2356
|
Vary:
|
2472
2357
|
- Accept, Accept-Encoding
|
2473
2358
|
X-Cloud-Trace-Context:
|
2474
|
-
-
|
2359
|
+
- 3ec9098dc874fac71f978e461a49e033
|
2475
2360
|
Date:
|
2476
|
-
-
|
2361
|
+
- Tue, 18 Apr 2017 18:29:27 GMT
|
2477
2362
|
Server:
|
2478
2363
|
- Google Frontend
|
2479
2364
|
Content-Length:
|
@@ -2484,7 +2369,7 @@ http_interactions:
|
|
2484
2369
|
encoding: UTF-8
|
2485
2370
|
string: ''
|
2486
2371
|
http_version:
|
2487
|
-
recorded_at:
|
2372
|
+
recorded_at: Tue, 18 Apr 2017 18:29:27 GMT
|
2488
2373
|
- request:
|
2489
2374
|
method: get
|
2490
2375
|
uri: http://schema.org/docs/jsonldcontext.json
|
@@ -2512,13 +2397,13 @@ http_interactions:
|
|
2512
2397
|
Content-Type:
|
2513
2398
|
- application/ld+json; charset=utf-8
|
2514
2399
|
Etag:
|
2515
|
-
-
|
2400
|
+
- 24751170418182029a2048647386json
|
2516
2401
|
Last-Modified:
|
2517
|
-
-
|
2402
|
+
- Tue, 18 Apr 2017 18:20:29 UTC
|
2518
2403
|
X-Cloud-Trace-Context:
|
2519
|
-
-
|
2404
|
+
- 8356baf8800e7b40971d49d84c423dc9
|
2520
2405
|
Date:
|
2521
|
-
-
|
2406
|
+
- Tue, 18 Apr 2017 18:29:28 GMT
|
2522
2407
|
Server:
|
2523
2408
|
- Google Frontend
|
2524
2409
|
Content-Length:
|
@@ -2526,7 +2411,7 @@ http_interactions:
|
|
2526
2411
|
Set-Cookie:
|
2527
2412
|
- GOOGAPPUID=3-2e; Path=/
|
2528
2413
|
Expires:
|
2529
|
-
-
|
2414
|
+
- Tue, 18 Apr 2017 18:29:28 GMT
|
2530
2415
|
body:
|
2531
2416
|
encoding: UTF-8
|
2532
2417
|
string: |
|
@@ -4731,5 +4616,5 @@ http_interactions:
|
|
4731
4616
|
}
|
4732
4617
|
}
|
4733
4618
|
http_version:
|
4734
|
-
recorded_at:
|
4619
|
+
recorded_at: Tue, 18 Apr 2017 18:29:28 GMT
|
4735
4620
|
recorded_with: VCR 3.0.3
|