ci-queue 0.20.2 → 0.20.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ci/queue/version.rb +1 -1
- data/lib/minitest/queue/junit_reporter.rb +5 -2
- 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: 2b0f70673064409db5c248591e848c34ab9b7c0589e32c5b58afd9fa8158c3db
|
4
|
+
data.tar.gz: 8ce4e145bf3f1f8aeefbc65b3285b9ef4afe8c5a9c8e85cc0f76f7e6dc2328d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 311781ec8d1deceea04cbf06158a75f3709691b650a871a840d01b8da6b8eed6eb2b81eb3c4730a74d9b5379ed920f857d85b2a60670eeb88180130fe742143c
|
7
|
+
data.tar.gz: 1cae08e57207513dec893fd1d0e80426270a2119b93460c58f10a5946aad202480b1736f2d7e13637db30fb004a58624368676cb040f79c8df5f5d49001ae180
|
data/lib/ci/queue/version.rb
CHANGED
@@ -96,13 +96,16 @@ module Minitest
|
|
96
96
|
message.lines.first.chomp.gsub(/\e\[[^m]+m/, '')
|
97
97
|
end
|
98
98
|
|
99
|
+
def project_root_path_matcher
|
100
|
+
@project_root_path_matcher ||= %r{(?<=\s)#{Regexp.escape(Minitest::Queue.project_root)}/}
|
101
|
+
end
|
102
|
+
|
99
103
|
def message_for(test)
|
100
104
|
suite = test.klass
|
101
105
|
name = test.name
|
102
106
|
error = test.failure
|
103
107
|
|
104
|
-
message_with_relative_paths = error.message.gsub(
|
105
|
-
|
108
|
+
message_with_relative_paths = error.message.gsub(project_root_path_matcher, '')
|
106
109
|
if test.passed?
|
107
110
|
nil
|
108
111
|
elsif test.skipped?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ci-queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|