qa 4.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/controllers/qa/linked_data_terms_controller.rb +17 -39
- data/app/controllers/qa/terms_controller.rb +26 -2
- data/app/services/qa/linked_data/authority_url_service.rb +35 -21
- data/app/services/qa/linked_data/graph_service.rb +2 -4
- data/app/services/qa/linked_data/request_header_service.rb +97 -0
- data/lib/qa/authorities/discogs/discogs_instance_builder.rb +17 -19
- data/lib/qa/authorities/discogs/discogs_translation.rb +26 -22
- data/lib/qa/authorities/discogs/discogs_utils.rb +32 -20
- data/lib/qa/authorities/discogs/discogs_works_builder.rb +26 -47
- data/lib/qa/authorities/discogs/generic_authority.rb +64 -33
- data/lib/qa/authorities/getty/tgn.rb +1 -1
- data/lib/qa/authorities/linked_data/find_term.rb +60 -18
- data/lib/qa/authorities/linked_data/search_query.rb +43 -15
- data/lib/qa/authorities/loc/generic_authority.rb +2 -2
- data/lib/qa/version.rb +1 -1
- data/spec/controllers/linked_data_terms_controller_spec.rb +36 -0
- data/spec/controllers/terms_controller_spec.rb +26 -2
- data/spec/fixtures/discogs-find-response-json.json +1 -1
- data/spec/lib/authorities/discogs/generic_authority_spec.rb +103 -9
- data/spec/lib/authorities/getty/tgn_spec.rb +2 -2
- data/spec/lib/authorities/linked_data/find_term_spec.rb +11 -11
- data/spec/lib/authorities/linked_data/search_query_spec.rb +9 -9
- data/spec/lib/authorities/loc_spec.rb +9 -9
- data/spec/services/linked_data/authority_url_service_spec.rb +14 -8
- data/spec/services/linked_data/graph_service_spec.rb +2 -1
- data/spec/services/linked_data/request_header_service_spec.rb +124 -0
- metadata +9 -7
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Anderson
|
@@ -13,10 +13,10 @@ authors:
|
|
13
13
|
- Mike Stroming
|
14
14
|
- Adam Wead
|
15
15
|
- E. Lynette Rayle
|
16
|
-
autorequire:
|
16
|
+
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date:
|
19
|
+
date: 2020-08-14 00:00:00.000000000 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: activerecord-import
|
@@ -322,6 +322,7 @@ files:
|
|
322
322
|
- app/services/qa/linked_data/mapper/graph_predicate_mapper_service.rb
|
323
323
|
- app/services/qa/linked_data/mapper/search_results_mapper_service.rb
|
324
324
|
- app/services/qa/linked_data/mapper/term_results_mapper_service.rb
|
325
|
+
- app/services/qa/linked_data/request_header_service.rb
|
325
326
|
- app/views/layouts/qa/application.html.erb
|
326
327
|
- config/authorities.yml
|
327
328
|
- config/authorities/linked_data/loc.json
|
@@ -555,6 +556,7 @@ files:
|
|
555
556
|
- spec/services/linked_data/mapper/graph_predicate_mapper_service_spec.rb
|
556
557
|
- spec/services/linked_data/mapper/search_results_mapper_service_spec.rb
|
557
558
|
- spec/services/linked_data/mapper/term_results_mapper_service_spec.rb
|
559
|
+
- spec/services/linked_data/request_header_service_spec.rb
|
558
560
|
- spec/spec_helper.rb
|
559
561
|
- spec/support/matchers/include_hash.rb
|
560
562
|
- spec/test_app_templates/Gemfile.extra
|
@@ -563,7 +565,7 @@ homepage: https://github.com/projecthydra/questioning_authority
|
|
563
565
|
licenses:
|
564
566
|
- APACHE-2
|
565
567
|
metadata: {}
|
566
|
-
post_install_message:
|
568
|
+
post_install_message:
|
567
569
|
rdoc_options: []
|
568
570
|
require_paths:
|
569
571
|
- lib
|
@@ -578,9 +580,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
578
580
|
- !ruby/object:Gem::Version
|
579
581
|
version: '0'
|
580
582
|
requirements: []
|
581
|
-
|
582
|
-
|
583
|
-
signing_key:
|
583
|
+
rubygems_version: 3.0.8
|
584
|
+
signing_key:
|
584
585
|
specification_version: 4
|
585
586
|
summary: You should question your authorities.
|
586
587
|
test_files:
|
@@ -711,6 +712,7 @@ test_files:
|
|
711
712
|
- spec/routing/route_spec.rb
|
712
713
|
- spec/controllers/terms_controller_spec.rb
|
713
714
|
- spec/controllers/linked_data_terms_controller_spec.rb
|
715
|
+
- spec/services/linked_data/request_header_service_spec.rb
|
714
716
|
- spec/services/linked_data/authority_service_spec.rb
|
715
717
|
- spec/services/linked_data/ldpath_service_spec.rb
|
716
718
|
- spec/services/linked_data/graph_service_spec.rb
|