rspec-core 3.11.0 → 3.12.0
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 +6 -1
- data/lib/rspec/core/configuration.rb +4 -2
- data/lib/rspec/core/formatters/exception_presenter.rb +4 -0
- data/lib/rspec/core/formatters/html_printer.rb +1 -3
- data/lib/rspec/core/option_parser.rb +6 -8
- data/lib/rspec/core/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +8 -8
- 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: f573a79d2311b74b6d9cdf7f8694856d70aa84037566289b6834c6ca710ecfd0
|
|
4
|
+
data.tar.gz: 9ec85ab6c34cf92e45404985f5578241b7a54ebb48a2a13d182493ce9ff31b71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f03be116127209918f11a49536975a5f584185d6b4dd72fb845a8eb270ff0da131ed729a86dc7c8b0205b7d7e6f3a922ff8e01f3118e7a3bfd017d2cdaeea966
|
|
7
|
+
data.tar.gz: 24bebf24323887a2534c5fdecdcfdd4c269e10947464cab62ed4f702bd025dd4ea2f9f6725c89d2e9b096f9a5424895f80aac6b250113aabff6f92c1662aeed9
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
### Development
|
|
2
|
-
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.
|
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.0...3-12-maintenance)
|
|
3
|
+
|
|
4
|
+
### 3.12.0 / 2022-10-26
|
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.11.0...v3.12.0)
|
|
6
|
+
|
|
7
|
+
* No changes, released to support other gems.
|
|
3
8
|
|
|
4
9
|
### 3.11.0 / 2022-02-09
|
|
5
10
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.2...v3.11.0)
|
|
@@ -502,7 +502,8 @@ module RSpec
|
|
|
502
502
|
# @private
|
|
503
503
|
attr_reader :backtrace_formatter, :ordering_manager, :loaded_spec_files
|
|
504
504
|
|
|
505
|
-
# rubocop:disable Metrics/AbcSize
|
|
505
|
+
# rubocop:disable Metrics/AbcSize
|
|
506
|
+
# rubocop:disable Metrics/MethodLength
|
|
506
507
|
|
|
507
508
|
# Build an object to store runtime configuration options and set defaults
|
|
508
509
|
def initialize
|
|
@@ -561,7 +562,8 @@ module RSpec
|
|
|
561
562
|
|
|
562
563
|
define_built_in_hooks
|
|
563
564
|
end
|
|
564
|
-
# rubocop:enable Metrics/
|
|
565
|
+
# rubocop:enable Metrics/AbcSize
|
|
566
|
+
# rubocop:enable Metrics/MethodLength
|
|
565
567
|
|
|
566
568
|
# @private
|
|
567
569
|
#
|
|
@@ -242,6 +242,10 @@ module RSpec
|
|
|
242
242
|
line_regex = RSpec.configuration.in_project_source_dir_regex
|
|
243
243
|
loaded_spec_files = RSpec.configuration.loaded_spec_files
|
|
244
244
|
|
|
245
|
+
exception_backtrace.reject! do |line|
|
|
246
|
+
line.start_with?("<internal:")
|
|
247
|
+
end
|
|
248
|
+
|
|
245
249
|
exception_backtrace.find do |line|
|
|
246
250
|
next unless (line_path = line[/(.+?):(\d+)(|:\d+)/, 1])
|
|
247
251
|
path = File.expand_path(line_path)
|
|
@@ -33,10 +33,8 @@ module RSpec
|
|
|
33
33
|
"<span class='duration'>#{formatted_run_time}s</span></dd>"
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
# rubocop:disable Metrics/ParameterLists
|
|
37
36
|
def print_example_failed(pending_fixed, description, run_time, failure_id,
|
|
38
37
|
exception, extra_content)
|
|
39
|
-
# rubocop:enable Metrics/ParameterLists
|
|
40
38
|
formatted_run_time = "%.5f" % run_time
|
|
41
39
|
|
|
42
40
|
@output.puts " <dd class=\"example #{pending_fixed ? 'pending_fixed' : 'failed'}\">"
|
|
@@ -215,7 +213,7 @@ function assign_display_style_for_group(classname, display_flag, subgroup_flag)
|
|
|
215
213
|
}
|
|
216
214
|
}
|
|
217
215
|
EOF
|
|
218
|
-
# rubocop:enable LineLength
|
|
216
|
+
# rubocop:enable Layout/LineLength
|
|
219
217
|
|
|
220
218
|
GLOBAL_STYLES = <<-EOF
|
|
221
219
|
#rspec-header {
|
|
@@ -32,11 +32,10 @@ module RSpec::Core
|
|
|
32
32
|
|
|
33
33
|
private
|
|
34
34
|
|
|
35
|
-
# rubocop:disable MethodLength
|
|
36
35
|
# rubocop:disable Metrics/AbcSize
|
|
37
|
-
# rubocop:disable
|
|
38
|
-
# rubocop:disable
|
|
39
|
-
# rubocop:disable Metrics/
|
|
36
|
+
# rubocop:disable Metrics/MethodLength
|
|
37
|
+
# rubocop:disable Metrics/CyclomaticComplexity
|
|
38
|
+
# rubocop:disable Metrics/PerceivedComplexity
|
|
40
39
|
def parser(options)
|
|
41
40
|
OptionParser.new do |parser|
|
|
42
41
|
parser.summary_width = 34
|
|
@@ -303,11 +302,10 @@ FILTERING
|
|
|
303
302
|
end
|
|
304
303
|
end
|
|
305
304
|
end
|
|
306
|
-
# rubocop:enable Metrics/BlockLength
|
|
307
305
|
# rubocop:enable Metrics/AbcSize
|
|
308
|
-
# rubocop:enable MethodLength
|
|
309
|
-
# rubocop:enable CyclomaticComplexity
|
|
310
|
-
# rubocop:enable PerceivedComplexity
|
|
306
|
+
# rubocop:enable Metrics/MethodLength
|
|
307
|
+
# rubocop:enable Metrics/CyclomaticComplexity
|
|
308
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
|
311
309
|
|
|
312
310
|
def add_tag_filter(options, filter_type, tag_name, value=true)
|
|
313
311
|
(options[filter_type] ||= {})[tag_name] = value
|
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.
|
|
4
|
+
version: 3.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Baker
|
|
@@ -46,7 +46,7 @@ cert_chain:
|
|
|
46
46
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
|
47
47
|
F3MdtaDehhjC
|
|
48
48
|
-----END CERTIFICATE-----
|
|
49
|
-
date: 2022-
|
|
49
|
+
date: 2022-10-26 00:00:00.000000000 Z
|
|
50
50
|
dependencies:
|
|
51
51
|
- !ruby/object:Gem::Dependency
|
|
52
52
|
name: rspec-support
|
|
@@ -54,26 +54,26 @@ dependencies:
|
|
|
54
54
|
requirements:
|
|
55
55
|
- - "~>"
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: 3.
|
|
57
|
+
version: 3.12.0
|
|
58
58
|
type: :runtime
|
|
59
59
|
prerelease: false
|
|
60
60
|
version_requirements: !ruby/object:Gem::Requirement
|
|
61
61
|
requirements:
|
|
62
62
|
- - "~>"
|
|
63
63
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: 3.
|
|
64
|
+
version: 3.12.0
|
|
65
65
|
- !ruby/object:Gem::Dependency
|
|
66
66
|
name: cucumber
|
|
67
67
|
requirement: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
|
69
|
-
- - "
|
|
69
|
+
- - ">="
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
71
|
version: '1.3'
|
|
72
72
|
type: :development
|
|
73
73
|
prerelease: false
|
|
74
74
|
version_requirements: !ruby/object:Gem::Requirement
|
|
75
75
|
requirements:
|
|
76
|
-
- - "
|
|
76
|
+
- - ">="
|
|
77
77
|
- !ruby/object:Gem::Version
|
|
78
78
|
version: '1.3'
|
|
79
79
|
- !ruby/object:Gem::Dependency
|
|
@@ -267,7 +267,7 @@ licenses:
|
|
|
267
267
|
- MIT
|
|
268
268
|
metadata:
|
|
269
269
|
bug_tracker_uri: https://github.com/rspec/rspec-core/issues
|
|
270
|
-
changelog_uri: https://github.com/rspec/rspec-core/blob/v3.
|
|
270
|
+
changelog_uri: https://github.com/rspec/rspec-core/blob/v3.12.0/Changelog.md
|
|
271
271
|
documentation_uri: https://rspec.info/documentation/
|
|
272
272
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
|
273
273
|
source_code_uri: https://github.com/rspec/rspec-core
|
|
@@ -290,5 +290,5 @@ requirements: []
|
|
|
290
290
|
rubygems_version: 3.3.3
|
|
291
291
|
signing_key:
|
|
292
292
|
specification_version: 4
|
|
293
|
-
summary: rspec-core-3.
|
|
293
|
+
summary: rspec-core-3.12.0
|
|
294
294
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|