qa_server 7.9.2 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72d52211139ad972c160f1f7f320290945c9d1424d830897cf45d6b034077c8a
4
- data.tar.gz: 33cb9b58a7db3c21f1a92f500981f2dcdce05e6e4dbac8cacc6cd1ee68109c14
3
+ metadata.gz: d9ba560010f104f410a2cfb181f0382873b3fe456d45ad66e1e6d06992254b84
4
+ data.tar.gz: 3b3c7dc6ca48cf6a41356ed8d12ac3d5cee918aab98b2df25a22ebf537c8238f
5
5
  SHA512:
6
- metadata.gz: 34146029b2c72f667a3e587591527b60291691aaa0df77f165d912b65de6ed5589434a7d854fa43fcfbe2226521fd7a147be2263515e8845279974720dff7cb7
7
- data.tar.gz: ee1158fb8fd498cc48895bd72792542dfc84eb817755e1139315ac0134053df62dce752f2f16d6963be1f8791494977108549a97ce4719ef363ffd071b480b9b
6
+ metadata.gz: 2ed61760eb2c35b8936fee95e12fcb8519cd90c7b5a0719a1b7ccff5ba3b5670a6fe86a47fdb8b149f6ee6284e2c5bd26fd522be5ac0110a4a73891601e159af
7
+ data.tar.gz: 8ffa9dcad5739419195fac3adf57b6af7a8bac01a1d3d4a7fc4460dfcf897d1065150eed22b1764ff083d0a6aebc4bcd2e267b527b31312d5cb17a5285c6401d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 8.0.1 (2023-11-15)
2
+ * Update RDF reader to fix bug relating to Ruby 3 changes
3
+
4
+ ### 8.0.0 (2023-11-01)
5
+ * Update Rails dependency to 7.0
6
+
1
7
  ### 7.9.2 (2021-06-10)
2
8
 
3
9
  * fix: only check for dogear if status is a Hash
data/README.md CHANGED
@@ -17,8 +17,8 @@ This rails engine can be installed into your app to serve as a Questioning Autho
17
17
 
18
18
  Tested with...
19
19
 
20
- * Ruby 2.4.3
21
- * Rails 5.1.6
20
+ * Ruby 3.1.2
21
+ * Rails 7.0.8
22
22
 
23
23
  ### Optional Prerequisites
24
24
 
@@ -19,7 +19,8 @@ module PrependedRdf::RdfGraph
19
19
  performance_udpates = {}
20
20
  start_time_s = QaServer::TimeService.current_time_s
21
21
 
22
- reader = RDF::Reader.open(real_url, { base_uri: real_url }.merge(options))
22
+ reader_options = { base_uri: real_url }.merge(options)
23
+ reader = RDF::Reader.open(real_url, **reader_options)
23
24
 
24
25
  end_time_s = QaServer::TimeService.current_time_s
25
26
  performance_udpates[:retrieve_time_ms] = (end_time_s - start_time_s) * 1000
@@ -0,0 +1,58 @@
1
+ # Supported subauthorities: none
2
+ ---
3
+ authority:
4
+ service: homosaurus
5
+ context: true
6
+ search:
7
+ #------------------
8
+ # Connection tests
9
+ #------------------
10
+ -
11
+ query: Dating applications
12
+ -
13
+ query: Dating applications
14
+
15
+ #------------------
16
+ # Accuracy tests
17
+ #------------------
18
+ -
19
+ query: Dating apps
20
+ position: 3
21
+ subject_uri: "https://homosaurus.org/v3/homoit0000328"
22
+ replacements:
23
+ maxRecords: '5'
24
+ -
25
+ query: LGBTQ+
26
+ position: 10
27
+ subject_uri: "https://homosaurus.org/v3/homoit0001717"
28
+ replacements:
29
+ maxRecords: '20'
30
+ -
31
+ query: LGBTQ+
32
+ position: 15
33
+ subject_uri: "https://homosaurus.org/v3/homoit0000806"
34
+ replacements:
35
+ maxRecords: '20'
36
+ -
37
+ query: E (Pronouns)
38
+ position: 3
39
+ subject_uri: "https://homosaurus.org/v3/homoit0001676"
40
+ replacements:
41
+ maxRecords: '15'
42
+ -
43
+ query: pronouns
44
+ position: 15
45
+ subject_uri: "https://homosaurus.org/v3/homoit0001692"
46
+ replacements:
47
+ maxRecords: '20'
48
+ -
49
+ query: drug use recreational
50
+ position: 5
51
+ subject_uri: "https://homosaurus.org/v3/homoit0001235"
52
+ replacements:
53
+ maxRecords: '10'
54
+ -
55
+
56
+ term:
57
+ -
58
+ identifier: 'https://homosaurus.org/v3/homoit0000806'
@@ -8,3 +8,41 @@ search:
8
8
  #------------------
9
9
  -
10
10
  query: picard
11
+
12
+ -
13
+ query: washington
14
+ subauth: person
15
+ -
16
+ query: washington
17
+ subauth: organization
18
+
19
+ #------------------
20
+ # Accuracy tests
21
+ #------------------
22
+ -
23
+ query: Gonzalez-Torres, Felix
24
+ subject_uri: "https://isni.org/isni/0000000115805416"
25
+ position: 5
26
+ replacements:
27
+ maxRecords: '10'
28
+ -
29
+ query: Johan Goeverneur
30
+ subauth: person
31
+ subject_uri: "https://isni.org/isni/0000000063969856"
32
+ position: 5
33
+ replacements:
34
+ maxRecords: '10'
35
+ -
36
+ query: 0000 0000 6396 9856
37
+ subauth: person
38
+ subject_uri: "https://isni.org/isni/0000000063969856"
39
+ position: 3
40
+ replacements:
41
+ maxRecords: '8'
42
+ -
43
+ query: University of Chicago Library
44
+ subauth: organization
45
+ subject_uri: "https://isni.org/isni/0000000406464287"
46
+ position: 5
47
+ replacements:
48
+ maxRecords: '10'
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '7.9.2'
3
+ VERSION = '8.0.1'
4
4
  end
data/qa_server.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  # Note: rails does not follow sem-ver conventions, it's
23
23
  # minor version releases can include breaking changes; see
24
24
  # http://guides.rubyonrails.org/maintenance_policy.html
25
- spec.add_dependency 'rails', '~> 5.2', '>= 5.2.5' # v5.2.5 required to address mimemagic gem yank
25
+ spec.add_dependency 'rails', '~> 7.0'
26
26
  spec.add_dependency 'useragent'
27
27
 
28
28
  # Required gems for QA and linked data access
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qa_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.9.2
4
+ version: 8.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - E. Lynette Rayle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-10 00:00:00.000000000 Z
11
+ date: 2024-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.2'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 5.2.5
19
+ version: '7.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '5.2'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 5.2.5
26
+ version: '7.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: useragent
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -501,6 +495,7 @@ files:
501
495
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml
502
496
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml
503
497
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml
498
+ - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/homosaurus_ld4l_cache_validation.yml
504
499
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/isni_ld4l_cache_validation.yml
505
500
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/ligatus_ld4l_cache_validation.yml
506
501
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/loc_direct_validation.yml
@@ -578,7 +573,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
578
573
  - !ruby/object:Gem::Version
579
574
  version: '0'
580
575
  requirements: []
581
- rubygems_version: 3.0.8
576
+ rubygems_version: 3.2.33
582
577
  signing_key:
583
578
  specification_version: 4
584
579
  summary: Authority Lookup Server