qa_server 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcedba0845e78467d54d898c86ad03498dbc1754
4
- data.tar.gz: f00bc15be82518d374575eca094c418aa48cb78a
3
+ metadata.gz: a526113eb2d57af9e670446c76d9c92e33cdb1c8
4
+ data.tar.gz: b3f9253e899f8ff605632952f8ef5990a17e9147
5
5
  SHA512:
6
- metadata.gz: 4bd795410ea1f40b60595933d220a800bfeef12ca2bf7c9210cb3f8b6ff9ca3e77d085447ecea99b50d5f14f85ba359ec5a76533a51bce621dfc05120e465f43
7
- data.tar.gz: 9f164a65faac0b9f73918b242a5d8eafbc1f769b492be648abf08a050e64b6df0e740962cdbd73777fc0f4f73d4f9f6cf896a7312d2135e0028335b593efaff8
6
+ metadata.gz: d19ffc6e5baf8ebf1d742fb6edc06fc9e620eadd8182a8632653e576fcee0d673b65f50eba97e0c345494b0d2970deb2f174f9583f003bd324934045c888c831
7
+ data.tar.gz: afe7fa02263b9b375da202bc87dfdb27d7f790653840a398d28630cfbd3f75d40c944485179260a94dd8a6561fa179a367763607954415cccd9feef86f91958f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 2.2.3 (2019-09-11)
2
+
3
+ * do not process and store performance data if it wasn't returned in the result
4
+
1
5
  ### 2.2.2 (2019-09-10)
2
6
 
3
7
  * handle stat calculation and formatting when 0 records or missing stats
@@ -5,6 +9,8 @@
5
9
  * Use 10th and 90th percentiles for datatable
6
10
  * display day graph for every authority for default time period
7
11
  * cache performance graphs
12
+ * don’t calculate low and high for graphs since they aren’t used
13
+ * don’t calcualte full request data for graphs since it isn’t used
8
14
  * include authority data for performance graphs
9
15
  * move some of the performance data construction code to services
10
16
 
@@ -6,6 +6,7 @@ module PrependedLinkedData::FindTerm
6
6
  saved_performance_data = performance_data
7
7
  performance_data = true
8
8
  full_results = super
9
+ return full_results unless full_results.is_a?(Hash) && full_results.key?(:performance)
9
10
  QaServer::PerformanceHistory.save_result(dt_stamp: Time.now.getlocal,
10
11
  authority: authority_name,
11
12
  action: 'fetch',
@@ -6,6 +6,7 @@ module PrependedLinkedData::SearchQuery
6
6
  saved_performance_data = performance_data
7
7
  performance_data = true
8
8
  full_results = super
9
+ return full_results unless full_results.is_a?(Hash) && full_results.key?(:performance)
9
10
  QaServer::PerformanceHistory.save_result(dt_stamp: Time.now.getlocal,
10
11
  authority: authority_name,
11
12
  action: 'search',
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '2.2.2'
3
+ VERSION = '2.2.3'
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: 2.2.2
4
+ version: 2.2.3
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: 2019-09-10 00:00:00.000000000 Z
11
+ date: 2019-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails