spectre-reporter-vstest 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spectre/reporter/vstest.rb +5 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d78d234319e7a244f14e50d0d9b3e988a0f887742d027cd0583937afbdaa341b
|
4
|
+
data.tar.gz: 4e9d4f8664d50b51cc682382e29e576f1fd6ddb120ccd6c917563038a3fb8346
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44c9fb8f2983ec65df8941ea766dc3e7ec6aa26511a9e258b7e4d9daccdceefb099b02144d1ca706afadaf71a12b472056ad85236f557134acb54729926871a6
|
7
|
+
data.tar.gz: 5ad758e5a3b34bf8f43cf44a5187c327f64abd046f75e889facb180e64a6aabd252b0b8f23424bbb3fc7ea8298276dad10d4c35a11da3da7ef26a86ea85d54b5
|
@@ -9,8 +9,6 @@ require 'spectre/reporter'
|
|
9
9
|
module Spectre
|
10
10
|
module Reporter
|
11
11
|
class VSTest
|
12
|
-
VERSION = '1.0.2'
|
13
|
-
|
14
12
|
def initialize config
|
15
13
|
@config = config
|
16
14
|
@date_format = '%FT%T.%L'
|
@@ -98,7 +96,11 @@ module Spectre
|
|
98
96
|
end
|
99
97
|
|
100
98
|
run_info.log.each do |timestamp, message, level, name|
|
101
|
-
|
99
|
+
log_text = message.dup.to_s
|
100
|
+
.force_encoding("ISO-8859-1")
|
101
|
+
.encode("UTF-8")!
|
102
|
+
|
103
|
+
log_str += %{#{timestamp.strftime(@date_format)} #{level.to_s.upcase} -- #{name}: #{CGI::escapeHTML(log_text)}\n}
|
102
104
|
end
|
103
105
|
|
104
106
|
xml_str += log_str
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectre-reporter-vstest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Neubauer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spectre-core
|
@@ -40,7 +40,7 @@ metadata:
|
|
40
40
|
homepage_uri: https://github.com/ionos-spectre/spectre-reporter-vstest
|
41
41
|
source_code_uri: https://github.com/ionos-spectre/spectre-reporter-vstest
|
42
42
|
changelog_uri: https://github.com/ionos-spectre/spectre-reporter-vstest/blob/master/CHANGELOG.md
|
43
|
-
post_install_message:
|
43
|
+
post_install_message:
|
44
44
|
rdoc_options: []
|
45
45
|
require_paths:
|
46
46
|
- lib
|
@@ -55,8 +55,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
|
-
rubygems_version: 3.3.
|
59
|
-
signing_key:
|
58
|
+
rubygems_version: 3.3.26
|
59
|
+
signing_key:
|
60
60
|
specification_version: 4
|
61
61
|
summary: A VSTest reporter for spectre
|
62
62
|
test_files: []
|