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 +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/minitest/reporters/junit_reporter.rb +5 -5
- data/lib/minitest/reporters/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e495065d5a897f8a6ec41f5a33afec1d86ea98b29382487b1344b46080da97b6
|
4
|
+
data.tar.gz: fed006f993ee6ac6a00ef8fea57e0d7de9e71ecb8cd59dbb5b16f5f701d7a806
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eac0d5586ffc07f5c0e4f4a1efb5ba5ef1cabe6fab1b6dfe6eb382b0053331d6b09de593da4d871eca16eb8199d5ed4a123610443a1b4cc0e021950b6968adbf
|
7
|
+
data.tar.gz: a159df66538779f2678d13baa5c7d4730037e1a8b48c677764f6172cb8d558dd55b18d466d0603165e54a7073c6fed8168686b800e2b7bc67dabf4e3c2dd661b
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
### [dev](https://github.com/kern/minitest-reporters/compare/v1.
|
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
|
-
|
102
|
+
failure = test.failure
|
103
103
|
|
104
104
|
if test.skipped?
|
105
|
-
xml.skipped(:type =>
|
105
|
+
xml.skipped(:type => failure.error.class.name)
|
106
106
|
elsif test.error?
|
107
|
-
xml.error(:type =>
|
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
|
111
|
-
xml.failure(:type =>
|
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
|
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.
|
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-
|
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:
|
186
|
+
version: 1.3.1
|
187
187
|
requirements: []
|
188
188
|
rubygems_version: 3.0.3
|
189
189
|
signing_key:
|