minitest-reporters 1.0.0.beta3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/README.md +1 -1
- data/lib/minitest/reporters/spec_reporter.rb +2 -1
- data/lib/minitest/reporters/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 957bf78f03375f980e0d361219fb8cb8d56f8df3
|
4
|
+
data.tar.gz: 8554854182edcc786cd3b93f94398fe261241786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28d82a76e09f203aa9d73a6e9f3bdf83b9463869c79cac938a3b3f8c35e327dfee9301193818305423ba47af8a6cdf4fab3647b697f1bb6468cfdb3aed386d3d
|
7
|
+
data.tar.gz: 1699bb1d67b99c13f716b4a10862149a91cc831b7b4ab4b0ba2d12be010300f88fb1aa034ebf3974261e4a483234de53222227a695d20ff3dcee76c55866add7
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -26,7 +26,7 @@ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
|
|
26
26
|
Want to use multiple reporters?
|
27
27
|
|
28
28
|
```ruby
|
29
|
-
Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new, Minitest::Reporters::JUnitReporter]
|
29
|
+
Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new, Minitest::Reporters::JUnitReporter.new]
|
30
30
|
```
|
31
31
|
|
32
32
|
The following reporters are provided:
|
@@ -22,7 +22,8 @@ module Minitest
|
|
22
22
|
super
|
23
23
|
puts('Finished in %.5fs' % total_time)
|
24
24
|
print('%d tests, %d assertions, ' % [count, assertions])
|
25
|
-
|
25
|
+
color = failures.zero? && errors.zero? ? :green : :red
|
26
|
+
print(send(color) { '%d failures, %d errors, ' } % [failures, errors])
|
26
27
|
print(yellow { '%d skips' } % skips)
|
27
28
|
puts
|
28
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-reporters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -145,9 +145,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
|
-
- - '
|
148
|
+
- - '>='
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
150
|
+
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project: minitest-reporters
|
153
153
|
rubygems_version: 2.0.3
|