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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d78d234319e7a244f14e50d0d9b3e988a0f887742d027cd0583937afbdaa341b
4
- data.tar.gz: 4e9d4f8664d50b51cc682382e29e576f1fd6ddb120ccd6c917563038a3fb8346
3
+ metadata.gz: ab68237af477189c8690b9e312ea805c39a3c5e1be68f490177514f9ce3428af
4
+ data.tar.gz: 8dbb79954c5c94983cc64c6ce2576a20c2f0f7c7a6bd214f19d2d2853331e9b6
5
5
  SHA512:
6
- metadata.gz: 44c9fb8f2983ec65df8941ea766dc3e7ec6aa26511a9e258b7e4d9daccdceefb099b02144d1ca706afadaf71a12b472056ad85236f557134acb54729926871a6
7
- data.tar.gz: 5ad758e5a3b34bf8f43cf44a5187c327f64abd046f75e889facb180e64a6aabd252b0b8f23424bbb3fc7ea8298276dad10d4c35a11da3da7ef26a86ea85d54b5
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 = message.dup.to_s
100
- .force_encoding("ISO-8859-1")
101
- .encode("UTF-8")!
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
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-01-16 00:00:00.000000000 Z
11
+ date: 2024-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spectre-core