autobench 0.0.1alpha4 → 0.0.1alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autobench/client.rb +2 -2
- data/lib/autobench/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a502c3fd2076f8964fc04bed907e5cd89995f0cd
|
4
|
+
data.tar.gz: b64f92c0d41489e0962c3c008b838307617f7977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86446c7dff533aaa652f10c380c5a8ebf7234012b893e7423584d8849d22d73353d7db4d8c99e689b4b1be53aedcedfb4df0a5b26014058e7ca2ee8091195683
|
7
|
+
data.tar.gz: 6751b40b747da049613e46358f30dd0944050a60de0588529e957f08fba760746d08efc8a9efd303ab53b85a9657fd5d321c7a4d8ba016a2e2d9791721674969
|
data/lib/autobench/client.rb
CHANGED
@@ -4,6 +4,7 @@ class Autobench
|
|
4
4
|
def initialize config
|
5
5
|
@config = config
|
6
6
|
@thresholds = @config["thresholds"]["client"] rescue []
|
7
|
+
@thresholds = [] if @thresholds.nil?
|
7
8
|
@full_results = []
|
8
9
|
@failures = []
|
9
10
|
@successes = []
|
@@ -21,8 +22,7 @@ class Autobench
|
|
21
22
|
end
|
22
23
|
@full_results
|
23
24
|
rescue
|
24
|
-
|
25
|
-
raise
|
25
|
+
raise "COMMAND FAILED: #{command}"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
data/lib/autobench/version.rb
CHANGED