mangrove 0.30.1 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +107 -43
  3. data/lib/mangrove/result.rb +78 -0
  4. data/lib/mangrove/version.rb +1 -1
  5. data/lib/tapioca/dsl/compilers/mangrove_enum.rb +7 -1
  6. data/sorbet/config +1 -0
  7. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  8. data/sorbet/rbi/gems/date@3.4.1.rbi +75 -0
  9. data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +2 -1
  10. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +26 -17
  11. data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.9.1.rbi} +516 -134
  12. data/sorbet/rbi/gems/logger@1.6.5.rbi +940 -0
  13. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +31 -21
  14. data/sorbet/rbi/gems/{parser@3.3.2.0.rbi → parser@3.3.7.0.rbi} +23 -1736
  15. data/sorbet/rbi/gems/{prism@0.29.0.rbi → prism@1.3.0.rbi} +13817 -10401
  16. data/sorbet/rbi/gems/{psych@5.1.2.rbi → psych@5.2.3.rbi} +289 -236
  17. data/sorbet/rbi/gems/{racc@1.8.0.rbi → racc@1.8.1.rbi} +0 -4
  18. data/sorbet/rbi/gems/rbi@0.2.3.rbi +4542 -0
  19. data/sorbet/rbi/gems/rbs@3.8.1.rbi +6882 -0
  20. data/sorbet/rbi/gems/{rdoc@6.7.0.rbi → rdoc@6.11.0.rbi} +1115 -1058
  21. data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.10.0.rbi} +193 -170
  22. data/sorbet/rbi/gems/{rspec-core@3.13.0.rbi → rspec-core@3.13.2.rbi} +146 -280
  23. data/sorbet/rbi/gems/{rspec-expectations@3.13.0.rbi → rspec-expectations@3.13.3.rbi} +323 -294
  24. data/sorbet/rbi/gems/{rspec-mocks@3.13.1.rbi → rspec-mocks@3.13.2.rbi} +46 -46
  25. data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +22 -22
  26. data/sorbet/rbi/gems/ruboclean@0.7.1.rbi +473 -0
  27. data/sorbet/rbi/gems/{rubocop-ast@1.31.3.rbi → rubocop-ast@1.37.0.rbi} +1293 -745
  28. data/sorbet/rbi/gems/{rubocop-rspec@2.30.0.rbi → rubocop-rspec@3.4.0.rbi} +341 -1073
  29. data/sorbet/rbi/gems/{rubocop@1.64.1.rbi → rubocop@1.70.0.rbi} +5693 -3796
  30. data/sorbet/rbi/gems/{simplecov-html@0.12.3.rbi → simplecov-html@0.13.1.rbi} +77 -68
  31. data/sorbet/rbi/gems/{spoom@1.3.2.rbi → spoom@1.5.1.rbi} +2306 -1701
  32. data/sorbet/rbi/gems/{stringio@3.1.0.rbi → stringio@3.1.2.rbi} +1 -0
  33. data/sorbet/rbi/gems/{tapioca@0.14.3.rbi → tapioca@0.16.8.rbi} +411 -332
  34. data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.3.2.rbi} +57 -31
  35. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  36. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  37. data/sorbet/rbi/gems/{webrick@1.8.1.rbi → webrick@1.9.1.rbi} +92 -72
  38. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  39. data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +393 -235
  40. metadata +39 -42
  41. data/sorbet/rbi/gems/rbi@0.1.13.rbi +0 -3078
  42. data/sorbet/rbi/gems/rexml@3.2.8.rbi +0 -4794
  43. data/sorbet/rbi/gems/ruboclean@0.6.0.rbi +0 -315
  44. data/sorbet/rbi/gems/rubocop-capybara@2.20.0.rbi +0 -1208
  45. data/sorbet/rbi/gems/rubocop-factory_bot@2.25.1.rbi +0 -928
  46. data/sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi +0 -911
  47. data/sorbet/rbi/gems/strscan@3.1.0.rbi +0 -9
  48. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
  49. /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
  50. /data/sorbet/rbi/gems/{reline@0.5.8.rbi → reline@0.6.0.rbi} +0 -0
  51. /data/sorbet/rbi/gems/{ruby-lsp@0.17.2.rbi → ruby-lsp@0.23.6.rbi} +0 -0
@@ -269,100 +269,6 @@ class RSpec::Core::BacktraceFormatter
269
269
  def matches?(patterns, line); end
270
270
  end
271
271
 
272
- # @private
273
- #
274
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#3
275
- module RSpec::Core::Bisect; end
276
-
277
- # @private
278
- #
279
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#8
280
- class RSpec::Core::Bisect::BisectFailedError < ::StandardError
281
- class << self
282
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#9
283
- def for_failed_spec_run(spec_output); end
284
- end
285
- end
286
-
287
- # Wraps a pipe to support sending objects between a child and
288
- # parent process. Where supported, encoding is explicitly
289
- # set to ensure binary data is able to pass from child to
290
- # parent.
291
- #
292
- # @private
293
- #
294
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#36
295
- class RSpec::Core::Bisect::Channel
296
- # @return [Channel] a new instance of Channel
297
- #
298
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#41
299
- def initialize; end
300
-
301
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#62
302
- def close; end
303
-
304
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#56
305
- def receive; end
306
-
307
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#50
308
- def send(message); end
309
- end
310
-
311
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#38
312
- RSpec::Core::Bisect::Channel::MARSHAL_DUMP_ENCODING = T.let(T.unsafe(nil), Encoding)
313
-
314
- # @private
315
- #
316
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#5
317
- class RSpec::Core::Bisect::ExampleSetDescriptor < ::Struct
318
- # Returns the value of attribute all_example_ids
319
- #
320
- # @return [Object] the current value of all_example_ids
321
- def all_example_ids; end
322
-
323
- # Sets the attribute all_example_ids
324
- #
325
- # @param value [Object] the value to set the attribute all_example_ids to.
326
- # @return [Object] the newly set value
327
- def all_example_ids=(_); end
328
-
329
- # Returns the value of attribute failed_example_ids
330
- #
331
- # @return [Object] the current value of failed_example_ids
332
- def failed_example_ids; end
333
-
334
- # Sets the attribute failed_example_ids
335
- #
336
- # @param value [Object] the value to set the attribute failed_example_ids to.
337
- # @return [Object] the newly set value
338
- def failed_example_ids=(_); end
339
-
340
- class << self
341
- def [](*_arg0); end
342
- def inspect; end
343
- def keyword_init?; end
344
- def members; end
345
- def new(*_arg0); end
346
- end
347
- end
348
-
349
- # Wraps a `formatter` providing a simple means to notify it in place
350
- # of an `RSpec::Core::Reporter`, without involving configuration in
351
- # any way.
352
- #
353
- # @private
354
- #
355
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#19
356
- class RSpec::Core::Bisect::Notifier
357
- # @return [Notifier] a new instance of Notifier
358
- #
359
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#20
360
- def initialize(formatter); end
361
-
362
- # source://rspec-core//lib/rspec/core/bisect/utilities.rb#24
363
- def publish(event, *args); end
364
- end
365
-
366
272
  # Stores runtime configuration information.
367
273
  #
368
274
  # Configuration options are loaded from multiple files and joined together
@@ -468,7 +374,7 @@ class RSpec::Core::Configuration
468
374
  # @see #before
469
375
  # @see #prepend_before
470
376
  #
471
- # source://rspec-core//lib/rspec/core/configuration.rb#2025
377
+ # source://rspec-core//lib/rspec/core/configuration.rb#2031
472
378
  def after(scope = T.unsafe(nil), *meta, &block); end
473
379
 
474
380
  # Creates a method that defines an example group with the provided
@@ -609,7 +515,7 @@ class RSpec::Core::Configuration
609
515
  # @see #before
610
516
  # @see #prepend_before
611
517
  #
612
- # source://rspec-core//lib/rspec/core/configuration.rb#2055
518
+ # source://rspec-core//lib/rspec/core/configuration.rb#2061
613
519
  def append_after(scope = T.unsafe(nil), *meta, &block); end
614
520
 
615
521
  # Defines a `before` hook. See {Hooks#before} for full docs.
@@ -623,20 +529,20 @@ class RSpec::Core::Configuration
623
529
  # @see #after
624
530
  # @see #append_after
625
531
  #
626
- # source://rspec-core//lib/rspec/core/configuration.rb#1970
532
+ # source://rspec-core//lib/rspec/core/configuration.rb#1976
627
533
  def append_before(scope = T.unsafe(nil), *meta, &block); end
628
534
 
629
535
  # @private
630
536
  # @raise [SystemStackError]
631
537
  #
632
- # source://rspec-core//lib/rspec/core/configuration.rb#1935
538
+ # source://rspec-core//lib/rspec/core/configuration.rb#1941
633
539
  def apply_derived_metadata_to(metadata); end
634
540
 
635
541
  # Registers `block` as an `around` hook.
636
542
  #
637
543
  # See {Hooks#around} for full `around` hook docs.
638
544
  #
639
- # source://rspec-core//lib/rspec/core/configuration.rb#2073
545
+ # source://rspec-core//lib/rspec/core/configuration.rb#2079
640
546
  def around(scope = T.unsafe(nil), *meta, &block); end
641
547
 
642
548
  # Regexps used to exclude lines from backtraces.
@@ -700,7 +606,7 @@ class RSpec::Core::Configuration
700
606
  # @see #after
701
607
  # @see #append_after
702
608
  #
703
- # source://rspec-core//lib/rspec/core/configuration.rb#1970
609
+ # source://rspec-core//lib/rspec/core/configuration.rb#1976
704
610
  def before(scope = T.unsafe(nil), *meta, &block); end
705
611
 
706
612
  # Determines which bisect runner implementation gets used to run subsets
@@ -730,7 +636,7 @@ class RSpec::Core::Configuration
730
636
 
731
637
  # @private
732
638
  #
733
- # source://rspec-core//lib/rspec/core/configuration.rb#2119
639
+ # source://rspec-core//lib/rspec/core/configuration.rb#2125
734
640
  def bisect_runner_class; end
735
641
 
736
642
  # Enables color output if the output is a TTY. As of RSpec 3.6, this is
@@ -788,12 +694,12 @@ class RSpec::Core::Configuration
788
694
  #
789
695
  # @private
790
696
  #
791
- # source://rspec-core//lib/rspec/core/configuration.rb#1577
697
+ # source://rspec-core//lib/rspec/core/configuration.rb#1580
792
698
  def configure_example(example, example_hooks); end
793
699
 
794
700
  # @private
795
701
  #
796
- # source://rspec-core//lib/rspec/core/configuration.rb#1617
702
+ # source://rspec-core//lib/rspec/core/configuration.rb#1622
797
703
  def configure_expectation_framework; end
798
704
 
799
705
  # Used internally to extend a group with modules using `include`, `prepend` and/or
@@ -801,12 +707,12 @@ class RSpec::Core::Configuration
801
707
  #
802
708
  # @private
803
709
  #
804
- # source://rspec-core//lib/rspec/core/configuration.rb#1565
710
+ # source://rspec-core//lib/rspec/core/configuration.rb#1568
805
711
  def configure_group(group); end
806
712
 
807
713
  # @private
808
714
  #
809
- # source://rspec-core//lib/rspec/core/configuration.rb#1611
715
+ # source://rspec-core//lib/rspec/core/configuration.rb#1616
810
716
  def configure_mock_framework; end
811
717
 
812
718
  # The default output color. Defaults to `:white` but can be set to one of
@@ -889,7 +795,7 @@ class RSpec::Core::Configuration
889
795
  # @yieldparam metadata [Hash] original metadata hash from an example or
890
796
  # group. Mutate this in your block as needed.
891
797
  #
892
- # source://rspec-core//lib/rspec/core/configuration.rb#1894
798
+ # source://rspec-core//lib/rspec/core/configuration.rb#1900
893
799
  def define_derived_metadata(*filters, &block); end
894
800
 
895
801
  # Determines where deprecation warnings are printed.
@@ -930,7 +836,7 @@ class RSpec::Core::Configuration
930
836
 
931
837
  # @private
932
838
  #
933
- # source://rspec-core//lib/rspec/core/configuration.rb#1875
839
+ # source://rspec-core//lib/rspec/core/configuration.rb#1881
934
840
  def disable_monkey_patching; end
935
841
 
936
842
  # Enables zero monkey patching mode for RSpec. It removes monkey
@@ -968,12 +874,12 @@ class RSpec::Core::Configuration
968
874
  # (or similar) they will still have monkey patching active
969
875
  # in their test environment from mocha.
970
876
  #
971
- # source://rspec-core//lib/rspec/core/configuration.rb#1867
877
+ # source://rspec-core//lib/rspec/core/configuration.rb#1873
972
878
  def disable_monkey_patching!; end
973
879
 
974
880
  # @private
975
881
  #
976
- # source://rspec-core//lib/rspec/core/configuration.rb#1875
882
+ # source://rspec-core//lib/rspec/core/configuration.rb#1881
977
883
  def disable_monkey_patching=(_arg0); end
978
884
 
979
885
  # Run examples over DRb (default: `false`). RSpec doesn't supply the DRb
@@ -1158,7 +1064,7 @@ class RSpec::Core::Configuration
1158
1064
  # end
1159
1065
  # @param method_name [Symbol] the name of the helper method
1160
1066
  #
1161
- # source://rspec-core//lib/rspec/core/configuration.rb#1805
1067
+ # source://rspec-core//lib/rspec/core/configuration.rb#1811
1162
1068
  def expose_current_running_example_as(method_name); end
1163
1069
 
1164
1070
  # Use this to expose the core RSpec DSL via `Module` and the `main`
@@ -1215,7 +1121,7 @@ class RSpec::Core::Configuration
1215
1121
  # @see #include
1216
1122
  # @see #prepend
1217
1123
  #
1218
- # source://rspec-core//lib/rspec/core/configuration.rb#1515
1124
+ # source://rspec-core//lib/rspec/core/configuration.rb#1518
1219
1125
  def extend(mod, *filters); end
1220
1126
 
1221
1127
  # If specified, indicates the number of failures required before cleaning
@@ -1499,12 +1405,12 @@ class RSpec::Core::Configuration
1499
1405
  # config.format_docstrings { |s| s.strip }
1500
1406
  # end
1501
1407
  #
1502
- # source://rspec-core//lib/rspec/core/configuration.rb#1656
1408
+ # source://rspec-core//lib/rspec/core/configuration.rb#1661
1503
1409
  def format_docstrings(&block); end
1504
1410
 
1505
1411
  # @private
1506
1412
  #
1507
- # source://rspec-core//lib/rspec/core/configuration.rb#1661
1413
+ # source://rspec-core//lib/rspec/core/configuration.rb#1666
1508
1414
  def format_docstrings_block; end
1509
1415
 
1510
1416
  # Adds a formatter to the set RSpec will use for this run.
@@ -1580,12 +1486,12 @@ class RSpec::Core::Configuration
1580
1486
  #
1581
1487
  # @private
1582
1488
  #
1583
- # source://rspec-core//lib/rspec/core/configuration.rb#2103
1489
+ # source://rspec-core//lib/rspec/core/configuration.rb#2109
1584
1490
  def hooks; end
1585
1491
 
1586
1492
  # @private
1587
1493
  #
1588
- # source://rspec-core//lib/rspec/core/configuration.rb#1602
1494
+ # source://rspec-core//lib/rspec/core/configuration.rb#1607
1589
1495
  def in_project_source_dir_regex; end
1590
1496
 
1591
1497
  # Tells RSpec to include `mod` in example groups. Methods defined in
@@ -1620,6 +1526,9 @@ class RSpec::Core::Configuration
1620
1526
  #
1621
1527
  # # included in examples with `:type => :request` metadata
1622
1528
  # config.include(AuthenticationHelpers, :type => :request)
1529
+ #
1530
+ # # included in examples where the `:type` metadata matches a proc condition
1531
+ # config.include(AuthenticationHelpers, :type => proc { |type, _metadata| [:request, :controller].include?(type) })
1623
1532
  # end
1624
1533
  #
1625
1534
  # describe "edit profile", :preferences, :type => :request do
@@ -1639,7 +1548,7 @@ class RSpec::Core::Configuration
1639
1548
  # @see #extend
1640
1549
  # @see #prepend
1641
1550
  #
1642
- # source://rspec-core//lib/rspec/core/configuration.rb#1425
1551
+ # source://rspec-core//lib/rspec/core/configuration.rb#1428
1643
1552
  def include(mod, *filters); end
1644
1553
 
1645
1554
  # Tells RSpec to include the named shared example group in example groups.
@@ -1682,7 +1591,7 @@ class RSpec::Core::Configuration
1682
1591
  # example.
1683
1592
  # @see #include
1684
1593
  #
1685
- # source://rspec-core//lib/rspec/core/configuration.rb#1472
1594
+ # source://rspec-core//lib/rspec/core/configuration.rb#1475
1686
1595
  def include_context(shared_group_name, *filters); end
1687
1596
 
1688
1597
  # Returns the `inclusion_filter`. If none has been set, returns an empty
@@ -1722,7 +1631,7 @@ class RSpec::Core::Configuration
1722
1631
 
1723
1632
  # @private
1724
1633
  #
1725
- # source://rspec-core//lib/rspec/core/configuration.rb#1625
1634
+ # source://rspec-core//lib/rspec/core/configuration.rb#1630
1726
1635
  def load_spec_files; end
1727
1636
 
1728
1637
  # @private
@@ -1794,14 +1703,14 @@ class RSpec::Core::Configuration
1794
1703
 
1795
1704
  # Invokes block before defining an example group
1796
1705
  #
1797
- # source://rspec-core//lib/rspec/core/configuration.rb#2108
1706
+ # source://rspec-core//lib/rspec/core/configuration.rb#2114
1798
1707
  def on_example_group_definition(&block); end
1799
1708
 
1800
1709
  # Returns an array of blocks to call before defining an example group
1801
1710
  #
1802
1711
  # @api private
1803
1712
  #
1804
- # source://rspec-core//lib/rspec/core/configuration.rb#2114
1713
+ # source://rspec-core//lib/rspec/core/configuration.rb#2120
1805
1714
  def on_example_group_definition_callbacks; end
1806
1715
 
1807
1716
  # Indicates if the `--only-failures` (or `--next-failure`) flag is being used.
@@ -1827,7 +1736,7 @@ class RSpec::Core::Configuration
1827
1736
  #
1828
1737
  # @see #register_ordering
1829
1738
  #
1830
- # source://rspec-core//lib/rspec/core/configuration.rb#1668
1739
+ # source://rspec-core//lib/rspec/core/configuration.rb#1673
1831
1740
  def order=(*args, &block); end
1832
1741
 
1833
1742
  # @private
@@ -1835,7 +1744,7 @@ class RSpec::Core::Configuration
1835
1744
  # source://rspec-core//lib/rspec/core/configuration.rb#522
1836
1745
  def ordering_manager; end
1837
1746
 
1838
- # source://rspec-core//lib/rspec/core/configuration.rb#1668
1747
+ # source://rspec-core//lib/rspec/core/configuration.rb#1673
1839
1748
  def ordering_registry(*args, &block); end
1840
1749
 
1841
1750
  # Determines where RSpec will send its output.
@@ -1945,7 +1854,7 @@ class RSpec::Core::Configuration
1945
1854
  # @see #include
1946
1855
  # @see #extend
1947
1856
  #
1948
- # source://rspec-core//lib/rspec/core/configuration.rb#1554
1857
+ # source://rspec-core//lib/rspec/core/configuration.rb#1557
1949
1858
  def prepend(mod, *filters); end
1950
1859
 
1951
1860
  # Defines a `after` hook. See {Hooks#after} for full docs.
@@ -1959,7 +1868,7 @@ class RSpec::Core::Configuration
1959
1868
  # @see #before
1960
1869
  # @see #prepend_before
1961
1870
  #
1962
- # source://rspec-core//lib/rspec/core/configuration.rb#2025
1871
+ # source://rspec-core//lib/rspec/core/configuration.rb#2031
1963
1872
  def prepend_after(scope = T.unsafe(nil), *meta, &block); end
1964
1873
 
1965
1874
  # Adds `block` to the start of the list of `before` blocks in the same
@@ -1977,7 +1886,7 @@ class RSpec::Core::Configuration
1977
1886
  # @see #after
1978
1887
  # @see #append_after
1979
1888
  #
1980
- # source://rspec-core//lib/rspec/core/configuration.rb#2000
1889
+ # source://rspec-core//lib/rspec/core/configuration.rb#2006
1981
1890
  def prepend_before(scope = T.unsafe(nil), *meta, &block); end
1982
1891
 
1983
1892
  # Defaults `profile_examples` to 10 examples when `@profile_examples` is
@@ -2037,11 +1946,12 @@ class RSpec::Core::Configuration
2037
1946
  # rspec.raise_errors_for_deprecations!
2038
1947
  # end
2039
1948
  #
2040
- # source://rspec-core//lib/rspec/core/configuration.rb#1827
1949
+ # source://rspec-core//lib/rspec/core/configuration.rb#1833
2041
1950
  def raise_errors_for_deprecations!; end
2042
1951
 
2043
- # Turns warnings into errors. This can be useful when
1952
+ # Turns RSpec warnings into errors. This can be useful when
2044
1953
  # you want RSpec to run in a 'strict' no warning situation.
1954
+ # (Note this does not capture or raise on Ruby warnings).
2045
1955
  #
2046
1956
  # @example
2047
1957
  #
@@ -2049,7 +1959,7 @@ class RSpec::Core::Configuration
2049
1959
  # rspec.raise_on_warning = true
2050
1960
  # end
2051
1961
  #
2052
- # source://rspec-core//lib/rspec/core/configuration.rb#1775
1962
+ # source://rspec-core//lib/rspec/core/configuration.rb#1781
2053
1963
  def raise_on_warning=(value); end
2054
1964
 
2055
1965
  # Registers a named ordering strategy that can later be
@@ -2091,7 +2001,7 @@ class RSpec::Core::Configuration
2091
2001
  # @yieldparam list [Array<RSpec::Core::Example>, Array<RSpec::Core::ExampleGroup>] The examples or groups to order
2092
2002
  # @yieldreturn [Array<RSpec::Core::Example>, Array<RSpec::Core::ExampleGroup>] The re-ordered examples or groups
2093
2003
  #
2094
- # source://rspec-core//lib/rspec/core/configuration.rb#1668
2004
+ # source://rspec-core//lib/rspec/core/configuration.rb#1673
2095
2005
  def register_ordering(*args, &block); end
2096
2006
 
2097
2007
  # @return [RSpec::Core::Reporter] the currently configured reporter
@@ -2108,7 +2018,7 @@ class RSpec::Core::Configuration
2108
2018
 
2109
2019
  # @private
2110
2020
  #
2111
- # source://rspec-core//lib/rspec/core/configuration.rb#1594
2021
+ # source://rspec-core//lib/rspec/core/configuration.rb#1597
2112
2022
  def requires=(paths); end
2113
2023
 
2114
2024
  # @private
@@ -2159,15 +2069,15 @@ class RSpec::Core::Configuration
2159
2069
  # We recommend, actually, that you use the command line approach so you
2160
2070
  # don't accidentally leave the seed encoded.
2161
2071
  #
2162
- # source://rspec-core//lib/rspec/core/configuration.rb#1668
2072
+ # source://rspec-core//lib/rspec/core/configuration.rb#1673
2163
2073
  def seed(*args, &block); end
2164
2074
 
2165
2075
  # Sets the seed value and sets the default global ordering to random.
2166
2076
  #
2167
- # source://rspec-core//lib/rspec/core/configuration.rb#1668
2077
+ # source://rspec-core//lib/rspec/core/configuration.rb#1673
2168
2078
  def seed=(*args, &block); end
2169
2079
 
2170
- # source://rspec-core//lib/rspec/core/configuration.rb#1668
2080
+ # source://rspec-core//lib/rspec/core/configuration.rb#1673
2171
2081
  def seed_used?(*args, &block); end
2172
2082
 
2173
2083
  # Configures how RSpec treats metadata passed as part of a shared example
@@ -2313,12 +2223,12 @@ class RSpec::Core::Configuration
2313
2223
 
2314
2224
  # Set Ruby warnings on or off.
2315
2225
  #
2316
- # source://rspec-core//lib/rspec/core/configuration.rb#1755
2226
+ # source://rspec-core//lib/rspec/core/configuration.rb#1760
2317
2227
  def warnings=(value); end
2318
2228
 
2319
2229
  # @return [Boolean] Whether or not ruby warnings are enabled.
2320
2230
  #
2321
- # source://rspec-core//lib/rspec/core/configuration.rb#1760
2231
+ # source://rspec-core//lib/rspec/core/configuration.rb#1765
2322
2232
  def warnings?; end
2323
2233
 
2324
2234
  # Defines a callback that runs after the first example with matching
@@ -2340,12 +2250,12 @@ class RSpec::Core::Configuration
2340
2250
  # end
2341
2251
  # end
2342
2252
  #
2343
- # source://rspec-core//lib/rspec/core/configuration.rb#1917
2253
+ # source://rspec-core//lib/rspec/core/configuration.rb#1923
2344
2254
  def when_first_matching_example_defined(*filters); end
2345
2255
 
2346
2256
  # @private
2347
2257
  #
2348
- # source://rspec-core//lib/rspec/core/configuration.rb#2085
2258
+ # source://rspec-core//lib/rspec/core/configuration.rb#2091
2349
2259
  def with_suite_hooks; end
2350
2260
 
2351
2261
  # @private
@@ -2364,111 +2274,111 @@ class RSpec::Core::Configuration
2364
2274
  #
2365
2275
  # @return [Boolean]
2366
2276
  #
2367
- # source://rspec-core//lib/rspec/core/configuration.rb#2248
2277
+ # source://rspec-core//lib/rspec/core/configuration.rb#2254
2368
2278
  def absolute_pattern?(pattern); end
2369
2279
 
2370
- # source://rspec-core//lib/rspec/core/configuration.rb#2349
2280
+ # source://rspec-core//lib/rspec/core/configuration.rb#2355
2371
2281
  def add_hook_to_existing_matching_groups(meta, scope, &block); end
2372
2282
 
2373
2283
  # @raise [MustBeConfiguredBeforeExampleGroupsError]
2374
2284
  #
2375
- # source://rspec-core//lib/rspec/core/configuration.rb#2288
2285
+ # source://rspec-core//lib/rspec/core/configuration.rb#2294
2376
2286
  def assert_no_example_groups_defined(config_option); end
2377
2287
 
2378
- # source://rspec-core//lib/rspec/core/configuration.rb#2338
2288
+ # source://rspec-core//lib/rspec/core/configuration.rb#2344
2379
2289
  def clear_values_derived_from_example_status_persistence_file_path; end
2380
2290
 
2381
- # source://rspec-core//lib/rspec/core/configuration.rb#2270
2291
+ # source://rspec-core//lib/rspec/core/configuration.rb#2276
2382
2292
  def command; end
2383
2293
 
2384
- # source://rspec-core//lib/rspec/core/configuration.rb#2314
2294
+ # source://rspec-core//lib/rspec/core/configuration.rb#2320
2385
2295
  def conditionally_disable_expectations_monkey_patching; end
2386
2296
 
2387
- # source://rspec-core//lib/rspec/core/configuration.rb#2305
2297
+ # source://rspec-core//lib/rspec/core/configuration.rb#2311
2388
2298
  def conditionally_disable_mocks_monkey_patching; end
2389
2299
 
2390
- # source://rspec-core//lib/rspec/core/configuration.rb#2343
2300
+ # source://rspec-core//lib/rspec/core/configuration.rb#2349
2391
2301
  def configure_group_with(group, module_list, application_method); end
2392
2302
 
2393
- # source://rspec-core//lib/rspec/core/configuration.rb#2278
2303
+ # source://rspec-core//lib/rspec/core/configuration.rb#2284
2394
2304
  def define_built_in_hooks; end
2395
2305
 
2396
- # source://rspec-core//lib/rspec/core/configuration.rb#2401
2306
+ # source://rspec-core//lib/rspec/core/configuration.rb#2407
2397
2307
  def define_mixed_in_module(mod, filters, mod_list, config_method, &block); end
2398
2308
 
2399
- # source://rspec-core//lib/rspec/core/configuration.rb#2253
2309
+ # source://rspec-core//lib/rspec/core/configuration.rb#2259
2400
2310
  def extract_location(path); end
2401
2311
 
2402
- # source://rspec-core//lib/rspec/core/configuration.rb#2230
2312
+ # source://rspec-core//lib/rspec/core/configuration.rb#2236
2403
2313
  def file_glob_from(path, pattern); end
2404
2314
 
2405
- # source://rspec-core//lib/rspec/core/configuration.rb#2219
2315
+ # source://rspec-core//lib/rspec/core/configuration.rb#2225
2406
2316
  def gather_directories(path); end
2407
2317
 
2408
- # source://rspec-core//lib/rspec/core/configuration.rb#2198
2318
+ # source://rspec-core//lib/rspec/core/configuration.rb#2204
2409
2319
  def get_files_to_run(paths); end
2410
2320
 
2411
- # source://rspec-core//lib/rspec/core/configuration.rb#2225
2321
+ # source://rspec-core//lib/rspec/core/configuration.rb#2231
2412
2322
  def get_matching_files(path, pattern); end
2413
2323
 
2414
- # source://rspec-core//lib/rspec/core/configuration.rb#2165
2324
+ # source://rspec-core//lib/rspec/core/configuration.rb#2171
2415
2325
  def handle_suite_hook(scope, meta); end
2416
2326
 
2417
- # source://rspec-core//lib/rspec/core/configuration.rb#2137
2327
+ # source://rspec-core//lib/rspec/core/configuration.rb#2143
2418
2328
  def load_file_handling_errors(method, file); end
2419
2329
 
2420
2330
  # @return [Boolean]
2421
2331
  #
2422
- # source://rspec-core//lib/rspec/core/configuration.rb#2371
2332
+ # source://rspec-core//lib/rspec/core/configuration.rb#2377
2423
2333
  def metadata_applies_to_group?(meta, group); end
2424
2334
 
2425
- # source://rspec-core//lib/rspec/core/configuration.rb#2363
2335
+ # source://rspec-core//lib/rspec/core/configuration.rb#2369
2426
2336
  def on_existing_matching_groups(meta); end
2427
2337
 
2428
2338
  # @return [Boolean]
2429
2339
  #
2430
- # source://rspec-core//lib/rspec/core/configuration.rb#2301
2340
+ # source://rspec-core//lib/rspec/core/configuration.rb#2307
2431
2341
  def output_to_tty?(output = T.unsafe(nil)); end
2432
2342
 
2433
- # source://rspec-core//lib/rspec/core/configuration.rb#2297
2343
+ # source://rspec-core//lib/rspec/core/configuration.rb#2303
2434
2344
  def output_wrapper; end
2435
2345
 
2436
- # source://rspec-core//lib/rspec/core/configuration.rb#2210
2346
+ # source://rspec-core//lib/rspec/core/configuration.rb#2216
2437
2347
  def paths_to_check(paths); end
2438
2348
 
2439
2349
  # @return [Boolean]
2440
2350
  #
2441
- # source://rspec-core//lib/rspec/core/configuration.rb#2215
2351
+ # source://rspec-core//lib/rspec/core/configuration.rb#2221
2442
2352
  def pattern_might_load_specs_from_vendored_dirs?; end
2443
2353
 
2444
2354
  # @return [Boolean]
2445
2355
  #
2446
- # source://rspec-core//lib/rspec/core/configuration.rb#2324
2356
+ # source://rspec-core//lib/rspec/core/configuration.rb#2330
2447
2357
  def rspec_expectations_loaded?; end
2448
2358
 
2449
2359
  # @return [Boolean]
2450
2360
  #
2451
- # source://rspec-core//lib/rspec/core/configuration.rb#2320
2361
+ # source://rspec-core//lib/rspec/core/configuration.rb#2326
2452
2362
  def rspec_mocks_loaded?; end
2453
2363
 
2454
- # source://rspec-core//lib/rspec/core/configuration.rb#2180
2364
+ # source://rspec-core//lib/rspec/core/configuration.rb#2186
2455
2365
  def run_suite_hooks(hook_description, hooks); end
2456
2366
 
2457
- # source://rspec-core//lib/rspec/core/configuration.rb#2386
2367
+ # source://rspec-core//lib/rspec/core/configuration.rb#2392
2458
2368
  def safe_extend(mod, host); end
2459
2369
 
2460
2370
  # :nocov:
2461
2371
  #
2462
- # source://rspec-core//lib/rspec/core/configuration.rb#2382
2372
+ # source://rspec-core//lib/rspec/core/configuration.rb#2388
2463
2373
  def safe_include(mod, host); end
2464
2374
 
2465
- # source://rspec-core//lib/rspec/core/configuration.rb#2376
2375
+ # source://rspec-core//lib/rspec/core/configuration.rb#2382
2466
2376
  def safe_prepend(mod, host); end
2467
2377
 
2468
- # source://rspec-core//lib/rspec/core/configuration.rb#2328
2378
+ # source://rspec-core//lib/rspec/core/configuration.rb#2334
2469
2379
  def update_pattern_attr(name, value); end
2470
2380
 
2471
- # source://rspec-core//lib/rspec/core/configuration.rb#2274
2381
+ # source://rspec-core//lib/rspec/core/configuration.rb#2280
2472
2382
  def value_for(key); end
2473
2383
 
2474
2384
  class << self
@@ -2504,14 +2414,14 @@ class RSpec::Core::Configuration
2504
2414
 
2505
2415
  # @private
2506
2416
  #
2507
- # source://rspec-core//lib/rspec/core/configuration.rb#1666
2417
+ # source://rspec-core//lib/rspec/core/configuration.rb#1671
2508
2418
  def delegate_to_ordering_manager(*methods); end
2509
2419
  end
2510
2420
  end
2511
2421
 
2512
2422
  # @private
2513
2423
  #
2514
- # source://rspec-core//lib/rspec/core/configuration.rb#1646
2424
+ # source://rspec-core//lib/rspec/core/configuration.rb#1651
2515
2425
  RSpec::Core::Configuration::DEFAULT_FORMATTER = T.let(T.unsafe(nil), Proc)
2516
2426
 
2517
2427
  # This buffer is used to capture all messages sent to the reporter during
@@ -2537,7 +2447,7 @@ end
2537
2447
 
2538
2448
  # @private
2539
2449
  #
2540
- # source://rspec-core//lib/rspec/core/configuration.rb#1815
2450
+ # source://rspec-core//lib/rspec/core/configuration.rb#1821
2541
2451
  module RSpec::Core::Configuration::ExposeCurrentExample; end
2542
2452
 
2543
2453
  # @private
@@ -2567,7 +2477,7 @@ RSpec::Core::Configuration::PENDING_STATUS = T.let(T.unsafe(nil), String)
2567
2477
 
2568
2478
  # @private
2569
2479
  #
2570
- # source://rspec-core//lib/rspec/core/configuration.rb#1765
2480
+ # source://rspec-core//lib/rspec/core/configuration.rb#1770
2571
2481
  RSpec::Core::Configuration::RAISE_ERROR_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
2572
2482
 
2573
2483
  # Module that holds `attr_reader` declarations. It's in a separate
@@ -2737,7 +2647,9 @@ class RSpec::Core::ConfigurationOptions
2737
2647
  # source://rspec-core//lib/rspec/core/configuration_options.rb#146
2738
2648
  def custom_options; end
2739
2649
 
2740
- # source://rspec-core//lib/rspec/core/configuration_options.rb#188
2650
+ # :nocov:
2651
+ #
2652
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#190
2741
2653
  def custom_options_file; end
2742
2654
 
2743
2655
  # source://rspec-core//lib/rspec/core/configuration_options.rb#133
@@ -2754,10 +2666,10 @@ class RSpec::Core::ConfigurationOptions
2754
2666
  # source://rspec-core//lib/rspec/core/configuration_options.rb#158
2755
2667
  def global_options; end
2756
2668
 
2757
- # source://rspec-core//lib/rspec/core/configuration_options.rb#200
2669
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#202
2758
2670
  def global_options_file; end
2759
2671
 
2760
- # source://rspec-core//lib/rspec/core/configuration_options.rb#211
2672
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#213
2761
2673
  def home_options_file_path; end
2762
2674
 
2763
2675
  # source://rspec-core//lib/rspec/core/configuration_options.rb#121
@@ -2766,10 +2678,12 @@ class RSpec::Core::ConfigurationOptions
2766
2678
  # source://rspec-core//lib/rspec/core/configuration_options.rb#150
2767
2679
  def local_options; end
2768
2680
 
2769
- # source://rspec-core//lib/rspec/core/configuration_options.rb#196
2681
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#198
2770
2682
  def local_options_file; end
2771
2683
 
2772
- # source://rspec-core//lib/rspec/core/configuration_options.rb#180
2684
+ # :nocov:
2685
+ #
2686
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#181
2773
2687
  def options_file_as_erb_string(path); end
2774
2688
 
2775
2689
  # source://rspec-core//lib/rspec/core/configuration_options.rb#162
@@ -2790,16 +2704,16 @@ class RSpec::Core::ConfigurationOptions
2790
2704
  # source://rspec-core//lib/rspec/core/configuration_options.rb#154
2791
2705
  def project_options; end
2792
2706
 
2793
- # source://rspec-core//lib/rspec/core/configuration_options.rb#192
2707
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#194
2794
2708
  def project_options_file; end
2795
2709
 
2796
- # source://rspec-core//lib/rspec/core/configuration_options.rb#227
2710
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#229
2797
2711
  def resolve_xdg_config_home; end
2798
2712
 
2799
- # source://rspec-core//lib/rspec/core/configuration_options.rb#204
2713
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#206
2800
2714
  def xdg_options_file_if_exists; end
2801
2715
 
2802
- # source://rspec-core//lib/rspec/core/configuration_options.rb#220
2716
+ # source://rspec-core//lib/rspec/core/configuration_options.rb#222
2803
2717
  def xdg_options_file_path; end
2804
2718
  end
2805
2719
 
@@ -2907,8 +2821,9 @@ class RSpec::Core::DidYouMean
2907
2821
  def initialize(relative_file_name); end
2908
2822
 
2909
2823
  # return a hint if API for ::DidYouMean::SpellChecker not supported
2824
+ # :nocov:
2910
2825
  #
2911
- # source://rspec-core//lib/rspec/core/did_you_mean.rb#14
2826
+ # source://rspec-core//lib/rspec/core/did_you_mean.rb#15
2912
2827
  def call; end
2913
2828
 
2914
2829
  # Returns the value of attribute relative_file_name.
@@ -2918,13 +2833,15 @@ class RSpec::Core::DidYouMean
2918
2833
 
2919
2834
  private
2920
2835
 
2921
- # source://rspec-core//lib/rspec/core/did_you_mean.rb#30
2836
+ # :nocov:
2837
+ #
2838
+ # source://rspec-core//lib/rspec/core/did_you_mean.rb#35
2922
2839
  def formats(probables); end
2923
2840
 
2924
- # source://rspec-core//lib/rspec/core/did_you_mean.rb#40
2841
+ # source://rspec-core//lib/rspec/core/did_you_mean.rb#45
2925
2842
  def red_font(mytext); end
2926
2843
 
2927
- # source://rspec-core//lib/rspec/core/did_you_mean.rb#35
2844
+ # source://rspec-core//lib/rspec/core/did_you_mean.rb#40
2928
2845
  def top_and_tail(rspec_format); end
2929
2846
  end
2930
2847
 
@@ -4820,38 +4737,6 @@ module RSpec::Core::Formatters
4820
4737
  end
4821
4738
  end
4822
4739
 
4823
- # Contains common logic for formatters used by `--bisect` to communicate results
4824
- # back to the bisect runner.
4825
- #
4826
- # Subclasses must define a `notify_results(all_example_ids, failed_example_ids)`
4827
- # method.
4828
- #
4829
- # @private
4830
- #
4831
- # source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#12
4832
- class RSpec::Core::Formatters::BaseBisectFormatter
4833
- # @return [BaseBisectFormatter] a new instance of BaseBisectFormatter
4834
- #
4835
- # source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#17
4836
- def initialize(expected_failures); end
4837
-
4838
- # source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#23
4839
- def example_failed(notification); end
4840
-
4841
- # source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#27
4842
- def example_finished(notification); end
4843
-
4844
- # source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#37
4845
- def start_dump(_notification); end
4846
-
4847
- class << self
4848
- # @private
4849
- #
4850
- # source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#13
4851
- def inherited(formatter); end
4852
- end
4853
- end
4854
-
4855
4740
  # RSpec's built-in formatters are all subclasses of
4856
4741
  # RSpec::Core::Formatters::BaseFormatter.
4857
4742
  #
@@ -4976,27 +4861,6 @@ class RSpec::Core::Formatters::BaseTextFormatter < ::RSpec::Core::Formatters::Ba
4976
4861
  def seed(notification); end
4977
4862
  end
4978
4863
 
4979
- # Used by `--bisect`. When it shells out and runs a portion of the suite, it uses
4980
- # this formatter as a means to have the status reported back to it, via DRb.
4981
- #
4982
- # Note that since DRb calls carry considerable overhead compared to normal
4983
- # method calls, we try to minimize the number of DRb calls for perf reasons,
4984
- # opting to communicate only at the start and the end of the run, rather than
4985
- # after each example.
4986
- #
4987
- # @private
4988
- #
4989
- # source://rspec-core//lib/rspec/core/formatters/bisect_drb_formatter.rb#15
4990
- class RSpec::Core::Formatters::BisectDRbFormatter < ::RSpec::Core::Formatters::BaseBisectFormatter
4991
- # @return [BisectDRbFormatter] a new instance of BisectDRbFormatter
4992
- #
4993
- # source://rspec-core//lib/rspec/core/formatters/bisect_drb_formatter.rb#16
4994
- def initialize(_output); end
4995
-
4996
- # source://rspec-core//lib/rspec/core/formatters/bisect_drb_formatter.rb#23
4997
- def notify_results(results); end
4998
- end
4999
-
5000
4864
  # ConsoleCodes provides helpers for formatting console output
5001
4865
  # with ANSI codes, e.g. color's and bold.
5002
4866
  #
@@ -5400,7 +5264,7 @@ class RSpec::Core::Formatters::ExceptionPresenter
5400
5264
 
5401
5265
  private
5402
5266
 
5403
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#224
5267
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#226
5404
5268
  def add_shared_group_lines(lines, colorizer); end
5405
5269
 
5406
5270
  # Returns the value of attribute backtrace_formatter.
@@ -5413,9 +5277,9 @@ class RSpec::Core::Formatters::ExceptionPresenter
5413
5277
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#12
5414
5278
  def detail_formatter; end
5415
5279
 
5416
- # for 1.8.7
5280
+ # :nocov:
5417
5281
  #
5418
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#282
5282
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#286
5419
5283
  def encoded_description(description); end
5420
5284
 
5421
5285
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#120
@@ -5426,16 +5290,18 @@ class RSpec::Core::Formatters::ExceptionPresenter
5426
5290
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#116
5427
5291
  def encoding_of(string); end
5428
5292
 
5429
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#292
5293
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#298
5430
5294
  def exception_backtrace; end
5431
5295
 
5432
5296
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#150
5433
5297
  def exception_class_name(exception = T.unsafe(nil)); end
5434
5298
 
5435
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#202
5299
+ # :nocov:
5300
+ #
5301
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#204
5436
5302
  def exception_lines; end
5437
5303
 
5438
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#184
5304
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#185
5439
5305
  def exception_message_string(exception); end
5440
5306
 
5441
5307
  # Returns the value of attribute extra_detail_formatter.
@@ -5443,7 +5309,7 @@ class RSpec::Core::Formatters::ExceptionPresenter
5443
5309
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#12
5444
5310
  def extra_detail_formatter; end
5445
5311
 
5446
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#213
5312
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#215
5447
5313
  def extra_failure_lines; end
5448
5314
 
5449
5315
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#156
@@ -5455,10 +5321,10 @@ class RSpec::Core::Formatters::ExceptionPresenter
5455
5321
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#104
5456
5322
  def final_exception(exception, previous = T.unsafe(nil)); end
5457
5323
 
5458
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#258
5324
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#262
5459
5325
  def find_failed_line; end
5460
5326
 
5461
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#273
5327
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#277
5462
5328
  def formatted_message_and_backtrace(colorizer); end
5463
5329
 
5464
5330
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#134
@@ -5469,7 +5335,7 @@ class RSpec::Core::Formatters::ExceptionPresenter
5469
5335
  # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#12
5470
5336
  def message_color; end
5471
5337
 
5472
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#234
5338
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#236
5473
5339
  def read_failed_lines; end
5474
5340
  end
5475
5341
 
@@ -5480,49 +5346,49 @@ end
5480
5346
  #
5481
5347
  # @private
5482
5348
  #
5483
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#301
5349
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#307
5484
5350
  class RSpec::Core::Formatters::ExceptionPresenter::Factory
5485
5351
  # @return [Factory] a new instance of Factory
5486
5352
  #
5487
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#308
5353
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#314
5488
5354
  def initialize(example); end
5489
5355
 
5490
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#302
5356
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#308
5491
5357
  def build; end
5492
5358
 
5493
5359
  private
5494
5360
 
5495
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#363
5361
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#369
5496
5362
  def multiple_exception_summarizer(exception, prior_detail_formatter, color); end
5497
5363
 
5498
5364
  # @return [Boolean]
5499
5365
  #
5500
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#359
5366
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#365
5501
5367
  def multiple_exceptions_error?(exception); end
5502
5368
 
5503
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#318
5369
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#324
5504
5370
  def options; end
5505
5371
 
5506
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#322
5372
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#328
5507
5373
  def pending_options; end
5508
5374
 
5509
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#384
5375
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#390
5510
5376
  def sub_failure_list_formatter(exception, message_color); end
5511
5377
 
5512
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#343
5378
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#349
5513
5379
  def with_multiple_error_options_as_needed(exception, options); end
5514
5380
  end
5515
5381
 
5516
5382
  # @private
5517
5383
  #
5518
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#417
5384
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#423
5519
5385
  class RSpec::Core::Formatters::ExceptionPresenter::Factory::CommonBacktraceTruncater
5520
5386
  # @return [CommonBacktraceTruncater] a new instance of CommonBacktraceTruncater
5521
5387
  #
5522
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#418
5388
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#424
5523
5389
  def initialize(parent); end
5524
5390
 
5525
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#422
5391
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#428
5526
5392
  def with_truncated_backtrace(child); end
5527
5393
  end
5528
5394
 
@@ -5531,17 +5397,17 @@ end
5531
5397
  #
5532
5398
  # @private
5533
5399
  #
5534
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#410
5400
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#416
5535
5401
  module RSpec::Core::Formatters::ExceptionPresenter::Factory::EmptyBacktraceFormatter
5536
5402
  class << self
5537
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#411
5403
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#417
5538
5404
  def format_backtrace(*_arg0); end
5539
5405
  end
5540
5406
  end
5541
5407
 
5542
5408
  # @private
5543
5409
  #
5544
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#442
5410
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#448
5545
5411
  RSpec::Core::Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER = T.let(T.unsafe(nil), Proc)
5546
5412
 
5547
5413
  # @private
@@ -8170,57 +8036,57 @@ end
8170
8036
  # individual spec has multiple exceptions, such as one in the `it` block
8171
8037
  # and one in an `after` block.
8172
8038
  #
8173
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#452
8039
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#458
8174
8040
  class RSpec::Core::MultipleExceptionError < ::StandardError
8175
8041
  include ::RSpec::Core::MultipleExceptionError::InterfaceTag
8176
8042
 
8177
8043
  # @param exceptions [Array<Exception>] The initial list of exceptions.
8178
8044
  # @return [MultipleExceptionError] a new instance of MultipleExceptionError
8179
8045
  #
8180
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#513
8046
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#519
8181
8047
  def initialize(*exceptions); end
8182
8048
 
8183
8049
  # @return [nil] Provided only for interface compatibility with
8184
8050
  # `RSpec::Expectations::MultipleExpectationsNotMetError`.
8185
8051
  #
8186
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#510
8052
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#516
8187
8053
  def aggregation_block_label; end
8188
8054
 
8189
8055
  # @return [Hash] Metadata used by RSpec for formatting purposes.
8190
8056
  #
8191
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#506
8057
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#512
8192
8058
  def aggregation_metadata; end
8193
8059
 
8194
8060
  # @return [Array<Exception>] The list of failures and other exceptions, combined.
8195
8061
  #
8196
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#503
8062
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#509
8197
8063
  def all_exceptions; end
8198
8064
 
8199
8065
  # return [String] A description of the failure/error counts.
8200
8066
  #
8201
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#538
8067
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#544
8202
8068
  def exception_count_description; end
8203
8069
 
8204
8070
  # @return [Array<Exception>] The list of failures.
8205
8071
  #
8206
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#497
8072
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#503
8207
8073
  def failures; end
8208
8074
 
8209
8075
  # @note RSpec does not actually use this -- instead it formats each exception
8210
8076
  # individually.
8211
8077
  # @return [String] Combines all the exception messages into a single string.
8212
8078
  #
8213
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#528
8079
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#534
8214
8080
  def message; end
8215
8081
 
8216
8082
  # @return [Array<Exception>] The list of other errors.
8217
8083
  #
8218
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#500
8084
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#506
8219
8085
  def other_errors; end
8220
8086
 
8221
8087
  # @return [String] A summary of the failure, including the block label and a count of failures.
8222
8088
  #
8223
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#533
8089
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#539
8224
8090
  def summary; end
8225
8091
  end
8226
8092
 
@@ -8231,14 +8097,14 @@ end
8231
8097
  #
8232
8098
  # @private
8233
8099
  #
8234
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#458
8100
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#464
8235
8101
  module RSpec::Core::MultipleExceptionError::InterfaceTag
8236
8102
  # Appends the provided exception to the list.
8237
8103
  #
8238
8104
  # @param exception [Exception] Exception to append to the list.
8239
8105
  # @private
8240
8106
  #
8241
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#462
8107
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#468
8242
8108
  def add(exception); end
8243
8109
 
8244
8110
  class << self
@@ -8248,7 +8114,7 @@ module RSpec::Core::MultipleExceptionError::InterfaceTag
8248
8114
  #
8249
8115
  # @private
8250
8116
  #
8251
- # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#488
8117
+ # source://rspec-core//lib/rspec/core/formatters/exception_presenter.rb#494
8252
8118
  def for(ex); end
8253
8119
  end
8254
8120
  end
@@ -9449,16 +9315,16 @@ class RSpec::Core::Parser
9449
9315
 
9450
9316
  private
9451
9317
 
9452
- # source://rspec-core//lib/rspec/core/option_parser.rb#310
9318
+ # source://rspec-core//lib/rspec/core/option_parser.rb#312
9453
9319
  def add_tag_filter(options, filter_type, tag_name, value = T.unsafe(nil)); end
9454
9320
 
9455
- # source://rspec-core//lib/rspec/core/option_parser.rb#318
9321
+ # source://rspec-core//lib/rspec/core/option_parser.rb#320
9456
9322
  def configure_only_failures(options); end
9457
9323
 
9458
9324
  # source://rspec-core//lib/rspec/core/option_parser.rb#39
9459
9325
  def parser(options); end
9460
9326
 
9461
- # source://rspec-core//lib/rspec/core/option_parser.rb#314
9327
+ # source://rspec-core//lib/rspec/core/option_parser.rb#316
9462
9328
  def set_fail_fast(options, value); end
9463
9329
 
9464
9330
  class << self
@@ -9502,7 +9368,7 @@ module RSpec::Core::Pending
9502
9368
  # @param message [String] optional message to add to the summary report.
9503
9369
  #
9504
9370
  # source://rspec-core//lib/rspec/core/pending.rb#62
9505
- def pending(message = T.unsafe(nil)); end
9371
+ def pending(message = T.unsafe(nil), &_block); end
9506
9372
 
9507
9373
  # Marks an example as pending and skips execution.
9508
9374
  #