qa 4.2.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +5 -5
  2. data/app/controllers/qa/linked_data_terms_controller.rb +17 -39
  3. data/app/controllers/qa/terms_controller.rb +26 -2
  4. data/app/services/qa/linked_data/authority_url_service.rb +35 -21
  5. data/app/services/qa/linked_data/graph_service.rb +2 -4
  6. data/app/services/qa/linked_data/request_header_service.rb +97 -0
  7. data/lib/qa/authorities/discogs/discogs_instance_builder.rb +17 -19
  8. data/lib/qa/authorities/discogs/discogs_translation.rb +26 -22
  9. data/lib/qa/authorities/discogs/discogs_utils.rb +32 -20
  10. data/lib/qa/authorities/discogs/discogs_works_builder.rb +26 -47
  11. data/lib/qa/authorities/discogs/generic_authority.rb +64 -33
  12. data/lib/qa/authorities/getty/tgn.rb +1 -1
  13. data/lib/qa/authorities/linked_data/find_term.rb +60 -18
  14. data/lib/qa/authorities/linked_data/search_query.rb +43 -15
  15. data/lib/qa/authorities/loc/generic_authority.rb +2 -2
  16. data/lib/qa/version.rb +1 -1
  17. data/spec/controllers/linked_data_terms_controller_spec.rb +36 -0
  18. data/spec/controllers/terms_controller_spec.rb +26 -2
  19. data/spec/fixtures/discogs-find-response-json.json +1 -1
  20. data/spec/lib/authorities/discogs/generic_authority_spec.rb +103 -9
  21. data/spec/lib/authorities/getty/tgn_spec.rb +2 -2
  22. data/spec/lib/authorities/linked_data/find_term_spec.rb +11 -11
  23. data/spec/lib/authorities/linked_data/search_query_spec.rb +9 -9
  24. data/spec/lib/authorities/loc_spec.rb +9 -9
  25. data/spec/services/linked_data/authority_url_service_spec.rb +14 -8
  26. data/spec/services/linked_data/graph_service_spec.rb +2 -1
  27. data/spec/services/linked_data/request_header_service_spec.rb +124 -0
  28. 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.2.0
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: 2019-06-08 00:00:00.000000000 Z
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
- rubyforge_project:
582
- rubygems_version: 2.6.14
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