mangrove 0.24.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -5
  3. data/lib/mangrove/result.rb +73 -64
  4. data/lib/mangrove/version.rb +1 -1
  5. data/rbi/mangrove.rbi +20 -0
  6. data/sorbet/rbi/annotations/rainbow.rbi +3 -3
  7. data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.5.1.rbi} +100 -48
  8. data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +1 -0
  9. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.2.rbi} +95 -74
  10. data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.24.0.rbi} +9 -1
  11. data/sorbet/rbi/gems/{parser@3.2.2.4.rbi → parser@3.3.2.0.rbi} +1267 -1282
  12. data/sorbet/rbi/gems/prism@0.29.0.rbi +37987 -0
  13. data/sorbet/rbi/gems/{psych@5.1.1.1.rbi → psych@5.1.2.rbi} +231 -267
  14. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.0.rbi} +37 -36
  15. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.2.1.rbi} +217 -73
  16. data/sorbet/rbi/gems/{rbi@0.1.3.rbi → rbi@0.1.13.rbi} +322 -166
  17. data/sorbet/rbi/gems/{rdoc@6.6.0.rbi → rdoc@6.7.0.rbi} +735 -685
  18. data/sorbet/rbi/gems/{regexp_parser@2.8.2.rbi → regexp_parser@2.9.2.rbi} +192 -169
  19. data/sorbet/rbi/gems/{reline@0.4.0.rbi → reline@0.5.8.rbi} +1 -0
  20. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +122 -109
  21. data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.0.rbi} +400 -300
  22. data/sorbet/rbi/gems/{rspec-expectations@3.12.3.rbi → rspec-expectations@3.13.0.rbi} +173 -119
  23. data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.1.rbi} +195 -160
  24. data/sorbet/rbi/gems/{rspec-support@3.12.1.rbi → rspec-support@3.13.1.rbi} +319 -298
  25. data/sorbet/rbi/gems/{rspec@3.12.0.rbi → rspec@3.13.0.rbi} +23 -22
  26. data/sorbet/rbi/gems/ruboclean@0.6.0.rbi +315 -0
  27. data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.31.3.rbi} +348 -285
  28. data/sorbet/rbi/gems/{rubocop-capybara@2.19.0.rbi → rubocop-capybara@2.20.0.rbi} +148 -65
  29. data/sorbet/rbi/gems/{rubocop-factory_bot@2.24.0.rbi → rubocop-factory_bot@2.25.1.rbi} +70 -20
  30. data/sorbet/rbi/gems/{rubocop-rspec@2.24.1.rbi → rubocop-rspec@2.30.0.rbi} +678 -389
  31. data/sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi +911 -0
  32. data/sorbet/rbi/gems/{rubocop@1.57.1.rbi → rubocop@1.64.1.rbi} +3225 -1915
  33. data/sorbet/rbi/gems/{ruby-lsp@0.12.0.rbi → ruby-lsp@0.17.2.rbi} +1 -0
  34. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
  35. data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
  36. data/sorbet/rbi/gems/{tapioca@0.11.10.rbi → tapioca@0.14.3.rbi} +268 -234
  37. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
  38. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +154 -82
  39. metadata +38 -38
  40. data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
  41. data/sorbet/rbi/gems/irb@1.9.0.rbi +0 -342
  42. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  43. data/sorbet/rbi/gems/prism@0.15.1.rbi +0 -23922
  44. data/sorbet/rbi/gems/ruboclean@0.4.0.rbi +0 -189
  45. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
  46. /data/sorbet/rbi/gems/{stringio@3.0.9.rbi → stringio@3.1.0.rbi} +0 -0
@@ -4,6 +4,17 @@
4
4
  # This is an autogenerated file for types exported from the `rspec-core` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rspec-core`.
6
6
 
7
+
8
+ module ERB::Escape
9
+ private
10
+
11
+ def html_escape(_arg0); end
12
+
13
+ class << self
14
+ def html_escape(_arg0); end
15
+ end
16
+ end
17
+
7
18
  # Namespace for all core RSpec code.
8
19
  #
9
20
  # source://rspec-core//lib/rspec/core/version.rb#1
@@ -397,7 +408,7 @@ class RSpec::Core::Configuration
397
408
  #
398
409
  # @return [Configuration] a new instance of Configuration
399
410
  #
400
- # source://rspec-core//lib/rspec/core/configuration.rb#509
411
+ # source://rspec-core//lib/rspec/core/configuration.rb#528
401
412
  def initialize; end
402
413
 
403
414
  # Adds a formatter to the set RSpec will use for this run.
@@ -414,7 +425,7 @@ class RSpec::Core::Configuration
414
425
  # the configured `output_stream` (`$stdout`, by default) will be used.
415
426
  # @see RSpec::Core::Formatters::Protocol
416
427
  #
417
- # source://rspec-core//lib/rspec/core/configuration.rb#975
428
+ # source://rspec-core//lib/rspec/core/configuration.rb#996
418
429
  def add_formatter(formatter, output = T.unsafe(nil)); end
419
430
 
420
431
  # Adds a custom setting to the RSpec.configuration object.
@@ -443,7 +454,7 @@ class RSpec::Core::Configuration
443
454
  # @overload add_setting
444
455
  # @param opts [Hash] a customizable set of options
445
456
  #
446
- # source://rspec-core//lib/rspec/core/configuration.rb#638
457
+ # source://rspec-core//lib/rspec/core/configuration.rb#659
447
458
  def add_setting(name, opts = T.unsafe(nil)); end
448
459
 
449
460
  # Defines a `after` hook. See {Hooks#after} for full docs.
@@ -457,7 +468,7 @@ class RSpec::Core::Configuration
457
468
  # @see #before
458
469
  # @see #prepend_before
459
470
  #
460
- # source://rspec-core//lib/rspec/core/configuration.rb#2004
471
+ # source://rspec-core//lib/rspec/core/configuration.rb#2025
461
472
  def after(scope = T.unsafe(nil), *meta, &block); end
462
473
 
463
474
  # Creates a method that defines an example group with the provided
@@ -487,7 +498,7 @@ class RSpec::Core::Configuration
487
498
  # @see #alias_example_to
488
499
  # @see #expose_dsl_globally=
489
500
  #
490
- # source://rspec-core//lib/rspec/core/configuration.rb#1188
501
+ # source://rspec-core//lib/rspec/core/configuration.rb#1209
491
502
  def alias_example_group_to(new_name, *args); end
492
503
 
493
504
  # Creates a method that delegates to `example` including the submitted
@@ -522,7 +533,7 @@ class RSpec::Core::Configuration
522
533
  # @param name [String] example name alias
523
534
  # @param args [Array<Symbol>, Hash] metadata for the generated example
524
535
  #
525
- # source://rspec-core//lib/rspec/core/configuration.rb#1156
536
+ # source://rspec-core//lib/rspec/core/configuration.rb#1177
526
537
  def alias_example_to(name, *args); end
527
538
 
528
539
  # Define an alias for it_should_behave_like that allows different
@@ -551,7 +562,7 @@ class RSpec::Core::Configuration
551
562
  # in RSpec to define `it_should_behave_like` (for backward
552
563
  # compatibility), but we also add docs for that method.
553
564
  #
554
- # source://rspec-core//lib/rspec/core/configuration.rb#1219
565
+ # source://rspec-core//lib/rspec/core/configuration.rb#1240
555
566
  def alias_it_behaves_like_to(new_name, report_label = T.unsafe(nil)); end
556
567
 
557
568
  # Define an alias for it_should_behave_like that allows different
@@ -580,7 +591,7 @@ class RSpec::Core::Configuration
580
591
  # in RSpec to define `it_should_behave_like` (for backward
581
592
  # compatibility), but we also add docs for that method.
582
593
  #
583
- # source://rspec-core//lib/rspec/core/configuration.rb#1219
594
+ # source://rspec-core//lib/rspec/core/configuration.rb#1240
584
595
  def alias_it_should_behave_like_to(new_name, report_label = T.unsafe(nil)); end
585
596
 
586
597
  # Adds `block` to the end of the list of `after` blocks in the same
@@ -598,7 +609,7 @@ class RSpec::Core::Configuration
598
609
  # @see #before
599
610
  # @see #prepend_before
600
611
  #
601
- # source://rspec-core//lib/rspec/core/configuration.rb#2034
612
+ # source://rspec-core//lib/rspec/core/configuration.rb#2055
602
613
  def append_after(scope = T.unsafe(nil), *meta, &block); end
603
614
 
604
615
  # Defines a `before` hook. See {Hooks#before} for full docs.
@@ -612,20 +623,20 @@ class RSpec::Core::Configuration
612
623
  # @see #after
613
624
  # @see #append_after
614
625
  #
615
- # source://rspec-core//lib/rspec/core/configuration.rb#1949
626
+ # source://rspec-core//lib/rspec/core/configuration.rb#1970
616
627
  def append_before(scope = T.unsafe(nil), *meta, &block); end
617
628
 
618
629
  # @private
619
630
  # @raise [SystemStackError]
620
631
  #
621
- # source://rspec-core//lib/rspec/core/configuration.rb#1914
632
+ # source://rspec-core//lib/rspec/core/configuration.rb#1935
622
633
  def apply_derived_metadata_to(metadata); end
623
634
 
624
635
  # Registers `block` as an `around` hook.
625
636
  #
626
637
  # See {Hooks#around} for full `around` hook docs.
627
638
  #
628
- # source://rspec-core//lib/rspec/core/configuration.rb#2052
639
+ # source://rspec-core//lib/rspec/core/configuration.rb#2073
629
640
  def around(scope = T.unsafe(nil), *meta, &block); end
630
641
 
631
642
  # Regexps used to exclude lines from backtraces.
@@ -642,19 +653,19 @@ class RSpec::Core::Configuration
642
653
  #
643
654
  # @return [Array<Regexp>]
644
655
  #
645
- # source://rspec-core//lib/rspec/core/configuration.rb#676
656
+ # source://rspec-core//lib/rspec/core/configuration.rb#697
646
657
  def backtrace_exclusion_patterns; end
647
658
 
648
659
  # Set regular expressions used to exclude lines in backtrace.
649
660
  #
650
661
  # @param patterns [Array<Regexp>] set backtrace_formatter exclusion_patterns
651
662
  #
652
- # source://rspec-core//lib/rspec/core/configuration.rb#682
663
+ # source://rspec-core//lib/rspec/core/configuration.rb#703
653
664
  def backtrace_exclusion_patterns=(patterns); end
654
665
 
655
666
  # @private
656
667
  #
657
- # source://rspec-core//lib/rspec/core/configuration.rb#503
668
+ # source://rspec-core//lib/rspec/core/configuration.rb#522
658
669
  def backtrace_formatter; end
659
670
 
660
671
  # Regexps used to include lines in backtraces.
@@ -668,14 +679,14 @@ class RSpec::Core::Configuration
668
679
  #
669
680
  # @return [Array<Regexp>]
670
681
  #
671
- # source://rspec-core//lib/rspec/core/configuration.rb#695
682
+ # source://rspec-core//lib/rspec/core/configuration.rb#716
672
683
  def backtrace_inclusion_patterns; end
673
684
 
674
685
  # Set regular expressions used to include lines in backtrace.
675
686
  #
676
687
  # @attr patterns [Array<Regexp>] set backtrace_formatter inclusion_patterns
677
688
  #
678
- # source://rspec-core//lib/rspec/core/configuration.rb#701
689
+ # source://rspec-core//lib/rspec/core/configuration.rb#722
679
690
  def backtrace_inclusion_patterns=(patterns); end
680
691
 
681
692
  # Defines a `before` hook. See {Hooks#before} for full docs.
@@ -689,7 +700,7 @@ class RSpec::Core::Configuration
689
700
  # @see #after
690
701
  # @see #append_after
691
702
  #
692
- # source://rspec-core//lib/rspec/core/configuration.rb#1949
703
+ # source://rspec-core//lib/rspec/core/configuration.rb#1970
693
704
  def before(scope = T.unsafe(nil), *meta, &block); end
694
705
 
695
706
  # Determines which bisect runner implementation gets used to run subsets
@@ -711,15 +722,15 @@ class RSpec::Core::Configuration
711
722
  # loaded via `--require`.
712
723
  # @return [Symbol]
713
724
  #
714
- # source://rspec-core//lib/rspec/core/configuration.rb#480
725
+ # source://rspec-core//lib/rspec/core/configuration.rb#499
715
726
  def bisect_runner; end
716
727
 
717
- # source://rspec-core//lib/rspec/core/configuration.rb#481
728
+ # source://rspec-core//lib/rspec/core/configuration.rb#500
718
729
  def bisect_runner=(value); end
719
730
 
720
731
  # @private
721
732
  #
722
- # source://rspec-core//lib/rspec/core/configuration.rb#2098
733
+ # source://rspec-core//lib/rspec/core/configuration.rb#2119
723
734
  def bisect_runner_class; end
724
735
 
725
736
  # Enables color output if the output is a TTY. As of RSpec 3.6, this is
@@ -733,7 +744,7 @@ class RSpec::Core::Configuration
733
744
  # @see color_mode
734
745
  # @see color_enabled?
735
746
  #
736
- # source://rspec-core//lib/rspec/core/configuration.rb#901
747
+ # source://rspec-core//lib/rspec/core/configuration.rb#922
737
748
  def color; end
738
749
 
739
750
  # Toggle output color.
@@ -742,7 +753,7 @@ class RSpec::Core::Configuration
742
753
  # rely on the fact that TTYs will display color by default, or set
743
754
  # {:color_mode} to :on to display color on a non-TTY output.
744
755
  #
745
- # source://rspec-core//lib/rspec/core/configuration.rb#939
756
+ # source://rspec-core//lib/rspec/core/configuration.rb#960
746
757
  def color=(_arg0); end
747
758
 
748
759
  # Check if color is enabled for a particular output.
@@ -751,7 +762,7 @@ class RSpec::Core::Configuration
751
762
  # `output_stream`
752
763
  # @return [Boolean]
753
764
  #
754
- # source://rspec-core//lib/rspec/core/configuration.rb#922
765
+ # source://rspec-core//lib/rspec/core/configuration.rb#943
755
766
  def color_enabled?(output = T.unsafe(nil)); end
756
767
 
757
768
  # The mode for determining whether to display output in color. One of:
@@ -764,12 +775,12 @@ class RSpec::Core::Configuration
764
775
  # @return [Boolean]
765
776
  # @see color_enabled?
766
777
  #
767
- # source://rspec-core//lib/rspec/core/configuration.rb#914
778
+ # source://rspec-core//lib/rspec/core/configuration.rb#935
768
779
  def color_mode; end
769
780
 
770
781
  # Set the color mode.
771
782
  #
772
- # source://rspec-core//lib/rspec/core/configuration.rb#932
783
+ # source://rspec-core//lib/rspec/core/configuration.rb#953
773
784
  def color_mode=(_arg0); end
774
785
 
775
786
  # Used internally to extend the singleton class of a single example's
@@ -777,12 +788,12 @@ class RSpec::Core::Configuration
777
788
  #
778
789
  # @private
779
790
  #
780
- # source://rspec-core//lib/rspec/core/configuration.rb#1556
791
+ # source://rspec-core//lib/rspec/core/configuration.rb#1577
781
792
  def configure_example(example, example_hooks); end
782
793
 
783
794
  # @private
784
795
  #
785
- # source://rspec-core//lib/rspec/core/configuration.rb#1596
796
+ # source://rspec-core//lib/rspec/core/configuration.rb#1617
786
797
  def configure_expectation_framework; end
787
798
 
788
799
  # Used internally to extend a group with modules using `include`, `prepend` and/or
@@ -790,12 +801,12 @@ class RSpec::Core::Configuration
790
801
  #
791
802
  # @private
792
803
  #
793
- # source://rspec-core//lib/rspec/core/configuration.rb#1544
804
+ # source://rspec-core//lib/rspec/core/configuration.rb#1565
794
805
  def configure_group(group); end
795
806
 
796
807
  # @private
797
808
  #
798
- # source://rspec-core//lib/rspec/core/configuration.rb#1590
809
+ # source://rspec-core//lib/rspec/core/configuration.rb#1611
799
810
  def configure_mock_framework; end
800
811
 
801
812
  # The default output color. Defaults to `:white` but can be set to one of
@@ -822,7 +833,7 @@ class RSpec::Core::Configuration
822
833
  # The formatter that will be used if no formatter has been set.
823
834
  # Defaults to 'progress'.
824
835
  #
825
- # source://rspec-core//lib/rspec/core/configuration.rb#982
836
+ # source://rspec-core//lib/rspec/core/configuration.rb#1003
826
837
  def default_formatter; end
827
838
 
828
839
  # Sets a fallback formatter to use if none other has been set.
@@ -833,7 +844,7 @@ class RSpec::Core::Configuration
833
844
  # rspec.default_formatter = 'doc'
834
845
  # end
835
846
  #
836
- # source://rspec-core//lib/rspec/core/configuration.rb#993
847
+ # source://rspec-core//lib/rspec/core/configuration.rb#1014
837
848
  def default_formatter=(value); end
838
849
 
839
850
  # Path to use if no path is provided to the `rspec` command (default:
@@ -878,7 +889,7 @@ class RSpec::Core::Configuration
878
889
  # @yieldparam metadata [Hash] original metadata hash from an example or
879
890
  # group. Mutate this in your block as needed.
880
891
  #
881
- # source://rspec-core//lib/rspec/core/configuration.rb#1873
892
+ # source://rspec-core//lib/rspec/core/configuration.rb#1894
882
893
  def define_derived_metadata(*filters, &block); end
883
894
 
884
895
  # Determines where deprecation warnings are printed.
@@ -919,7 +930,7 @@ class RSpec::Core::Configuration
919
930
 
920
931
  # @private
921
932
  #
922
- # source://rspec-core//lib/rspec/core/configuration.rb#1854
933
+ # source://rspec-core//lib/rspec/core/configuration.rb#1875
923
934
  def disable_monkey_patching; end
924
935
 
925
936
  # Enables zero monkey patching mode for RSpec. It removes monkey
@@ -957,12 +968,12 @@ class RSpec::Core::Configuration
957
968
  # (or similar) they will still have monkey patching active
958
969
  # in their test environment from mocha.
959
970
  #
960
- # source://rspec-core//lib/rspec/core/configuration.rb#1846
971
+ # source://rspec-core//lib/rspec/core/configuration.rb#1867
961
972
  def disable_monkey_patching!; end
962
973
 
963
974
  # @private
964
975
  #
965
- # source://rspec-core//lib/rspec/core/configuration.rb#1854
976
+ # source://rspec-core//lib/rspec/core/configuration.rb#1875
966
977
  def disable_monkey_patching=(_arg0); end
967
978
 
968
979
  # Run examples over DRb (default: `false`). RSpec doesn't supply the DRb
@@ -1074,7 +1085,7 @@ class RSpec::Core::Configuration
1074
1085
  # Returns the `exclusion_filter`. If none has been set, returns an empty
1075
1086
  # hash.
1076
1087
  #
1077
- # source://rspec-core//lib/rspec/core/configuration.rb#1348
1088
+ # source://rspec-core//lib/rspec/core/configuration.rb#1369
1078
1089
  def exclusion_filter; end
1079
1090
 
1080
1091
  # Clears and reassigns the `exclusion_filter`. Set to `nil` if you don't
@@ -1085,7 +1096,7 @@ class RSpec::Core::Configuration
1085
1096
  # This overrides any exclusion filters/tags set on the command line or in
1086
1097
  # configuration files.
1087
1098
  #
1088
- # source://rspec-core//lib/rspec/core/configuration.rb#1341
1099
+ # source://rspec-core//lib/rspec/core/configuration.rb#1362
1089
1100
  def exclusion_filter=(filter); end
1090
1101
 
1091
1102
  # Sets the expectation framework module(s) to be included in each example
@@ -1112,17 +1123,17 @@ class RSpec::Core::Configuration
1112
1123
  # custom_config.custom_setting = true
1113
1124
  # end
1114
1125
  #
1115
- # source://rspec-core//lib/rspec/core/configuration.rb#837
1126
+ # source://rspec-core//lib/rspec/core/configuration.rb#858
1116
1127
  def expect_with(*frameworks); end
1117
1128
 
1118
1129
  # Delegates to expect_with(framework).
1119
1130
  #
1120
- # source://rspec-core//lib/rspec/core/configuration.rb#810
1131
+ # source://rspec-core//lib/rspec/core/configuration.rb#831
1121
1132
  def expectation_framework=(framework); end
1122
1133
 
1123
1134
  # Returns the configured expectation framework adapter module(s)
1124
1135
  #
1125
- # source://rspec-core//lib/rspec/core/configuration.rb#798
1136
+ # source://rspec-core//lib/rspec/core/configuration.rb#819
1126
1137
  def expectation_frameworks; end
1127
1138
 
1128
1139
  # Exposes the current running example via the named
@@ -1147,7 +1158,7 @@ class RSpec::Core::Configuration
1147
1158
  # end
1148
1159
  # @param method_name [Symbol] the name of the helper method
1149
1160
  #
1150
- # source://rspec-core//lib/rspec/core/configuration.rb#1784
1161
+ # source://rspec-core//lib/rspec/core/configuration.rb#1805
1151
1162
  def expose_current_running_example_as(method_name); end
1152
1163
 
1153
1164
  # Use this to expose the core RSpec DSL via `Module` and the `main`
@@ -1204,7 +1215,7 @@ class RSpec::Core::Configuration
1204
1215
  # @see #include
1205
1216
  # @see #prepend
1206
1217
  #
1207
- # source://rspec-core//lib/rspec/core/configuration.rb#1494
1218
+ # source://rspec-core//lib/rspec/core/configuration.rb#1515
1208
1219
  def extend(mod, *filters); end
1209
1220
 
1210
1221
  # If specified, indicates the number of failures required before cleaning
@@ -1276,25 +1287,25 @@ class RSpec::Core::Configuration
1276
1287
 
1277
1288
  # @private
1278
1289
  #
1279
- # source://rspec-core//lib/rspec/core/configuration.rb#1062
1290
+ # source://rspec-core//lib/rspec/core/configuration.rb#1083
1280
1291
  def files_or_directories_to_run=(*files); end
1281
1292
 
1282
1293
  # The spec files RSpec will run.
1283
1294
  #
1284
1295
  # @return [Array] specified files about to run
1285
1296
  #
1286
- # source://rspec-core//lib/rspec/core/configuration.rb#1075
1297
+ # source://rspec-core//lib/rspec/core/configuration.rb#1096
1287
1298
  def files_to_run; end
1288
1299
 
1289
1300
  # @private
1290
1301
  #
1291
- # source://rspec-core//lib/rspec/core/configuration.rb#497
1302
+ # source://rspec-core//lib/rspec/core/configuration.rb#516
1292
1303
  def files_to_run=(_arg0); end
1293
1304
 
1294
1305
  # Returns the `inclusion_filter`. If none has been set, returns an empty
1295
1306
  # hash.
1296
1307
  #
1297
- # source://rspec-core//lib/rspec/core/configuration.rb#1292
1308
+ # source://rspec-core//lib/rspec/core/configuration.rb#1313
1298
1309
  def filter; end
1299
1310
 
1300
1311
  # Clears and reassigns the `inclusion_filter`. Set to `nil` if you don't
@@ -1305,7 +1316,7 @@ class RSpec::Core::Configuration
1305
1316
  # This overrides any inclusion filters/tags set on the command line or in
1306
1317
  # configuration files.
1307
1318
  #
1308
- # source://rspec-core//lib/rspec/core/configuration.rb#1283
1319
+ # source://rspec-core//lib/rspec/core/configuration.rb#1304
1309
1320
  def filter=(filter); end
1310
1321
 
1311
1322
  # Adds {#backtrace_exclusion_patterns} that will filter lines from
@@ -1323,17 +1334,17 @@ class RSpec::Core::Configuration
1323
1334
  # :path option, this will not filter it.
1324
1335
  # @param gem_names [Array<String>] Names of the gems to filter
1325
1336
  #
1326
- # source://rspec-core//lib/rspec/core/configuration.rb#721
1337
+ # source://rspec-core//lib/rspec/core/configuration.rb#742
1327
1338
  def filter_gems_from_backtrace(*gem_names); end
1328
1339
 
1329
1340
  # @private
1330
1341
  #
1331
- # source://rspec-core//lib/rspec/core/configuration.rb#499
1342
+ # source://rspec-core//lib/rspec/core/configuration.rb#518
1332
1343
  def filter_manager; end
1333
1344
 
1334
1345
  # @private
1335
1346
  #
1336
- # source://rspec-core//lib/rspec/core/configuration.rb#499
1347
+ # source://rspec-core//lib/rspec/core/configuration.rb#518
1337
1348
  def filter_manager=(_arg0); end
1338
1349
 
1339
1350
  # Adds key/value pairs to the `inclusion_filter`. If `args`
@@ -1367,7 +1378,7 @@ class RSpec::Core::Configuration
1367
1378
  #
1368
1379
  # filter_run_including :foo # same as filter_run_including :foo => true
1369
1380
  #
1370
- # source://rspec-core//lib/rspec/core/configuration.rb#1254
1381
+ # source://rspec-core//lib/rspec/core/configuration.rb#1275
1371
1382
  def filter_run(*args); end
1372
1383
 
1373
1384
  # Adds key/value pairs to the `exclusion_filter`. If `args`
@@ -1401,7 +1412,7 @@ class RSpec::Core::Configuration
1401
1412
  #
1402
1413
  # filter_run_excluding :foo # same as filter_run_excluding :foo => true
1403
1414
  #
1404
- # source://rspec-core//lib/rspec/core/configuration.rb#1328
1415
+ # source://rspec-core//lib/rspec/core/configuration.rb#1349
1405
1416
  def filter_run_excluding(*args); end
1406
1417
 
1407
1418
  # Adds key/value pairs to the `inclusion_filter`. If `args`
@@ -1435,7 +1446,7 @@ class RSpec::Core::Configuration
1435
1446
  #
1436
1447
  # filter_run_including :foo # same as filter_run_including :foo => true
1437
1448
  #
1438
- # source://rspec-core//lib/rspec/core/configuration.rb#1254
1449
+ # source://rspec-core//lib/rspec/core/configuration.rb#1275
1439
1450
  def filter_run_including(*args); end
1440
1451
 
1441
1452
  # Applies the provided filter only if any of examples match, in constrast
@@ -1448,7 +1459,7 @@ class RSpec::Core::Configuration
1448
1459
  # (as in `fdescribe`, `fcontext` and `fit`) since those are aliases for
1449
1460
  # `describe`/`context`/`it` with `:focus` metadata.
1450
1461
  #
1451
- # source://rspec-core//lib/rspec/core/configuration.rb#1270
1462
+ # source://rspec-core//lib/rspec/core/configuration.rb#1291
1452
1463
  def filter_run_when_matching(*args); end
1453
1464
 
1454
1465
  # Color used when a pending example is fixed. Defaults to `:blue` but can
@@ -1476,7 +1487,7 @@ class RSpec::Core::Configuration
1476
1487
  #
1477
1488
  # @private
1478
1489
  #
1479
- # source://rspec-core//lib/rspec/core/configuration.rb#571
1490
+ # source://rspec-core//lib/rspec/core/configuration.rb#592
1480
1491
  def force(hash); end
1481
1492
 
1482
1493
  # Formats the docstring output using the block provided.
@@ -1488,12 +1499,12 @@ class RSpec::Core::Configuration
1488
1499
  # config.format_docstrings { |s| s.strip }
1489
1500
  # end
1490
1501
  #
1491
- # source://rspec-core//lib/rspec/core/configuration.rb#1635
1502
+ # source://rspec-core//lib/rspec/core/configuration.rb#1656
1492
1503
  def format_docstrings(&block); end
1493
1504
 
1494
1505
  # @private
1495
1506
  #
1496
- # source://rspec-core//lib/rspec/core/configuration.rb#1640
1507
+ # source://rspec-core//lib/rspec/core/configuration.rb#1661
1497
1508
  def format_docstrings_block; end
1498
1509
 
1499
1510
  # Adds a formatter to the set RSpec will use for this run.
@@ -1510,12 +1521,12 @@ class RSpec::Core::Configuration
1510
1521
  # the configured `output_stream` (`$stdout`, by default) will be used.
1511
1522
  # @see RSpec::Core::Formatters::Protocol
1512
1523
  #
1513
- # source://rspec-core//lib/rspec/core/configuration.rb#975
1524
+ # source://rspec-core//lib/rspec/core/configuration.rb#996
1514
1525
  def formatter=(formatter, output = T.unsafe(nil)); end
1515
1526
 
1516
1527
  # @private
1517
1528
  #
1518
- # source://rspec-core//lib/rspec/core/configuration.rb#1008
1529
+ # source://rspec-core//lib/rspec/core/configuration.rb#1029
1519
1530
  def formatter_loader; end
1520
1531
 
1521
1532
  # Returns a duplicate of the formatters currently loaded in
@@ -1525,33 +1536,42 @@ class RSpec::Core::Configuration
1525
1536
  #
1526
1537
  # @return [Array] the formatters currently loaded
1527
1538
  #
1528
- # source://rspec-core//lib/rspec/core/configuration.rb#1003
1539
+ # source://rspec-core//lib/rspec/core/configuration.rb#1024
1529
1540
  def formatters; end
1530
1541
 
1531
1542
  # Toggle full backtrace.
1532
1543
  #
1533
1544
  # @attr true_or_false [Boolean] toggle full backtrace display
1534
1545
  #
1535
- # source://rspec-core//lib/rspec/core/configuration.rb#887
1546
+ # source://rspec-core//lib/rspec/core/configuration.rb#908
1536
1547
  def full_backtrace=(true_or_false); end
1537
1548
 
1538
1549
  # Check if full backtrace is enabled.
1539
1550
  #
1540
1551
  # @return [Boolean] is full backtrace enabled
1541
1552
  #
1542
- # source://rspec-core//lib/rspec/core/configuration.rb#881
1553
+ # source://rspec-core//lib/rspec/core/configuration.rb#902
1543
1554
  def full_backtrace?; end
1544
1555
 
1556
+ # source://rspec-core//lib/rspec/core/configuration.rb#66
1557
+ def full_cause_backtrace; end
1558
+
1559
+ # source://rspec-core//lib/rspec/core/configuration.rb#89
1560
+ def full_cause_backtrace=(_arg0); end
1561
+
1562
+ # source://rspec-core//lib/rspec/core/configuration.rb#78
1563
+ def full_cause_backtrace?; end
1564
+
1545
1565
  # @return [Array] full description filter
1546
1566
  #
1547
- # source://rspec-core//lib/rspec/core/configuration.rb#956
1567
+ # source://rspec-core//lib/rspec/core/configuration.rb#977
1548
1568
  def full_description; end
1549
1569
 
1550
1570
  # Run examples matching on `description` in all files to run.
1551
1571
  #
1552
1572
  # @param description [String, Regexp] the pattern to filter on
1553
1573
  #
1554
- # source://rspec-core//lib/rspec/core/configuration.rb#951
1574
+ # source://rspec-core//lib/rspec/core/configuration.rb#972
1555
1575
  def full_description=(description); end
1556
1576
 
1557
1577
  # Holds the various registered hooks. Here we use a FilterableItemRepository
@@ -1560,12 +1580,12 @@ class RSpec::Core::Configuration
1560
1580
  #
1561
1581
  # @private
1562
1582
  #
1563
- # source://rspec-core//lib/rspec/core/configuration.rb#2082
1583
+ # source://rspec-core//lib/rspec/core/configuration.rb#2103
1564
1584
  def hooks; end
1565
1585
 
1566
1586
  # @private
1567
1587
  #
1568
- # source://rspec-core//lib/rspec/core/configuration.rb#1581
1588
+ # source://rspec-core//lib/rspec/core/configuration.rb#1602
1569
1589
  def in_project_source_dir_regex; end
1570
1590
 
1571
1591
  # Tells RSpec to include `mod` in example groups. Methods defined in
@@ -1619,7 +1639,7 @@ class RSpec::Core::Configuration
1619
1639
  # @see #extend
1620
1640
  # @see #prepend
1621
1641
  #
1622
- # source://rspec-core//lib/rspec/core/configuration.rb#1404
1642
+ # source://rspec-core//lib/rspec/core/configuration.rb#1425
1623
1643
  def include(mod, *filters); end
1624
1644
 
1625
1645
  # Tells RSpec to include the named shared example group in example groups.
@@ -1662,13 +1682,13 @@ class RSpec::Core::Configuration
1662
1682
  # example.
1663
1683
  # @see #include
1664
1684
  #
1665
- # source://rspec-core//lib/rspec/core/configuration.rb#1451
1685
+ # source://rspec-core//lib/rspec/core/configuration.rb#1472
1666
1686
  def include_context(shared_group_name, *filters); end
1667
1687
 
1668
1688
  # Returns the `inclusion_filter`. If none has been set, returns an empty
1669
1689
  # hash.
1670
1690
  #
1671
- # source://rspec-core//lib/rspec/core/configuration.rb#1292
1691
+ # source://rspec-core//lib/rspec/core/configuration.rb#1313
1672
1692
  def inclusion_filter; end
1673
1693
 
1674
1694
  # Clears and reassigns the `inclusion_filter`. Set to `nil` if you don't
@@ -1679,12 +1699,12 @@ class RSpec::Core::Configuration
1679
1699
  # This overrides any inclusion filters/tags set on the command line or in
1680
1700
  # configuration files.
1681
1701
  #
1682
- # source://rspec-core//lib/rspec/core/configuration.rb#1283
1702
+ # source://rspec-core//lib/rspec/core/configuration.rb#1304
1683
1703
  def inclusion_filter=(filter); end
1684
1704
 
1685
1705
  # @private
1686
1706
  #
1687
- # source://rspec-core//lib/rspec/core/configuration.rb#1080
1707
+ # source://rspec-core//lib/rspec/core/configuration.rb#1101
1688
1708
  def last_run_statuses; end
1689
1709
 
1690
1710
  # Returns dirs that have been prepended to the load path by the `-I`
@@ -1697,28 +1717,28 @@ class RSpec::Core::Configuration
1697
1717
 
1698
1718
  # @private
1699
1719
  #
1700
- # source://rspec-core//lib/rspec/core/configuration.rb#942
1720
+ # source://rspec-core//lib/rspec/core/configuration.rb#963
1701
1721
  def libs=(libs); end
1702
1722
 
1703
1723
  # @private
1704
1724
  #
1705
- # source://rspec-core//lib/rspec/core/configuration.rb#1604
1725
+ # source://rspec-core//lib/rspec/core/configuration.rb#1625
1706
1726
  def load_spec_files; end
1707
1727
 
1708
1728
  # @private
1709
1729
  #
1710
- # source://rspec-core//lib/rspec/core/configuration.rb#503
1730
+ # source://rspec-core//lib/rspec/core/configuration.rb#522
1711
1731
  def loaded_spec_files; end
1712
1732
 
1713
- # Maximum count of failed source lines to display in the failure reports.
1714
- # (default `10`).
1733
+ # Maximum count of failed source lines to display in the failure reports
1734
+ # (defaults to `10`).
1715
1735
  # return [Integer]
1716
1736
  #
1717
1737
  # source://rspec-core//lib/rspec/core/configuration.rb#66
1718
1738
  def max_displayed_failure_line_count; end
1719
1739
 
1720
- # Maximum count of failed source lines to display in the failure reports.
1721
- # (default `10`).
1740
+ # Maximum count of failed source lines to display in the failure reports
1741
+ # (defaults to `10`).
1722
1742
  # return [Integer]
1723
1743
  #
1724
1744
  # source://rspec-core//lib/rspec/core/configuration.rb#89
@@ -1731,12 +1751,12 @@ class RSpec::Core::Configuration
1731
1751
  #
1732
1752
  # @return [Symbol]
1733
1753
  #
1734
- # source://rspec-core//lib/rspec/core/configuration.rb#648
1754
+ # source://rspec-core//lib/rspec/core/configuration.rb#669
1735
1755
  def mock_framework; end
1736
1756
 
1737
1757
  # Delegates to mock_framework=(framework).
1738
1758
  #
1739
- # source://rspec-core//lib/rspec/core/configuration.rb#660
1759
+ # source://rspec-core//lib/rspec/core/configuration.rb#681
1740
1760
  def mock_framework=(framework); end
1741
1761
 
1742
1762
  # Sets the mock framework adapter module.
@@ -1769,19 +1789,19 @@ class RSpec::Core::Configuration
1769
1789
  # mod_config.custom_setting = true
1770
1790
  # end
1771
1791
  #
1772
- # source://rspec-core//lib/rspec/core/configuration.rb#765
1792
+ # source://rspec-core//lib/rspec/core/configuration.rb#786
1773
1793
  def mock_with(framework); end
1774
1794
 
1775
1795
  # Invokes block before defining an example group
1776
1796
  #
1777
- # source://rspec-core//lib/rspec/core/configuration.rb#2087
1797
+ # source://rspec-core//lib/rspec/core/configuration.rb#2108
1778
1798
  def on_example_group_definition(&block); end
1779
1799
 
1780
1800
  # Returns an array of blocks to call before defining an example group
1781
1801
  #
1782
1802
  # @api private
1783
1803
  #
1784
- # source://rspec-core//lib/rspec/core/configuration.rb#2093
1804
+ # source://rspec-core//lib/rspec/core/configuration.rb#2114
1785
1805
  def on_example_group_definition_callbacks; end
1786
1806
 
1787
1807
  # Indicates if the `--only-failures` (or `--next-failure`) flag is being used.
@@ -1807,15 +1827,15 @@ class RSpec::Core::Configuration
1807
1827
  #
1808
1828
  # @see #register_ordering
1809
1829
  #
1810
- # source://rspec-core//lib/rspec/core/configuration.rb#1647
1830
+ # source://rspec-core//lib/rspec/core/configuration.rb#1668
1811
1831
  def order=(*args, &block); end
1812
1832
 
1813
1833
  # @private
1814
1834
  #
1815
- # source://rspec-core//lib/rspec/core/configuration.rb#503
1835
+ # source://rspec-core//lib/rspec/core/configuration.rb#522
1816
1836
  def ordering_manager; end
1817
1837
 
1818
- # source://rspec-core//lib/rspec/core/configuration.rb#1647
1838
+ # source://rspec-core//lib/rspec/core/configuration.rb#1668
1819
1839
  def ordering_registry(*args, &block); end
1820
1840
 
1821
1841
  # Determines where RSpec will send its output.
@@ -1868,6 +1888,31 @@ class RSpec::Core::Configuration
1868
1888
  # source://rspec-core//lib/rspec/core/configuration.rb#78
1869
1889
  def pending_color?; end
1870
1890
 
1891
+ # Format the output for pending examples. Can be set to:
1892
+ # - :full (default) - pending examples appear similarly to failures
1893
+ # - :no_backtrace - same as above, but with no backtrace
1894
+ # - :skip - do not show the section at all
1895
+ # return [Symbol]
1896
+ #
1897
+ # @raise [ArgumentError]
1898
+ #
1899
+ # source://rspec-core//lib/rspec/core/configuration.rb#66
1900
+ def pending_failure_output; end
1901
+
1902
+ # Format the output for pending examples. Can be set to:
1903
+ # - :full (default) - pending examples appear similarly to failures
1904
+ # - :no_backtrace - same as above, but with no backtrace
1905
+ # - :skip - do not show the section at all
1906
+ # return [Symbol]
1907
+ #
1908
+ # @raise [ArgumentError]
1909
+ #
1910
+ # source://rspec-core//lib/rspec/core/configuration.rb#473
1911
+ def pending_failure_output=(mode); end
1912
+
1913
+ # source://rspec-core//lib/rspec/core/configuration.rb#78
1914
+ def pending_failure_output?; end
1915
+
1871
1916
  # Tells RSpec to prepend example groups with `mod`. Methods defined in
1872
1917
  # `mod` are exposed to examples (not example groups). Use `filters` to
1873
1918
  # constrain the groups in which to prepend the module.
@@ -1900,7 +1945,7 @@ class RSpec::Core::Configuration
1900
1945
  # @see #include
1901
1946
  # @see #extend
1902
1947
  #
1903
- # source://rspec-core//lib/rspec/core/configuration.rb#1533
1948
+ # source://rspec-core//lib/rspec/core/configuration.rb#1554
1904
1949
  def prepend(mod, *filters); end
1905
1950
 
1906
1951
  # Defines a `after` hook. See {Hooks#after} for full docs.
@@ -1914,7 +1959,7 @@ class RSpec::Core::Configuration
1914
1959
  # @see #before
1915
1960
  # @see #prepend_before
1916
1961
  #
1917
- # source://rspec-core//lib/rspec/core/configuration.rb#2004
1962
+ # source://rspec-core//lib/rspec/core/configuration.rb#2025
1918
1963
  def prepend_after(scope = T.unsafe(nil), *meta, &block); end
1919
1964
 
1920
1965
  # Adds `block` to the start of the list of `before` blocks in the same
@@ -1932,7 +1977,7 @@ class RSpec::Core::Configuration
1932
1977
  # @see #after
1933
1978
  # @see #append_after
1934
1979
  #
1935
- # source://rspec-core//lib/rspec/core/configuration.rb#1979
1980
+ # source://rspec-core//lib/rspec/core/configuration.rb#2000
1936
1981
  def prepend_before(scope = T.unsafe(nil), *meta, &block); end
1937
1982
 
1938
1983
  # Defaults `profile_examples` to 10 examples when `@profile_examples` is
@@ -1940,7 +1985,7 @@ class RSpec::Core::Configuration
1940
1985
  #
1941
1986
  # @api private
1942
1987
  #
1943
- # source://rspec-core//lib/rspec/core/configuration.rb#1052
1988
+ # source://rspec-core//lib/rspec/core/configuration.rb#1073
1944
1989
  def profile_examples; end
1945
1990
 
1946
1991
  # Report the times for the slowest examples (default: `false`).
@@ -1992,7 +2037,7 @@ class RSpec::Core::Configuration
1992
2037
  # rspec.raise_errors_for_deprecations!
1993
2038
  # end
1994
2039
  #
1995
- # source://rspec-core//lib/rspec/core/configuration.rb#1806
2040
+ # source://rspec-core//lib/rspec/core/configuration.rb#1827
1996
2041
  def raise_errors_for_deprecations!; end
1997
2042
 
1998
2043
  # Turns warnings into errors. This can be useful when
@@ -2004,7 +2049,7 @@ class RSpec::Core::Configuration
2004
2049
  # rspec.raise_on_warning = true
2005
2050
  # end
2006
2051
  #
2007
- # source://rspec-core//lib/rspec/core/configuration.rb#1754
2052
+ # source://rspec-core//lib/rspec/core/configuration.rb#1775
2008
2053
  def raise_on_warning=(value); end
2009
2054
 
2010
2055
  # Registers a named ordering strategy that can later be
@@ -2046,12 +2091,12 @@ class RSpec::Core::Configuration
2046
2091
  # @yieldparam list [Array<RSpec::Core::Example>, Array<RSpec::Core::ExampleGroup>] The examples or groups to order
2047
2092
  # @yieldreturn [Array<RSpec::Core::Example>, Array<RSpec::Core::ExampleGroup>] The re-ordered examples or groups
2048
2093
  #
2049
- # source://rspec-core//lib/rspec/core/configuration.rb#1647
2094
+ # source://rspec-core//lib/rspec/core/configuration.rb#1668
2050
2095
  def register_ordering(*args, &block); end
2051
2096
 
2052
2097
  # @return [RSpec::Core::Reporter] the currently configured reporter
2053
2098
  #
2054
- # source://rspec-core//lib/rspec/core/configuration.rb#1035
2099
+ # source://rspec-core//lib/rspec/core/configuration.rb#1056
2055
2100
  def reporter; end
2056
2101
 
2057
2102
  # Indicates files configured to be required.
@@ -2063,22 +2108,22 @@ class RSpec::Core::Configuration
2063
2108
 
2064
2109
  # @private
2065
2110
  #
2066
- # source://rspec-core//lib/rspec/core/configuration.rb#1573
2111
+ # source://rspec-core//lib/rspec/core/configuration.rb#1594
2067
2112
  def requires=(paths); end
2068
2113
 
2069
2114
  # @private
2070
2115
  #
2071
- # source://rspec-core//lib/rspec/core/configuration.rb#580
2116
+ # source://rspec-core//lib/rspec/core/configuration.rb#601
2072
2117
  def reset; end
2073
2118
 
2074
2119
  # @private
2075
2120
  #
2076
- # source://rspec-core//lib/rspec/core/configuration.rb#593
2121
+ # source://rspec-core//lib/rspec/core/configuration.rb#614
2077
2122
  def reset_filters; end
2078
2123
 
2079
2124
  # @private
2080
2125
  #
2081
- # source://rspec-core//lib/rspec/core/configuration.rb#586
2126
+ # source://rspec-core//lib/rspec/core/configuration.rb#607
2082
2127
  def reset_reporter; end
2083
2128
 
2084
2129
  # Run all examples if none match the configured filters
@@ -2114,15 +2159,15 @@ class RSpec::Core::Configuration
2114
2159
  # We recommend, actually, that you use the command line approach so you
2115
2160
  # don't accidentally leave the seed encoded.
2116
2161
  #
2117
- # source://rspec-core//lib/rspec/core/configuration.rb#1647
2162
+ # source://rspec-core//lib/rspec/core/configuration.rb#1668
2118
2163
  def seed(*args, &block); end
2119
2164
 
2120
2165
  # Sets the seed value and sets the default global ordering to random.
2121
2166
  #
2122
- # source://rspec-core//lib/rspec/core/configuration.rb#1647
2167
+ # source://rspec-core//lib/rspec/core/configuration.rb#1668
2123
2168
  def seed=(*args, &block); end
2124
2169
 
2125
- # source://rspec-core//lib/rspec/core/configuration.rb#1647
2170
+ # source://rspec-core//lib/rspec/core/configuration.rb#1668
2126
2171
  def seed_used?(*args, &block); end
2127
2172
 
2128
2173
  # Configures how RSpec treats metadata passed as part of a shared example
@@ -2190,7 +2235,7 @@ class RSpec::Core::Configuration
2190
2235
 
2191
2236
  # @private
2192
2237
  #
2193
- # source://rspec-core//lib/rspec/core/configuration.rb#1117
2238
+ # source://rspec-core//lib/rspec/core/configuration.rb#1138
2194
2239
  def spec_files_with_failures; end
2195
2240
 
2196
2241
  # source://rspec-core//lib/rspec/core/configuration.rb#66
@@ -2204,12 +2249,12 @@ class RSpec::Core::Configuration
2204
2249
 
2205
2250
  # @private
2206
2251
  #
2207
- # source://rspec-core//lib/rspec/core/configuration.rb#501
2252
+ # source://rspec-core//lib/rspec/core/configuration.rb#520
2208
2253
  def static_config_filter_manager; end
2209
2254
 
2210
2255
  # @private
2211
2256
  #
2212
- # source://rspec-core//lib/rspec/core/configuration.rb#501
2257
+ # source://rspec-core//lib/rspec/core/configuration.rb#520
2213
2258
  def static_config_filter_manager=(_arg0); end
2214
2259
 
2215
2260
  # Color to use to indicate success. Defaults to `:green` but can be set
@@ -2268,12 +2313,12 @@ class RSpec::Core::Configuration
2268
2313
 
2269
2314
  # Set Ruby warnings on or off.
2270
2315
  #
2271
- # source://rspec-core//lib/rspec/core/configuration.rb#1734
2316
+ # source://rspec-core//lib/rspec/core/configuration.rb#1755
2272
2317
  def warnings=(value); end
2273
2318
 
2274
2319
  # @return [Boolean] Whether or not ruby warnings are enabled.
2275
2320
  #
2276
- # source://rspec-core//lib/rspec/core/configuration.rb#1739
2321
+ # source://rspec-core//lib/rspec/core/configuration.rb#1760
2277
2322
  def warnings?; end
2278
2323
 
2279
2324
  # Defines a callback that runs after the first example with matching
@@ -2295,22 +2340,22 @@ class RSpec::Core::Configuration
2295
2340
  # end
2296
2341
  # end
2297
2342
  #
2298
- # source://rspec-core//lib/rspec/core/configuration.rb#1896
2343
+ # source://rspec-core//lib/rspec/core/configuration.rb#1917
2299
2344
  def when_first_matching_example_defined(*filters); end
2300
2345
 
2301
2346
  # @private
2302
2347
  #
2303
- # source://rspec-core//lib/rspec/core/configuration.rb#2064
2348
+ # source://rspec-core//lib/rspec/core/configuration.rb#2085
2304
2349
  def with_suite_hooks; end
2305
2350
 
2306
2351
  # @private
2307
2352
  #
2308
- # source://rspec-core//lib/rspec/core/configuration.rb#499
2353
+ # source://rspec-core//lib/rspec/core/configuration.rb#518
2309
2354
  def world; end
2310
2355
 
2311
2356
  # @private
2312
2357
  #
2313
- # source://rspec-core//lib/rspec/core/configuration.rb#499
2358
+ # source://rspec-core//lib/rspec/core/configuration.rb#518
2314
2359
  def world=(_arg0); end
2315
2360
 
2316
2361
  private
@@ -2319,111 +2364,111 @@ class RSpec::Core::Configuration
2319
2364
  #
2320
2365
  # @return [Boolean]
2321
2366
  #
2322
- # source://rspec-core//lib/rspec/core/configuration.rb#2220
2367
+ # source://rspec-core//lib/rspec/core/configuration.rb#2248
2323
2368
  def absolute_pattern?(pattern); end
2324
2369
 
2325
- # source://rspec-core//lib/rspec/core/configuration.rb#2321
2370
+ # source://rspec-core//lib/rspec/core/configuration.rb#2349
2326
2371
  def add_hook_to_existing_matching_groups(meta, scope, &block); end
2327
2372
 
2328
2373
  # @raise [MustBeConfiguredBeforeExampleGroupsError]
2329
2374
  #
2330
- # source://rspec-core//lib/rspec/core/configuration.rb#2260
2375
+ # source://rspec-core//lib/rspec/core/configuration.rb#2288
2331
2376
  def assert_no_example_groups_defined(config_option); end
2332
2377
 
2333
- # source://rspec-core//lib/rspec/core/configuration.rb#2310
2378
+ # source://rspec-core//lib/rspec/core/configuration.rb#2338
2334
2379
  def clear_values_derived_from_example_status_persistence_file_path; end
2335
2380
 
2336
- # source://rspec-core//lib/rspec/core/configuration.rb#2242
2381
+ # source://rspec-core//lib/rspec/core/configuration.rb#2270
2337
2382
  def command; end
2338
2383
 
2339
- # source://rspec-core//lib/rspec/core/configuration.rb#2286
2384
+ # source://rspec-core//lib/rspec/core/configuration.rb#2314
2340
2385
  def conditionally_disable_expectations_monkey_patching; end
2341
2386
 
2342
- # source://rspec-core//lib/rspec/core/configuration.rb#2277
2387
+ # source://rspec-core//lib/rspec/core/configuration.rb#2305
2343
2388
  def conditionally_disable_mocks_monkey_patching; end
2344
2389
 
2345
- # source://rspec-core//lib/rspec/core/configuration.rb#2315
2390
+ # source://rspec-core//lib/rspec/core/configuration.rb#2343
2346
2391
  def configure_group_with(group, module_list, application_method); end
2347
2392
 
2348
- # source://rspec-core//lib/rspec/core/configuration.rb#2250
2393
+ # source://rspec-core//lib/rspec/core/configuration.rb#2278
2349
2394
  def define_built_in_hooks; end
2350
2395
 
2351
- # source://rspec-core//lib/rspec/core/configuration.rb#2373
2396
+ # source://rspec-core//lib/rspec/core/configuration.rb#2401
2352
2397
  def define_mixed_in_module(mod, filters, mod_list, config_method, &block); end
2353
2398
 
2354
- # source://rspec-core//lib/rspec/core/configuration.rb#2225
2399
+ # source://rspec-core//lib/rspec/core/configuration.rb#2253
2355
2400
  def extract_location(path); end
2356
2401
 
2357
- # source://rspec-core//lib/rspec/core/configuration.rb#2202
2402
+ # source://rspec-core//lib/rspec/core/configuration.rb#2230
2358
2403
  def file_glob_from(path, pattern); end
2359
2404
 
2360
- # source://rspec-core//lib/rspec/core/configuration.rb#2191
2405
+ # source://rspec-core//lib/rspec/core/configuration.rb#2219
2361
2406
  def gather_directories(path); end
2362
2407
 
2363
- # source://rspec-core//lib/rspec/core/configuration.rb#2170
2408
+ # source://rspec-core//lib/rspec/core/configuration.rb#2198
2364
2409
  def get_files_to_run(paths); end
2365
2410
 
2366
- # source://rspec-core//lib/rspec/core/configuration.rb#2197
2411
+ # source://rspec-core//lib/rspec/core/configuration.rb#2225
2367
2412
  def get_matching_files(path, pattern); end
2368
2413
 
2369
- # source://rspec-core//lib/rspec/core/configuration.rb#2137
2414
+ # source://rspec-core//lib/rspec/core/configuration.rb#2165
2370
2415
  def handle_suite_hook(scope, meta); end
2371
2416
 
2372
- # source://rspec-core//lib/rspec/core/configuration.rb#2116
2417
+ # source://rspec-core//lib/rspec/core/configuration.rb#2137
2373
2418
  def load_file_handling_errors(method, file); end
2374
2419
 
2375
2420
  # @return [Boolean]
2376
2421
  #
2377
- # source://rspec-core//lib/rspec/core/configuration.rb#2343
2422
+ # source://rspec-core//lib/rspec/core/configuration.rb#2371
2378
2423
  def metadata_applies_to_group?(meta, group); end
2379
2424
 
2380
- # source://rspec-core//lib/rspec/core/configuration.rb#2335
2425
+ # source://rspec-core//lib/rspec/core/configuration.rb#2363
2381
2426
  def on_existing_matching_groups(meta); end
2382
2427
 
2383
2428
  # @return [Boolean]
2384
2429
  #
2385
- # source://rspec-core//lib/rspec/core/configuration.rb#2273
2430
+ # source://rspec-core//lib/rspec/core/configuration.rb#2301
2386
2431
  def output_to_tty?(output = T.unsafe(nil)); end
2387
2432
 
2388
- # source://rspec-core//lib/rspec/core/configuration.rb#2269
2433
+ # source://rspec-core//lib/rspec/core/configuration.rb#2297
2389
2434
  def output_wrapper; end
2390
2435
 
2391
- # source://rspec-core//lib/rspec/core/configuration.rb#2182
2436
+ # source://rspec-core//lib/rspec/core/configuration.rb#2210
2392
2437
  def paths_to_check(paths); end
2393
2438
 
2394
2439
  # @return [Boolean]
2395
2440
  #
2396
- # source://rspec-core//lib/rspec/core/configuration.rb#2187
2441
+ # source://rspec-core//lib/rspec/core/configuration.rb#2215
2397
2442
  def pattern_might_load_specs_from_vendored_dirs?; end
2398
2443
 
2399
2444
  # @return [Boolean]
2400
2445
  #
2401
- # source://rspec-core//lib/rspec/core/configuration.rb#2296
2446
+ # source://rspec-core//lib/rspec/core/configuration.rb#2324
2402
2447
  def rspec_expectations_loaded?; end
2403
2448
 
2404
2449
  # @return [Boolean]
2405
2450
  #
2406
- # source://rspec-core//lib/rspec/core/configuration.rb#2292
2451
+ # source://rspec-core//lib/rspec/core/configuration.rb#2320
2407
2452
  def rspec_mocks_loaded?; end
2408
2453
 
2409
- # source://rspec-core//lib/rspec/core/configuration.rb#2152
2454
+ # source://rspec-core//lib/rspec/core/configuration.rb#2180
2410
2455
  def run_suite_hooks(hook_description, hooks); end
2411
2456
 
2412
- # source://rspec-core//lib/rspec/core/configuration.rb#2358
2457
+ # source://rspec-core//lib/rspec/core/configuration.rb#2386
2413
2458
  def safe_extend(mod, host); end
2414
2459
 
2415
2460
  # :nocov:
2416
2461
  #
2417
- # source://rspec-core//lib/rspec/core/configuration.rb#2354
2462
+ # source://rspec-core//lib/rspec/core/configuration.rb#2382
2418
2463
  def safe_include(mod, host); end
2419
2464
 
2420
- # source://rspec-core//lib/rspec/core/configuration.rb#2348
2465
+ # source://rspec-core//lib/rspec/core/configuration.rb#2376
2421
2466
  def safe_prepend(mod, host); end
2422
2467
 
2423
- # source://rspec-core//lib/rspec/core/configuration.rb#2300
2468
+ # source://rspec-core//lib/rspec/core/configuration.rb#2328
2424
2469
  def update_pattern_attr(name, value); end
2425
2470
 
2426
- # source://rspec-core//lib/rspec/core/configuration.rb#2246
2471
+ # source://rspec-core//lib/rspec/core/configuration.rb#2274
2427
2472
  def value_for(key); end
2428
2473
 
2429
2474
  class << self
@@ -2459,14 +2504,14 @@ class RSpec::Core::Configuration
2459
2504
 
2460
2505
  # @private
2461
2506
  #
2462
- # source://rspec-core//lib/rspec/core/configuration.rb#1645
2507
+ # source://rspec-core//lib/rspec/core/configuration.rb#1666
2463
2508
  def delegate_to_ordering_manager(*methods); end
2464
2509
  end
2465
2510
  end
2466
2511
 
2467
2512
  # @private
2468
2513
  #
2469
- # source://rspec-core//lib/rspec/core/configuration.rb#1625
2514
+ # source://rspec-core//lib/rspec/core/configuration.rb#1646
2470
2515
  RSpec::Core::Configuration::DEFAULT_FORMATTER = T.let(T.unsafe(nil), Proc)
2471
2516
 
2472
2517
  # This buffer is used to capture all messages sent to the reporter during
@@ -2476,33 +2521,33 @@ RSpec::Core::Configuration::DEFAULT_FORMATTER = T.let(T.unsafe(nil), Proc)
2476
2521
  #
2477
2522
  # @private
2478
2523
  #
2479
- # source://rspec-core//lib/rspec/core/configuration.rb#1018
2524
+ # source://rspec-core//lib/rspec/core/configuration.rb#1039
2480
2525
  class RSpec::Core::Configuration::DeprecationReporterBuffer
2481
2526
  # @return [DeprecationReporterBuffer] a new instance of DeprecationReporterBuffer
2482
2527
  #
2483
- # source://rspec-core//lib/rspec/core/configuration.rb#1019
2528
+ # source://rspec-core//lib/rspec/core/configuration.rb#1040
2484
2529
  def initialize; end
2485
2530
 
2486
- # source://rspec-core//lib/rspec/core/configuration.rb#1023
2531
+ # source://rspec-core//lib/rspec/core/configuration.rb#1044
2487
2532
  def deprecation(*args); end
2488
2533
 
2489
- # source://rspec-core//lib/rspec/core/configuration.rb#1027
2534
+ # source://rspec-core//lib/rspec/core/configuration.rb#1048
2490
2535
  def play_onto(reporter); end
2491
2536
  end
2492
2537
 
2493
2538
  # @private
2494
2539
  #
2495
- # source://rspec-core//lib/rspec/core/configuration.rb#1794
2540
+ # source://rspec-core//lib/rspec/core/configuration.rb#1815
2496
2541
  module RSpec::Core::Configuration::ExposeCurrentExample; end
2497
2542
 
2498
2543
  # @private
2499
2544
  #
2500
- # source://rspec-core//lib/rspec/core/configuration.rb#1105
2545
+ # source://rspec-core//lib/rspec/core/configuration.rb#1126
2501
2546
  RSpec::Core::Configuration::FAILED_STATUS = T.let(T.unsafe(nil), String)
2502
2547
 
2503
2548
  # @private
2504
2549
  #
2505
- # source://rspec-core//lib/rspec/core/configuration.rb#728
2550
+ # source://rspec-core//lib/rspec/core/configuration.rb#749
2506
2551
  RSpec::Core::Configuration::MOCKING_ADAPTERS = T.let(T.unsafe(nil), Hash)
2507
2552
 
2508
2553
  # @private
@@ -2512,17 +2557,17 @@ class RSpec::Core::Configuration::MustBeConfiguredBeforeExampleGroupsError < ::S
2512
2557
 
2513
2558
  # @private
2514
2559
  #
2515
- # source://rspec-core//lib/rspec/core/configuration.rb#1108
2560
+ # source://rspec-core//lib/rspec/core/configuration.rb#1129
2516
2561
  RSpec::Core::Configuration::PASSED_STATUS = T.let(T.unsafe(nil), String)
2517
2562
 
2518
2563
  # @private
2519
2564
  #
2520
- # source://rspec-core//lib/rspec/core/configuration.rb#1111
2565
+ # source://rspec-core//lib/rspec/core/configuration.rb#1132
2521
2566
  RSpec::Core::Configuration::PENDING_STATUS = T.let(T.unsafe(nil), String)
2522
2567
 
2523
2568
  # @private
2524
2569
  #
2525
- # source://rspec-core//lib/rspec/core/configuration.rb#1744
2570
+ # source://rspec-core//lib/rspec/core/configuration.rb#1765
2526
2571
  RSpec::Core::Configuration::RAISE_ERROR_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
2527
2572
 
2528
2573
  # Module that holds `attr_reader` declarations. It's in a separate
@@ -2580,6 +2625,9 @@ module RSpec::Core::Configuration::Readers
2580
2625
  # source://rspec-core//lib/rspec/core/configuration.rb#63
2581
2626
  def fixed_color; end
2582
2627
 
2628
+ # source://rspec-core//lib/rspec/core/configuration.rb#63
2629
+ def full_cause_backtrace; end
2630
+
2583
2631
  # source://rspec-core//lib/rspec/core/configuration.rb#63
2584
2632
  def libs; end
2585
2633
 
@@ -2598,6 +2646,9 @@ module RSpec::Core::Configuration::Readers
2598
2646
  # source://rspec-core//lib/rspec/core/configuration.rb#63
2599
2647
  def pending_color; end
2600
2648
 
2649
+ # source://rspec-core//lib/rspec/core/configuration.rb#63
2650
+ def pending_failure_output; end
2651
+
2601
2652
  # source://rspec-core//lib/rspec/core/configuration.rb#63
2602
2653
  def project_source_dirs; end
2603
2654
 
@@ -2628,12 +2679,12 @@ end
2628
2679
 
2629
2680
  # @private
2630
2681
  #
2631
- # source://rspec-core//lib/rspec/core/configuration.rb#1102
2682
+ # source://rspec-core//lib/rspec/core/configuration.rb#1123
2632
2683
  RSpec::Core::Configuration::UNKNOWN_STATUS = T.let(T.unsafe(nil), String)
2633
2684
 
2634
2685
  # @private
2635
2686
  #
2636
- # source://rspec-core//lib/rspec/core/configuration.rb#1114
2687
+ # source://rspec-core//lib/rspec/core/configuration.rb#1135
2637
2688
  RSpec::Core::Configuration::VALID_STATUSES = T.let(T.unsafe(nil), Array)
2638
2689
 
2639
2690
  # Responsible for utilizing externally provided configuration options,
@@ -2677,22 +2728,22 @@ class RSpec::Core::ConfigurationOptions
2677
2728
 
2678
2729
  private
2679
2730
 
2680
- # source://rspec-core//lib/rspec/core/configuration_options.rb#169
2731
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#173
2681
2732
  def args_from_options_file(path); end
2682
2733
 
2683
- # source://rspec-core//lib/rspec/core/configuration_options.rb#138
2734
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#142
2684
2735
  def command_line_options; end
2685
2736
 
2686
- # source://rspec-core//lib/rspec/core/configuration_options.rb#142
2737
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#146
2687
2738
  def custom_options; end
2688
2739
 
2689
- # source://rspec-core//lib/rspec/core/configuration_options.rb#183
2740
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#188
2690
2741
  def custom_options_file; end
2691
2742
 
2692
- # source://rspec-core//lib/rspec/core/configuration_options.rb#129
2743
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#133
2693
2744
  def env_options; end
2694
2745
 
2695
- # source://rspec-core//lib/rspec/core/configuration_options.rb#121
2746
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#125
2696
2747
  def file_options; end
2697
2748
 
2698
2749
  # @return [Boolean]
@@ -2700,28 +2751,28 @@ class RSpec::Core::ConfigurationOptions
2700
2751
  # source://rspec-core//lib/rspec/core/configuration_options.rb#66
2701
2752
  def force?(key); end
2702
2753
 
2703
- # source://rspec-core//lib/rspec/core/configuration_options.rb#154
2754
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#158
2704
2755
  def global_options; end
2705
2756
 
2706
- # source://rspec-core//lib/rspec/core/configuration_options.rb#195
2757
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#200
2707
2758
  def global_options_file; end
2708
2759
 
2709
- # source://rspec-core//lib/rspec/core/configuration_options.rb#206
2760
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#211
2710
2761
  def home_options_file_path; end
2711
2762
 
2712
- # source://rspec-core//lib/rspec/core/configuration_options.rb#117
2763
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#121
2713
2764
  def load_formatters_into(config); end
2714
2765
 
2715
- # source://rspec-core//lib/rspec/core/configuration_options.rb#146
2766
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#150
2716
2767
  def local_options; end
2717
2768
 
2718
- # source://rspec-core//lib/rspec/core/configuration_options.rb#191
2769
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#196
2719
2770
  def local_options_file; end
2720
2771
 
2721
- # source://rspec-core//lib/rspec/core/configuration_options.rb#175
2772
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#180
2722
2773
  def options_file_as_erb_string(path); end
2723
2774
 
2724
- # source://rspec-core//lib/rspec/core/configuration_options.rb#158
2775
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#162
2725
2776
  def options_from(path); end
2726
2777
 
2727
2778
  # source://rspec-core//lib/rspec/core/configuration_options.rb#70
@@ -2730,25 +2781,25 @@ class RSpec::Core::ConfigurationOptions
2730
2781
  # source://rspec-core//lib/rspec/core/configuration_options.rb#44
2731
2782
  def organize_options; end
2732
2783
 
2733
- # source://rspec-core//lib/rspec/core/configuration_options.rb#163
2784
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#167
2734
2785
  def parse_args_ignoring_files_or_dirs_to_run(args, source); end
2735
2786
 
2736
- # source://rspec-core//lib/rspec/core/configuration_options.rb#109
2787
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#113
2737
2788
  def process_options_into(config); end
2738
2789
 
2739
- # source://rspec-core//lib/rspec/core/configuration_options.rb#150
2790
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#154
2740
2791
  def project_options; end
2741
2792
 
2742
- # source://rspec-core//lib/rspec/core/configuration_options.rb#187
2793
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#192
2743
2794
  def project_options_file; end
2744
2795
 
2745
- # source://rspec-core//lib/rspec/core/configuration_options.rb#222
2796
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#227
2746
2797
  def resolve_xdg_config_home; end
2747
2798
 
2748
- # source://rspec-core//lib/rspec/core/configuration_options.rb#199
2799
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#204
2749
2800
  def xdg_options_file_if_exists; end
2750
2801
 
2751
- # source://rspec-core//lib/rspec/core/configuration_options.rb#215
2802
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#220
2752
2803
  def xdg_options_file_path; end
2753
2804
  end
2754
2805
 
@@ -5309,7 +5360,7 @@ class RSpec::Core::Formatters::ExceptionPresenter
5309
5360
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#16
5310
5361
  def initialize(exception, example, options = T.unsafe(nil)); end
5311
5362
 
5312
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#73
5363
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#78
5313
5364
  def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
5314
5365
 
5315
5366
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#33
@@ -5338,10 +5389,10 @@ class RSpec::Core::Formatters::ExceptionPresenter
5338
5389
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#45
5339
5390
  def formatted_cause(exception); end
5340
5391
 
5341
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#79
5392
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#84
5342
5393
  def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
5343
5394
 
5344
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#84
5395
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#89
5345
5396
  def fully_formatted_lines(failure_number, colorizer); end
5346
5397
 
5347
5398
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#29
@@ -5349,7 +5400,7 @@ class RSpec::Core::Formatters::ExceptionPresenter
5349
5400
 
5350
5401
  private
5351
5402
 
5352
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#207
5403
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#224
5353
5404
  def add_shared_group_lines(lines, colorizer); end
5354
5405
 
5355
5406
  # Returns the value of attribute backtrace_formatter.
@@ -5364,27 +5415,27 @@ class RSpec::Core::Formatters::ExceptionPresenter
5364
5415
 
5365
5416
  # for 1.8.7
5366
5417
  #
5367
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#265
5418
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#282
5368
5419
  def encoded_description(description); end
5369
5420
 
5370
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#115
5421
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#120
5371
5422
  def encoded_string(string); end
5372
5423
 
5373
5424
  # :nocov:
5374
5425
  #
5375
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#111
5426
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#116
5376
5427
  def encoding_of(string); end
5377
5428
 
5378
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#275
5429
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#292
5379
5430
  def exception_backtrace; end
5380
5431
 
5381
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#145
5432
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#150
5382
5433
  def exception_class_name(exception = T.unsafe(nil)); end
5383
5434
 
5384
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#185
5435
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#202
5385
5436
  def exception_lines; end
5386
5437
 
5387
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#178
5438
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#184
5388
5439
  def exception_message_string(exception); end
5389
5440
 
5390
5441
  # Returns the value of attribute extra_detail_formatter.
@@ -5392,25 +5443,25 @@ class RSpec::Core::Formatters::ExceptionPresenter
5392
5443
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#12
5393
5444
  def extra_detail_formatter; end
5394
5445
 
5395
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#196
5446
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#213
5396
5447
  def extra_failure_lines; end
5397
5448
 
5398
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#151
5449
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#156
5399
5450
  def failure_lines; end
5400
5451
 
5401
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#165
5452
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#170
5402
5453
  def failure_slash_error_lines; end
5403
5454
 
5404
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#99
5455
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#104
5405
5456
  def final_exception(exception, previous = T.unsafe(nil)); end
5406
5457
 
5407
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#241
5458
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#258
5408
5459
  def find_failed_line; end
5409
5460
 
5410
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#256
5461
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#273
5411
5462
  def formatted_message_and_backtrace(colorizer); end
5412
5463
 
5413
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#129
5464
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#134
5414
5465
  def indent_lines(lines, failure_number); end
5415
5466
 
5416
5467
  # Returns the value of attribute message_color.
@@ -5418,7 +5469,7 @@ class RSpec::Core::Formatters::ExceptionPresenter
5418
5469
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#12
5419
5470
  def message_color; end
5420
5471
 
5421
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#217
5472
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#234
5422
5473
  def read_failed_lines; end
5423
5474
  end
5424
5475
 
@@ -5429,49 +5480,49 @@ end
5429
5480
  #
5430
5481
  # @private
5431
5482
  #
5432
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#284
5483
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#301
5433
5484
  class RSpec::Core::Formatters::ExceptionPresenter::Factory
5434
5485
  # @return [Factory] a new instance of Factory
5435
5486
  #
5436
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#291
5487
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#308
5437
5488
  def initialize(example); end
5438
5489
 
5439
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#285
5490
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#302
5440
5491
  def build; end
5441
5492
 
5442
5493
  private
5443
5494
 
5444
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#342
5495
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#363
5445
5496
  def multiple_exception_summarizer(exception, prior_detail_formatter, color); end
5446
5497
 
5447
5498
  # @return [Boolean]
5448
5499
  #
5449
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#338
5500
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#359
5450
5501
  def multiple_exceptions_error?(exception); end
5451
5502
 
5452
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#301
5503
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#318
5453
5504
  def options; end
5454
5505
 
5455
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#305
5506
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#322
5456
5507
  def pending_options; end
5457
5508
 
5458
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#363
5509
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#384
5459
5510
  def sub_failure_list_formatter(exception, message_color); end
5460
5511
 
5461
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#322
5512
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#343
5462
5513
  def with_multiple_error_options_as_needed(exception, options); end
5463
5514
  end
5464
5515
 
5465
5516
  # @private
5466
5517
  #
5467
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#396
5518
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#417
5468
5519
  class RSpec::Core::Formatters::ExceptionPresenter::Factory::CommonBacktraceTruncater
5469
5520
  # @return [CommonBacktraceTruncater] a new instance of CommonBacktraceTruncater
5470
5521
  #
5471
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#397
5522
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#418
5472
5523
  def initialize(parent); end
5473
5524
 
5474
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#401
5525
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#422
5475
5526
  def with_truncated_backtrace(child); end
5476
5527
  end
5477
5528
 
@@ -5480,17 +5531,17 @@ end
5480
5531
  #
5481
5532
  # @private
5482
5533
  #
5483
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#389
5534
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#410
5484
5535
  module RSpec::Core::Formatters::ExceptionPresenter::Factory::EmptyBacktraceFormatter
5485
5536
  class << self
5486
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#390
5537
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#411
5487
5538
  def format_backtrace(*_arg0); end
5488
5539
  end
5489
5540
  end
5490
5541
 
5491
5542
  # @private
5492
5543
  #
5493
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#421
5544
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#442
5494
5545
  RSpec::Core::Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER = T.let(T.unsafe(nil), Proc)
5495
5546
 
5496
5547
  # @private
@@ -5679,6 +5730,7 @@ end
5679
5730
  #
5680
5731
  # source://rspec-core//lib/rspec/core/formatters/html_printer.rb#7
5681
5732
  class RSpec::Core::Formatters::HtmlPrinter
5733
+ include ::ERB::Escape
5682
5734
  include ::ERB::Util
5683
5735
 
5684
5736
  # @return [HtmlPrinter] a new instance of HtmlPrinter
@@ -5752,20 +5804,20 @@ class RSpec::Core::Formatters::JsonFormatter < ::RSpec::Core::Formatters::BaseFo
5752
5804
  # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#13
5753
5805
  def initialize(output); end
5754
5806
 
5755
- # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#55
5807
+ # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#56
5756
5808
  def close(_notification); end
5757
5809
 
5758
- # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#59
5810
+ # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#60
5759
5811
  def dump_profile(profile); end
5760
5812
 
5761
5813
  # @api private
5762
5814
  #
5763
- # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#78
5815
+ # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#79
5764
5816
  def dump_profile_slowest_example_groups(profile); end
5765
5817
 
5766
5818
  # @api private
5767
5819
  #
5768
- # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#66
5820
+ # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#67
5769
5821
  def dump_profile_slowest_examples(profile); end
5770
5822
 
5771
5823
  # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#24
@@ -5779,15 +5831,15 @@ class RSpec::Core::Formatters::JsonFormatter < ::RSpec::Core::Formatters::BaseFo
5779
5831
  # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#11
5780
5832
  def output_hash; end
5781
5833
 
5782
- # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#50
5834
+ # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#51
5783
5835
  def seed(notification); end
5784
5836
 
5785
5837
  # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#35
5786
- def stop(notification); end
5838
+ def stop(group_notification); end
5787
5839
 
5788
5840
  private
5789
5841
 
5790
- # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#87
5842
+ # source://rspec-core//lib/rspec/core/formatters/json_formatter.rb#88
5791
5843
  def format_example(example); end
5792
5844
  end
5793
5845
 
@@ -6592,11 +6644,11 @@ module RSpec::Core::Hooks
6592
6644
  # invoked but before any `after` context hooks.
6593
6645
  #
6594
6646
  # @api public
6595
- # @note The `:example` and `:context` scopes are also available as
6596
- # `:each` and `:all`, respectively. Use whichever you prefer.
6597
6647
  # @note The `:suite` scope is only supported for hooks registered on
6598
6648
  # `RSpec.configuration` since they exist independently of any
6599
6649
  # example or example group.
6650
+ # @note The `:example` and `:context` scopes are also available as
6651
+ # `:each` and `:all`, respectively. Use whichever you prefer.
6600
6652
  # @overload after
6601
6653
  # @overload after
6602
6654
  # @overload after
@@ -6821,6 +6873,7 @@ module RSpec::Core::Hooks
6821
6873
  # They are not a synonym for `before`/`after`.
6822
6874
  #
6823
6875
  # @api public
6876
+ # @note `:example`/`:each` is the only supported scope.
6824
6877
  # @note the syntax of `around` is similar to that of `before` and `after`
6825
6878
  # but the semantics are quite different. `before` and `after` hooks are
6826
6879
  # run in the context of the examples with which they are associated,
@@ -6828,7 +6881,6 @@ module RSpec::Core::Hooks
6828
6881
  # examples. Consequently, `around` hooks do not have direct access to
6829
6882
  # resources that are made available within the examples and their
6830
6883
  # associated `before` and `after` hooks.
6831
- # @note `:example`/`:each` is the only supported scope.
6832
6884
  # @overload around
6833
6885
  # @overload around
6834
6886
  # @overload around
@@ -7054,11 +7106,11 @@ module RSpec::Core::Hooks
7054
7106
  # invoked but before any `after` context hooks.
7055
7107
  #
7056
7108
  # @api public
7057
- # @note The `:example` and `:context` scopes are also available as
7058
- # `:each` and `:all`, respectively. Use whichever you prefer.
7059
7109
  # @note The `:suite` scope is only supported for hooks registered on
7060
7110
  # `RSpec.configuration` since they exist independently of any
7061
7111
  # example or example group.
7112
+ # @note The `:example` and `:context` scopes are also available as
7113
+ # `:each` and `:all`, respectively. Use whichever you prefer.
7062
7114
  # @overload after
7063
7115
  # @overload after
7064
7116
  # @overload after
@@ -8118,57 +8170,57 @@ end
8118
8170
  # individual spec has multiple exceptions, such as one in the `it` block
8119
8171
  # and one in an `after` block.
8120
8172
  #
8121
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#436
8173
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#452
8122
8174
  class RSpec::Core::MultipleExceptionError < ::StandardError
8123
8175
  include ::RSpec::Core::MultipleExceptionError::InterfaceTag
8124
8176
 
8125
8177
  # @param exceptions [Array<Exception>] The initial list of exceptions.
8126
8178
  # @return [MultipleExceptionError] a new instance of MultipleExceptionError
8127
8179
  #
8128
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#492
8180
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#513
8129
8181
  def initialize(*exceptions); end
8130
8182
 
8131
8183
  # @return [nil] Provided only for interface compatibility with
8132
8184
  # `RSpec::Expectations::MultipleExpectationsNotMetError`.
8133
8185
  #
8134
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#489
8186
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#510
8135
8187
  def aggregation_block_label; end
8136
8188
 
8137
8189
  # @return [Hash] Metadata used by RSpec for formatting purposes.
8138
8190
  #
8139
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#485
8191
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#506
8140
8192
  def aggregation_metadata; end
8141
8193
 
8142
8194
  # @return [Array<Exception>] The list of failures and other exceptions, combined.
8143
8195
  #
8144
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#482
8196
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#503
8145
8197
  def all_exceptions; end
8146
8198
 
8147
8199
  # return [String] A description of the failure/error counts.
8148
8200
  #
8149
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#517
8201
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#538
8150
8202
  def exception_count_description; end
8151
8203
 
8152
8204
  # @return [Array<Exception>] The list of failures.
8153
8205
  #
8154
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#476
8206
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#497
8155
8207
  def failures; end
8156
8208
 
8157
8209
  # @note RSpec does not actually use this -- instead it formats each exception
8158
8210
  # individually.
8159
8211
  # @return [String] Combines all the exception messages into a single string.
8160
8212
  #
8161
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#507
8213
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#528
8162
8214
  def message; end
8163
8215
 
8164
8216
  # @return [Array<Exception>] The list of other errors.
8165
8217
  #
8166
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#479
8218
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#500
8167
8219
  def other_errors; end
8168
8220
 
8169
8221
  # @return [String] A summary of the failure, including the block label and a count of failures.
8170
8222
  #
8171
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#512
8223
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#533
8172
8224
  def summary; end
8173
8225
  end
8174
8226
 
@@ -8179,14 +8231,14 @@ end
8179
8231
  #
8180
8232
  # @private
8181
8233
  #
8182
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#437
8234
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#458
8183
8235
  module RSpec::Core::MultipleExceptionError::InterfaceTag
8184
8236
  # Appends the provided exception to the list.
8185
8237
  #
8186
8238
  # @param exception [Exception] Exception to append to the list.
8187
8239
  # @private
8188
8240
  #
8189
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#441
8241
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#462
8190
8242
  def add(exception); end
8191
8243
 
8192
8244
  class << self
@@ -8196,7 +8248,7 @@ module RSpec::Core::MultipleExceptionError::InterfaceTag
8196
8248
  #
8197
8249
  # @private
8198
8250
  #
8199
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#467
8251
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#488
8200
8252
  def for(ex); end
8201
8253
  end
8202
8254
  end
@@ -8211,7 +8263,7 @@ module RSpec::Core::Notifications; end
8211
8263
  # other registered listeners, it creates attributes based on supplied hash
8212
8264
  # of options.
8213
8265
  #
8214
- # source://rspec-core//lib/rspec/core/notifications.rb#514
8266
+ # source://rspec-core//lib/rspec/core/notifications.rb#512
8215
8267
  class RSpec::Core::Notifications::CustomNotification < ::Struct
8216
8268
  class << self
8217
8269
  # Build a custom notification based on the supplied option key / values.
@@ -8219,7 +8271,7 @@ class RSpec::Core::Notifications::CustomNotification < ::Struct
8219
8271
  # @param options [Hash] A hash of method / value pairs to create on this notification
8220
8272
  # @return [CustomNotification]
8221
8273
  #
8222
- # source://rspec-core//lib/rspec/core/notifications.rb#515
8274
+ # source://rspec-core//lib/rspec/core/notifications.rb#517
8223
8275
  def for(options = T.unsafe(nil)); end
8224
8276
  end
8225
8277
  end
@@ -8235,7 +8287,7 @@ end
8235
8287
  # @attr call_site [String] An optional call site from which the deprecation
8236
8288
  # was issued
8237
8289
  #
8238
- # source://rspec-core//lib/rspec/core/notifications.rb#491
8290
+ # source://rspec-core//lib/rspec/core/notifications.rb#493
8239
8291
  class RSpec::Core::Notifications::DeprecationNotification < ::Struct
8240
8292
  # An optional call site from which the deprecation
8241
8293
  # was issued
@@ -8292,7 +8344,7 @@ class RSpec::Core::Notifications::DeprecationNotification < ::Struct
8292
8344
  #
8293
8345
  # @api
8294
8346
  #
8295
- # source://rspec-core//lib/rspec/core/notifications.rb#497
8347
+ # source://rspec-core//lib/rspec/core/notifications.rb#499
8296
8348
  def from_hash(data); end
8297
8349
 
8298
8350
  def inspect; end
@@ -8408,7 +8460,7 @@ class RSpec::Core::Notifications::ExamplesNotification
8408
8460
 
8409
8461
  private
8410
8462
 
8411
- # source://rspec-core//lib/rspec/core/notifications.rb#134
8463
+ # source://rspec-core//lib/rspec/core/notifications.rb#136
8412
8464
  def format_examples(examples); end
8413
8465
  end
8414
8466
 
@@ -8425,11 +8477,11 @@ end
8425
8477
  # end
8426
8478
  # @see ExampleNotification
8427
8479
  #
8428
- # source://rspec-core//lib/rspec/core/notifications.rb#154
8480
+ # source://rspec-core//lib/rspec/core/notifications.rb#156
8429
8481
  class RSpec::Core::Notifications::FailedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
8430
8482
  # @return [FailedExampleNotification] a new instance of FailedExampleNotification
8431
8483
  #
8432
- # source://rspec-core//lib/rspec/core/notifications.rb#211
8484
+ # source://rspec-core//lib/rspec/core/notifications.rb#213
8433
8485
  def initialize(example, exception_presenter = T.unsafe(nil)); end
8434
8486
 
8435
8487
  # Returns the failures colorized formatted backtrace.
@@ -8437,7 +8489,7 @@ class RSpec::Core::Notifications::FailedExampleNotification < ::RSpec::Core::Not
8437
8489
  # @param colorizer [#wrap] An object to colorize the message_lines by
8438
8490
  # @return [Array<String>] the examples colorized backtrace lines
8439
8491
  #
8440
- # source://rspec-core//lib/rspec/core/notifications.rb#193
8492
+ # source://rspec-core//lib/rspec/core/notifications.rb#195
8441
8493
  def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
8442
8494
 
8443
8495
  # Returns the message generated for this failure colorized line by line.
@@ -8445,44 +8497,48 @@ class RSpec::Core::Notifications::FailedExampleNotification < ::RSpec::Core::Not
8445
8497
  # @param colorizer [#wrap] An object to colorize the message_lines by
8446
8498
  # @return [Array<String>] The example failure message colorized
8447
8499
  #
8448
- # source://rspec-core//lib/rspec/core/notifications.rb#178
8500
+ # source://rspec-core//lib/rspec/core/notifications.rb#180
8449
8501
  def colorized_message_lines(colorizer = T.unsafe(nil)); end
8450
8502
 
8451
8503
  # @return [String] The example description
8452
8504
  #
8453
- # source://rspec-core//lib/rspec/core/notifications.rb#163
8505
+ # source://rspec-core//lib/rspec/core/notifications.rb#165
8454
8506
  def description; end
8455
8507
 
8456
8508
  # @return [Exception] The example failure
8457
8509
  #
8458
- # source://rspec-core//lib/rspec/core/notifications.rb#158
8510
+ # source://rspec-core//lib/rspec/core/notifications.rb#160
8459
8511
  def exception; end
8460
8512
 
8461
8513
  # Returns the failures formatted backtrace.
8462
8514
  #
8463
8515
  # @return [Array<String>] the examples backtrace lines
8464
8516
  #
8465
- # source://rspec-core//lib/rspec/core/notifications.rb#185
8517
+ # source://rspec-core//lib/rspec/core/notifications.rb#187
8466
8518
  def formatted_backtrace; end
8467
8519
 
8468
8520
  # @return [String] The failure information fully formatted in the way that
8469
8521
  # RSpec's built-in formatters emit.
8470
8522
  #
8471
- # source://rspec-core//lib/rspec/core/notifications.rb#199
8523
+ # source://rspec-core//lib/rspec/core/notifications.rb#201
8472
8524
  def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
8473
8525
 
8474
8526
  # @return [Array<string>] The failure information fully formatted in the way that
8475
8527
  # RSpec's built-in formatters emit, split by line.
8476
8528
  #
8477
- # source://rspec-core//lib/rspec/core/notifications.rb#205
8529
+ # source://rspec-core//lib/rspec/core/notifications.rb#207
8478
8530
  def fully_formatted_lines(failure_number, colorizer = T.unsafe(nil)); end
8479
8531
 
8480
8532
  # Returns the message generated for this failure line by line.
8481
8533
  #
8482
8534
  # @return [Array<String>] The example failure message
8483
8535
  #
8484
- # source://rspec-core//lib/rspec/core/notifications.rb#170
8536
+ # source://rspec-core//lib/rspec/core/notifications.rb#172
8485
8537
  def message_lines; end
8538
+
8539
+ class << self
8540
+ def new(*_arg0); end
8541
+ end
8486
8542
  end
8487
8543
 
8488
8544
  # The `GroupNotification` represents notifications sent by the reporter
@@ -8496,7 +8552,7 @@ end
8496
8552
  # puts "Hey I started #{notification.group.description}"
8497
8553
  # end
8498
8554
  #
8499
- # source://rspec-core//lib/rspec/core/notifications.rb#256
8555
+ # source://rspec-core//lib/rspec/core/notifications.rb#258
8500
8556
  class RSpec::Core::Notifications::GroupNotification < ::Struct
8501
8557
  # the current group
8502
8558
  #
@@ -8523,7 +8579,7 @@ end
8523
8579
  #
8524
8580
  # @attr message [String] the message
8525
8581
  #
8526
- # source://rspec-core//lib/rspec/core/notifications.rb#262
8582
+ # source://rspec-core//lib/rspec/core/notifications.rb#264
8527
8583
  class RSpec::Core::Notifications::MessageNotification < ::Struct
8528
8584
  # the message
8529
8585
  #
@@ -8563,17 +8619,17 @@ end
8563
8619
  # `NullNotification` represents a placeholder value for notifications that
8564
8620
  # currently require no information, but we may wish to extend in future.
8565
8621
  #
8566
- # source://rspec-core//lib/rspec/core/notifications.rb#504
8622
+ # source://rspec-core//lib/rspec/core/notifications.rb#506
8567
8623
  class RSpec::Core::Notifications::NullNotification; end
8568
8624
 
8569
8625
  # @deprecated Use {FailedExampleNotification} instead.
8570
8626
  #
8571
- # source://rspec-core//lib/rspec/core/notifications.rb#221
8627
+ # source://rspec-core//lib/rspec/core/notifications.rb#223
8572
8628
  class RSpec::Core::Notifications::PendingExampleFailedAsExpectedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
8573
8629
 
8574
8630
  # @deprecated Use {FailedExampleNotification} instead.
8575
8631
  #
8576
- # source://rspec-core//lib/rspec/core/notifications.rb#218
8632
+ # source://rspec-core//lib/rspec/core/notifications.rb#220
8577
8633
  class RSpec::Core::Notifications::PendingExampleFixedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
8578
8634
 
8579
8635
  # The `ProfileNotification` holds information about the results of running a
@@ -8585,57 +8641,57 @@ class RSpec::Core::Notifications::PendingExampleFixedNotification < ::RSpec::Cor
8585
8641
  # @attr number_of_examples [Fixnum] the number of examples to profile
8586
8642
  # @attr example_groups [Array<RSpec::Core::Profiler>] example groups run
8587
8643
  #
8588
- # source://rspec-core//lib/rspec/core/notifications.rb#427
8644
+ # source://rspec-core//lib/rspec/core/notifications.rb#429
8589
8645
  class RSpec::Core::Notifications::ProfileNotification
8590
8646
  # @return [ProfileNotification] a new instance of ProfileNotification
8591
8647
  #
8592
- # source://rspec-core//lib/rspec/core/notifications.rb#428
8648
+ # source://rspec-core//lib/rspec/core/notifications.rb#430
8593
8649
  def initialize(duration, examples, number_of_examples, example_groups); end
8594
8650
 
8595
8651
  # the time taken (in seconds) to run the suite
8596
8652
  #
8597
8653
  # @return [Float] the current value of duration
8598
8654
  #
8599
- # source://rspec-core//lib/rspec/core/notifications.rb#434
8655
+ # source://rspec-core//lib/rspec/core/notifications.rb#436
8600
8656
  def duration; end
8601
8657
 
8602
8658
  # the examples run
8603
8659
  #
8604
8660
  # @return [Array<RSpec::Core::Example>] the current value of examples
8605
8661
  #
8606
- # source://rspec-core//lib/rspec/core/notifications.rb#434
8662
+ # source://rspec-core//lib/rspec/core/notifications.rb#436
8607
8663
  def examples; end
8608
8664
 
8609
8665
  # the number of examples to profile
8610
8666
  #
8611
8667
  # @return [Fixnum] the current value of number_of_examples
8612
8668
  #
8613
- # source://rspec-core//lib/rspec/core/notifications.rb#434
8669
+ # source://rspec-core//lib/rspec/core/notifications.rb#436
8614
8670
  def number_of_examples; end
8615
8671
 
8616
8672
  # @return [String] the percentage of total time taken
8617
8673
  #
8618
- # source://rspec-core//lib/rspec/core/notifications.rb#453
8674
+ # source://rspec-core//lib/rspec/core/notifications.rb#455
8619
8675
  def percentage; end
8620
8676
 
8621
8677
  # @return [Float] the time taken (in seconds) to run the slowest examples
8622
8678
  #
8623
- # source://rspec-core//lib/rspec/core/notifications.rb#445
8679
+ # source://rspec-core//lib/rspec/core/notifications.rb#447
8624
8680
  def slow_duration; end
8625
8681
 
8626
8682
  # @return [Array<RSpec::Core::Example>] the slowest examples
8627
8683
  #
8628
- # source://rspec-core//lib/rspec/core/notifications.rb#437
8684
+ # source://rspec-core//lib/rspec/core/notifications.rb#439
8629
8685
  def slowest_examples; end
8630
8686
 
8631
8687
  # @return [Array<RSpec::Core::Example>] the slowest example groups
8632
8688
  #
8633
- # source://rspec-core//lib/rspec/core/notifications.rb#462
8689
+ # source://rspec-core//lib/rspec/core/notifications.rb#464
8634
8690
  def slowest_groups; end
8635
8691
 
8636
8692
  private
8637
8693
 
8638
- # source://rspec-core//lib/rspec/core/notifications.rb#468
8694
+ # source://rspec-core//lib/rspec/core/notifications.rb#470
8639
8695
  def calculate_slowest_groups; end
8640
8696
  end
8641
8697
 
@@ -8645,12 +8701,12 @@ end
8645
8701
  # @attr seed [Fixnum] the seed used to randomize ordering
8646
8702
  # @attr used [Boolean] whether the seed has been used or not
8647
8703
  #
8648
- # source://rspec-core//lib/rspec/core/notifications.rb#269
8704
+ # source://rspec-core//lib/rspec/core/notifications.rb#271
8649
8705
  class RSpec::Core::Notifications::SeedNotification < ::Struct
8650
8706
  # @return [String] The seed information fully formatted in the way that
8651
8707
  # RSpec's built-in formatters emit.
8652
8708
  #
8653
- # source://rspec-core//lib/rspec/core/notifications.rb#280
8709
+ # source://rspec-core//lib/rspec/core/notifications.rb#282
8654
8710
  def fully_formatted; end
8655
8711
 
8656
8712
  # the seed used to randomize ordering
@@ -8667,7 +8723,7 @@ class RSpec::Core::Notifications::SeedNotification < ::Struct
8667
8723
  # @api
8668
8724
  # @return [Boolean] has the seed been used?
8669
8725
  #
8670
- # source://rspec-core//lib/rspec/core/notifications.rb#273
8726
+ # source://rspec-core//lib/rspec/core/notifications.rb#275
8671
8727
  def seed_used?; end
8672
8728
 
8673
8729
  # whether the seed has been used or not
@@ -8698,13 +8754,17 @@ end
8698
8754
  # @attr example [RSpec::Core::Example] the current example
8699
8755
  # @see ExampleNotification
8700
8756
  #
8701
- # source://rspec-core//lib/rspec/core/notifications.rb#228
8757
+ # source://rspec-core//lib/rspec/core/notifications.rb#230
8702
8758
  class RSpec::Core::Notifications::SkippedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
8703
8759
  # @return [String] The pending detail fully formatted in the way that
8704
8760
  # RSpec's built-in formatters emit.
8705
8761
  #
8706
- # source://rspec-core//lib/rspec/core/notifications.rb#233
8762
+ # source://rspec-core//lib/rspec/core/notifications.rb#235
8707
8763
  def fully_formatted(pending_number, colorizer = T.unsafe(nil)); end
8764
+
8765
+ class << self
8766
+ def new(*_arg0); end
8767
+ end
8708
8768
  end
8709
8769
 
8710
8770
  # The `StartNotification` represents a notification sent by the reporter
@@ -8764,7 +8824,7 @@ end
8764
8824
  # have occurred processing
8765
8825
  # the spec suite
8766
8826
  #
8767
- # source://rspec-core//lib/rspec/core/notifications.rb#298
8827
+ # source://rspec-core//lib/rspec/core/notifications.rb#300
8768
8828
  class RSpec::Core::Notifications::SummaryNotification < ::Struct
8769
8829
  include ::RSpec::Core::ShellEscape
8770
8830
 
@@ -8775,7 +8835,7 @@ class RSpec::Core::Notifications::SummaryNotification < ::Struct
8775
8835
  # specific colors.
8776
8836
  # @return [String] A colorized summary line.
8777
8837
  #
8778
- # source://rspec-core//lib/rspec/core/notifications.rb#362
8838
+ # source://rspec-core//lib/rspec/core/notifications.rb#364
8779
8839
  def colorized_rerun_commands(colorizer = T.unsafe(nil)); end
8780
8840
 
8781
8841
  # Wraps the results line with colors based on the configured
@@ -8787,7 +8847,7 @@ class RSpec::Core::Notifications::SummaryNotification < ::Struct
8787
8847
  # specific colors.
8788
8848
  # @return [String] A colorized results line.
8789
8849
  #
8790
- # source://rspec-core//lib/rspec/core/notifications.rb#345
8850
+ # source://rspec-core//lib/rspec/core/notifications.rb#347
8791
8851
  def colorized_totals_line(colorizer = T.unsafe(nil)); end
8792
8852
 
8793
8853
  # the time taken (in seconds) to run the suite
@@ -8819,7 +8879,7 @@ class RSpec::Core::Notifications::SummaryNotification < ::Struct
8819
8879
  # @api
8820
8880
  # @return [Fixnum] the number of examples run
8821
8881
  #
8822
- # source://rspec-core//lib/rspec/core/notifications.rb#304
8882
+ # source://rspec-core//lib/rspec/core/notifications.rb#306
8823
8883
  def example_count; end
8824
8884
 
8825
8885
  # the examples run
@@ -8847,25 +8907,25 @@ class RSpec::Core::Notifications::SummaryNotification < ::Struct
8847
8907
  # @api
8848
8908
  # @return [Fixnum] the number of failed examples
8849
8909
  #
8850
- # source://rspec-core//lib/rspec/core/notifications.rb#310
8910
+ # source://rspec-core//lib/rspec/core/notifications.rb#312
8851
8911
  def failure_count; end
8852
8912
 
8853
8913
  # @return [String] a formatted version of the time it took to run the
8854
8914
  # suite
8855
8915
  #
8856
- # source://rspec-core//lib/rspec/core/notifications.rb#372
8916
+ # source://rspec-core//lib/rspec/core/notifications.rb#374
8857
8917
  def formatted_duration; end
8858
8918
 
8859
8919
  # @return [String] a formatted version of the time it took to boot RSpec
8860
8920
  # and load the spec files
8861
8921
  #
8862
- # source://rspec-core//lib/rspec/core/notifications.rb#378
8922
+ # source://rspec-core//lib/rspec/core/notifications.rb#380
8863
8923
  def formatted_load_time; end
8864
8924
 
8865
8925
  # @return [String] The summary information fully formatted in the way that
8866
8926
  # RSpec's built-in formatters emit.
8867
8927
  #
8868
- # source://rspec-core//lib/rspec/core/notifications.rb#384
8928
+ # source://rspec-core//lib/rspec/core/notifications.rb#386
8869
8929
  def fully_formatted(colorizer = T.unsafe(nil)); end
8870
8930
 
8871
8931
  # the number of seconds taken to boot RSpec
@@ -8884,7 +8944,7 @@ class RSpec::Core::Notifications::SummaryNotification < ::Struct
8884
8944
  # @api
8885
8945
  # @return [Fixnum] the number of pending examples
8886
8946
  #
8887
- # source://rspec-core//lib/rspec/core/notifications.rb#316
8947
+ # source://rspec-core//lib/rspec/core/notifications.rb#318
8888
8948
  def pending_count; end
8889
8949
 
8890
8950
  # the pending examples
@@ -8901,15 +8961,15 @@ class RSpec::Core::Notifications::SummaryNotification < ::Struct
8901
8961
  # @api
8902
8962
  # @return [String] A line summarising the result totals of the spec run.
8903
8963
  #
8904
- # source://rspec-core//lib/rspec/core/notifications.rb#322
8964
+ # source://rspec-core//lib/rspec/core/notifications.rb#324
8905
8965
  def totals_line; end
8906
8966
 
8907
8967
  private
8908
8968
 
8909
- # source://rspec-core//lib/rspec/core/notifications.rb#406
8969
+ # source://rspec-core//lib/rspec/core/notifications.rb#408
8910
8970
  def duplicate_rerun_locations; end
8911
8971
 
8912
- # source://rspec-core//lib/rspec/core/notifications.rb#400
8972
+ # source://rspec-core//lib/rspec/core/notifications.rb#402
8913
8973
  def rerun_argument_for(example); end
8914
8974
 
8915
8975
  class << self
@@ -8946,38 +9006,38 @@ module RSpec::Core::Ordering; end
8946
9006
  # the APIs provided by `RSpec::Core::Configuration` instead.
8947
9007
  # @private
8948
9008
  #
8949
- # source://rspec-core//lib/rspec/core/ordering.rb#116
9009
+ # source://rspec-core//lib/rspec/core/ordering.rb#144
8950
9010
  class RSpec::Core::Ordering::ConfigurationManager
8951
9011
  # @return [ConfigurationManager] a new instance of ConfigurationManager
8952
9012
  #
8953
- # source://rspec-core//lib/rspec/core/ordering.rb#119
9013
+ # source://rspec-core//lib/rspec/core/ordering.rb#147
8954
9014
  def initialize; end
8955
9015
 
8956
- # source://rspec-core//lib/rspec/core/ordering.rb#151
9016
+ # source://rspec-core//lib/rspec/core/ordering.rb#190
8957
9017
  def force(hash); end
8958
9018
 
8959
- # source://rspec-core//lib/rspec/core/ordering.rb#136
9019
+ # source://rspec-core//lib/rspec/core/ordering.rb#164
8960
9020
  def order=(type); end
8961
9021
 
8962
9022
  # Returns the value of attribute ordering_registry.
8963
9023
  #
8964
- # source://rspec-core//lib/rspec/core/ordering.rb#117
9024
+ # source://rspec-core//lib/rspec/core/ordering.rb#145
8965
9025
  def ordering_registry; end
8966
9026
 
8967
- # source://rspec-core//lib/rspec/core/ordering.rb#162
9027
+ # source://rspec-core//lib/rspec/core/ordering.rb#201
8968
9028
  def register_ordering(name, strategy = T.unsafe(nil)); end
8969
9029
 
8970
9030
  # Returns the value of attribute seed.
8971
9031
  #
8972
- # source://rspec-core//lib/rspec/core/ordering.rb#117
9032
+ # source://rspec-core//lib/rspec/core/ordering.rb#145
8973
9033
  def seed; end
8974
9034
 
8975
- # source://rspec-core//lib/rspec/core/ordering.rb#130
9035
+ # source://rspec-core//lib/rspec/core/ordering.rb#158
8976
9036
  def seed=(seed); end
8977
9037
 
8978
9038
  # @return [Boolean]
8979
9039
  #
8980
- # source://rspec-core//lib/rspec/core/ordering.rb#126
9040
+ # source://rspec-core//lib/rspec/core/ordering.rb#154
8981
9041
  def seed_used?; end
8982
9042
  end
8983
9043
 
@@ -8996,6 +9056,29 @@ class RSpec::Core::Ordering::Custom
8996
9056
  def order(list); end
8997
9057
  end
8998
9058
 
9059
+ # A strategy which delays looking up the ordering until needed
9060
+ #
9061
+ # @private
9062
+ #
9063
+ # source://rspec-core//lib/rspec/core/ordering.rb#83
9064
+ class RSpec::Core::Ordering::Delayed
9065
+ # @return [Delayed] a new instance of Delayed
9066
+ #
9067
+ # source://rspec-core//lib/rspec/core/ordering.rb#84
9068
+ def initialize(registry, name); end
9069
+
9070
+ # source://rspec-core//lib/rspec/core/ordering.rb#89
9071
+ def order(list); end
9072
+
9073
+ private
9074
+
9075
+ # source://rspec-core//lib/rspec/core/ordering.rb#99
9076
+ def lookup_strategy; end
9077
+
9078
+ # source://rspec-core//lib/rspec/core/ordering.rb#95
9079
+ def strategy; end
9080
+ end
9081
+
8999
9082
  # The default global ordering (defined order).
9000
9083
  #
9001
9084
  # @private
@@ -9054,22 +9137,27 @@ end
9054
9137
  #
9055
9138
  # @private
9056
9139
  #
9057
- # source://rspec-core//lib/rspec/core/ordering.rb#83
9140
+ # source://rspec-core//lib/rspec/core/ordering.rb#107
9058
9141
  class RSpec::Core::Ordering::Registry
9059
9142
  # @return [Registry] a new instance of Registry
9060
9143
  #
9061
- # source://rspec-core//lib/rspec/core/ordering.rb#84
9144
+ # source://rspec-core//lib/rspec/core/ordering.rb#108
9062
9145
  def initialize(configuration); end
9063
9146
 
9064
- # source://rspec-core//lib/rspec/core/ordering.rb#98
9147
+ # source://rspec-core//lib/rspec/core/ordering.rb#122
9065
9148
  def fetch(name, &fallback); end
9066
9149
 
9067
- # source://rspec-core//lib/rspec/core/ordering.rb#102
9150
+ # @return [Boolean]
9151
+ #
9152
+ # source://rspec-core//lib/rspec/core/ordering.rb#126
9153
+ def has_strategy?(name); end
9154
+
9155
+ # source://rspec-core//lib/rspec/core/ordering.rb#130
9068
9156
  def register(sym, strategy); end
9069
9157
 
9070
9158
  # @return [Boolean]
9071
9159
  #
9072
- # source://rspec-core//lib/rspec/core/ordering.rb#106
9160
+ # source://rspec-core//lib/rspec/core/ordering.rb#134
9073
9161
  def used_random_seed?; end
9074
9162
  end
9075
9163
 
@@ -9201,6 +9289,9 @@ class RSpec::Core::OutputWrapper
9201
9289
  # source://rspec-core//lib/rspec/core/output_wrapper.rb#6
9202
9290
  def output=(_arg0); end
9203
9291
 
9292
+ # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9293
+ def path(*args, &block); end
9294
+
9204
9295
  # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9205
9296
  def pathconf(*args, &block); end
9206
9297
 
@@ -9296,12 +9387,21 @@ class RSpec::Core::OutputWrapper
9296
9387
  # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9297
9388
  def tell(*args, &block); end
9298
9389
 
9390
+ # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9391
+ def timeout(*args, &block); end
9392
+
9393
+ # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9394
+ def timeout=(*args, &block); end
9395
+
9299
9396
  # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9300
9397
  def to_i(*args, &block); end
9301
9398
 
9302
9399
  # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9303
9400
  def to_io(*args, &block); end
9304
9401
 
9402
+ # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9403
+ def to_path(*args, &block); end
9404
+
9305
9405
  # source://rspec-core//lib/rspec/core/output_wrapper.rb#23
9306
9406
  def tty?(*args, &block); end
9307
9407
 
@@ -9773,7 +9873,7 @@ class RSpec::Core::Runner
9773
9873
 
9774
9874
  # @private
9775
9875
  #
9776
- # source://rspec-core//lib/rspec/core/runner.rb#190
9876
+ # source://rspec-core//lib/rspec/core/runner.rb#194
9777
9877
  def exit_code(examples_passed = T.unsafe(nil)); end
9778
9878
 
9779
9879
  # @attr_reader
@@ -9816,7 +9916,7 @@ class RSpec::Core::Runner
9816
9916
 
9817
9917
  private
9818
9918
 
9819
- # source://rspec-core//lib/rspec/core/runner.rb#199
9919
+ # source://rspec-core//lib/rspec/core/runner.rb#203
9820
9920
  def persist_example_statuses; end
9821
9921
 
9822
9922
  class << self
@@ -10291,7 +10391,7 @@ end
10291
10391
  # eval'd when the `SharedExampleGroupModule` instance is included in an example
10292
10392
  # group.
10293
10393
  #
10294
- # source://rspec-core//lib/rspec/core/shared_example_group.rb#10
10394
+ # source://rspec-core//lib/rspec/core/shared_example_group.rb#9
10295
10395
  class RSpec::Core::SharedExampleGroupModule < ::Module
10296
10396
  # @return [SharedExampleGroupModule] a new instance of SharedExampleGroupModule
10297
10397
  #