spectre-reporter-vstest 1.0.4 → 1.0.6
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 +8 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab68237af477189c8690b9e312ea805c39a3c5e1be68f490177514f9ce3428af
|
4
|
+
data.tar.gz: 8dbb79954c5c94983cc64c6ce2576a20c2f0f7c7a6bd214f19d2d2853331e9b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93c6f87e94706f98d74ec5bd85a327a1728c1a291245d3f999356b3a3b642b915023aa8b5959da1f27fc739be1b6f9f66ee973909c755caadcb620265f3a1842
|
7
|
+
data.tar.gz: 1ebdd9c1f09c1072bda4202897ff0eb28ddb896c4bd444c14176d6bd58989bde5cad2bca0756fdbc4daaa58b989916fff76c8f88a7dafe85e69676318430e23b
|
@@ -96,9 +96,14 @@ module Spectre
|
|
96
96
|
end
|
97
97
|
|
98
98
|
run_info.log.each do |timestamp, message, level, name|
|
99
|
-
log_text =
|
100
|
-
|
101
|
-
.
|
99
|
+
log_text = ""
|
100
|
+
begin
|
101
|
+
log_text = message.dup.to_s
|
102
|
+
.force_encoding("ISO-8859-1")
|
103
|
+
.encode!("UTF-8")
|
104
|
+
rescue
|
105
|
+
puts "ERROR in VSTEST - see message : #{message}"
|
106
|
+
end
|
102
107
|
|
103
108
|
log_str += %{#{timestamp.strftime(@date_format)} #{level.to_s.upcase} -- #{name}: #{CGI::escapeHTML(log_text)}\n}
|
104
109
|
end
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Neubauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spectre-core
|