qa_server 7.5.0 → 7.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_fixme.yml +3 -2
- data/.travis.yml +1 -1
- data/CHANGELOG.md +30 -0
- data/app/assets/stylesheets/qa_server/_check-status.scss +4 -0
- data/app/controllers/qa_server/monitor_status_controller.rb +31 -9
- data/app/models/qa_server/scenario_run_history.rb +12 -3
- data/app/models/qa_server/search_scenario.rb +6 -0
- data/app/presenters/qa_server/check_status_presenter.rb +1 -1
- data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
- data/app/presenters/qa_server/monitor_status/history_presenter.rb +55 -4
- data/app/views/qa_server/check_status/index.html.erb +7 -6
- data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
- data/config/i18n-tasks.yml +133 -0
- data/config/locales/qa_server.en.yml +22 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +24 -14
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +104 -8
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locvocabs_ld4l_cache.json +1 -1
- data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json +1 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +4 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +1 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +3 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +2 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +0 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +3 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +5 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +0 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +0 -9
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +1 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml +78 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml +73 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +11 -11
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +1 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +246 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +8 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +13 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +19 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +0 -3
- data/lib/qa_server/version.rb +1 -1
- data/qa_server.gemspec +6 -5
- data/spec/feature/accuracy_spec.rb +1 -1
- data/spec/i18n_spec.rb +35 -0
- data/spec/presenters/qa_server/monitor_status/history_presenter_spec.rb +81 -0
- metadata +51 -12
@@ -26,12 +26,13 @@ search:
|
|
26
26
|
replacements:
|
27
27
|
maxRecords: '4'
|
28
28
|
# -
|
29
|
-
#
|
29
|
+
# # This is an event at OCLCFAST web-search, but a meeting through OCLCFAST API.
|
30
|
+
# query: Bronze Night
|
30
31
|
# subauth: event_name
|
31
32
|
# replacements:
|
32
33
|
# maxRecords: '4'
|
33
34
|
-
|
34
|
-
query:
|
35
|
+
query: convention
|
35
36
|
subauth: meeting
|
36
37
|
replacements:
|
37
38
|
maxRecords: '4'
|
@@ -71,7 +72,6 @@ search:
|
|
71
72
|
replacements:
|
72
73
|
maxRecords: '5'
|
73
74
|
-
|
74
|
-
pending: true
|
75
75
|
query: Sleep-overs
|
76
76
|
subauth: concept
|
77
77
|
subject_uri: "http://id.worldcat.org/fast/1120873"
|
@@ -79,6 +79,7 @@ search:
|
|
79
79
|
replacements:
|
80
80
|
maxRecords: '10'
|
81
81
|
-
|
82
|
+
# This is a meeting in OCLCFAST_DIRECT, but event in OCLCFAST_LD4L_CACHE.
|
82
83
|
pending: true
|
83
84
|
query: People's International Tribunal on the Rights of Indigenous Hawaiians
|
84
85
|
subauth: event
|
@@ -86,6 +87,13 @@ search:
|
|
86
87
|
position: 3
|
87
88
|
replacements:
|
88
89
|
maxRecords: '8'
|
90
|
+
-
|
91
|
+
query: Science Fiction
|
92
|
+
subauth: meeting
|
93
|
+
subject_uri: "http://id.worldcat.org/fast/1406163"
|
94
|
+
position: 5
|
95
|
+
replacements:
|
96
|
+
maxRecords: '10'
|
89
97
|
-
|
90
98
|
pending: true
|
91
99
|
query: University of Chicago Library
|
@@ -102,7 +110,6 @@ search:
|
|
102
110
|
replacements:
|
103
111
|
maxRecords: '20'
|
104
112
|
-
|
105
|
-
pending: true
|
106
113
|
query: Sjælland
|
107
114
|
subauth: place
|
108
115
|
result_size: 190
|
@@ -111,13 +118,12 @@ search:
|
|
111
118
|
replacements:
|
112
119
|
maxRecords: '10'
|
113
120
|
-
|
114
|
-
pending: true
|
115
121
|
query: Scream
|
116
122
|
subauth: work
|
117
123
|
subject_uri: "http://id.worldcat.org/fast/1358031"
|
118
|
-
position:
|
124
|
+
position: 10
|
119
125
|
replacements:
|
120
|
-
maxRecords: '
|
126
|
+
maxRecords: '20'
|
121
127
|
term:
|
122
128
|
-
|
123
129
|
identifier: '1914919'
|
@@ -13,6 +13,9 @@ search:
|
|
13
13
|
-
|
14
14
|
query: tribunal
|
15
15
|
subauth: event
|
16
|
+
-
|
17
|
+
query: convention
|
18
|
+
subauth: meeting
|
16
19
|
-
|
17
20
|
query: 'mark twain'
|
18
21
|
subauth: person
|
@@ -32,7 +35,6 @@ search:
|
|
32
35
|
# Accuracy tests
|
33
36
|
#------------------
|
34
37
|
-
|
35
|
-
pending: true
|
36
38
|
query: Tralee & Dingle Railway
|
37
39
|
subject_uri: "http://id.worldcat.org/fast/1733583"
|
38
40
|
position: 3
|
@@ -53,6 +55,14 @@ search:
|
|
53
55
|
replacements:
|
54
56
|
maxRecords: '8'
|
55
57
|
-
|
58
|
+
query: Science Fiction
|
59
|
+
subauth: meeting
|
60
|
+
subject_uri: "http://id.worldcat.org/fast/1406163"
|
61
|
+
position: 5
|
62
|
+
replacements:
|
63
|
+
maxRecords: '10'
|
64
|
+
-
|
65
|
+
pending: true
|
56
66
|
query: University of Chicago Library
|
57
67
|
subauth: organization
|
58
68
|
subject_uri: "http://id.worldcat.org/fast/539173"
|
@@ -78,10 +88,16 @@ search:
|
|
78
88
|
query: Scream
|
79
89
|
subauth: work
|
80
90
|
subject_uri: "http://id.worldcat.org/fast/1358031"
|
81
|
-
position:
|
91
|
+
position: 10
|
92
|
+
replacements:
|
93
|
+
maxRecords: '20'
|
94
|
+
-
|
95
|
+
query: 'mark twain'
|
96
|
+
subauth: intangible
|
97
|
+
subject_uri: "http://id.worldcat.org/fast/1200561"
|
98
|
+
position: 3
|
82
99
|
replacements:
|
83
100
|
maxRecords: '10'
|
84
|
-
|
85
101
|
term:
|
86
102
|
-
|
87
103
|
identifier: 'http://id.worldcat.org/fast/1914919'
|
@@ -316,7 +316,6 @@ search:
|
|
316
316
|
replacements:
|
317
317
|
maxRecords: '20'
|
318
318
|
-
|
319
|
-
pending: true
|
320
319
|
query: polychrome
|
321
320
|
subauth: colour_content
|
322
321
|
position: 3
|
@@ -457,7 +456,6 @@ search:
|
|
457
456
|
replacements:
|
458
457
|
maxRecords: '20'
|
459
458
|
-
|
460
|
-
pending: true
|
461
459
|
query: unknown
|
462
460
|
subauth: gender
|
463
461
|
position: 3
|
@@ -556,7 +554,6 @@ search:
|
|
556
554
|
replacements:
|
557
555
|
maxRecords: '10'
|
558
556
|
-
|
559
|
-
pending: true
|
560
557
|
query: Hi 8
|
561
558
|
subauth: video_format
|
562
559
|
position: 3
|
data/lib/qa_server/version.rb
CHANGED
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.
|
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.
|
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', '~> 3.0.0
|
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.
|
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', '~>
|
52
|
+
spec.add_development_dependency 'webdrivers', '~> 4.4'
|
52
53
|
spec.add_development_dependency 'webmock'
|
53
54
|
|
54
55
|
########################################################
|
@@ -21,7 +21,7 @@ RSpec.describe 'Accuracy test' do # rubocop:disable RSpec/DescribeClass
|
|
21
21
|
it "finds actual <= expected" do
|
22
22
|
pending 'test is known to fail' if test_result[:pending]
|
23
23
|
expect(test_result[:err_message]).to be_empty
|
24
|
-
expect(test_result[:request_data]).
|
24
|
+
expect(test_result[:request_data]).to be_present
|
25
25
|
expect(test_result[:actual]).not_to be_nil
|
26
26
|
expect(test_result[:actual]).to be <= test_result[:expected]
|
27
27
|
end
|
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
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
RSpec.describe QaServer::MonitorStatus::HistoryPresenter do
|
5
|
+
let(:presenter) { described_class.new(parent: nil, historical_summary_data: historical_summary_data) }
|
6
|
+
# rubocop:disable Layout/ExtraSpacing
|
7
|
+
let(:historical_summary_data) do
|
8
|
+
# { 'auth_name' => { good: count_of_passing_tests, bad: count_of_failing_tests } }
|
9
|
+
{
|
10
|
+
'GOOD_AUTH' => { good: 0, bad: 1000 },
|
11
|
+
'BARELY_GOOD' => { good: 49, bad: 951 },
|
12
|
+
'OK_AUTH' => { good: 50, bad: 950 },
|
13
|
+
'STILL_OK' => { good: 51, bad: 949 },
|
14
|
+
'BARELY_OK' => { good: 99, bad: 901 },
|
15
|
+
'BAD_AUTH' => { good: 100, bad: 900 },
|
16
|
+
'STILL_BAD' => { good: 101, bad: 899 },
|
17
|
+
'REALLY_BAD' => { good: 500, bad: 500 },
|
18
|
+
'HORRIBLE' => { good: 1000, bad: 0 }
|
19
|
+
}
|
20
|
+
# rubocop:enable Layout/ExtraSpacing
|
21
|
+
end
|
22
|
+
|
23
|
+
describe '.failure_style_class' do
|
24
|
+
context 'returns NEUTRAL style' do
|
25
|
+
let(:expected_css_style) { "status-neutral" }
|
26
|
+
let(:zero_failure_entry) { ['GOOD_AUTH', { good: 1000, bad: 0 }] } # rubocop:disable Layout/ExtraSpacing
|
27
|
+
let(:just_below_caution) { ['BARELY_GOOD', { good: 951, bad: 49 }] } # rubocop:disable Layout/ExtraSpacing
|
28
|
+
|
29
|
+
it 'when no failures' do
|
30
|
+
expect(presenter.failure_style_class(zero_failure_entry)).to eq expected_css_style
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'when percent of failures is just below the CAUTION_THRESHOLD' do
|
34
|
+
expect(presenter.failure_style_class(just_below_caution)).to eq expected_css_style
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
context 'returns CAUTION style' do
|
39
|
+
let(:expected_css_style) { "status-unknown" }
|
40
|
+
let(:equal_caution) { ['OK_AUTH', { good: 950, bad: 50 }] }
|
41
|
+
let(:just_above_caution) { ['STILL_OK', { good: 949, bad: 51 }] }
|
42
|
+
let(:just_below_warning) { ['BARELY_OK', { good: 901, bad: 99 }] }
|
43
|
+
|
44
|
+
it 'when percent of failures is equal to CAUTION_THRESHOLD' do
|
45
|
+
expect(presenter.failure_style_class(equal_caution)).to eq expected_css_style
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'when percent of failures is just above CAUTION_THRESHOLD' do
|
49
|
+
expect(presenter.failure_style_class(just_above_caution)).to eq expected_css_style
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'when percent of failures is just below WARNING_THRESHOLD' do
|
53
|
+
expect(presenter.failure_style_class(just_below_warning)).to eq expected_css_style
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
context 'returns WARNING style' do
|
58
|
+
let(:expected_css_style) { "status-bad" }
|
59
|
+
let(:equal_warning) { ['BAD_AUTH', { good: 900, bad: 100 }] }
|
60
|
+
let(:just_above_warning) { ['STILL_BAD', { good: 899, bad: 101 }] }
|
61
|
+
let(:well_above_warning) { ['REALLY_BAD', { good: 500, bad: 500 }] }
|
62
|
+
let(:all_failures) { ['HORRIBLE', { good: 0, bad: 1000 }] }
|
63
|
+
|
64
|
+
it 'when percent of failures is equal to WARNING_THRESHOLD' do
|
65
|
+
expect(presenter.failure_style_class(equal_warning)).to eq expected_css_style
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'when percent of failures is just above WARNING_THRESHOLD' do
|
69
|
+
expect(presenter.failure_style_class(just_above_warning)).to eq expected_css_style
|
70
|
+
end
|
71
|
+
|
72
|
+
it 'when percent of failures is well above WARNING_THRESHOLD' do
|
73
|
+
expect(presenter.failure_style_class(well_above_warning)).to eq expected_css_style
|
74
|
+
end
|
75
|
+
|
76
|
+
it 'when percent of failures is 100%' do
|
77
|
+
expect(presenter.failure_style_class(all_failures)).to eq expected_css_style
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
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.
|
4
|
+
version: 7.8.0
|
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:
|
11
|
+
date: 2021-04-14 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.
|
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.
|
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.
|
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.
|
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: 3.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: 3.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.
|
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.
|
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: '
|
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: '
|
310
|
+
version: '4.4'
|
279
311
|
- !ruby/object:Gem::Dependency
|
280
312
|
name: webmock
|
281
313
|
requirement: !ruby/object:Gem::Requirement
|
@@ -418,6 +450,7 @@ files:
|
|
418
450
|
- app/views/qa_server/monitor_status/index.html.erb
|
419
451
|
- app/views/qa_server/usage/index.html.erb
|
420
452
|
- app/views/shared/_footer.html.erb
|
453
|
+
- config/i18n-tasks.yml
|
421
454
|
- config/locales/qa_server.en.yml
|
422
455
|
- config/routes.rb
|
423
456
|
- lib/generators/qa_server/assets_generator.rb
|
@@ -472,6 +505,8 @@ files:
|
|
472
505
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml
|
473
506
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml
|
474
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
|
475
510
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml
|
476
511
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml
|
477
512
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml
|
@@ -508,8 +543,10 @@ files:
|
|
508
543
|
- spec/.gitignore
|
509
544
|
- spec/cache_processors/qa_server/cache_expiry_service_spec.rb
|
510
545
|
- spec/feature/accuracy_spec.rb
|
546
|
+
- spec/i18n_spec.rb
|
511
547
|
- spec/lib/configuration_spec.rb
|
512
548
|
- spec/lib/qa_server_spec.rb
|
549
|
+
- spec/presenters/qa_server/monitor_status/history_presenter_spec.rb
|
513
550
|
- spec/rails_helper.rb
|
514
551
|
- spec/services/qa_server/time_period_service_spec.rb
|
515
552
|
- spec/services/qa_server/time_service_spec.rb
|
@@ -545,8 +582,10 @@ test_files:
|
|
545
582
|
- spec/.gitignore
|
546
583
|
- spec/cache_processors/qa_server/cache_expiry_service_spec.rb
|
547
584
|
- spec/feature/accuracy_spec.rb
|
585
|
+
- spec/i18n_spec.rb
|
548
586
|
- spec/lib/configuration_spec.rb
|
549
587
|
- spec/lib/qa_server_spec.rb
|
588
|
+
- spec/presenters/qa_server/monitor_status/history_presenter_spec.rb
|
550
589
|
- spec/rails_helper.rb
|
551
590
|
- spec/services/qa_server/time_period_service_spec.rb
|
552
591
|
- spec/services/qa_server/time_service_spec.rb
|