minitest-reporters 0.14.10 → 0.14.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,10 +32,17 @@ module MiniTest
32
32
  puts
33
33
 
34
34
  @finished_count = 0
35
+ show
35
36
  end
36
37
 
37
38
  def increment
38
39
  @finished_count += 1
40
+ show
41
+ end
42
+
43
+ def show
44
+ return if runner.test_count == 0
45
+
39
46
  @progress.show({
40
47
  :msg => "#{@finished_count}/#{runner.test_count}",
41
48
  :done => @finished_count,
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Reporters
3
- VERSION = "0.14.10"
3
+ VERSION = "0.14.11"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-reporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.10
4
+ version: 0.14.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-21 00:00:00.000000000 Z
12
+ date: 2013-03-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -162,18 +162,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  - - ! '>='
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
- segments:
166
- - 0
167
- hash: 3192420909948519299
168
165
  required_rubygems_version: !ruby/object:Gem::Requirement
169
166
  none: false
170
167
  requirements:
171
168
  - - ! '>='
172
169
  - !ruby/object:Gem::Version
173
170
  version: '0'
174
- segments:
175
- - 0
176
- hash: 3192420909948519299
177
171
  requirements: []
178
172
  rubyforge_project: minitest-reporters
179
173
  rubygems_version: 1.8.24
@@ -187,3 +181,4 @@ test_files:
187
181
  - test/unit/minitest/extensible_backtrace_filter_test.rb
188
182
  - test/unit/minitest/reporter_test.rb
189
183
  - test/unit/minitest/reporters_test.rb
184
+ has_rdoc: