wavefront-cli 4.5.1 → 4.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/HISTORY.md +4 -0
- data/lib/wavefront-cli/output/csv/query.rb +1 -1
- data/lib/wavefront-cli/version.rb +1 -1
- data/spec/wavefront-cli/alert_spec.rb +2 -2
- data/wavefront-cli.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85cffedda19dd4e8ac981ecc22a59610278f3d22be74f73cb9fd52baee745e9b
|
4
|
+
data.tar.gz: c623f5dfc3f2c4b9e75547f38de546115eebec4e0d22e397c905d7483bad67f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '080b36c657b1b489b236f8a0207a74ebc49b30e9fd921cdd3fb6ae4e134f637297b508e9b3cecce0a2897655cfad0516b64d45c7061e054763f8a8e51e10c0c0'
|
7
|
+
data.tar.gz: e0417583dfc07ec380c298a1d6b4a23dd0a31715997b298494ca5a83bee01960bbe0b1b0717a2efd23d6bcf00bdd961affa05ae4798206a505e17f0bc79627b5
|
data/.travis.yml
CHANGED
data/HISTORY.md
CHANGED
@@ -83,7 +83,7 @@ module WavefrontCsvOutput
|
|
83
83
|
# Do escaping and quoting
|
84
84
|
#
|
85
85
|
def csv_value(value)
|
86
|
-
if (formatopts.include?('quote') || value =~ /[,\s"]/) &&
|
86
|
+
if (formatopts.include?('quote') || value.to_s =~ /[,\s"]/) &&
|
87
87
|
!value.to_s.empty?
|
88
88
|
quote_value(value)
|
89
89
|
else
|
@@ -267,7 +267,7 @@ class AlertEndToEndTest < EndToEndTest
|
|
267
267
|
tags target name]
|
268
268
|
end
|
269
269
|
|
270
|
-
# rubocop:disable
|
270
|
+
# rubocop:disable Layout/LineLength
|
271
271
|
def import_data
|
272
272
|
{ name: 'PKS - too many containers not running',
|
273
273
|
condition: 'sum(ts(pks.kube.pod.container.status.running.gauge)) / (sum(ts(pks.kube.pod.container.status.running.gauge)) + sum(ts(pks.kube.pod.container.status.waiting.gauge)) + sum(ts(pks.kube.pod.container.status.terminated.gauge))) < 0.8',
|
@@ -292,5 +292,5 @@ class AlertEndToEndTest < EndToEndTest
|
|
292
292
|
resolveAfterMinutes: 5,
|
293
293
|
id: '1556812163465' }
|
294
294
|
end
|
295
|
-
# rubocop:enable
|
295
|
+
# rubocop:enable Layout/LineLength
|
296
296
|
end
|
data/wavefront-cli.gemspec
CHANGED
@@ -26,11 +26,11 @@ Gem::Specification.new do |gem|
|
|
26
26
|
|
27
27
|
gem.add_runtime_dependency 'docopt', '~> 0.6.0'
|
28
28
|
gem.add_runtime_dependency 'inifile', '~> 3.0'
|
29
|
-
gem.add_runtime_dependency 'wavefront-sdk', '~> 3.6', '>= 3.6.
|
29
|
+
gem.add_runtime_dependency 'wavefront-sdk', '~> 3.6', '>= 3.6.1'
|
30
30
|
|
31
31
|
gem.add_development_dependency 'minitest', '~> 5.11', '>= 5.11.0'
|
32
32
|
gem.add_development_dependency 'rake', '~> 12.0'
|
33
|
-
gem.add_development_dependency 'rubocop', '~> 0.
|
33
|
+
gem.add_development_dependency 'rubocop', '~> 0.79'
|
34
34
|
gem.add_development_dependency 'spy', '~> 1.0.0'
|
35
35
|
gem.add_development_dependency 'webmock', '~> 3.7'
|
36
36
|
gem.add_development_dependency 'yard', '~> 0.9.5'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wavefront-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Fisher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docopt
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3.6'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.6.
|
50
|
+
version: 3.6.1
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3.6'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.6.
|
60
|
+
version: 3.6.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +98,14 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.
|
101
|
+
version: '0.79'
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 0.
|
108
|
+
version: '0.79'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: spy
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|