qa 5.5.2 → 5.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/app/controllers/qa/terms_controller.rb +34 -23
- data/app/services/qa/pagination_service.rb +586 -0
- data/config/initializers/mime_types.rb +4 -0
- data/config/routes.rb +4 -0
- data/lib/qa/authorities/local/file_based_authority.rb +3 -2
- data/lib/qa/version.rb +1 -1
- data/spec/controllers/terms_controller_spec.rb +102 -1
- data/spec/fixtures/authorities/authority_U.yml +13 -0
- data/spec/lib/authorities/{file_based_authority_spec.rb → local/file_based_authority_spec.rb} +11 -0
- data/spec/lib/authorities/{mysql_table_based_authority_spec.rb → local/mysql_table_based_authority_spec.rb} +0 -0
- data/spec/lib/authorities/{table_based_authority_spec.rb → local/table_based_authority_spec.rb} +0 -0
- data/spec/lib/authorities/local_spec.rb +3 -1
- data/spec/services/pagination_service_spec.rb +682 -0
- metadata +20 -14
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: 5.
|
4
|
+
version: 5.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Anderson
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date:
|
19
|
+
date: 2022-02-07 00:00:00.000000000 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: activerecord-import
|
@@ -50,16 +50,16 @@ dependencies:
|
|
50
50
|
name: faraday
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "<"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
55
|
+
version: '2.0'
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
62
|
+
version: '2.0'
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: geocoder
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,7 +111,7 @@ dependencies:
|
|
111
111
|
version: '5.0'
|
112
112
|
- - "<"
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: '6.
|
114
|
+
version: '6.2'
|
115
115
|
type: :runtime
|
116
116
|
prerelease: false
|
117
117
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -121,7 +121,7 @@ dependencies:
|
|
121
121
|
version: '5.0'
|
122
122
|
- - "<"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '6.
|
124
|
+
version: '6.2'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rdf
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -371,6 +371,7 @@ files:
|
|
371
371
|
- app/services/qa/linked_data/performance_data_service.rb
|
372
372
|
- app/services/qa/linked_data/request_header_service.rb
|
373
373
|
- app/services/qa/linked_data/response_header_service.rb
|
374
|
+
- app/services/qa/pagination_service.rb
|
374
375
|
- app/views/layouts/qa/application.html.erb
|
375
376
|
- config/authorities.yml
|
376
377
|
- config/authorities/linked_data/loc.json
|
@@ -378,6 +379,7 @@ files:
|
|
378
379
|
- config/authorities/states.yml
|
379
380
|
- config/initializers/authorities.rb
|
380
381
|
- config/initializers/linked_data_authorities.rb
|
382
|
+
- config/initializers/mime_types.rb
|
381
383
|
- config/locales/qa.en.yml
|
382
384
|
- config/oclcts-authorities.yml
|
383
385
|
- config/routes.rb
|
@@ -479,6 +481,7 @@ files:
|
|
479
481
|
- spec/fixtures/authorities/authority_B.yml
|
480
482
|
- spec/fixtures/authorities/authority_C.yml
|
481
483
|
- spec/fixtures/authorities/authority_D.yml
|
484
|
+
- spec/fixtures/authorities/authority_U.yml
|
482
485
|
- spec/fixtures/authorities/linked_data/lod_encoding_config.json
|
483
486
|
- spec/fixtures/authorities/linked_data/lod_full_config.json
|
484
487
|
- spec/fixtures/authorities/linked_data/lod_full_config_1_0.json
|
@@ -559,7 +562,6 @@ files:
|
|
559
562
|
- spec/lib/authorities/crossref_spec.rb
|
560
563
|
- spec/lib/authorities/discogs/generic_authority_spec.rb
|
561
564
|
- spec/lib/authorities/discogs_spec.rb
|
562
|
-
- spec/lib/authorities/file_based_authority_spec.rb
|
563
565
|
- spec/lib/authorities/geonames_spec.rb
|
564
566
|
- spec/lib/authorities/getty/aat_spec.rb
|
565
567
|
- spec/lib/authorities/getty/tgn_spec.rb
|
@@ -572,12 +574,13 @@ files:
|
|
572
574
|
- spec/lib/authorities/linked_data/search_query_spec.rb
|
573
575
|
- spec/lib/authorities/linked_data/term_config_spec.rb
|
574
576
|
- spec/lib/authorities/loc_spec.rb
|
577
|
+
- spec/lib/authorities/local/file_based_authority_spec.rb
|
578
|
+
- spec/lib/authorities/local/mysql_table_based_authority_spec.rb
|
579
|
+
- spec/lib/authorities/local/table_based_authority_spec.rb
|
575
580
|
- spec/lib/authorities/local_spec.rb
|
576
581
|
- spec/lib/authorities/mesh_spec.rb
|
577
|
-
- spec/lib/authorities/mysql_table_based_authority_spec.rb
|
578
582
|
- spec/lib/authorities/oclcts_spec.rb
|
579
583
|
- spec/lib/authorities/space_fix_encoder.rb
|
580
|
-
- spec/lib/authorities/table_based_authority_spec.rb
|
581
584
|
- spec/lib/authorities/tgnlang_spec.rb
|
582
585
|
- spec/lib/authorities_loc_subauthorities.rb
|
583
586
|
- spec/lib/configuration_spec.rb
|
@@ -609,6 +612,7 @@ files:
|
|
609
612
|
- spec/services/linked_data/performance_data_service_spec.rb
|
610
613
|
- spec/services/linked_data/request_header_service_spec.rb
|
611
614
|
- spec/services/linked_data/response_header_service_spec.rb
|
615
|
+
- spec/services/pagination_service_spec.rb
|
612
616
|
- spec/spec_helper.rb
|
613
617
|
- spec/support/matchers/include_hash.rb
|
614
618
|
- spec/test_app_templates/Gemfile.extra
|
@@ -662,16 +666,16 @@ test_files:
|
|
662
666
|
- spec/lib/authorities/tgnlang_spec.rb
|
663
667
|
- spec/lib/authorities/crossref_spec.rb
|
664
668
|
- spec/lib/authorities/oclcts_spec.rb
|
665
|
-
- spec/lib/authorities/file_based_authority_spec.rb
|
669
|
+
- spec/lib/authorities/local/file_based_authority_spec.rb
|
670
|
+
- spec/lib/authorities/local/table_based_authority_spec.rb
|
671
|
+
- spec/lib/authorities/local/mysql_table_based_authority_spec.rb
|
666
672
|
- spec/lib/authorities/space_fix_encoder.rb
|
667
673
|
- spec/lib/authorities/assign_fast_spec.rb
|
668
|
-
- spec/lib/authorities/table_based_authority_spec.rb
|
669
674
|
- spec/lib/authorities/getty/tgn_spec.rb
|
670
675
|
- spec/lib/authorities/getty/ulan_spec.rb
|
671
676
|
- spec/lib/authorities/getty/aat_spec.rb
|
672
677
|
- spec/lib/authorities/discogs_spec.rb
|
673
678
|
- spec/lib/authorities/mesh_spec.rb
|
674
|
-
- spec/lib/authorities/mysql_table_based_authority_spec.rb
|
675
679
|
- spec/lib/authorities/local_spec.rb
|
676
680
|
- spec/lib/authorities/discogs/generic_authority_spec.rb
|
677
681
|
- spec/lib/authorities/geonames_spec.rb
|
@@ -750,6 +754,7 @@ test_files:
|
|
750
754
|
- spec/fixtures/authorities/authority_D.yml
|
751
755
|
- spec/fixtures/authorities/authority_A.yml
|
752
756
|
- spec/fixtures/authorities/authority_C.yml
|
757
|
+
- spec/fixtures/authorities/authority_U.yml
|
753
758
|
- spec/fixtures/authorities/authority_B.yml
|
754
759
|
- spec/fixtures/geonames-response.json
|
755
760
|
- spec/fixtures/tgn-response.txt
|
@@ -782,4 +787,5 @@ test_files:
|
|
782
787
|
- spec/services/linked_data/language_service_spec.rb
|
783
788
|
- spec/services/linked_data/authority_url_service_spec.rb
|
784
789
|
- spec/services/linked_data/response_header_service_spec.rb
|
790
|
+
- spec/services/pagination_service_spec.rb
|
785
791
|
- spec/services/iri_template_service_spec.rb
|