diff --git a/.circleci/config.yml b/.circleci/config.yml index dce96104..3770a8e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,7 @@ jobs: project: qa - samvera/engine_cart_generate: - cache_key: v7-internal-test-app-{{ checksum "qa.gemspec" }}-{{ checksum "spec/test_app_templates/lib/generators/test_app_generator.rb" }}-{{ checksum "lib/generators/qa/install/install_generator.rb" }}-<< parameters.rails_version >>-<< parameters.ruby_version >> + cache_key: v9-internal-test-app-{{ checksum "qa.gemspec" }}-{{ checksum "spec/test_app_templates/lib/generators/test_app_generator.rb" }}-{{ checksum "lib/generators/qa/install/install_generator.rb" }}-<< parameters.rails_version >>-<< parameters.ruby_version >> - samvera/bundle_for_gem: ruby_version: << parameters.ruby_version >> diff --git a/spec/fixtures/authorities/linked_data/lod_encoding_config.json b/spec/fixtures/authorities/linked_data/lod_encoding_config.json index 3646a445..fa21c590 100644 --- a/spec/fixtures/authorities/linked_data/lod_encoding_config.json +++ b/spec/fixtures/authorities/linked_data/lod_encoding_config.json @@ -1,5 +1,8 @@ { "QA_CONFIG_VERSION": "2.0", + "prefixes": { + "loc": "http://id.loc.gov/vocabulary/identifiers/" + }, "term": { "url": { "@context": "http://www.w3.org/ns/hydra/context.jsonld", @@ -41,8 +44,8 @@ }, "term_id": "URI", "results": { - "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn", - "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel" + "id_ldpath": "loc:lccn", + "label_ldpath": "skos:prefLabel" } }, "search": { diff --git a/spec/fixtures/authorities/linked_data/lod_search_only_config.json b/spec/fixtures/authorities/linked_data/lod_search_only_config.json index ef5843c6..53011caf 100644 --- a/spec/fixtures/authorities/linked_data/lod_search_only_config.json +++ b/spec/fixtures/authorities/linked_data/lod_search_only_config.json @@ -1,5 +1,8 @@ { "QA_CONFIG_VERSION": "2.0", + "prefixes": { + "loc": "http://id.loc.gov/vocabulary/identifiers/" + }, "term": {}, "search": { "url": { @@ -39,10 +42,10 @@ }, "language": [ "en" ], "results": { - "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn", - "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel", - "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel", - "sort_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel" + "id_ldpath": "loc:lccn", + "label_ldpath": "skos:prefLabel", + "altlabel_ldpath": "skos:altLabel", + "sort_ldpath": "skos:prefLabel" }, "subauthorities": { "subjects": "subjects", diff --git a/spec/fixtures/authorities/linked_data/lod_sort.json b/spec/fixtures/authorities/linked_data/lod_sort.json index 184ef707..eaa6f088 100644 --- a/spec/fixtures/authorities/linked_data/lod_sort.json +++ b/spec/fixtures/authorities/linked_data/lod_sort.json @@ -1,5 +1,8 @@ { "QA_CONFIG_VERSION": "2.0", + "prefixes": { + "dcterms": "http://purl.org/dc/terms/" + }, "term": {}, "search": { "url": { @@ -20,9 +23,9 @@ "query": "query" }, "results": { - "id_predicate": "http://purl.org/dc/terms/identifier", - "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel", - "sort_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel" + "id_ldpath": "dcterms:identifier", + "label_ldpath": "skos:prefLabel", + "sort_ldpath": "skos:prefLabel" } } } diff --git a/spec/fixtures/authorities/linked_data/lod_term_id_param_config.json b/spec/fixtures/authorities/linked_data/lod_term_id_param_config.json index 320096f5..c64f2c26 100644 --- a/spec/fixtures/authorities/linked_data/lod_term_id_param_config.json +++ b/spec/fixtures/authorities/linked_data/lod_term_id_param_config.json @@ -1,5 +1,8 @@ { "QA_CONFIG_VERSION": "2.0", + "prefixes": { + "loc": "http://id.loc.gov/vocabulary/identifiers/" + }, "term": { "url": { "@context": "http://www.w3.org/ns/hydra/context.jsonld", @@ -20,8 +23,8 @@ }, "term_id": "ID", "results": { - "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn", - "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel" + "id_ldpath": "loc:lccn", + "label_ldpath": "skos:prefLabel" } }, "search": {} diff --git a/spec/fixtures/authorities/linked_data/lod_term_only_config.json b/spec/fixtures/authorities/linked_data/lod_term_only_config.json index e9d019ce..8687342e 100644 --- a/spec/fixtures/authorities/linked_data/lod_term_only_config.json +++ b/spec/fixtures/authorities/linked_data/lod_term_only_config.json @@ -1,5 +1,8 @@ { "QA_CONFIG_VERSION": "2.0", + "prefixes": { + "loc": "http://id.loc.gov/vocabulary/identifiers/" + }, "term": { "url": { "@context": "http://www.w3.org/ns/hydra/context.jsonld", @@ -43,12 +46,12 @@ "term_id": "ID", "language": [ "en" ], "results": { - "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn", - "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel", - "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel", - "broader_predicate": "http://www.w3.org/2004/02/skos/core#broader", - "narrower_predicate": "http://www.w3.org/2004/02/skos/core#narrower", - "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch" + "id_ldpath": "loc:lccn", + "label_ldpath": "skos:prefLabel", + "altlabel_ldpath": "skos:altLabel", + "broader_ldpath": "skos:broader", + "narrower_ldpath": "skos:narrower", + "sameas_ldpath": "skos:exactMatch" }, "subauthorities": { "term_sub1_key": "term_sub1_name", diff --git a/spec/fixtures/authorities/linked_data/lod_term_uri_param_config.json b/spec/fixtures/authorities/linked_data/lod_term_uri_param_config.json index 5d9def5c..a86b68d4 100644 --- a/spec/fixtures/authorities/linked_data/lod_term_uri_param_config.json +++ b/spec/fixtures/authorities/linked_data/lod_term_uri_param_config.json @@ -1,5 +1,8 @@ { "QA_CONFIG_VERSION": "2.0", + "prefixes": { + "loc": "http://id.loc.gov/vocabulary/identifiers/" + }, "term": { "url": { "@context": "http://www.w3.org/ns/hydra/context.jsonld", @@ -20,8 +23,8 @@ }, "term_id": "URI", "results": { - "id_predicate": "http://purl.org/dc/terms/identifier", - "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel" + "id_ldpath": "loc:lccn", + "label_ldpath": "skos:prefLabel" } }, "search": {}