minitest-utils 0.5.2 → 0.5.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88ad6d0826de366086152cedfef5fabbbc338b4aeb8a664ed62d9762002d841d
4
- data.tar.gz: 7256702f812f28c4320bf3f42a05733302c963fd6c8093e35b107e21f8248e55
3
+ metadata.gz: 765e579ace2e449f2027460fa1cd9e1ac4b9afe3df956e3eedfddc7da3dd618b
4
+ data.tar.gz: f5ebfd7e4ef738f9d9c011f7b75d12e9bff2b4cfab8b1efa34c32fdfc1f49fac
5
5
  SHA512:
6
- metadata.gz: 4979039508fcb466137ac584c0b8f1cae0115f83ddf3866ec92b26384cde28567e72f17bd7f10499d41b23745c66f0fd49945b677daa08cbbcd87ba227134d47
7
- data.tar.gz: ad984963d7267ece2f9f32f93aa752aeca90ee3d4fdd6e35a86a05fd2108b470e7317ff86c67c3f36f25a1bd6644264c5d58b5d8423dc10a3be3dc0c43ef5ae1
6
+ metadata.gz: ec2a28516db56dcd7ea16b2146233bbf3a68b37d3a8cf228b7c434d740e215a80ed5c97caffbdda5f199dd9574470484e2624791aed7a5e4e7f728bad9a8d305
7
+ data.tar.gz: a60f6a8c68fdea440a4ecd41b3d343c0210dc891010ee1ecf50fcb783ef970742fee507bf67f610bdcd30b4495b8e6d75d77c5b81d2794abbf6b9f42352b2497
@@ -191,7 +191,7 @@ module Minitest
191
191
 
192
192
  return location unless path
193
193
 
194
- location = File.expand_path
194
+ location = File.expand_path(path)
195
195
 
196
196
  return location unless location.start_with?(Dir.pwd)
197
197
 
@@ -199,8 +199,7 @@ module Minitest
199
199
  end
200
200
 
201
201
  private def filter_backtrace(backtrace)
202
- # drop the last line, which is from benchmark.
203
- Minitest.backtrace_filter.filter(backtrace)[0..-2]
202
+ Minitest.backtrace_filter.filter(backtrace)
204
203
  end
205
204
 
206
205
  private def result_name(name)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Minitest
4
4
  module Utils
5
- VERSION = "0.5.2"
5
+ VERSION = "0.5.4"
6
6
  end
7
7
  end
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.2
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-02-28 00:00:00.000000000 Z
10
+ date: 2025-03-01 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: benchmark