minitest-reporters 1.1.14 → 1.1.15

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: 350b616f3441faa63d76eed3ce3bf0a853f04c4e
4
- data.tar.gz: 66cfb12d8fe29424bbd8a383de6785cb0068f623
3
+ metadata.gz: '086685dd269c97e9f683c7b6a59b0b685fc8d134'
4
+ data.tar.gz: 746623dbf9f18ab5e7380ba41dde18a5f181c917
5
5
  SHA512:
6
- metadata.gz: 9ae4241dfea5d89635e20503904ad1831d1d6f1b46be904f413e86cdc139cb540f2f655db9c13b1e6d3f82898ea06f0f26a3c1b9c8d1d4cb9eff0bd7bd571f38
7
- data.tar.gz: 47e6df3dec4bebfdaa29a036964795f7cd8631981917673f43c5b8fc1925da0e24a5f1a81200cc38d5fb47317a01b61f3c3b472c12ee4fdd7a56e0f6047e00cf
6
+ metadata.gz: dc879a0a6e929fea5ed95d0d0f5bb55dc9a1efe93be224159b29033165a3281ea2c797398031db025681ac45831ea5422e1b49195490a5a77d4ad537cb3d6add
7
+ data.tar.gz: 68f190565e96a32b8ca7794891941ff540eb7819d4de8b42605474dda7a719fc6a320f41e82784a6bf69f5d6be6a58ed4af09623aae2d9a10922c0b0cf8999a6
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [1.1.15](https::/github.com/kern/minitest-reporters/compare/v1.1.14...v1.1.15)
2
+
3
+ * Fixed problem with handling SIGINFO [#231](#231) (contributed by [joshpencheon](https://github.com/joshpencheon))
4
+
5
+
@@ -26,6 +26,8 @@ module Minitest
26
26
  all_reporters.each(&:report)
27
27
  end
28
28
 
29
+ alias to_s report
30
+
29
31
  def passed?
30
32
  all_reporters.all?(&:passed?)
31
33
  end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.1.14'
3
+ VERSION = '1.1.15'
4
4
  end
5
5
  end
@@ -10,5 +10,16 @@ module MinitestReportersTest
10
10
  dr.send :all_reporters
11
11
  assert_equal io_handle, reporter.io
12
12
  end
13
+
14
+ def test_casting_to_string_triggers_report
15
+ reporter = Minitest::Reporters::ProgressReporter.new
16
+ io_handle = StringIO.new
17
+ dr = Minitest::Reporters::DelegateReporter.new([ reporter ], :io => io_handle)
18
+
19
+ dr.to_s
20
+
21
+ io_handle.rewind
22
+ assert_match(/\d+ tests, \d+ assertions/, io_handle.read)
23
+ end
13
24
  end
14
25
  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.1.14
4
+ version: 1.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-22 00:00:00.000000000 Z
11
+ date: 2017-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -105,6 +105,7 @@ files:
105
105
  - ".ruby-gemset"
106
106
  - ".travis.yml"
107
107
  - ".yardopts"
108
+ - CHANGELOG.md
108
109
  - Gemfile
109
110
  - LICENSE
110
111
  - README.md