rspec_junit_formatter 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.md +1 -1
- data/lib/rspec_junit_formatter.rb +5 -3
- data.tar.gz.sig +0 -0
- metadata +15 -14
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 903f156687c6fff260143332222e9950fca53b5306bcde7cf197c44f3af4acf7
|
4
|
+
data.tar.gz: 1d2ffca113b3cd78b3230d66ed41268609ce38f06e50da6cd196af9073670500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8d32b7a3b5dec828fe29c714755b3698ad8a48b1cfc92185b6f53e5eb4a6ab47adae5cb74743cbc6b5814d0a5d61d15d49b632aadd5afdede74820628796687
|
7
|
+
data.tar.gz: 76537f5a365796f1e062cbfde157f8f48c163b7973ae6a1faae533cbf4684bd3c29cd26d6cb344eac8c46c0ae950f854b48f21bbf2bd28bfbf2ebab6e12b639e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
[jenkins-junit]: https://jenkins.io/doc/pipeline/steps/junit/
|
10
10
|
[buildkite-junit]: https://github.com/buildkite/rspec-junit-example
|
11
11
|
[circleci-junit]: https://circleci.com/docs/2.0/collect-test-data/
|
12
|
-
[gitlab-junit]: https://docs.gitlab.com/ee/ci/
|
12
|
+
[gitlab-junit]: https://docs.gitlab.com/ee/ci/unit_test_reports.html#ruby-example
|
13
13
|
|
14
14
|
## Usage
|
15
15
|
|
@@ -70,7 +70,9 @@ private
|
|
70
70
|
output << %{ classname="#{escape(classname_for(example))}"}
|
71
71
|
output << %{ name="#{escape(description_for(example))}"}
|
72
72
|
output << %{ file="#{escape(example_group_file_path_for(example))}"}
|
73
|
-
|
73
|
+
if duration = duration_for(example)
|
74
|
+
output << %{ time="#{escape("%.6f" % duration)}"}
|
75
|
+
end
|
74
76
|
output << %{>}
|
75
77
|
yield if block_given?
|
76
78
|
xml_dump_output(example)
|
@@ -93,7 +95,7 @@ private
|
|
93
95
|
|
94
96
|
# Inversion of character range from https://www.w3.org/TR/xml/#charsets
|
95
97
|
ILLEGAL_REGEXP = Regexp.new(
|
96
|
-
|
98
|
+
"[^".dup <<
|
97
99
|
"\u{9}" << # => \t
|
98
100
|
"\u{a}" << # => \n
|
99
101
|
"\u{d}" << # => \r
|
@@ -125,7 +127,7 @@ private
|
|
125
127
|
# Discouraged characters from https://www.w3.org/TR/xml/#charsets
|
126
128
|
# Plus special characters with well-known entity replacements
|
127
129
|
DISCOURAGED_REGEXP = Regexp.new(
|
128
|
-
|
130
|
+
"[".dup <<
|
129
131
|
"\u{22}" << # => "
|
130
132
|
"\u{26}" << # => &
|
131
133
|
"\u{27}" << # => '
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_junit_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Cochran
|
@@ -10,25 +10,26 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDXDCCAkSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA6MQ0wCwYDVQQDDARzajI2
|
14
14
|
MRQwEgYKCZImiZPyLGQBGRYEc2oyNjETMBEGCgmSJomT8ixkARkWA2NvbTAeFw0y
|
15
|
-
|
15
|
+
MjA3MDQwMDQwNDZaFw0yMzA3MDQwMDQwNDZaMDoxDTALBgNVBAMMBHNqMjYxFDAS
|
16
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
|
+
AAMioxgB6J5QhXQ42OSWIzwHZIbSv3DV9Lf5sde50HIW5f9u5jn29TUGDhSWYKkh
|
30
|
+
LDvy9dfwMMOdIZi75Q8SBBib84AuwhMHIlUv9FcHhh3dXsDDYkrVrpUAwCsG6yCm
|
30
31
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
32
|
+
date: 2022-09-29 00:00:00.000000000 Z
|
32
33
|
dependencies:
|
33
34
|
- !ruby/object:Gem::Dependency
|
34
35
|
name: rspec-core
|
@@ -156,14 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
157
|
requirements:
|
157
158
|
- - ">="
|
158
159
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.
|
160
|
+
version: 2.3.0
|
160
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
162
|
requirements:
|
162
163
|
- - ">="
|
163
164
|
- !ruby/object:Gem::Version
|
164
165
|
version: 2.0.0
|
165
166
|
requirements: []
|
166
|
-
rubygems_version: 3.
|
167
|
+
rubygems_version: 3.3.7
|
167
168
|
signing_key:
|
168
169
|
specification_version: 4
|
169
170
|
summary: RSpec JUnit XML formatter
|
metadata.gz.sig
CHANGED
Binary file
|