minitest-reporters 1.3.8 → 1.4.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
  SHA256:
3
- metadata.gz: 4123119ced267253520fc46bb0836603ce932c2285b94fec9be87769de6b6a21
4
- data.tar.gz: 93754ce74501aa021c497688b4e1b54c6ab2edbe815a651941a833e252cafb3a
3
+ metadata.gz: e495065d5a897f8a6ec41f5a33afec1d86ea98b29382487b1344b46080da97b6
4
+ data.tar.gz: fed006f993ee6ac6a00ef8fea57e0d7de9e71ecb8cd59dbb5b16f5f701d7a806
5
5
  SHA512:
6
- metadata.gz: da75f810d8ab6f3d7dca4bc0ffbcdaa9f58a0e4b107b9e159dadf26327776957c5434eed3aaade73ae468869cd94b32bd5ecca8e416ae4ed2de18aa348aadef0
7
- data.tar.gz: 0b935c8e426330064cce777e2ad25c0433a6cd6dd90e4846a1b06354306eaa37d54f0ac5281b389a8af5c76765725a0349ce83a4cf1b992e76e1e0263db72919
6
+ metadata.gz: eac0d5586ffc07f5c0e4f4a1efb5ba5ef1cabe6fab1b6dfe6eb382b0053331d6b09de593da4d871eca16eb8199d5ed4a123610443a1b4cc0e021950b6968adbf
7
+ data.tar.gz: a159df66538779f2678d13baa5c7d4730037e1a8b48c677764f6172cb8d558dd55b18d466d0603165e54a7073c6fed8168686b800e2b7bc67dabf4e3c2dd661b
@@ -1,4 +1,8 @@
1
- ### [dev](https://github.com/kern/minitest-reporters/compare/v1.3.8...master)
1
+ ### [dev](https://github.com/kern/minitest-reporters/compare/v1.4.0.beta1...master)
2
+
3
+ ### [1.4.0.beta1](https://github.com/kern/minitest-reporters/compare/v1.3.8...v1.4.0.beta1)
4
+
5
+ * JUnitReporter changed to be compatible with the spec [#286](https://github.com/kern/minitest-reporters/pull/286) contributed by [dylanahsmith](https://github.com/dylanahsmith)
2
6
 
3
7
  ### [1.3.8](https://github.com/kern/minitest-reporters/compare/v1.3.7...v1.3.8)
4
8
 
@@ -99,16 +99,16 @@ module Minitest
99
99
  txt.sub(/\n.*/m, '...')
100
100
  end
101
101
 
102
- e = test.failure
102
+ failure = test.failure
103
103
 
104
104
  if test.skipped?
105
- xml.skipped(:type => test.name)
105
+ xml.skipped(:type => failure.error.class.name)
106
106
  elsif test.error?
107
- xml.error(:type => test.name, :message => xml.trunc!(e.message)) do
107
+ xml.error(:type => failure.error.class.name, :message => xml.trunc!(failure.message)) do
108
108
  xml.text!(message_for(test))
109
109
  end
110
- elsif test.failure
111
- xml.failure(:type => test.name, :message => xml.trunc!(e.message)) do
110
+ elsif failure
111
+ xml.failure(:type => failure.error.class.name, :message => xml.trunc!(failure.message)) do
112
112
  xml.text!(message_for(test))
113
113
  end
114
114
  end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.3.8'.freeze
3
+ VERSION = '1.4.0.beta1'.freeze
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.3.8
4
+ version: 1.4.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: 2019-08-14 00:00:00.000000000 Z
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -181,9 +181,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
181
  version: 1.9.3
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
- - - ">="
184
+ - - ">"
185
185
  - !ruby/object:Gem::Version
186
- version: '0'
186
+ version: 1.3.1
187
187
  requirements: []
188
188
  rubygems_version: 3.0.3
189
189
  signing_key: