wavefront-cli 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/wavefront-cli/display/distribution.rb +5 -6
- data/lib/wavefront-cli/version.rb +1 -1
- 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: f98d17cf9a5e38f58258bdcf1fd4be6d08a6e92d57d2ae756f43becb165bc0e4
|
4
|
+
data.tar.gz: f06aa55fd7305834f02227413aea031f865c849eefe77156e12d451c15fa0698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6490226f534671ca73243a249fcb35b686d57beb16b277ead5418409186c023ae823e359472a0daf6b447ef823d91d7bf077ac1377f68a6909b62504c60e84f
|
7
|
+
data.tar.gz: 80b657cd6f9b416860a4169d7ac6d5d7f8f560f61b6096d9e38b74a475c8880e483a80ea9e88c28f5292965954ce0ae0bd2c0ec0116289fdc472d633cbed8394
|
data/HISTORY.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 3.1.3 (24/04/2019)
|
4
|
+
* Fix `write distribution` bug. Points would be sent, but results
|
5
|
+
could not be displayed, causing a crash unless you used `-q`.
|
6
|
+
|
3
7
|
## 3.1.2 (06/04/2019)
|
4
8
|
* Bugfix on handling of invalid config files.
|
5
9
|
* Explicitly specifying a missing config file now causes an error
|
@@ -4,14 +4,13 @@ module WavefrontDisplay
|
|
4
4
|
# Format human-readable output when writing distributions
|
5
5
|
#
|
6
6
|
class Distribution < Write
|
7
|
-
# rubocop:disable Metrics/AbcSize
|
8
7
|
def do_distribution
|
9
|
-
unless options[:quiet]
|
10
|
-
report
|
11
|
-
end
|
12
|
-
|
8
|
+
print_report unless options[:quiet]
|
13
9
|
exit(data.rejected.zero? && data.unsent.zero? ? 0 : 1)
|
14
10
|
end
|
15
|
-
|
11
|
+
|
12
|
+
def print_report
|
13
|
+
report unless (data[:unsent] + data[:rejected]).positive?
|
14
|
+
end
|
16
15
|
end
|
17
16
|
end
|
@@ -1 +1 @@
|
|
1
|
-
WF_CLI_VERSION = '3.1.
|
1
|
+
WF_CLI_VERSION = '3.1.3'.freeze
|
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: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Fisher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docopt
|