rspec-debugging 0.0.5 → 0.0.6
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/CHANGELOG.md +3 -0
- data/lib/rspec/debugging/debug_it.rb +2 -1
- data/lib/rspec/debugging/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cef0952745e075d2ddb60bf6827985ae51dcc935b14624f97bebb48bda5b29f1
|
|
4
|
+
data.tar.gz: 104a0eae0841e4c02dc15004254f020c87f7f79aaa4058183c88a1d3bbe2ef54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4d818d570b7d1c2d1ddfaf919112b2291a996b6dc2e064b18b342e8dc997c8dcf77603bcb961c0a2c45b21a4c49949a9f0bb6afb14ce6e7495113b0905a6fbd
|
|
7
|
+
data.tar.gz: affde56467e8d7ae4c842a9cd83cff7bd8833f4c09a7acdfb276b6e8e963ec72e6dc3322c431349e1d80e4b3e1d65041fed38ad7d635e46f19ae02f210cd9a11
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
### 0.0.6 (2026-11-03)
|
|
2
|
+
- fix: an example that closes `$stdin` and then fails skips the postmortem debugger instead of crashing its thread with `IOError: closed stream`
|
|
3
|
+
|
|
1
4
|
### 0.0.5 (2026-11-03)
|
|
2
5
|
- feature: failures in `before` / `after` hooks and `let!` now open the postmortem debugger
|
|
3
6
|
- feature: the postmortem banner lists the names of initialized `let` variables
|
|
@@ -112,7 +112,8 @@ module RSpec
|
|
|
112
112
|
return super unless example && args.first.equal?(example)
|
|
113
113
|
|
|
114
114
|
error, frames = DebugIt.capture_frames { return super }
|
|
115
|
-
|
|
115
|
+
# the example may have closed or swapped stdin since run checked
|
|
116
|
+
raise error unless DebugIt.failure?(error) && DebugIt.interactive?
|
|
116
117
|
|
|
117
118
|
$stderr.puts <<~MSG
|
|
118
119
|
|