wavefront-cli 5.0.0 → 5.0.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 +4 -4
- data/.rubocop.yml +7 -0
- data/HISTORY.md +3 -0
- data/lib/wavefront-cli/alert.rb +4 -3
- data/lib/wavefront-cli/commands/.rubocop.yml +7 -0
- data/lib/wavefront-cli/version.rb +1 -1
- data/spec/.rubocop.yml +7 -0
- data/spec/wavefront-cli/alert_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b6dd6a0dbe70c8b5b32da314ee85ed859954a1c65b6ab068413d655bb0ef9ed
|
|
4
|
+
data.tar.gz: 8b4606d212c1be7e8020946fc3a584774d1e0caa88add714683c896e39822b0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 906ad829f658c803f7fb9666172ffc78c5b6b5db9918edf5203fe8477ddbc0b1e5e8772cd9ba479160e6e3d4173a2ca363490de7763049174934364989a4a9ad
|
|
7
|
+
data.tar.gz: 856022412c9a6ab3aca5ea88870f115bf11373bd1cbac64f6ba52710fda2cdada21c3c385dc416daa3ff94c4a58fca1490b2fdc071b3cc3a8590d4471017e05d
|
data/.rubocop.yml
CHANGED
data/HISTORY.md
CHANGED
data/lib/wavefront-cli/alert.rb
CHANGED
|
@@ -13,8 +13,9 @@ module WavefrontCli
|
|
|
13
13
|
include WavefrontCli::Mixin::Acl
|
|
14
14
|
|
|
15
15
|
def import_fields
|
|
16
|
-
%i[name condition minutes target severity displayExpression
|
|
17
|
-
|
|
16
|
+
%i[name condition minutes target severity displayExpression tags
|
|
17
|
+
additionalInformation resolveAfterMinutes alertType severityList
|
|
18
|
+
conditions acl]
|
|
18
19
|
end
|
|
19
20
|
|
|
20
21
|
def do_describe
|
|
@@ -143,7 +144,7 @@ module WavefrontCli
|
|
|
143
144
|
if raw.key?('customerTagsWithCounts')
|
|
144
145
|
ret[:sharedTags] = raw['customerTagsWithCounts'].keys
|
|
145
146
|
end
|
|
146
|
-
end
|
|
147
|
+
end.compact
|
|
147
148
|
end
|
|
148
149
|
end
|
|
149
150
|
end
|
data/spec/.rubocop.yml
CHANGED
|
@@ -263,8 +263,8 @@ class AlertEndToEndTest < EndToEndTest
|
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
def import_fields
|
|
266
|
-
%i[condition
|
|
267
|
-
|
|
266
|
+
%i[name condition minutes target severity displayExpression tags
|
|
267
|
+
resolveAfterMinutes]
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
# rubocop:disable Layout/LineLength
|
|
@@ -278,7 +278,7 @@ class AlertEndToEndTest < EndToEndTest
|
|
|
278
278
|
tags: { customerTags: ['pks'] },
|
|
279
279
|
additionalInformation: nil,
|
|
280
280
|
resolveAfterMinutes: 5,
|
|
281
|
-
resolveMinutes: 5 }
|
|
281
|
+
resolveMinutes: 5 }.compact
|
|
282
282
|
end
|
|
283
283
|
|
|
284
284
|
def update_data
|
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: 5.0.
|
|
4
|
+
version: 5.0.1
|
|
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-02-
|
|
11
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: docopt
|