minitest-utils 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/minitest/utils/reporter.rb +5 -1
- data/lib/minitest/utils/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88ad6d0826de366086152cedfef5fabbbc338b4aeb8a664ed62d9762002d841d
|
4
|
+
data.tar.gz: 7256702f812f28c4320bf3f42a05733302c963fd6c8093e35b107e21f8248e55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4979039508fcb466137ac584c0b8f1cae0115f83ddf3866ec92b26384cde28567e72f17bd7f10499d41b23745c66f0fd49945b677daa08cbbcd87ba227134d47
|
7
|
+
data.tar.gz: ad984963d7267ece2f9f32f93aa752aeca90ee3d4fdd6e35a86a05fd2108b470e7317ff86c67c3f36f25a1bd6644264c5d58b5d8423dc10a3be3dc0c43ef5ae1
|
@@ -187,7 +187,11 @@ module Minitest
|
|
187
187
|
return matches[1] if matches
|
188
188
|
|
189
189
|
regex = include_line_number ? /^([^:]+:\d+)/ : /^([^:]+)/
|
190
|
-
|
190
|
+
path = location[regex, 1]
|
191
|
+
|
192
|
+
return location unless path
|
193
|
+
|
194
|
+
location = File.expand_path
|
191
195
|
|
192
196
|
return location unless location.start_with?(Dir.pwd)
|
193
197
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-02-
|
10
|
+
date: 2025-02-28 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: benchmark
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
|
-
rubygems_version: 3.6.
|
179
|
+
rubygems_version: 3.6.2
|
180
180
|
specification_version: 4
|
181
181
|
summary: Some utilities for your Minitest day-to-day usage.
|
182
182
|
test_files: []
|