rspec-core 3.13.4 → 3.13.5
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
- checksums.yaml.gz.sig +0 -0
- data/Changelog.md +8 -1
- data/lib/rspec/core/formatters/exception_presenter.rb +7 -6
- data/lib/rspec/core/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d31adb02f40e9eaaf16e133409328b5d5b7497647ecbd9d106149c9c1abcaeb
|
4
|
+
data.tar.gz: '09d8a1a1d098b6d89a43884b9bfef7bc9ffa18407699735c26c129047e2f21cb'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f799a9ae09df696d7d4e065e5251a2394b39d170c69eb1b0e31446ee10829cca648fc60636d61b5db8036ed8e2f4b469c63334b344e12ea5c57c7ad4b9e3f5e
|
7
|
+
data.tar.gz: fc46bbb3ea126ed52210c5a376b09b4465d711dcba0973bfd469142deeb417ebc2f4711c0deb4319a3367a63c4b962d0afcb07a85015fa704fc7b8b4db87ab27
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-core-v3.13.
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-core-v3.13.5...3-13-maintenance)
|
3
|
+
|
4
|
+
### 3.13.5 / 2025-06-25
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-core-v3.13.4...rspec-core-v3.13.5)
|
6
|
+
|
7
|
+
Bug Fixes:
|
8
|
+
|
9
|
+
* Fix finding failed lines from frozen backtrace arrays. (Jon Rowe, #225)
|
3
10
|
|
4
11
|
### 3.13.4 / 2025-05-27
|
5
12
|
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-core-v3.13.3...rspec-core-v3.13.4)
|
@@ -263,15 +263,16 @@ module RSpec
|
|
263
263
|
line_regex = RSpec.configuration.in_project_source_dir_regex
|
264
264
|
loaded_spec_files = RSpec.configuration.loaded_spec_files
|
265
265
|
|
266
|
-
|
267
|
-
line
|
268
|
-
|
266
|
+
reduced_backtrace =
|
267
|
+
exception_backtrace.reject do |line|
|
268
|
+
line.start_with?("<internal:")
|
269
|
+
end
|
269
270
|
|
270
|
-
|
271
|
+
reduced_backtrace.find do |line|
|
271
272
|
next unless (line_path = line[/(.+?):(\d+)(|:\d+)/, 1])
|
272
273
|
path = File.expand_path(line_path)
|
273
274
|
loaded_spec_files.include?(path) || path =~ line_regex
|
274
|
-
end ||
|
275
|
+
end || reduced_backtrace.first
|
275
276
|
end
|
276
277
|
|
277
278
|
def formatted_message_and_backtrace(colorizer)
|
@@ -403,7 +404,7 @@ module RSpec
|
|
403
404
|
failure = common_backtrace_truncater.with_truncated_backtrace(failure)
|
404
405
|
presenter = ExceptionPresenter.new(failure, @example, options)
|
405
406
|
presenter.fully_formatted_lines(
|
406
|
-
"#{
|
407
|
+
"#{"#{failure_number}." if failure_number}#{index + 1}",
|
407
408
|
colorizer
|
408
409
|
)
|
409
410
|
end
|
data/lib/rspec/core/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.13.
|
4
|
+
version: 3.13.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
@@ -153,11 +153,11 @@ licenses:
|
|
153
153
|
- MIT
|
154
154
|
metadata:
|
155
155
|
bug_tracker_uri: https://github.com/rspec/rspec/issues
|
156
|
-
changelog_uri: https://github.com/rspec/rspec/blob/rspec-core-v3.13.
|
156
|
+
changelog_uri: https://github.com/rspec/rspec/blob/rspec-core-v3.13.5/rspec-core/Changelog.md
|
157
157
|
documentation_uri: https://rspec.info/documentation/
|
158
158
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
159
159
|
rubygems_mfa_required: 'true'
|
160
|
-
source_code_uri: https://github.com/rspec/rspec/blob/rspec-core-v3.13.
|
160
|
+
source_code_uri: https://github.com/rspec/rspec/blob/rspec-core-v3.13.5/rspec-core
|
161
161
|
rdoc_options:
|
162
162
|
- "--charset=UTF-8"
|
163
163
|
require_paths:
|
@@ -175,5 +175,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
requirements: []
|
176
176
|
rubygems_version: 3.6.7
|
177
177
|
specification_version: 4
|
178
|
-
summary: rspec-core-3.13.
|
178
|
+
summary: rspec-core-3.13.5
|
179
179
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|