sus 0.11.2 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/sus/assertions.rb +8 -0
- data/lib/sus/base.rb +2 -2
- data/lib/sus/output.rb +1 -0
- data/lib/sus/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c4e40f000e1811b16c1718c123e165cafbb2fe8b576954f6c8824ea61097985
|
4
|
+
data.tar.gz: 42a5387eae3f2588b13ed33b3e75a1df5193b6d636a3a730c4454e9b3ad81a16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4af49c129c2acef1b1884e3bf3f7269f4340f47a264e6eab595eaf967d5f4dda14ce74a24adaf0bfc85bf362846c27c6e469218da5b32917bbd8c4d418477329
|
7
|
+
data.tar.gz: 20da00aa7d81f0e5444af2938f1bc346a1e5dd958b9ebea2826d26d637af64bfbbab5c21002b2e85afbffcc904c59c4a709c67f36562254e20e508860fa53a01
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/sus/assertions.rb
CHANGED
@@ -130,6 +130,10 @@ module Sus
|
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
133
|
+
def inform(message)
|
134
|
+
@output.puts(:indent, :inform, inform_prefix, message)
|
135
|
+
end
|
136
|
+
|
133
137
|
# Add deferred assertions.
|
134
138
|
def defer(&block)
|
135
139
|
@deferred << block
|
@@ -266,5 +270,9 @@ module Sus
|
|
266
270
|
def fail_prefix
|
267
271
|
"✗ "
|
268
272
|
end
|
273
|
+
|
274
|
+
def inform_prefix
|
275
|
+
"ℹ "
|
276
|
+
end
|
269
277
|
end
|
270
278
|
end
|
data/lib/sus/base.rb
CHANGED
data/lib/sus/output.rb
CHANGED
data/lib/sus/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|