build_eval 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/build_eval/result/status.rb +2 -2
- data/lib/build_eval/version.rb +1 -1
- data/spec/lib/build_eval/result/status_spec.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: 582fae85bf01612ef73e180f2d762834629d5cc7
|
4
|
+
data.tar.gz: 0d8fa6378adb766d1c7392dc3bbcb9c8821fdc26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ff9b48b6b4dc4073b249c87e3a9258b50a94b3e68fb1e218d4c4e9560753b131fb474d5f398f99e7f6c7e564a24d1f49385b7f4cb75136988e697f104f1c7c1
|
7
|
+
data.tar.gz: 1c4c9bb4757754e7addef6326c15cc8d96a74eaa08121023330a74da3e388ebd1dfaf78d0776e33be39480202b4bb482cfe35b1e739e68382305aab9511ecbde
|
@@ -15,8 +15,8 @@ module BuildEval
|
|
15
15
|
|
16
16
|
SUCCESS = self.new(severity: 0, symbol: :success!, description: "succeeded")
|
17
17
|
UNKNOWN = self.new(severity: 1, symbol: :warning!, description: "unknown")
|
18
|
-
FAILURE = self.new(severity: 2, symbol: :
|
19
|
-
ERROR = self.new(severity: 3, symbol: :
|
18
|
+
FAILURE = self.new(severity: 2, symbol: :failure!, description: "failed")
|
19
|
+
ERROR = self.new(severity: 3, symbol: :failure!, description: "errored")
|
20
20
|
|
21
21
|
class << self
|
22
22
|
|
data/lib/build_eval/version.rb
CHANGED
@@ -120,7 +120,7 @@ describe BuildEval::Result::Status do
|
|
120
120
|
|
121
121
|
subject { status.to_sym }
|
122
122
|
|
123
|
-
{ SUCCESS: :success!, UNKNOWN: :warning!, FAILURE: :
|
123
|
+
{ SUCCESS: :success!, UNKNOWN: :warning!, FAILURE: :failure!, ERROR: :failure! }.each do |name, expected_symbol|
|
124
124
|
|
125
125
|
context "when the status is #{name}" do
|
126
126
|
|