qa_server 3.0.2 → 3.0.3

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: 588fc21acaf86a8aafc9cc5900db53a554091fd9
4
- data.tar.gz: 91dd513fbb6a6407be2d6075d8748bebeddacb2a
3
+ metadata.gz: 7909aaa8ddc9c7cb6b0e5f71d846c8428bd7c132
4
+ data.tar.gz: 7c1a5c17fc150d7334422e7387a67530ae02ce54
5
5
  SHA512:
6
- metadata.gz: b0882de932666dd854da5133e6f63f8b192fe94df638e3d387938fff123412e1ce15a84df0ffaa093ce35b485daeafd6fa78da1958471e01f511861b7f4d408b
7
- data.tar.gz: 6467274365bc70d7865aa1750de61b785d5758512eb3c12d88f97e6686b0af6293bcfc3b105d56f6da7ec08b1f14a522359b87c5c2200755692cd775109dbffb
6
+ metadata.gz: a9912f7ba243ec186ccc54b48498d3d0e734ccda08fe7618051d4f3d073dde53ffea8cea5018bdfe2b3a6cabcd95b4d3843f5098f9a5ee49cdd716dabd8eb845
7
+ data.tar.gz: a06700826ab8dbba99934405542bbfdefd180b75480280ddd2ff1dcb44d0802085268b502de2dfd9c7a4c1e2531b7d8f793f3893b8a9a476d33f54daf54f73f0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 3.0.3 (2019-10-09)
2
+
3
+ * remove titles from graphs (previously set to '' which caused problems when deployed)
4
+
1
5
  ### 3.0.2 (2019-10-09)
2
6
 
3
7
  * bug fix - make sure count is counting based on the current set of times
@@ -31,7 +31,6 @@ module QaServer::MonitorStatus
31
31
  # g = Gruff::SideStackedBar.new('800x400')
32
32
  g = Gruff::SideStackedBar.new
33
33
  historical_graph_theme(g)
34
- g.title = ''
35
34
  historical_data = rework_historical_data_for_gruff
36
35
  g.labels = historical_data[0]
37
36
  g.data('Fail', historical_data[1])
@@ -103,10 +103,6 @@ module QaServer
103
103
  (data[STATS][AVG_RETR].zero? && data[STATS][AVG_GRPH].zero?) ? data[STATS][AVG_LOAD] : data[STATS][AVG_GRPH]
104
104
  end
105
105
 
106
- def empty(stat_data)
107
- !stat_data.any? { |f| f > 0 }
108
- end
109
-
110
106
  def performance_graph_theme(g, x_axis_label)
111
107
  g.theme_pastel
112
108
  g.colors = [QaServer.config.performance_normalization_color,
@@ -123,7 +119,6 @@ module QaServer
123
119
  def create_gruff_graph(performance_data, performance_graph_full_path, x_axis_label)
124
120
  g = Gruff::StackedBar.new
125
121
  performance_graph_theme(g, x_axis_label)
126
- g.title = ''
127
122
  g.labels = performance_data[0]
128
123
  g.data(I18n.t('qa_server.monitor_status.performance.normalization_time_ms'), performance_data[1])
129
124
  g.data(I18n.t('qa_server.monitor_status.performance.graph_load_time_ms'), performance_data[2])
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '3.0.2'
3
+ VERSION = '3.0.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: 3.0.2
4
+ version: 3.0.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-10-09 00:00:00.000000000 Z
11
+ date: 2019-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails