qa_server 5.5.0 → 5.5.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
  SHA1:
3
- metadata.gz: cfe60b29f718a16c9c86b62e0bd7807c746147b1
4
- data.tar.gz: 51dc3758debb4b924b7859ca82f9ed49eb3475a6
3
+ metadata.gz: 151dd2fd2491a1d6ea72b18356db77ec566bd513
4
+ data.tar.gz: a3f1e776af8ba78e91c754571cbed0c97ed3306e
5
5
  SHA512:
6
- metadata.gz: 56e1811a7ee5b562a3e24d77fecba594955b5410824863a0745f895b2541d5d735e21c33b29b33047c4cb1d257489dc498d9bdb774f097a74c64954c2c7e0da8
7
- data.tar.gz: '084ba6a28a84a2a235c2cb69f2aed5285399ba2e3718135302a5dbf3c297a225407a348cbf6b87ef1705b5cc59016b1bd3ae49a7b0947dda28c215961f9e0f9a'
6
+ metadata.gz: da0fe6ca4b13e58d7c263b585a391c9988786e06b16db3d3ed016c25db128f0e260a8fef17f774881f2037fe310a7eea1eb93c75a391ca5249b4a7437cc7a28a
7
+ data.tar.gz: c7d4b2bbc9532cce06f4ec96451780c0f5fffc04557cf82004796ac5247bb213390d7ca70f7fb5c35327075ae6c97f83557fa18652c323ff158d2dddd7c7ab84
@@ -1,3 +1,7 @@
1
+ ### 5.5.1 (2020-01-29)
2
+
3
+ * fix - check for nil before calling .each
4
+
1
5
  ### 5.5.0 (2020-01-10)
2
6
 
3
7
  * use caching with expiry for monitor status page
@@ -2,7 +2,7 @@
2
2
  <div id="performance-data" class="status-section">
3
3
  <h3><%= t('qa_server.monitor_status.performance.title') %></h3>
4
4
 
5
- <% if @presenter.display_performance_graph? %>
5
+ <% if @presenter.display_performance_graph? && !@presenter.performance_graphs.nil? %>
6
6
  <script>
7
7
  function switch_performance_view(base_id, time_period, action) {
8
8
  document.getElementById(base_id+'<%= @presenter.performance_graph_data_section_id(action: :all_actions, time_period: :day) %>').className = 'performance-data-section-hidden';
@@ -81,7 +81,7 @@
81
81
  </div>
82
82
  <% end %>
83
83
 
84
- <% if @presenter.display_performance_datatable? %>
84
+ <% if @presenter.display_performance_datatable? && !@presenter.performance_data.nil? %>
85
85
  <div id="performance-datatable-section">
86
86
  <h4><%= @presenter.performance_table_description %></h4>
87
87
  <table class="status">
@@ -7,7 +7,7 @@
7
7
  <%= image_tag(@presenter.historical_graph, alt: 'History Graph Unavailable') %>
8
8
  <% end %>
9
9
 
10
- <% if @presenter.display_historical_datatable? %>
10
+ <% if @presenter.display_historical_datatable? && !@presenter.historical_summary.nil? %>
11
11
  <table class="status">
12
12
  <tr>
13
13
  <th><%= t('qa_server.monitor_status.history.authority') %></th>
@@ -19,7 +19,7 @@
19
19
  </table>
20
20
  <p class="status-update-dtstamp"><%= t('qa_server.monitor_status.summary.last_updated', date: @presenter.last_updated) %></p>
21
21
 
22
- <% if @presenter.failures? %>
22
+ <% if @presenter.failures? & !@status_data.nil? %>
23
23
  <div id="failures" class="status-section">
24
24
  <h4><%= t('qa_server.monitor_status.failures.title') %></h4>
25
25
 
@@ -0,0 +1,51 @@
1
+ authority:
2
+ service: ld4_cache
3
+ context: true
4
+
5
+ -
6
+ query: Joannes Philippus de Lignamine
7
+ subauth: person
8
+ position: 1
9
+ subject_uri: “http://thesaurus.cerl.org/record/cnp00372755”
10
+ replacements:
11
+ maxRecords: '8'
12
+
13
+ -
14
+ query: Joannes Philippus de Lignamine
15
+ subauth: person
16
+ position: 2
17
+ subject_uri: “http://thesaurus.cerl.org/record/cnp00895966”
18
+ replacements:
19
+ maxRecords: '8'
20
+ -
21
+ query: Jacob Winter
22
+ subauth: person
23
+ position: 2
24
+ subject_uri: “http://thesaurus.cerl.org/record/cnp02081773”
25
+ replacements:
26
+ maxRecords: '8'
27
+
28
+ -
29
+ query: Jacob Winter
30
+ subauth: imprint
31
+ position: 4
32
+ subject_uri: “http://thesaurus.cerl.org/record/cni00081233”
33
+ replacements:
34
+ maxRecords: '8'
35
+ -
36
+ query: Plantin
37
+ subauth: imprint
38
+ position: 1
39
+ subject_uri: “http://thesaurus.cerl.org/record/cni00007649”
40
+ replacements:
41
+ maxRecords: '8'
42
+
43
+
44
+
45
+ -
46
+ query: Typographia Plantiniana
47
+ subauth: corporate_body
48
+ position: 1
49
+ subject_uri: “http://thesaurus.cerl.org/record/cnc00011608”
50
+ replacements:
51
+ maxRecords: '8'
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '5.5.0'
3
+ VERSION = '5.5.1'
4
4
  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: 5.5.0
4
+ version: 5.5.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: 2020-01-10 00:00:00.000000000 Z
11
+ date: 2020-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -427,6 +427,7 @@ files:
427
427
  - lib/generators/qa_server/templates/config/authorities/linked_data/rda_registry_ld4l_cache.json
428
428
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_direct_validation.yml
429
429
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_ld4l_cache_validation.yml
430
+ - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4_cache_validation.yml
430
431
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/dbpedia_direct_validation.yml
431
432
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/dbpedia_ld4l_cache_validation.yml
432
433
  - lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_direct_validation.yml