minitest-reporters 0.14.17 → 0.14.18

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: e7426f0af16246f1769d320124a20ed66808f693
4
- data.tar.gz: 27ff0824cfc3ea248f8a64a724b880783f77fd03
3
+ metadata.gz: eff75b6c56925072bcc302c8e6016ea131ecec2f
4
+ data.tar.gz: 222a3c67c8f8efa3b9e9337e5c62c5469b12e48c
5
5
  SHA512:
6
- metadata.gz: 37f9563cfb405ff5fc0ba08908e6f846e426e255d04750e80777be907751fd2bc7d953b5d481ffd1edb7230d1a0f4c3180d2a71906768544db265eeed40098f3
7
- data.tar.gz: d5a9595187cb95399479d50d439b73326f6e1951849182da13505f205276247a7af115b250fcde04c10729c6373ebda06e20599002272707c83cbde67ed269e3
6
+ metadata.gz: 40f5b0d8a3866fa095e014c1a10e0bf8a176ee3e3adede9de7c8e69223727bd242bce80e5b3b7c93fa02a98f66a037051f4f1dcafcf0efc2c5c5f6fe956f1765
7
+ data.tar.gz: 39875dfa891031005cf3c7003d3560715da3c2fcfaf0b7f47fdc262c559ac33252c74419a8bf1f2eecaeef206b491a2f8a20955de4e6d3a43d1d47307d16d8fb
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Death to haphazard monkey-patching! Extend MiniTest through simple hooks.
4
4
 
5
+ ## Looking for a new maintainer! ##
6
+
7
+ I no longer use `minitest-reporters`, and would like to pass on the project to someone else who will be able to dedicate more time to it. Contact me via [email](alex@kernul.com) or [Twitter](https://twitter.com/CapnKernul) if you're interested in maintaining this project.
8
+
5
9
  ## Installation ##
6
10
 
7
11
  gem install minitest-reporters
@@ -22,11 +22,15 @@ module MiniTest
22
22
  self.reporters = []
23
23
  @test_results = {}
24
24
  @test_recorder = TestRecorder.new
25
+ @allow_default_output = true
25
26
  end
26
27
 
27
- def _run_suites(suites, type)
28
- output.puts "# Run options: #{@help}"
28
+ def run_tests
29
+ @allow_default_output = false
30
+ super
31
+ end
29
32
 
33
+ def _run_suites(suites, type)
30
34
  @suites_start_time = Time.now
31
35
  count_tests!(suites, type)
32
36
  trigger_callback(:before_suites, suites, type)
@@ -75,9 +79,17 @@ module MiniTest
75
79
  end
76
80
 
77
81
  # Stub out the three IO methods used by the built-in reporter.
78
- def puts(*args); end
79
- def print(*args); end
80
- def status(io = output); end
82
+ def puts(*args)
83
+ super if @allow_default_output
84
+ end
85
+
86
+ def print(*args)
87
+ super if @allow_default_output
88
+ end
89
+
90
+ def status(io = output)
91
+ super if @allow_default_output
92
+ end
81
93
 
82
94
  private
83
95
 
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Reporters
3
- VERSION = "0.14.17"
3
+ VERSION = "0.14.18"
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: 0.14.17
4
+ version: 0.14.18
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-04-25 00:00:00.000000000 Z
11
+ date: 2013-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest