minitest-colorin 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minitest/colorin/version.rb +1 -1
- data/lib/minitest/colorin.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c73f55b27c4a5d29c69a624628cb35310d74c3bc
|
4
|
+
data.tar.gz: 3db7d0a74d4a56547959561522c95a573fc84229
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a025f071819adc0d3f303007456f9dd33b52dcc48521cd3b1173d45a812e11a60c5e1026dafc35c1400c4b382a72fc9147eb0a881af0ea3b134e5f464752ce9d
|
7
|
+
data.tar.gz: eab9e3ad0b91f2f08d430fd998ee873de687119937a9efe3c84af1e2f2c19c6b96c64906dd238821fed0a547177fd467c5c6c4bbb94f906788ef8f3e07ecafe6
|
data/lib/minitest/colorin.rb
CHANGED
@@ -56,11 +56,11 @@ module Minitest
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def record(result)
|
59
|
-
|
59
|
+
results << result
|
60
60
|
|
61
61
|
test_id = TestID.new result
|
62
62
|
|
63
|
-
if test_id.context !=
|
63
|
+
if test_id.context != previous_context
|
64
64
|
io.puts
|
65
65
|
io.puts ::Colorin.white(test_id.context).bold
|
66
66
|
@previous_context = test_id.context
|
@@ -80,7 +80,7 @@ module Minitest
|
|
80
80
|
end
|
81
81
|
|
82
82
|
def passed?
|
83
|
-
|
83
|
+
failures.empty? && errors.empty?
|
84
84
|
end
|
85
85
|
|
86
86
|
def report
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-colorin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Naiman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|