spectre-reporter-vstest 1.0.2 → 1.0.3

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: d5c3198bd4625133e76495f84a48e09d28ecb954065ad696b32e670931d879e3
4
- data.tar.gz: 54b06a7e276a33a59c61a147a452fb2fd46dff5790f32e6140cdf71341d6943b
3
+ metadata.gz: 48b5c5eafd6250429ad3870c2f7c368a3003598eb41d5a15aeb6da86a85f947d
4
+ data.tar.gz: dff40d75afe0383508e40f9b483ec948682097c5c70c311872e7d1e612e97233
5
5
  SHA512:
6
- metadata.gz: 84b18790c63c05d57a8125c5c56acbb0606ed5a9f0b6bac76d17ef8331954d5972756463196a04c7e04b84d01e4122ca99656f8cc7b3fad0288eea546b33d360
7
- data.tar.gz: f874f3883c4b98f9cf539343bafa6f7986838f72a847d2716a472fc4849d588ebb43ca300f184ef8e6f59ffa6674922631ddad6e95251f34c81cb7ba41aad0ff
6
+ metadata.gz: 837cb12fe4eb03215560c7f4879d3b7fc034a8e26cadcc977d30d494a550b3042f64cdc69f0ca7aae97cd30671b98c8b3014f453b1c0e948f06d09d2e3d41403
7
+ data.tar.gz: 8659518097e0b838045ffe8e4e2efca930d15ae672956711f70ce6badb37d8365e01e730c223e47ac13b034d8dae459397d85f2c209baf57974441fa46c52082
@@ -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
- log_str += %{#{timestamp.strftime(@date_format)} #{level.to_s.upcase} -- #{name}: #{CGI::escapeHTML(message.to_s)}\n}
99
+ log_text = message.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.2
4
+ version: 1.0.3
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: 2023-07-20 00:00:00.000000000 Z
11
+ date: 2023-09-20 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.7
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: []