qa_server 7.3.0 → 7.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop_fixme.yml +3 -0
  3. data/.travis.yml +4 -5
  4. data/CHANGELOG.md +45 -0
  5. data/Rakefile +1 -1
  6. data/app/assets/stylesheets/qa_server/_check-status.scss +36 -0
  7. data/app/cache_processors/qa_server/cache_expiry_service.rb +8 -8
  8. data/app/cache_processors/qa_server/job_id_cache.rb +4 -4
  9. data/app/cache_processors/qa_server/performance_cache.rb +34 -34
  10. data/app/cache_processors/qa_server/performance_day_graph_cache.rb +7 -7
  11. data/app/cache_processors/qa_server/performance_month_graph_cache.rb +7 -7
  12. data/app/cache_processors/qa_server/performance_year_graph_cache.rb +7 -7
  13. data/app/cache_processors/qa_server/scenario_history_cache.rb +7 -7
  14. data/app/cache_processors/qa_server/scenario_history_graph_cache.rb +7 -7
  15. data/app/cache_processors/qa_server/scenario_run_cache.rb +7 -7
  16. data/app/cache_processors/qa_server/scenario_run_failures_cache.rb +7 -7
  17. data/app/cache_processors/qa_server/scenario_run_summary_cache.rb +7 -7
  18. data/app/controllers/concerns/qa_server/authority_validation_behavior.rb +49 -44
  19. data/app/controllers/qa_server/check_status_controller.rb +92 -22
  20. data/app/controllers/qa_server/fetch_controller.rb +36 -36
  21. data/app/controllers/qa_server/monitor_status_controller.rb +106 -84
  22. data/app/jobs/qa_server/history_graph_job.rb +10 -10
  23. data/app/jobs/qa_server/monitor_tests_job.rb +17 -17
  24. data/app/jobs/qa_server/performance_day_graph_job.rb +21 -21
  25. data/app/jobs/qa_server/performance_month_graph_job.rb +21 -21
  26. data/app/jobs/qa_server/performance_per_byte_job.rb +85 -0
  27. data/app/jobs/qa_server/performance_year_graph_job.rb +21 -21
  28. data/app/loggers/qa_server/scenario_logger.rb +74 -4
  29. data/app/models/concerns/qa_server/performance_history_data_keys.rb +8 -0
  30. data/app/models/qa_server/authority_scenario.rb +4 -4
  31. data/app/models/qa_server/authority_status.rb +2 -2
  32. data/app/models/qa_server/authority_status_failure.rb +1 -1
  33. data/app/models/qa_server/performance_history.rb +2 -2
  34. data/app/models/qa_server/scenario_run_history.rb +63 -54
  35. data/app/models/qa_server/scenario_run_registry.rb +2 -2
  36. data/app/models/qa_server/scenarios.rb +26 -26
  37. data/app/models/qa_server/search_scenario.rb +24 -13
  38. data/app/models/qa_server/term_scenario.rb +29 -29
  39. data/app/prepends/prepended_linked_data/find_term.rb +40 -40
  40. data/app/prepends/prepended_linked_data/search_query.rb +36 -36
  41. data/app/prepends/prepended_rdf/rdf_graph.rb +7 -7
  42. data/app/presenters/concerns/qa_server/monitor_status/performance_datatable_behavior.rb +32 -32
  43. data/app/presenters/concerns/qa_server/monitor_status/performance_graph_behavior.rb +64 -64
  44. data/app/presenters/qa_server/check_status_presenter.rb +63 -7
  45. data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
  46. data/app/presenters/qa_server/monitor_status/history_presenter.rb +5 -2
  47. data/app/services/concerns/qa_server/gruff_graph.rb +16 -16
  48. data/app/services/qa_server/authority_loader_service.rb +14 -14
  49. data/app/services/qa_server/authority_validator_service.rb +1 -0
  50. data/app/services/qa_server/database_migrator.rb +14 -14
  51. data/app/services/qa_server/history_graphing_service.rb +30 -30
  52. data/app/services/qa_server/performance_calculator_service.rb +80 -80
  53. data/app/services/qa_server/performance_datatable_service.rb +35 -35
  54. data/app/services/qa_server/performance_graph_data_service.rb +27 -27
  55. data/app/services/qa_server/performance_graphing_service.rb +55 -55
  56. data/app/services/qa_server/performance_per_byte_calculator_service.rb +88 -0
  57. data/app/services/qa_server/performance_per_byte_data_service.rb +41 -0
  58. data/app/services/qa_server/scenarios_loader_service.rb +1 -1
  59. data/app/services/qa_server/time_period_service.rb +21 -21
  60. data/app/validators/qa_server/scenario_validator.rb +99 -87
  61. data/app/validators/qa_server/search_scenario_validator.rb +67 -61
  62. data/app/validators/qa_server/term_scenario_validator.rb +20 -15
  63. data/app/views/qa_server/check_status/index.html.erb +120 -24
  64. data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
  65. data/config/i18n-tasks.yml +133 -0
  66. data/config/locales/qa_server.en.yml +21 -5
  67. data/lib/generators/qa_server/assets_generator.rb +4 -4
  68. data/lib/generators/qa_server/templates/config/authorities/linked_data/cerl_ld4l_cache.json +2 -2
  69. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json +62 -1
  70. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +45 -11
  71. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +104 -8
  72. data/lib/generators/qa_server/templates/config/authorities/linked_data/isni_ld4l_cache.json +90 -0
  73. data/lib/generators/qa_server/templates/config/authorities/linked_data/ligatus_ld4l_cache.json +133 -0
  74. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +248 -0
  75. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +248 -0
  76. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +4 -4
  77. data/lib/generators/qa_server/templates/config/authorities/linked_data/locvocabs_ld4l_cache.json +117 -0
  78. data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json +135 -3
  79. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +5 -0
  80. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +2 -4
  81. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_direct_validation.yml +31 -0
  82. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_ld4l_cache_validation.yml +31 -0
  83. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +24 -12
  84. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/dbpedia_ld4l_cache_validation.yml +33 -0
  85. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_direct_validation.yml +35 -0
  86. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +55 -5
  87. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +253 -0
  88. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +31 -1
  89. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +38 -1
  90. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/isni_ld4l_cache_validation.yml +10 -0
  91. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/ligatus_ld4l_cache_validation.yml +36 -0
  92. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +69 -44
  93. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +22 -0
  94. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +65 -0
  95. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml +78 -0
  96. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml +73 -0
  97. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +71 -3
  98. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml +6 -0
  99. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +30 -0
  100. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +430 -0
  101. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +54 -1
  102. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/nalt_ld4l_cache_validation.yml +37 -0
  103. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclc_fast_validation.yml +71 -5
  104. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +73 -2
  105. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +73 -0
  106. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +307 -0
  107. data/lib/qa_server/configuration.rb +28 -24
  108. data/lib/qa_server/version.rb +1 -1
  109. data/qa_server.gemspec +6 -5
  110. data/spec/feature/accuracy_spec.rb +32 -0
  111. data/spec/i18n_spec.rb +35 -0
  112. data/spec/spec_helper.rb +4 -0
  113. metadata +66 -17
@@ -199,13 +199,17 @@ module QaServer
199
199
  # Performance data is gathered on every incoming query. Basic stats are logged from QA. Full stats are logged
200
200
  # by QaServer and can eat up logging realestate. To suppress the logging of details, set this config to true.
201
201
  # @param [Boolean] do not log performance data details when true (defaults to false for backward compatibitily)
202
- attr_writer :suppress_logging_performance_datails
203
- def suppress_logging_performance_datails?
204
- return @suppress_logging_performance_datails unless @suppress_logging_performance_datails.nil?
205
- @suppress_logging_performance_datails ||= false
206
- end
207
- alias suppress_logging_performance_datails suppress_logging_performance_datails?
202
+ attr_writer :suppress_logging_performance_details
203
+ def suppress_logging_performance_details?
204
+ return @suppress_logging_performance_details unless @suppress_logging_performance_details.nil?
205
+ @suppress_logging_performance_details ||= false
206
+ end
207
+ alias suppress_logging_performance_datails suppress_logging_performance_details?
208
+ alias suppress_logging_performance_datails? suppress_logging_performance_details?
209
+ alias suppress_logging_performance_datails= suppress_logging_performance_details=
208
210
  deprecation_deprecate suppress_logging_performance_datails: "use #suppress_logging_performance_datails? instead"
211
+ deprecation_deprecate suppress_logging_performance_datails?: "use #suppress_logging_performance_details? instead"
212
+ # deprecation_deprecate suppress_logging_performance_datails=: "use #suppress_logging_performance_details= instead"
209
213
 
210
214
  # Maximum amount of memory the performance cache can occupy before it is written to the database.
211
215
  # @param [Integer] maximum size of performance cache before flushing
@@ -249,23 +253,23 @@ module QaServer
249
253
  @monitor_logger ||= Logger.new(ENV['MONITOR_LOG_PATH'] || File.join("log", "monitor.log"))
250
254
  end
251
255
 
252
- private
253
-
254
- def convert_size_to_bytes(size)
255
- return if size.nil?
256
- md = size.match(/^(?<num>\d+)\s?(?<unit>\w+)?$/)
257
- return md[:num].to_i if md[:unit].nil?
258
- md[:num].to_i *
259
- case md[:unit].upcase
260
- when 'KB'
261
- 1024
262
- when 'MB'
263
- 1024**2
264
- when 'GB'
265
- 1024**3
266
- else
267
- 1
268
- end
269
- end
256
+ private
257
+
258
+ def convert_size_to_bytes(size)
259
+ return if size.nil?
260
+ md = size.match(/^(?<num>\d+)\s?(?<unit>\w+)?$/)
261
+ return md[:num].to_i if md[:unit].nil?
262
+ md[:num].to_i *
263
+ case md[:unit].upcase
264
+ when 'KB'
265
+ 1024
266
+ when 'MB'
267
+ 1024**2
268
+ when 'GB'
269
+ 1024**3
270
+ else
271
+ 1
272
+ end
273
+ end
270
274
  end
271
275
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '7.3.0'
3
+ VERSION = '7.7.0'
4
4
  end
data/qa_server.gemspec CHANGED
@@ -22,11 +22,11 @@ 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.0' # Keep in sync with version supported by Hyrax
25
+ spec.add_dependency 'rails', '~> 5.2', '>= 5.2.5' # v5.2.5 required to address mimemagic gem yank
26
26
  spec.add_dependency 'useragent'
27
27
 
28
28
  # Required gems for QA and linked data access
29
- spec.add_development_dependency 'qa', '~> 5.3'
29
+ spec.add_development_dependency 'qa', '~> 5.5', '>= 5.5.1' # questioning_authority
30
30
  spec.add_development_dependency 'linkeddata'
31
31
 
32
32
  # Produces dashboard charts on monitor status page
@@ -34,13 +34,14 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.add_development_dependency 'better_errors' # provide debugging command line in
36
36
  spec.add_development_dependency 'binding_of_caller' # provides deep stack info used by better_errors
37
- spec.add_development_dependency 'bixby', '~> 1.0.0' # rubocop styleguide
37
+ spec.add_development_dependency 'bixby', '~> 3.0', ">= 3.0.2" # rubocop styleguide
38
38
  # spec.add_development_dependency "capybara", '~> 3.29'
39
39
  # spec.add_development_dependency 'capybara-maleficent', '~> 0.3.0'
40
40
  # spec.add_development_dependency 'chromedriver-helper', '~> 2.1'
41
41
  spec.add_development_dependency 'deprecation'
42
- spec.add_development_dependency 'engine_cart', '~> 2.0'
42
+ spec.add_development_dependency 'engine_cart', '~> 2.2'
43
43
  spec.add_development_dependency "factory_bot", '~> 4.4'
44
+ spec.add_development_dependency 'i18n-tasks'
44
45
  spec.add_development_dependency 'simplecov'
45
46
  spec.add_development_dependency 'sqlite3'
46
47
  spec.add_development_dependency 'rails-controller-testing', '~> 1'
@@ -48,7 +49,7 @@ Gem::Specification.new do |spec|
48
49
  spec.add_development_dependency 'rspec-its', '~> 1.1'
49
50
  spec.add_development_dependency 'rspec-rails', '~> 3.1'
50
51
  spec.add_development_dependency 'selenium-webdriver'
51
- spec.add_development_dependency 'webdrivers', '~> 3.0'
52
+ spec.add_development_dependency 'webdrivers', '~> 4.4'
52
53
  spec.add_development_dependency 'webmock'
53
54
 
54
55
  ########################################################
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+ require 'spec_helper'
3
+
4
+ # rubocop:disable RSpec/InstanceVariable
5
+ RSpec.describe 'Accuracy test' do # rubocop:disable RSpec/DescribeClass
6
+ before(:all) { WebMock.allow_net_connect! }
7
+ after(:all) { WebMock.disable_net_connect! }
8
+
9
+ let(:authority_list) { QaServer::AuthorityListerService.authorities_list }
10
+ let(:authority_name) { :CERL_LD4L_CACHE }
11
+
12
+ describe 'for authority:' do
13
+ @status_log = QaServer::ScenarioLogger.new
14
+ QaServer::AuthorityListerService.authorities_list.each do |authority_name| # rubocop:disable Style/MultilineIfModifier
15
+ QaServer::AuthorityValidatorService.run(authority_name: authority_name,
16
+ status_log: @status_log,
17
+ validation_type: QaServer::ScenarioValidator::VALIDATE_ACCURACY)
18
+ end unless ENV['TRAVIS']
19
+ @status_log.each do |test_result|
20
+ context "#{test_result[:authority_name]}:#{test_result[:subauthority_name]}:#{test_result[:request_data]}:" do
21
+ it "finds actual <= expected" do
22
+ pending 'test is known to fail' if test_result[:pending]
23
+ expect(test_result[:err_message]).to be_empty
24
+ expect(test_result[:request_data]).to be_present
25
+ expect(test_result[:actual]).not_to be_nil
26
+ expect(test_result[:actual]).to be <= test_result[:expected]
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
32
+ # rubocop:enable RSpec/InstanceVariable
data/spec/i18n_spec.rb ADDED
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'i18n/tasks'
4
+
5
+ RSpec.describe I18n do
6
+ let(:i18n) { I18n::Tasks::BaseTask.new }
7
+ let(:missing_keys) { i18n.missing_keys }
8
+ let(:unused_keys) { i18n.unused_keys }
9
+ let(:inconsistent_interpolations) { i18n.inconsistent_interpolations }
10
+
11
+ it 'does not have missing keys' do
12
+ expect(missing_keys).to be_empty,
13
+ "Missing #{missing_keys.leaves.count} i18n keys, run `i18n-tasks missing' to show them"
14
+ end
15
+
16
+ it 'does not have unused keys' do
17
+ expect(unused_keys).to be_empty,
18
+ "#{unused_keys.leaves.count} unused i18n keys, run `i18n-tasks unused' to show them"
19
+ end
20
+
21
+ it 'files are normalized' do # rubocop:disable RSpec/ExampleLength
22
+ pending 'need to explore further normalization process'
23
+ non_normalized = i18n.non_normalized_paths
24
+ error_message = "The following files need to be normalized:\n" \
25
+ "#{non_normalized.map { |path| " #{path}" }.join("\n")}\n" \
26
+ "Please run `i18n-tasks normalize' to fix"
27
+ expect(non_normalized).to be_empty, error_message
28
+ end
29
+
30
+ it 'does not have inconsistent interpolations' do
31
+ error_message = "#{inconsistent_interpolations.leaves.count} i18n keys have inconsistent interpolations.\n" \
32
+ "Run `i18n-tasks check-consistent-interpolations' to show them"
33
+ expect(inconsistent_interpolations).to be_empty, error_message
34
+ end
35
+ end
data/spec/spec_helper.rb CHANGED
@@ -62,3 +62,7 @@ def load_fixture_file(fname)
62
62
  return f.read
63
63
  end
64
64
  end
65
+
66
+ QaServer.config.suppress_performance_gathering = true
67
+ QaServer.config.suppress_logging_performance_details = true
68
+ QaServer.config.preferred_time_zone_name = 'Eastern Time (US & Canada)'
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.3.0
4
+ version: 7.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - E. Lynette Rayle
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2021-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '5.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 5.2.5
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '5.0'
29
+ version: '5.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 5.2.5
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: useragent
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +50,20 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '5.3'
53
+ version: '5.5'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 5.5.1
48
57
  type: :development
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
52
61
  - - "~>"
53
62
  - !ruby/object:Gem::Version
54
- version: '5.3'
63
+ version: '5.5'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 5.5.1
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: linkeddata
57
69
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +126,20 @@ dependencies:
114
126
  requirements:
115
127
  - - "~>"
116
128
  - !ruby/object:Gem::Version
117
- version: 1.0.0
129
+ version: '3.0'
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 3.0.2
118
133
  type: :development
119
134
  prerelease: false
120
135
  version_requirements: !ruby/object:Gem::Requirement
121
136
  requirements:
122
137
  - - "~>"
123
138
  - !ruby/object:Gem::Version
124
- version: 1.0.0
139
+ version: '3.0'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 3.0.2
125
143
  - !ruby/object:Gem::Dependency
126
144
  name: deprecation
127
145
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +160,14 @@ dependencies:
142
160
  requirements:
143
161
  - - "~>"
144
162
  - !ruby/object:Gem::Version
145
- version: '2.0'
163
+ version: '2.2'
146
164
  type: :development
147
165
  prerelease: false
148
166
  version_requirements: !ruby/object:Gem::Requirement
149
167
  requirements:
150
168
  - - "~>"
151
169
  - !ruby/object:Gem::Version
152
- version: '2.0'
170
+ version: '2.2'
153
171
  - !ruby/object:Gem::Dependency
154
172
  name: factory_bot
155
173
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +182,20 @@ dependencies:
164
182
  - - "~>"
165
183
  - !ruby/object:Gem::Version
166
184
  version: '4.4'
185
+ - !ruby/object:Gem::Dependency
186
+ name: i18n-tasks
187
+ requirement: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ type: :development
193
+ prerelease: false
194
+ version_requirements: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
167
199
  - !ruby/object:Gem::Dependency
168
200
  name: simplecov
169
201
  requirement: !ruby/object:Gem::Requirement
@@ -268,14 +300,14 @@ dependencies:
268
300
  requirements:
269
301
  - - "~>"
270
302
  - !ruby/object:Gem::Version
271
- version: '3.0'
303
+ version: '4.4'
272
304
  type: :development
273
305
  prerelease: false
274
306
  version_requirements: !ruby/object:Gem::Requirement
275
307
  requirements:
276
308
  - - "~>"
277
309
  - !ruby/object:Gem::Version
278
- version: '3.0'
310
+ version: '4.4'
279
311
  - !ruby/object:Gem::Dependency
280
312
  name: webmock
281
313
  requirement: !ruby/object:Gem::Requirement
@@ -362,6 +394,7 @@ files:
362
394
  - app/jobs/qa_server/monitor_tests_job.rb
363
395
  - app/jobs/qa_server/performance_day_graph_job.rb
364
396
  - app/jobs/qa_server/performance_month_graph_job.rb
397
+ - app/jobs/qa_server/performance_per_byte_job.rb
365
398
  - app/jobs/qa_server/performance_year_graph_job.rb
366
399
  - app/loggers/qa_server/scenario_logger.rb
367
400
  - app/models/concerns/qa_server/performance_history_data_keys.rb
@@ -398,6 +431,8 @@ files:
398
431
  - app/services/qa_server/performance_datatable_service.rb
399
432
  - app/services/qa_server/performance_graph_data_service.rb
400
433
  - app/services/qa_server/performance_graphing_service.rb
434
+ - app/services/qa_server/performance_per_byte_calculator_service.rb
435
+ - app/services/qa_server/performance_per_byte_data_service.rb
401
436
  - app/services/qa_server/scenarios_loader_service.rb
402
437
  - app/services/qa_server/time_period_service.rb
403
438
  - app/services/qa_server/time_service.rb
@@ -415,6 +450,7 @@ files:
415
450
  - app/views/qa_server/monitor_status/index.html.erb
416
451
  - app/views/qa_server/usage/index.html.erb
417
452
  - app/views/shared/_footer.html.erb
453
+ - config/i18n-tasks.yml
418
454
  - config/locales/qa_server.en.yml
419
455
  - config/routes.rb
420
456
  - lib/generators/qa_server/assets_generator.rb
@@ -434,13 +470,18 @@ files:
434
470
  - lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json
435
471
  - lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json
436
472
  - lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json
473
+ - lib/generators/qa_server/templates/config/authorities/linked_data/isni_ld4l_cache.json
474
+ - lib/generators/qa_server/templates/config/authorities/linked_data/ligatus_ld4l_cache.json
437
475
  - lib/generators/qa_server/templates/config/authorities/linked_data/loc_direct.json
438
476
  - lib/generators/qa_server/templates/config/authorities/linked_data/locdemographics_ld4l_cache.json
439
477
  - lib/generators/qa_server/templates/config/authorities/linked_data/locgenres_ld4l_cache.json
440
478
  - lib/generators/qa_server/templates/config/authorities/linked_data/locnames_ld4l_cache.json
479
+ - lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json
480
+ - lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json
441
481
  - lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json
442
482
  - lib/generators/qa_server/templates/config/authorities/linked_data/locperformance_ld4l_cache.json
443
483
  - lib/generators/qa_server/templates/config/authorities/linked_data/locsubjects_ld4l_cache.json
484
+ - lib/generators/qa_server/templates/config/authorities/linked_data/locvocabs_ld4l_cache.json
444
485
  - lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json
445
486
  - lib/generators/qa_server/templates/config/authorities/linked_data/nalt_direct.json
446
487
  - lib/generators/qa_server/templates/config/authorities/linked_data/nalt_ld4l_cache.json
@@ -457,14 +498,19 @@ files:
457
498
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml
458
499
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml
459
500
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml
501
+ - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/isni_ld4l_cache_validation.yml
502
+ - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/ligatus_ld4l_cache_validation.yml
460
503
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/loc_direct_validation.yml
461
504
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/loc_validation.yml
462
505
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml
463
506
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml
464
507
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml
508
+ - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml
509
+ - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml
465
510
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml
466
511
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml
467
512
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml
513
+ - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml
468
514
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml
469
515
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/nalt_direct_validation.yml
470
516
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/nalt_ld4l_cache_validation.yml
@@ -496,6 +542,8 @@ files:
496
542
  - qa_server.gemspec
497
543
  - spec/.gitignore
498
544
  - spec/cache_processors/qa_server/cache_expiry_service_spec.rb
545
+ - spec/feature/accuracy_spec.rb
546
+ - spec/i18n_spec.rb
499
547
  - spec/lib/configuration_spec.rb
500
548
  - spec/lib/qa_server_spec.rb
501
549
  - spec/rails_helper.rb
@@ -510,7 +558,7 @@ homepage: http://github.com/LD4P/qa_server
510
558
  licenses:
511
559
  - Apache-2.0
512
560
  metadata: {}
513
- post_install_message:
561
+ post_install_message:
514
562
  rdoc_options: []
515
563
  require_paths:
516
564
  - lib
@@ -525,14 +573,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
525
573
  - !ruby/object:Gem::Version
526
574
  version: '0'
527
575
  requirements: []
528
- rubyforge_project:
529
- rubygems_version: 2.6.14
530
- signing_key:
576
+ rubygems_version: 3.0.8
577
+ signing_key:
531
578
  specification_version: 4
532
579
  summary: Authority Lookup Server
533
580
  test_files:
534
581
  - spec/.gitignore
535
582
  - spec/cache_processors/qa_server/cache_expiry_service_spec.rb
583
+ - spec/feature/accuracy_spec.rb
584
+ - spec/i18n_spec.rb
536
585
  - spec/lib/configuration_spec.rb
537
586
  - spec/lib/qa_server_spec.rb
538
587
  - spec/rails_helper.rb