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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c95e6d4842a85ba418854eed033f3a3ad7c60a8
4
- data.tar.gz: 7bac122561b747d70d191f6baacedc8737232b5b
3
+ metadata.gz: 957bf78f03375f980e0d361219fb8cb8d56f8df3
4
+ data.tar.gz: 8554854182edcc786cd3b93f94398fe261241786
5
5
  SHA512:
6
- metadata.gz: 142b546f61bfbc7e98752dc390fe1c50674c5b33f4c5bd774f5076b351583040485348ea29125f9401ff5349f70d0b7265b8db2511b0654c43c2b96f04048792
7
- data.tar.gz: 9902f5a929ce18f82eab997ed37c435d18a46c8264a99ccff09334b49d6168bfbd93682f07892a7d37871fbe6490f65ea6f5d29faf43787063b0e162a576a6cf
6
+ metadata.gz: 28d82a76e09f203aa9d73a6e9f3bdf83b9463869c79cac938a3b3f8c35e327dfee9301193818305423ba47af8a6cdf4fab3647b697f1bb6468cfdb3aed386d3d
7
+ data.tar.gz: 1699bb1d67b99c13f716b4a10862149a91cc831b7b4ab4b0ba2d12be010300f88fb1aa034ebf3974261e4a483234de53222227a695d20ff3dcee76c55866add7
@@ -2,5 +2,4 @@ script: 'rake test'
2
2
  rvm:
3
3
  - 2.0.0
4
4
  - 1.9.3
5
- - rbx-19mode
6
5
  - jruby-19mode
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
- print(red { '%d failures, %d errors, ' } % [failures, errors])
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
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.0.0.beta3'
3
+ VERSION = '1.0.0'
4
4
  end
5
5
  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.beta3
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-02 00:00:00.000000000 Z
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: 1.3.1
150
+ version: '0'
151
151
  requirements: []
152
152
  rubyforge_project: minitest-reporters
153
153
  rubygems_version: 2.0.3