minitest-reporters 1.1.19 → 1.2.0.beta1

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: 0fcba3f6b31ee23a6eab523dc38de48de921ae51
4
- data.tar.gz: 995c5a3bca112bdc50f4e34679a565d5affd43ef
3
+ metadata.gz: adfc5700b67227ab5180b5a2001001bd975c7232
4
+ data.tar.gz: 9eee008600469f3a738a908ee9c1993e71a86716
5
5
  SHA512:
6
- metadata.gz: ba7925e1e927ec82d5b7c4112726d2b5c54047d37d336f202b1fd627e277ca286c21a0b392807de0772133bf76f9c5ffeef44f4edc4c4ae1ef0dff8d34ed9249
7
- data.tar.gz: eb2ab757092bd9edc6fb6cef9a4c5db578fe7102f9e57703bf66249737bd70f81953810b38aa7069b5caddbc25bb7831decc51732a46d3751199d3f844cf002f
6
+ metadata.gz: 42c148e215d8260219c66068b84c6d72652e9077ba46a9e84ad1f49e108212a835ab99d85820ffb660d68a9b76e88d6e00efa9f03366ba60607fcfcce0f4eae1
7
+ data.tar.gz: b08134e33921394f6affc2c5e60de1339bc607ea31dbd8c06f5e42f20c1fa9df586b345897e4eeb928226163da162d1b63037d926adb182a0e0caa5f6f10110e
@@ -7,4 +7,4 @@ rvm:
7
7
  - 2.1
8
8
  - 2.0.0
9
9
  - 1.9.3
10
- - jruby
10
+ - jruby-9.1.9.0
@@ -1,3 +1,7 @@
1
+ ### [1.2.0.beta1](https://github.com/kern/minitest-reporters/compare/v1.1.19...v1.2.0.beta1)
2
+
3
+ * SpecReporter regression for Minitest 5.11.1 fixed [#250](https://github.com/kern/minitest-reporters/pull/250) (contrinuted by [mbround18](https://github.com/mbround18))
4
+
1
5
  ### [1.1.19](https://github.com/kern/minitest-reporters/compare/v1.1.18...v1.1.19)
2
6
 
3
7
  * Reverted [#236](https://github.com/kern/minitest-reporters/pull/236) (it creates too many problems)
@@ -15,7 +15,15 @@ module Minitest
15
15
  # called by our own before hooks
16
16
  def before_test(test)
17
17
  last_test = tests.last
18
- if last_test.class != test.class
18
+
19
+ # Minitest broke API between 5.10 and 5.11 this gets around Result object
20
+ if last_test.respond_to? :klass
21
+ suite_changed = last_test.klass != test.class.name
22
+ else
23
+ suite_changed = last_test.class != test.class
24
+ end
25
+
26
+ if suite_changed
19
27
  after_suite(last_test.class) if last_test
20
28
  before_suite(test.class)
21
29
  end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.1.19'
3
+ VERSION = '1.2.0.beta1'
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.1.19
4
+ version: 1.2.0.beta1
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-11-22 00:00:00.000000000 Z
11
+ date: 2018-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -164,12 +164,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
164
  version: 1.9.3
165
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  requirements:
167
- - - ">="
167
+ - - ">"
168
168
  - !ruby/object:Gem::Version
169
- version: '0'
169
+ version: 1.3.1
170
170
  requirements: []
171
171
  rubyforge_project: minitest-reporters
172
- rubygems_version: 2.5.2
172
+ rubygems_version: 2.5.2.1
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: Create customizable Minitest output formats