ruby-paseto 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -1
  3. data/README.md +55 -50
  4. data/lib/paseto/asn1/ecdsa_signature.rb +2 -2
  5. data/lib/paseto/asymmetric_key.rb +7 -4
  6. data/lib/paseto/configuration/decode_configuration.rb +7 -7
  7. data/lib/paseto/interface/key.rb +5 -2
  8. data/lib/paseto/interface/pbkd.rb +4 -20
  9. data/lib/paseto/interface/pie.rb +5 -26
  10. data/lib/paseto/interface/pke.rb +15 -51
  11. data/lib/paseto/interface/version.rb +30 -117
  12. data/lib/paseto/operations/id/i_dv3.rb +1 -1
  13. data/lib/paseto/operations/id/i_dv4.rb +1 -1
  14. data/lib/paseto/operations/pbkd/p_b_k_dv3.rb +4 -5
  15. data/lib/paseto/operations/pbkd/p_b_k_dv4.rb +3 -4
  16. data/lib/paseto/operations/pbkw.rb +6 -6
  17. data/lib/paseto/operations/pke/p_k_ev3.rb +23 -25
  18. data/lib/paseto/operations/pke/p_k_ev4.rb +33 -34
  19. data/lib/paseto/operations/pke.rb +9 -10
  20. data/lib/paseto/operations/wrap.rb +1 -1
  21. data/lib/paseto/paserk.rb +1 -1
  22. data/lib/paseto/paserk_types.rb +3 -3
  23. data/lib/paseto/protocol/version3.rb +17 -16
  24. data/lib/paseto/protocol/version4.rb +17 -16
  25. data/lib/paseto/symmetric_key.rb +16 -10
  26. data/lib/paseto/token.rb +17 -15
  27. data/lib/paseto/token_types.rb +2 -2
  28. data/lib/paseto/util.rb +2 -3
  29. data/lib/paseto/v3/local.rb +1 -1
  30. data/lib/paseto/v3/public.rb +8 -69
  31. data/lib/paseto/v4/local.rb +3 -3
  32. data/lib/paseto/v4/public.rb +3 -6
  33. data/lib/paseto/validator.rb +1 -1
  34. data/lib/paseto/version.rb +1 -1
  35. data/lib/paseto/versions.rb +2 -2
  36. data/lib/paseto/wrappers/pie/pie_v3.rb +18 -21
  37. data/lib/paseto/wrappers/pie/pie_v4.rb +17 -20
  38. data/lib/paseto/wrappers/pie.rb +3 -17
  39. data/lib/paseto.rb +2 -5
  40. data/paseto.gemspec +5 -17
  41. data/sorbet/rbi/annotations/.gitattributes +1 -0
  42. data/sorbet/rbi/annotations/rainbow.rbi +4 -4
  43. data/sorbet/rbi/gems/.gitattributes +1 -0
  44. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1 -1
  45. data/sorbet/rbi/gems/docile@1.4.0.rbi +1 -1
  46. data/sorbet/rbi/gems/{ffi@1.15.5.rbi → ffi@1.16.3.rbi} +260 -117
  47. data/sorbet/rbi/gems/{oj@3.13.23.rbi → oj@3.16.1.rbi} +28 -37
  48. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +75 -69
  49. data/sorbet/rbi/gems/rbnacl@7.1.1.rbi +2 -2
  50. data/sorbet/rbi/gems/{rspec-core@3.12.0.rbi → rspec-core@3.12.2.rbi} +31 -113
  51. data/sorbet/rbi/gems/{rspec-expectations@3.12.0.rbi → rspec-expectations@3.12.3.rbi} +204 -194
  52. data/sorbet/rbi/gems/{rspec-mocks@3.12.0.rbi → rspec-mocks@3.12.6.rbi} +225 -215
  53. data/sorbet/rbi/gems/{rspec-support@3.12.0.rbi → rspec-support@3.12.1.rbi} +35 -43
  54. data/sorbet/rbi/gems/rspec@3.12.0.rbi +22 -28
  55. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +41 -44
  56. data/sorbet/rbi/gems/{simplecov@0.21.2.rbi → simplecov@0.22.0.rbi} +62 -49
  57. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +232 -2
  58. data/sorbet/rbi/gems/{timecop@0.9.6.rbi → timecop@0.9.8.rbi} +13 -16
  59. data/sorbet/rbi/shims/multi_json.rbi +2 -0
  60. data/sorbet/rbi/shims/openssl.rbi +0 -8
  61. data/sorbet/rbi/todo.rbi +5 -1
  62. data/sorbet/tapioca/config.yml +1 -1
  63. metadata +20 -191
  64. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  65. data/sorbet/rbi/gems/io-console@0.5.11.rbi +0 -8
  66. data/sorbet/rbi/gems/irb@1.5.1.rbi +0 -342
  67. data/sorbet/rbi/gems/json@2.6.3.rbi +0 -1541
  68. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -267
  69. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  70. data/sorbet/rbi/gems/openssl@3.0.1.rbi +0 -1735
  71. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -277
  72. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -407
  73. data/sorbet/rbi/gems/regexp_parser@2.6.1.rbi +0 -3481
  74. data/sorbet/rbi/gems/reline@0.3.1.rbi +0 -8
  75. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -4717
  76. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1239
  77. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -3956
  78. data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +0 -48
  79. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2555
  80. data/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +0 -391
  81. data/sorbet/rbi/gems/yard@0.9.28.rbi +0 -17816
  82. data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +0 -950
@@ -10,70 +10,70 @@
10
10
  # source://rspec-expectations//lib/rspec/matchers/english_phrasing.rb#1
11
11
  module RSpec
12
12
  class << self
13
- # source://rspec-core/3.12.0/lib/rspec/core.rb#70
13
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#70
14
14
  def clear_examples; end
15
15
 
16
- # source://rspec-core/3.12.0/lib/rspec/core.rb#85
16
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#85
17
17
  def configuration; end
18
18
 
19
- # source://rspec-core/3.12.0/lib/rspec/core.rb#49
19
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#49
20
20
  def configuration=(_arg0); end
21
21
 
22
- # source://rspec-core/3.12.0/lib/rspec/core.rb#97
22
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#97
23
23
  def configure; end
24
24
 
25
- # source://rspec-core/3.12.0/lib/rspec/core.rb#194
25
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#194
26
26
  def const_missing(name); end
27
27
 
28
- # source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
28
+ # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
29
29
  def context(*args, &example_group_block); end
30
30
 
31
- # source://rspec-core/3.12.0/lib/rspec/core.rb#122
31
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#122
32
32
  def current_example; end
33
33
 
34
- # source://rspec-core/3.12.0/lib/rspec/core.rb#128
34
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#128
35
35
  def current_example=(example); end
36
36
 
37
- # source://rspec-core/3.12.0/lib/rspec/core.rb#154
37
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#154
38
38
  def current_scope; end
39
39
 
40
- # source://rspec-core/3.12.0/lib/rspec/core.rb#134
40
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#134
41
41
  def current_scope=(scope); end
42
42
 
43
- # source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
43
+ # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
44
44
  def describe(*args, &example_group_block); end
45
45
 
46
- # source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
46
+ # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
47
47
  def example_group(*args, &example_group_block); end
48
48
 
49
- # source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
49
+ # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
50
50
  def fcontext(*args, &example_group_block); end
51
51
 
52
- # source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
52
+ # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
53
53
  def fdescribe(*args, &example_group_block); end
54
54
 
55
- # source://rspec-core/3.12.0/lib/rspec/core.rb#58
55
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#58
56
56
  def reset; end
57
57
 
58
- # source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
58
+ # source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
59
59
  def shared_context(name, *args, &block); end
60
60
 
61
- # source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
61
+ # source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
62
62
  def shared_examples(name, *args, &block); end
63
63
 
64
- # source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
64
+ # source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
65
65
  def shared_examples_for(name, *args, &block); end
66
66
 
67
- # source://rspec-core/3.12.0/lib/rspec/core.rb#160
67
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#160
68
68
  def world; end
69
69
 
70
- # source://rspec-core/3.12.0/lib/rspec/core.rb#49
70
+ # source://rspec-core/3.12.2/lib/rspec/core.rb#49
71
71
  def world=(_arg0); end
72
72
 
73
- # source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
73
+ # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
74
74
  def xcontext(*args, &example_group_block); end
75
75
 
76
- # source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
76
+ # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
77
77
  def xdescribe(*args, &example_group_block); end
78
78
  end
79
79
  end
@@ -796,10 +796,10 @@ module RSpec::Expectations::ExpectationTarget::UndefinedValue; end
796
796
  class RSpec::Expectations::FailureAggregator
797
797
  # @return [FailureAggregator] a new instance of FailureAggregator
798
798
  #
799
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#73
799
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#90
800
800
  def initialize(block_label, metadata); end
801
801
 
802
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#7
802
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#22
803
803
  def aggregate; end
804
804
 
805
805
  # Returns the value of attribute block_label.
@@ -810,10 +810,10 @@ class RSpec::Expectations::FailureAggregator
810
810
  # This method is defined to satisfy the callable interface
811
811
  # expected by `RSpec::Support.with_failure_notifier`.
812
812
  #
813
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#44
813
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#59
814
814
  def call(failure, options); end
815
815
 
816
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#34
816
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#49
817
817
  def failures; end
818
818
 
819
819
  # Returns the value of attribute metadata.
@@ -821,20 +821,36 @@ class RSpec::Expectations::FailureAggregator
821
821
  # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#5
822
822
  def metadata; end
823
823
 
824
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#38
824
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#53
825
825
  def other_errors; end
826
826
 
827
827
  private
828
828
 
829
829
  # Using `caller` performs better (and is simpler) than `raise` on most Rubies.
830
830
  #
831
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#68
831
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#85
832
832
  def assign_backtrace(failure); end
833
833
 
834
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#79
834
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#96
835
835
  def notify_aggregated_failures; end
836
836
  end
837
837
 
838
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#20
839
+ RSpec::Expectations::FailureAggregator::AGGREGATED_FAILURE = T.let(T.unsafe(nil), RSpec::Expectations::FailureAggregator::AggregatedFailure)
840
+
841
+ # @private
842
+ #
843
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#8
844
+ class RSpec::Expectations::FailureAggregator::AggregatedFailure
845
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#15
846
+ def inspect; end
847
+ end
848
+
849
+ # @private
850
+ #
851
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#10
852
+ RSpec::Expectations::FailureAggregator::AggregatedFailure::MESSAGE = T.let(T.unsafe(nil), String)
853
+
838
854
  # RSpec 3.0 was released with the class name misspelled. For SemVer compatibility,
839
855
  # we will provide this misspelled alias until 4.0.
840
856
  #
@@ -922,88 +938,88 @@ end
922
938
  class RSpec::Expectations::MultipleExpectationsNotMetError < ::RSpec::Expectations::ExpectationNotMetError
923
939
  # @return [MultipleExpectationsNotMetError] a new instance of MultipleExpectationsNotMetError
924
940
  #
925
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#136
941
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#153
926
942
  def initialize(failure_aggregator); end
927
943
 
928
944
  # @return [String] The user-assigned label for the aggregation block.
929
945
  #
930
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#111
946
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#128
931
947
  def aggregation_block_label; end
932
948
 
933
949
  # @return [Hash] The metadata hash passed to `aggregate_failures`.
934
950
  #
935
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#116
951
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#133
936
952
  def aggregation_metadata; end
937
953
 
938
954
  # @return [Array<Exception>] The list of expectation failures and other exceptions, combined.
939
955
  #
940
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#108
956
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#125
941
957
  def all_exceptions; end
942
958
 
943
959
  # return [String] A description of the failure/error counts.
944
960
  #
945
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#127
961
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#144
946
962
  def exception_count_description; end
947
963
 
948
964
  # @return [Array<RSpec::Expectations::ExpectationNotMetError>] The list of expectation failures.
949
965
  #
950
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#98
966
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#115
951
967
  def failures; end
952
968
 
953
969
  # @return [String] The fully formatted exception message.
954
970
  #
955
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#93
971
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#110
956
972
  def message; end
957
973
 
958
974
  # @return [Array<Exception>] The list of other exceptions.
959
975
  #
960
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#103
976
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#120
961
977
  def other_errors; end
962
978
 
963
979
  # @return [String] A summary of the failure, including the block label and a count of failures.
964
980
  #
965
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#121
981
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#138
966
982
  def summary; end
967
983
 
968
984
  private
969
985
 
970
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#168
986
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#185
971
987
  def backtrace_line(line); end
972
988
 
973
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#141
989
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#158
974
990
  def block_description; end
975
991
 
976
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#150
992
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#167
977
993
  def enumerated(exceptions, index_offset); end
978
994
 
979
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#180
995
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#197
980
996
  def enumerated_errors; end
981
997
 
982
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#176
998
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#193
983
999
  def enumerated_failures; end
984
1000
 
985
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#158
1001
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#175
986
1002
  def exclusion_patterns; end
987
1003
 
988
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#164
1004
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#181
989
1005
  def format_backtrace(backtrace); end
990
1006
 
991
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#195
1007
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#212
992
1008
  def indentation; end
993
1009
 
994
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#186
1010
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#203
995
1011
  def indented(failure_message, index); end
996
1012
 
997
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#207
1013
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#224
998
1014
  def index_label(index); end
999
1015
 
1000
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#199
1016
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#216
1001
1017
  def longest_index_label_width; end
1002
1018
 
1003
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#146
1019
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#163
1004
1020
  def pluralize(noun, count); end
1005
1021
 
1006
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#203
1022
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#220
1007
1023
  def width_of_label(index); end
1008
1024
  end
1009
1025
 
@@ -1228,9 +1244,6 @@ module RSpec::Expectations::Version; end
1228
1244
  # source://rspec-expectations//lib/rspec/expectations/version.rb#5
1229
1245
  RSpec::Expectations::Version::STRING = T.let(T.unsafe(nil), String)
1230
1246
 
1231
- # source://rspec-core/3.12.0/lib/rspec/core.rb#187
1232
- RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
1233
-
1234
1247
  # RSpec::Matchers provides a number of useful matchers we use to define
1235
1248
  # expectations. Any object that implements the [matcher protocol](Matchers/MatcherProtocol)
1236
1249
  # can be used as a matcher.
@@ -1539,7 +1552,7 @@ module RSpec::Matchers
1539
1552
  # @param message [Symbol] the message to send the receiver
1540
1553
  #
1541
1554
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1542
- def a_block_changing(*args, &block); end
1555
+ def a_block_changing(*args, **_arg1, &block); end
1543
1556
 
1544
1557
  # With no arg, passes if the block outputs `to_stdout` or `to_stderr`.
1545
1558
  # With a string, passes if the block outputs that specific string `to_stdout` or `to_stderr`.
@@ -1572,7 +1585,7 @@ module RSpec::Matchers
1572
1585
  # are thus significantly (~30x) slower than `to_stdout` and `to_stderr`.
1573
1586
  #
1574
1587
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1575
- def a_block_outputting(*args, &block); end
1588
+ def a_block_outputting(*args, **_arg1, &block); end
1576
1589
 
1577
1590
  # With no args, matches if any error is raised.
1578
1591
  # With a named error, matches only if that specific error is raised.
@@ -1592,7 +1605,7 @@ module RSpec::Matchers
1592
1605
  # expect { do_something_risky }.not_to raise_error
1593
1606
  #
1594
1607
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1595
- def a_block_raising(*args, &block); end
1608
+ def a_block_raising(*args, **_arg1, &block); end
1596
1609
 
1597
1610
  # Given no argument, matches if a proc throws any Symbol.
1598
1611
  #
@@ -1611,7 +1624,7 @@ module RSpec::Matchers
1611
1624
  # expect { do_something_risky }.not_to throw_symbol(:that_was_risky, 'culprit')
1612
1625
  #
1613
1626
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1614
- def a_block_throwing(*args, &block); end
1627
+ def a_block_throwing(*args, **_arg1, &block); end
1615
1628
 
1616
1629
  # Passes if the method called in the expect block yields, regardless
1617
1630
  # of whether or not arguments are yielded.
@@ -1623,7 +1636,7 @@ module RSpec::Matchers
1623
1636
  # the method-under-test as a block.
1624
1637
  #
1625
1638
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1626
- def a_block_yielding_control(*args, &block); end
1639
+ def a_block_yielding_control(*args, **_arg1, &block); end
1627
1640
 
1628
1641
  # Designed for use with methods that repeatedly yield (such as
1629
1642
  # iterators). Passes if the method called in the expect block yields
@@ -1641,7 +1654,7 @@ module RSpec::Matchers
1641
1654
  # the method-under-test as a block.
1642
1655
  #
1643
1656
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1644
- def a_block_yielding_successive_args(*args, &block); end
1657
+ def a_block_yielding_successive_args(*args, **_arg1, &block); end
1645
1658
 
1646
1659
  # Given no arguments, matches if the method called in the expect
1647
1660
  # block yields with arguments (regardless of what they are or how
@@ -1668,7 +1681,7 @@ module RSpec::Matchers
1668
1681
  # multiple times.
1669
1682
  #
1670
1683
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1671
- def a_block_yielding_with_args(*args, &block); end
1684
+ def a_block_yielding_with_args(*args, **_arg1, &block); end
1672
1685
 
1673
1686
  # Passes if the method called in the expect block yields with
1674
1687
  # no arguments. Fails if it does not yield, or yields with arguments.
@@ -1683,7 +1696,7 @@ module RSpec::Matchers
1683
1696
  # multiple times.
1684
1697
  #
1685
1698
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1686
- def a_block_yielding_with_no_args(*args, &block); end
1699
+ def a_block_yielding_with_no_args(*args, **_arg1, &block); end
1687
1700
 
1688
1701
  # Passes if actual contains all of the expected regardless of order.
1689
1702
  # This works for collections. Pass in multiple args and it will only
@@ -1697,7 +1710,7 @@ module RSpec::Matchers
1697
1710
  # @see #match_array
1698
1711
  #
1699
1712
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1700
- def a_collection_containing_exactly(*args, &block); end
1713
+ def a_collection_containing_exactly(*args, **_arg1, &block); end
1701
1714
 
1702
1715
  # Matches if the actual value ends with the expected value(s). In the case
1703
1716
  # of a string, matches against the last `expected.length` characters of the
@@ -1710,7 +1723,7 @@ module RSpec::Matchers
1710
1723
  # expect([0, 2, 3, 4, 4]).to end_with 3, 4
1711
1724
  #
1712
1725
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1713
- def a_collection_ending_with(*args, &block); end
1726
+ def a_collection_ending_with(*args, **_arg1, &block); end
1714
1727
 
1715
1728
  # Passes if actual includes expected. This works for
1716
1729
  # collections and Strings. You can also pass in multiple args
@@ -1731,7 +1744,7 @@ module RSpec::Matchers
1731
1744
  # expect(:a => 1, :b => 2).not_to include(:a => 2)
1732
1745
  #
1733
1746
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1734
- def a_collection_including(*args, &block); end
1747
+ def a_collection_including(*args, **_arg1, &block); end
1735
1748
 
1736
1749
  # Matches if the actual value starts with the expected value(s). In the
1737
1750
  # case of a string, matches against the first `expected.length` characters
@@ -1744,17 +1757,17 @@ module RSpec::Matchers
1744
1757
  # expect([0, 2, 3, 4, 4]).to start_with 0, 1
1745
1758
  #
1746
1759
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1747
- def a_collection_starting_with(*args, &block); end
1760
+ def a_collection_starting_with(*args, **_arg1, &block); end
1748
1761
 
1749
1762
  # Passes if actual is falsey (false or nil)
1750
1763
  #
1751
1764
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1752
- def a_falsey_value(*args, &block); end
1765
+ def a_falsey_value(*args, **_arg1, &block); end
1753
1766
 
1754
1767
  # Passes if actual is falsey (false or nil)
1755
1768
  #
1756
1769
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1757
- def a_falsy_value(*args, &block); end
1770
+ def a_falsy_value(*args, **_arg1, &block); end
1758
1771
 
1759
1772
  # Passes if actual includes expected. This works for
1760
1773
  # collections and Strings. You can also pass in multiple args
@@ -1775,7 +1788,7 @@ module RSpec::Matchers
1775
1788
  # expect(:a => 1, :b => 2).not_to include(:a => 2)
1776
1789
  #
1777
1790
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1778
- def a_hash_including(*args, &block); end
1791
+ def a_hash_including(*args, **_arg1, &block); end
1779
1792
 
1780
1793
  # Passes if actual.kind_of?(expected)
1781
1794
  #
@@ -1785,12 +1798,12 @@ module RSpec::Matchers
1785
1798
  # expect(5).not_to be_a_kind_of(Float)
1786
1799
  #
1787
1800
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1788
- def a_kind_of(*args, &block); end
1801
+ def a_kind_of(*args, **_arg1, &block); end
1789
1802
 
1790
1803
  # Passes if actual is nil
1791
1804
  #
1792
1805
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1793
- def a_nil_value(*args, &block); end
1806
+ def a_nil_value(*args, **_arg1, &block); end
1794
1807
 
1795
1808
  # Passes if actual covers expected. This works for
1796
1809
  # Ranges. You can also pass in multiple args
@@ -1806,7 +1819,7 @@ module RSpec::Matchers
1806
1819
  # expect(1..10).not_to cover(5) # fails
1807
1820
  #
1808
1821
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1809
- def a_range_covering(*args, &block); end
1822
+ def a_range_covering(*args, **_arg1, &block); end
1810
1823
 
1811
1824
  # Matches if the actual value ends with the expected value(s). In the case
1812
1825
  # of a string, matches against the last `expected.length` characters of the
@@ -1819,7 +1832,7 @@ module RSpec::Matchers
1819
1832
  # expect([0, 2, 3, 4, 4]).to end_with 3, 4
1820
1833
  #
1821
1834
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1822
- def a_string_ending_with(*args, &block); end
1835
+ def a_string_ending_with(*args, **_arg1, &block); end
1823
1836
 
1824
1837
  # Passes if actual includes expected. This works for
1825
1838
  # collections and Strings. You can also pass in multiple args
@@ -1840,7 +1853,7 @@ module RSpec::Matchers
1840
1853
  # expect(:a => 1, :b => 2).not_to include(:a => 2)
1841
1854
  #
1842
1855
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1843
- def a_string_including(*args, &block); end
1856
+ def a_string_including(*args, **_arg1, &block); end
1844
1857
 
1845
1858
  # Given a `Regexp` or `String`, passes if `actual.match(pattern)`
1846
1859
  # Given an arbitrary nested data structure (e.g. arrays and hashes),
@@ -1873,7 +1886,7 @@ module RSpec::Matchers
1873
1886
  # `match` could not be used there), but is no longer needed in 3.x.
1874
1887
  #
1875
1888
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1876
- def a_string_matching(*args, &block); end
1889
+ def a_string_matching(*args, **_arg1, &block); end
1877
1890
 
1878
1891
  # Matches if the actual value starts with the expected value(s). In the
1879
1892
  # case of a string, matches against the first `expected.length` characters
@@ -1886,12 +1899,12 @@ module RSpec::Matchers
1886
1899
  # expect([0, 2, 3, 4, 4]).to start_with 0, 1
1887
1900
  #
1888
1901
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1889
- def a_string_starting_with(*args, &block); end
1902
+ def a_string_starting_with(*args, **_arg1, &block); end
1890
1903
 
1891
1904
  # Passes if actual is truthy (anything but false or nil)
1892
1905
  #
1893
1906
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1894
- def a_truthy_value(*args, &block); end
1907
+ def a_truthy_value(*args, **_arg1, &block); end
1895
1908
 
1896
1909
  # Given true, false, or nil, will pass if actual value is true, false or
1897
1910
  # nil (respectively). Given no args means the caller should satisfy an if
@@ -1915,7 +1928,7 @@ module RSpec::Matchers
1915
1928
  # expect(actual).not_to be_[arbitrary_predicate](*args)
1916
1929
  #
1917
1930
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1918
- def a_value(*args, &block); end
1931
+ def a_value(*args, **_arg1, &block); end
1919
1932
 
1920
1933
  # Passes if actual.between?(min, max). Works with any Comparable object,
1921
1934
  # including String, Symbol, Time, or Numeric (Fixnum, Bignum, Integer,
@@ -1930,7 +1943,7 @@ module RSpec::Matchers
1930
1943
  # expect(10).not_to be_between(1, 10).exclusive
1931
1944
  #
1932
1945
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1933
- def a_value_between(*args, &block); end
1946
+ def a_value_between(*args, **_arg1, &block); end
1934
1947
 
1935
1948
  # Passes if actual == expected +/- delta
1936
1949
  #
@@ -1939,7 +1952,7 @@ module RSpec::Matchers
1939
1952
  # expect(result).not_to be_within(0.5).of(3.0)
1940
1953
  #
1941
1954
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
1942
- def a_value_within(*args, &block); end
1955
+ def a_value_within(*args, **_arg1, &block); end
1943
1956
 
1944
1957
  # Allows multiple expectations in the provided block to fail, and then
1945
1958
  # aggregates them into a single exception, rather than aborting on the
@@ -1993,7 +2006,7 @@ module RSpec::Matchers
1993
2006
 
1994
2007
  # An alternate form of `contain_exactly` that accepts
1995
2008
  # the expected contents as a single array arg rather
1996
- # that splatted out as individual items.
2009
+ # than splatted out as individual items.
1997
2010
  #
1998
2011
  # @example
1999
2012
  # expect(results).to contain_exactly(1, 2)
@@ -2002,7 +2015,7 @@ module RSpec::Matchers
2002
2015
  # @see #contain_exactly
2003
2016
  #
2004
2017
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2005
- def an_array_matching(*args, &block); end
2018
+ def an_array_matching(*args, **_arg1, &block); end
2006
2019
 
2007
2020
  # Passes if actual.instance_of?(expected)
2008
2021
  #
@@ -2012,7 +2025,7 @@ module RSpec::Matchers
2012
2025
  # expect(5).not_to be_an_instance_of(Float)
2013
2026
  #
2014
2027
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2015
- def an_instance_of(*args, &block); end
2028
+ def an_instance_of(*args, **_arg1, &block); end
2016
2029
 
2017
2030
  # Passes if <tt>actual == expected</tt>.
2018
2031
  #
@@ -2024,7 +2037,7 @@ module RSpec::Matchers
2024
2037
  # expect(5).not_to eq(3)
2025
2038
  #
2026
2039
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2027
- def an_object_eq_to(*args, &block); end
2040
+ def an_object_eq_to(*args, **_arg1, &block); end
2028
2041
 
2029
2042
  # Passes if `actual.eql?(expected)`
2030
2043
  #
@@ -2036,7 +2049,7 @@ module RSpec::Matchers
2036
2049
  # expect(5).not_to eql(3)
2037
2050
  #
2038
2051
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2039
- def an_object_eql_to(*args, &block); end
2052
+ def an_object_eql_to(*args, **_arg1, &block); end
2040
2053
 
2041
2054
  # Passes if <tt>actual.equal?(expected)</tt> (object identity).
2042
2055
  #
@@ -2048,7 +2061,7 @@ module RSpec::Matchers
2048
2061
  # expect("5").not_to equal("5") # Strings that look the same are not the same object
2049
2062
  #
2050
2063
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2051
- def an_object_equal_to(*args, &block); end
2064
+ def an_object_equal_to(*args, **_arg1, &block); end
2052
2065
 
2053
2066
  # Passes if `actual.exist?` or `actual.exists?`
2054
2067
  #
@@ -2056,7 +2069,7 @@ module RSpec::Matchers
2056
2069
  # expect(File).to exist("path/to/file")
2057
2070
  #
2058
2071
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2059
- def an_object_existing(*args, &block); end
2072
+ def an_object_existing(*args, **_arg1, &block); end
2060
2073
 
2061
2074
  # Passes if actual's attribute values match the expected attributes hash.
2062
2075
  # This works no matter how you define your attribute readers.
@@ -2072,7 +2085,7 @@ module RSpec::Matchers
2072
2085
  # @note It will fail if actual doesn't respond to any of the expected attributes.
2073
2086
  #
2074
2087
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2075
- def an_object_having_attributes(*args, &block); end
2088
+ def an_object_having_attributes(*args, **_arg1, &block); end
2076
2089
 
2077
2090
  # Given a `Regexp` or `String`, passes if `actual.match(pattern)`
2078
2091
  # Given an arbitrary nested data structure (e.g. arrays and hashes),
@@ -2105,7 +2118,7 @@ module RSpec::Matchers
2105
2118
  # `match` could not be used there), but is no longer needed in 3.x.
2106
2119
  #
2107
2120
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2108
- def an_object_matching(*args, &block); end
2121
+ def an_object_matching(*args, **_arg1, &block); end
2109
2122
 
2110
2123
  # Matches if the target object responds to all of the names
2111
2124
  # provided. Names can be Strings or Symbols.
@@ -2114,7 +2127,7 @@ module RSpec::Matchers
2114
2127
  # expect("string").to respond_to(:length)
2115
2128
  #
2116
2129
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2117
- def an_object_responding_to(*args, &block); end
2130
+ def an_object_responding_to(*args, **_arg1, &block); end
2118
2131
 
2119
2132
  # Passes if the submitted block returns true. Yields target to the
2120
2133
  # block.
@@ -2132,7 +2145,7 @@ module RSpec::Matchers
2132
2145
  # @param description [String] optional description to be used for this matcher.
2133
2146
  #
2134
2147
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2135
- def an_object_satisfying(*args, &block); end
2148
+ def an_object_satisfying(*args, **_arg1, &block); end
2136
2149
 
2137
2150
  # Given true, false, or nil, will pass if actual value is true, false or
2138
2151
  # nil (respectively). Given no args means the caller should satisfy an if
@@ -2211,7 +2224,7 @@ module RSpec::Matchers
2211
2224
  # Passes if actual is falsey (false or nil)
2212
2225
  #
2213
2226
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2214
- def be_falsy(*args, &block); end
2227
+ def be_falsy(*args, **_arg1, &block); end
2215
2228
 
2216
2229
  # Passes if actual.instance_of?(expected)
2217
2230
  #
@@ -2418,7 +2431,7 @@ module RSpec::Matchers
2418
2431
  # @param message [Symbol] the message to send the receiver
2419
2432
  #
2420
2433
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2421
- def changing(*args, &block); end
2434
+ def changing(*args, **_arg1, &block); end
2422
2435
 
2423
2436
  # Passes if actual contains all of the expected regardless of order.
2424
2437
  # This works for collections. Pass in multiple args and it will only
@@ -2446,7 +2459,7 @@ module RSpec::Matchers
2446
2459
  # @see #match_array
2447
2460
  #
2448
2461
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2449
- def containing_exactly(*args, &block); end
2462
+ def containing_exactly(*args, **_arg1, &block); end
2450
2463
 
2451
2464
  # Passes if actual covers expected. This works for
2452
2465
  # Ranges. You can also pass in multiple args
@@ -2478,7 +2491,7 @@ module RSpec::Matchers
2478
2491
  # expect(1..10).not_to cover(5) # fails
2479
2492
  #
2480
2493
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2481
- def covering(*args, &block); end
2494
+ def covering(*args, **_arg1, &block); end
2482
2495
 
2483
2496
  # Matches if the actual value ends with the expected value(s). In the case
2484
2497
  # of a string, matches against the last `expected.length` characters of the
@@ -2504,7 +2517,7 @@ module RSpec::Matchers
2504
2517
  # expect([0, 2, 3, 4, 4]).to end_with 3, 4
2505
2518
  #
2506
2519
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2507
- def ending_with(*args, &block); end
2520
+ def ending_with(*args, **_arg1, &block); end
2508
2521
 
2509
2522
  # Passes if <tt>actual == expected</tt>.
2510
2523
  #
@@ -2528,7 +2541,7 @@ module RSpec::Matchers
2528
2541
  # expect(5).not_to eq(3)
2529
2542
  #
2530
2543
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2531
- def eq_to(*args, &block); end
2544
+ def eq_to(*args, **_arg1, &block); end
2532
2545
 
2533
2546
  # Passes if `actual.eql?(expected)`
2534
2547
  #
@@ -2552,7 +2565,7 @@ module RSpec::Matchers
2552
2565
  # expect(5).not_to eql(3)
2553
2566
  #
2554
2567
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2555
- def eql_to(*args, &block); end
2568
+ def eql_to(*args, **_arg1, &block); end
2556
2569
 
2557
2570
  # Passes if <tt>actual.equal?(expected)</tt> (object identity).
2558
2571
  #
@@ -2576,7 +2589,7 @@ module RSpec::Matchers
2576
2589
  # expect("5").not_to equal("5") # Strings that look the same are not the same object
2577
2590
  #
2578
2591
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2579
- def equal_to(*args, &block); end
2592
+ def equal_to(*args, **_arg1, &block); end
2580
2593
 
2581
2594
  # Passes if `actual.exist?` or `actual.exists?`
2582
2595
  #
@@ -2592,7 +2605,7 @@ module RSpec::Matchers
2592
2605
  # expect(File).to exist("path/to/file")
2593
2606
  #
2594
2607
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2595
- def existing(*args, &block); end
2608
+ def existing(*args, **_arg1, &block); end
2596
2609
 
2597
2610
  # Supports `expect(actual).to matcher` syntax by wrapping `actual` in an
2598
2611
  # `ExpectationTarget`.
@@ -2637,7 +2650,7 @@ module RSpec::Matchers
2637
2650
  # @note It will fail if actual doesn't respond to any of the expected attributes.
2638
2651
  #
2639
2652
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2640
- def having_attributes(*args, &block); end
2653
+ def having_attributes(*args, **_arg1, &block); end
2641
2654
 
2642
2655
  # Passes if actual includes expected. This works for
2643
2656
  # collections and Strings. You can also pass in multiple args
@@ -2679,7 +2692,7 @@ module RSpec::Matchers
2679
2692
  # expect(:a => 1, :b => 2).not_to include(:a => 2)
2680
2693
  #
2681
2694
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2682
- def including(*args, &block); end
2695
+ def including(*args, **_arg1, &block); end
2683
2696
 
2684
2697
  # Given a `Regexp` or `String`, passes if `actual.match(pattern)`
2685
2698
  # Given an arbitrary nested data structure (e.g. arrays and hashes),
@@ -2716,7 +2729,7 @@ module RSpec::Matchers
2716
2729
 
2717
2730
  # An alternate form of `contain_exactly` that accepts
2718
2731
  # the expected contents as a single array arg rather
2719
- # that splatted out as individual items.
2732
+ # than splatted out as individual items.
2720
2733
  #
2721
2734
  # @example
2722
2735
  # expect(results).to contain_exactly(1, 2)
@@ -2758,7 +2771,7 @@ module RSpec::Matchers
2758
2771
  # `match` could not be used there), but is no longer needed in 3.x.
2759
2772
  #
2760
2773
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2761
- def match_regex(*args, &block); end
2774
+ def match_regex(*args, **_arg1, &block); end
2762
2775
 
2763
2776
  # Given a `Regexp` or `String`, passes if `actual.match(pattern)`
2764
2777
  # Given an arbitrary nested data structure (e.g. arrays and hashes),
@@ -2791,7 +2804,7 @@ module RSpec::Matchers
2791
2804
  # `match` could not be used there), but is no longer needed in 3.x.
2792
2805
  #
2793
2806
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2794
- def matching(*args, &block); end
2807
+ def matching(*args, **_arg1, &block); end
2795
2808
 
2796
2809
  # With no arg, passes if the block outputs `to_stdout` or `to_stderr`.
2797
2810
  # With a string, passes if the block outputs that specific string `to_stdout` or `to_stderr`.
@@ -2884,7 +2897,7 @@ module RSpec::Matchers
2884
2897
  # expect { do_something_risky }.not_to raise_error
2885
2898
  #
2886
2899
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2887
- def raising(*args, &block); end
2900
+ def raising(*args, **_arg1, &block); end
2888
2901
 
2889
2902
  # Matches if the target object responds to all of the names
2890
2903
  # provided. Names can be Strings or Symbols.
@@ -2902,7 +2915,7 @@ module RSpec::Matchers
2902
2915
  # expect("string").to respond_to(:length)
2903
2916
  #
2904
2917
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2905
- def responding_to(*args, &block); end
2918
+ def responding_to(*args, **_arg1, &block); end
2906
2919
 
2907
2920
  # Passes if the submitted block returns true. Yields target to the
2908
2921
  # block.
@@ -2938,7 +2951,7 @@ module RSpec::Matchers
2938
2951
  # @param description [String] optional description to be used for this matcher.
2939
2952
  #
2940
2953
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2941
- def satisfying(*args, &block); end
2954
+ def satisfying(*args, **_arg1, &block); end
2942
2955
 
2943
2956
  # Matches if the actual value starts with the expected value(s). In the
2944
2957
  # case of a string, matches against the first `expected.length` characters
@@ -2964,7 +2977,7 @@ module RSpec::Matchers
2964
2977
  # expect([0, 2, 3, 4, 4]).to start_with 0, 1
2965
2978
  #
2966
2979
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
2967
- def starting_with(*args, &block); end
2980
+ def starting_with(*args, **_arg1, &block); end
2968
2981
 
2969
2982
  # Given no argument, matches if a proc throws any Symbol.
2970
2983
  #
@@ -3002,7 +3015,7 @@ module RSpec::Matchers
3002
3015
  # expect { do_something_risky }.not_to throw_symbol(:that_was_risky, 'culprit')
3003
3016
  #
3004
3017
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
3005
- def throwing(*args, &block); end
3018
+ def throwing(*args, **_arg1, &block); end
3006
3019
 
3007
3020
  # Passes if actual == expected +/- delta
3008
3021
  #
@@ -3011,7 +3024,7 @@ module RSpec::Matchers
3011
3024
  # expect(result).not_to be_within(0.5).of(3.0)
3012
3025
  #
3013
3026
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
3014
- def within(*args, &block); end
3027
+ def within(*args, **_arg1, &block); end
3015
3028
 
3016
3029
  # Passes if the method called in the expect block yields, regardless
3017
3030
  # of whether or not arguments are yielded.
@@ -3095,7 +3108,7 @@ module RSpec::Matchers
3095
3108
  # the method-under-test as a block.
3096
3109
  #
3097
3110
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
3098
- def yielding_control(*args, &block); end
3111
+ def yielding_control(*args, **_arg1, &block); end
3099
3112
 
3100
3113
  # Designed for use with methods that repeatedly yield (such as
3101
3114
  # iterators). Passes if the method called in the expect block yields
@@ -3113,7 +3126,7 @@ module RSpec::Matchers
3113
3126
  # the method-under-test as a block.
3114
3127
  #
3115
3128
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
3116
- def yielding_successive_args(*args, &block); end
3129
+ def yielding_successive_args(*args, **_arg1, &block); end
3117
3130
 
3118
3131
  # Given no arguments, matches if the method called in the expect
3119
3132
  # block yields with arguments (regardless of what they are or how
@@ -3140,7 +3153,7 @@ module RSpec::Matchers
3140
3153
  # multiple times.
3141
3154
  #
3142
3155
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
3143
- def yielding_with_args(*args, &block); end
3156
+ def yielding_with_args(*args, **_arg1, &block); end
3144
3157
 
3145
3158
  # Passes if the method called in the expect block yields with
3146
3159
  # no arguments. Fails if it does not yield, or yields with arguments.
@@ -3155,7 +3168,7 @@ module RSpec::Matchers
3155
3168
  # multiple times.
3156
3169
  #
3157
3170
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
3158
- def yielding_with_no_args(*args, &block); end
3171
+ def yielding_with_no_args(*args, **_arg1, &block); end
3159
3172
 
3160
3173
  private
3161
3174
 
@@ -3304,7 +3317,7 @@ end
3304
3317
  #
3305
3318
  # @private
3306
3319
  #
3307
- # source://rspec-expectations//lib/rspec/matchers/aliased_matcher.rb#65
3320
+ # source://rspec-expectations//lib/rspec/matchers/aliased_matcher.rb#64
3308
3321
  class RSpec::Matchers::AliasedMatcherWithOperatorSupport < ::RSpec::Matchers::AliasedMatcher; end
3309
3322
 
3310
3323
  # @private
@@ -3335,7 +3348,7 @@ class RSpec::Matchers::AliasedNegatedMatcher < ::RSpec::Matchers::AliasedMatcher
3335
3348
  # by going through the effort of defining a negated matcher.
3336
3349
  #
3337
3350
  # However, if the override didn't actually change anything, then we
3338
- # should return the opposite failure message instead -- the overriden
3351
+ # should return the opposite failure message instead -- the overridden
3339
3352
  # message is going to be confusing if we return it as-is, as it represents
3340
3353
  # the non-negated failure message for a negated match (or vice versa).
3341
3354
  #
@@ -3365,7 +3378,7 @@ module RSpec::Matchers::BuiltIn; end
3365
3378
  #
3366
3379
  # @api private
3367
3380
  #
3368
- # source://rspec-expectations//lib/rspec/matchers/built_in/all.rb#8
3381
+ # source://rspec-expectations//lib/rspec/matchers/built_in/all.rb#7
3369
3382
  class RSpec::Matchers::BuiltIn::All < ::RSpec::Matchers::BuiltIn::BaseMatcher
3370
3383
  # @api private
3371
3384
  # @return [All] a new instance of All
@@ -3761,7 +3774,7 @@ end
3761
3774
  #
3762
3775
  # @api private
3763
3776
  #
3764
- # source://rspec-expectations//lib/rspec/matchers/built_in/be_instance_of.rb#9
3777
+ # source://rspec-expectations//lib/rspec/matchers/built_in/be_instance_of.rb#7
3765
3778
  class RSpec::Matchers::BuiltIn::BeAnInstanceOf < ::RSpec::Matchers::BuiltIn::BaseMatcher
3766
3779
  # @api private
3767
3780
  # @return [String]
@@ -3905,7 +3918,7 @@ end
3905
3918
  #
3906
3919
  # @api private
3907
3920
  #
3908
- # source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#32
3921
+ # source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#30
3909
3922
  class RSpec::Matchers::BuiltIn::BeFalsey < ::RSpec::Matchers::BuiltIn::BaseMatcher
3910
3923
  # @api private
3911
3924
  # @return [String]
@@ -3954,7 +3967,7 @@ end
3954
3967
  #
3955
3968
  # @api private
3956
3969
  #
3957
- # source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#55
3970
+ # source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#53
3958
3971
  class RSpec::Matchers::BuiltIn::BeNil < ::RSpec::Matchers::BuiltIn::BaseMatcher
3959
3972
  # @api private
3960
3973
  # @return [String]
@@ -3981,7 +3994,7 @@ end
3981
3994
  #
3982
3995
  # @api private
3983
3996
  #
3984
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#138
3997
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#137
3985
3998
  class RSpec::Matchers::BuiltIn::BePredicate < ::RSpec::Matchers::BuiltIn::DynamicPredicate
3986
3999
  private
3987
4000
 
@@ -4022,7 +4035,7 @@ RSpec::Matchers::BuiltIn::BePredicate::REGEX = T.let(T.unsafe(nil), Regexp)
4022
4035
  #
4023
4036
  # @api private
4024
4037
  #
4025
- # source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#9
4038
+ # source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#7
4026
4039
  class RSpec::Matchers::BuiltIn::BeTruthy < ::RSpec::Matchers::BuiltIn::BaseMatcher
4027
4040
  # @api private
4028
4041
  # @return [String]
@@ -4155,7 +4168,7 @@ end
4155
4168
  #
4156
4169
  # @api private
4157
4170
  #
4158
- # source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#9
4171
+ # source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#7
4159
4172
  class RSpec::Matchers::BuiltIn::Change < ::RSpec::Matchers::BuiltIn::BaseMatcher
4160
4173
  # @api private
4161
4174
  # @return [Change] a new instance of Change
@@ -4473,7 +4486,7 @@ end
4473
4486
  #
4474
4487
  # @api private
4475
4488
  #
4476
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#7
4489
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#6
4477
4490
  class RSpec::Matchers::BuiltIn::Compound < ::RSpec::Matchers::BuiltIn::BaseMatcher
4478
4491
  # @api private
4479
4492
  # @return [Compound] a new instance of Compound
@@ -4612,7 +4625,7 @@ end
4612
4625
  #
4613
4626
  # @api public
4614
4627
  #
4615
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#244
4628
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#242
4616
4629
  class RSpec::Matchers::BuiltIn::Compound::And < ::RSpec::Matchers::BuiltIn::Compound
4617
4630
  # @api private
4618
4631
  # @return [String]
@@ -4721,7 +4734,7 @@ end
4721
4734
  #
4722
4735
  # @api public
4723
4736
  #
4724
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#271
4737
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#269
4725
4738
  class RSpec::Matchers::BuiltIn::Compound::Or < ::RSpec::Matchers::BuiltIn::Compound
4726
4739
  # @api private
4727
4740
  # @return [String]
@@ -4766,7 +4779,7 @@ end
4766
4779
  #
4767
4780
  # @api private
4768
4781
  #
4769
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#10
4782
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#8
4770
4783
  class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::BaseMatcher
4771
4784
  # @api private
4772
4785
  # @return [String]
@@ -5364,7 +5377,7 @@ end
5364
5377
  #
5365
5378
  # @api private
5366
5379
  #
5367
- # source://rspec-expectations//lib/rspec/matchers/built_in/eq.rb#9
5380
+ # source://rspec-expectations//lib/rspec/matchers/built_in/eq.rb#7
5368
5381
  class RSpec::Matchers::BuiltIn::Eq < ::RSpec::Matchers::BuiltIn::BaseMatcher
5369
5382
  # @api private
5370
5383
  # @return [String]
@@ -5403,7 +5416,7 @@ end
5403
5416
  #
5404
5417
  # @api private
5405
5418
  #
5406
- # source://rspec-expectations//lib/rspec/matchers/built_in/eql.rb#9
5419
+ # source://rspec-expectations//lib/rspec/matchers/built_in/eql.rb#7
5407
5420
  class RSpec::Matchers::BuiltIn::Eql < ::RSpec::Matchers::BuiltIn::BaseMatcher
5408
5421
  # @api private
5409
5422
  # @return [Boolean]
@@ -5436,7 +5449,7 @@ end
5436
5449
  #
5437
5450
  # @api private
5438
5451
  #
5439
- # source://rspec-expectations//lib/rspec/matchers/built_in/equal.rb#9
5452
+ # source://rspec-expectations//lib/rspec/matchers/built_in/equal.rb#7
5440
5453
  class RSpec::Matchers::BuiltIn::Equal < ::RSpec::Matchers::BuiltIn::BaseMatcher
5441
5454
  # @api private
5442
5455
  # @return [Boolean]
@@ -5538,7 +5551,7 @@ end
5538
5551
  #
5539
5552
  # @api private
5540
5553
  #
5541
- # source://rspec-expectations//lib/rspec/matchers/built_in/exist.rb#45
5554
+ # source://rspec-expectations//lib/rspec/matchers/built_in/exist.rb#43
5542
5555
  class RSpec::Matchers::BuiltIn::Exist::ExistenceTest < ::Struct
5543
5556
  # @api private
5544
5557
  # @return [Boolean]
@@ -5586,7 +5599,7 @@ end
5586
5599
  #
5587
5600
  # @api private
5588
5601
  #
5589
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#126
5602
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#125
5590
5603
  class RSpec::Matchers::BuiltIn::Has < ::RSpec::Matchers::BuiltIn::DynamicPredicate
5591
5604
  private
5592
5605
 
@@ -5606,7 +5619,7 @@ RSpec::Matchers::BuiltIn::Has::REGEX = T.let(T.unsafe(nil), Regexp)
5606
5619
  #
5607
5620
  # @api private
5608
5621
  #
5609
- # source://rspec-expectations//lib/rspec/matchers/built_in/have_attributes.rb#8
5622
+ # source://rspec-expectations//lib/rspec/matchers/built_in/have_attributes.rb#7
5610
5623
  class RSpec::Matchers::BuiltIn::HaveAttributes < ::RSpec::Matchers::BuiltIn::BaseMatcher
5611
5624
  # @api private
5612
5625
  # @return [HaveAttributes] a new instance of HaveAttributes
@@ -5770,7 +5783,7 @@ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatche
5770
5783
  # @api private
5771
5784
  # @return [Boolean]
5772
5785
  #
5773
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#160
5786
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#167
5774
5787
  def actual_collection_includes?(expected_item); end
5775
5788
 
5776
5789
  # @api private
@@ -5812,23 +5825,23 @@ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatche
5812
5825
  # @api private
5813
5826
  # @return [Boolean]
5814
5827
  #
5815
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#200
5828
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#207
5816
5829
  def convert_to_hash?(obj); end
5817
5830
 
5818
5831
  # @api private
5819
5832
  #
5820
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#174
5833
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#181
5821
5834
  def count_enumerable(expected_item); end
5822
5835
 
5823
5836
  # @api private
5824
5837
  #
5825
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#179
5838
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#186
5826
5839
  def count_inclusions; end
5827
5840
 
5828
5841
  # @api private
5829
5842
  # @return [Boolean]
5830
5843
  #
5831
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#191
5844
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#198
5832
5845
  def diff_would_wrongly_highlight_matched_item?; end
5833
5846
 
5834
5847
  # @api private
@@ -6648,7 +6661,7 @@ end
6648
6661
  #
6649
6662
  # @api private
6650
6663
  #
6651
- # source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#182
6664
+ # source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#181
6652
6665
  class RSpec::Matchers::BuiltIn::SpecificValuesChange < ::RSpec::Matchers::BuiltIn::BaseMatcher
6653
6666
  # @api private
6654
6667
  # @return [SpecificValuesChange] a new instance of SpecificValuesChange
@@ -7195,7 +7208,7 @@ end
7195
7208
  #
7196
7209
  # @api private
7197
7210
  #
7198
- # source://rspec-expectations//lib/rspec/matchers/built_in/yield.rb#150
7211
+ # source://rspec-expectations//lib/rspec/matchers/built_in/yield.rb#149
7199
7212
  class RSpec::Matchers::BuiltIn::YieldWithNoArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
7200
7213
  # @api private
7201
7214
  # @private
@@ -7351,7 +7364,7 @@ module RSpec::Matchers::Composable
7351
7364
  # source://rspec-expectations//lib/rspec/matchers/composable.rb#142
7352
7365
  def should_enumerate?(item); end
7353
7366
 
7354
- # Transforms the given data structue (typically a hash or array)
7367
+ # Transforms the given data structure (typically a hash or array)
7355
7368
  # into a new data structure that, when `#inspect` is called on it,
7356
7369
  # will provide descriptions of any contained matchers rather than
7357
7370
  # the normal `#inspect` output.
@@ -7423,7 +7436,7 @@ module RSpec::Matchers::Composable
7423
7436
  # source://rspec-expectations//lib/rspec/matchers/composable.rb#142
7424
7437
  def should_enumerate?(item); end
7425
7438
 
7426
- # Transforms the given data structue (typically a hash or array)
7439
+ # Transforms the given data structure (typically a hash or array)
7427
7440
  # into a new data structure that, when `#inspect` is called on it,
7428
7441
  # will provide descriptions of any contained matchers rather than
7429
7442
  # the normal `#inspect` output.
@@ -7491,7 +7504,7 @@ end
7491
7504
  #
7492
7505
  # source://rspec-expectations//lib/rspec/matchers/dsl.rb#6
7493
7506
  module RSpec::Matchers::DSL
7494
- # Defines a matcher alias. The returned matcher's `description` will be overriden
7507
+ # Defines a matcher alias. The returned matcher's `description` will be overridden
7495
7508
  # to reflect the phrasing of the new name, which will be used in failure messages
7496
7509
  # when passed as an argument to another matcher in a composed matcher expression.
7497
7510
  #
@@ -7511,7 +7524,7 @@ module RSpec::Matchers::DSL
7511
7524
  # @param old_name [Symbol] the original name for the matcher
7512
7525
  # @param options [Hash] options for the aliased matcher
7513
7526
  # @see RSpec::Matchers
7514
- # @yield [String] optional block that, when given, is used to define the overriden
7527
+ # @yield [String] optional block that, when given, is used to define the overridden
7515
7528
  # logic. The yielded arg is the original description or failure message. If no
7516
7529
  # block is provided, a default override is used based on the old and new names.
7517
7530
  #
@@ -7527,11 +7540,11 @@ module RSpec::Matchers::DSL
7527
7540
  # When args are passed to your matcher, they will be yielded here,
7528
7541
  # usually representing the expected value(s).
7529
7542
  #
7530
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#72
7543
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#73
7531
7544
  def define(name, &declarations); end
7532
7545
 
7533
7546
  # Defines a negated matcher. The returned matcher's `description` and `failure_message`
7534
- # will be overriden to reflect the phrasing of the new name, and the match logic will
7547
+ # will be overridden to reflect the phrasing of the new name, and the match logic will
7535
7548
  # be based on the original matcher but negated.
7536
7549
  #
7537
7550
  # @example
@@ -7541,11 +7554,11 @@ module RSpec::Matchers::DSL
7541
7554
  # @param negated_name [Symbol] the name for the negated matcher
7542
7555
  # @param base_name [Symbol] the name of the original matcher that will be negated
7543
7556
  # @see RSpec::Matchers
7544
- # @yield [String] optional block that, when given, is used to define the overriden
7557
+ # @yield [String] optional block that, when given, is used to define the overridden
7545
7558
  # logic. The yielded arg is the original description or failure message. If no
7546
7559
  # block is provided, a default override is used based on the old and new names.
7547
7560
  #
7548
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#60
7561
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#61
7549
7562
  def define_negated_matcher(negated_name, base_name, &description_override); end
7550
7563
 
7551
7564
  # Defines a custom matcher.
@@ -7557,14 +7570,14 @@ module RSpec::Matchers::DSL
7557
7570
  # When args are passed to your matcher, they will be yielded here,
7558
7571
  # usually representing the expected value(s).
7559
7572
  #
7560
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#72
7573
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#73
7561
7574
  def matcher(name, &declarations); end
7562
7575
 
7563
7576
  private
7564
7577
 
7565
7578
  # :nocov:
7566
7579
  #
7567
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#83
7580
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#84
7568
7581
  def warn_about_block_args(name, declarations); end
7569
7582
  end
7570
7583
 
@@ -7573,13 +7586,13 @@ end
7573
7586
  # override any of these using the {RSpec::Matchers::DSL::Macros Macros} methods
7574
7587
  # from within an `RSpec::Matchers.define` block.
7575
7588
  #
7576
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#384
7589
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#385
7577
7590
  module RSpec::Matchers::DSL::DefaultImplementations
7578
7591
  include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
7579
7592
 
7580
7593
  # The default description.
7581
7594
  #
7582
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#394
7595
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#395
7583
7596
  def description; end
7584
7597
 
7585
7598
  # Used internally by objects returns by `should` and `should_not`.
@@ -7587,14 +7600,14 @@ module RSpec::Matchers::DSL::DefaultImplementations
7587
7600
  # @api private
7588
7601
  # @return [Boolean]
7589
7602
  #
7590
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#389
7603
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#390
7591
7604
  def diffable?; end
7592
7605
 
7593
7606
  # Most matchers do not expect call stack jumps.
7594
7607
  #
7595
7608
  # @return [Boolean]
7596
7609
  #
7597
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#411
7610
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#412
7598
7611
  def expects_call_stack_jump?; end
7599
7612
 
7600
7613
  # Matchers do not support block expectations by default. You
@@ -7602,24 +7615,24 @@ module RSpec::Matchers::DSL::DefaultImplementations
7602
7615
  #
7603
7616
  # @return [Boolean]
7604
7617
  #
7605
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#402
7618
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#403
7606
7619
  def supports_block_expectations?; end
7607
7620
 
7608
7621
  # @return [Boolean]
7609
7622
  #
7610
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#406
7623
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#407
7611
7624
  def supports_value_expectations?; end
7612
7625
 
7613
7626
  private
7614
7627
 
7615
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#417
7628
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#418
7616
7629
  def chained_method_clause_sentences; end
7617
7630
  end
7618
7631
 
7619
7632
  # Contains the methods that are available from within the
7620
7633
  # `RSpec::Matchers.define` DSL for creating custom matchers.
7621
7634
  #
7622
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#103
7635
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#104
7623
7636
  module RSpec::Matchers::DSL::Macros
7624
7637
  # Convenience for defining methods on this matcher to create a fluent
7625
7638
  # interface. The trick about fluent interfaces is that each method must
@@ -7649,7 +7662,7 @@ module RSpec::Matchers::DSL::Macros
7649
7662
  #
7650
7663
  # expect(minor).to have_errors_on(:age).with("Not old enough to participate")
7651
7664
  #
7652
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#297
7665
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#298
7653
7666
  def chain(method_name, *attr_names, &definition); end
7654
7667
 
7655
7668
  # Customize the description to use for one-liners. Only use this when
@@ -7666,16 +7679,16 @@ module RSpec::Matchers::DSL::Macros
7666
7679
  # end
7667
7680
  # @yield [Object] actual the actual object (i.e. the value wrapped by `expect`)
7668
7681
  #
7669
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#252
7682
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#253
7670
7683
  def description(&definition); end
7671
7684
 
7672
7685
  # Tells the matcher to diff the actual and expected values in the failure
7673
7686
  # message.
7674
7687
  #
7675
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#258
7688
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#259
7676
7689
  def diffable; end
7677
7690
 
7678
- # Customizes the failure messsage to use when this matcher is
7691
+ # Customizes the failure message to use when this matcher is
7679
7692
  # asked to positively match. Only use this when the message
7680
7693
  # generated by default doesn't suit your needs.
7681
7694
  #
@@ -7690,10 +7703,10 @@ module RSpec::Matchers::DSL::Macros
7690
7703
  # end
7691
7704
  # @yield [Object] actual the actual object (i.e. the value wrapped by `expect`)
7692
7705
  #
7693
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#215
7706
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#216
7694
7707
  def failure_message(&definition); end
7695
7708
 
7696
- # Customize the failure messsage to use when this matcher is asked
7709
+ # Customize the failure message to use when this matcher is asked
7697
7710
  # to negatively match. Only use this when the message generated by
7698
7711
  # default doesn't suit your needs.
7699
7712
  #
@@ -7708,7 +7721,7 @@ module RSpec::Matchers::DSL::Macros
7708
7721
  # end
7709
7722
  # @yield [Object] actual the actual object (i.e. the value wrapped by `expect`)
7710
7723
  #
7711
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#234
7724
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#235
7712
7725
  def failure_message_when_negated(&definition); end
7713
7726
 
7714
7727
  # Stores the block that is used to determine whether this matcher passes
@@ -7737,7 +7750,7 @@ module RSpec::Matchers::DSL::Macros
7737
7750
  # @param options [Hash] for defining the behavior of the match block.
7738
7751
  # @yield [Object] actual the actual value (i.e. the value wrapped by `expect`)
7739
7752
  #
7740
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#130
7753
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#131
7741
7754
  def match(options = T.unsafe(nil), &match_block); end
7742
7755
 
7743
7756
  # Use this instead of `match` when the block will raise an exception
@@ -7754,7 +7767,7 @@ module RSpec::Matchers::DSL::Macros
7754
7767
  # expect(email_validator).to accept_as_valid("person@company.com")
7755
7768
  # @yield [Object] actual the actual object (i.e. the value wrapped by `expect`)
7756
7769
  #
7757
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#187
7770
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#188
7758
7771
  def match_unless_raises(expected_exception = T.unsafe(nil), &match_block); end
7759
7772
 
7760
7773
  # Use this to define the block for a negative expectation (`expect(...).not_to`)
@@ -7770,7 +7783,7 @@ module RSpec::Matchers::DSL::Macros
7770
7783
  # @param options [Hash] for defining the behavior of the match block.
7771
7784
  # @yield [Object] actual the actual value (i.e. the value wrapped by `expect`)
7772
7785
  #
7773
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#159
7786
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#160
7774
7787
  def match_when_negated(options = T.unsafe(nil), &match_block); end
7775
7788
 
7776
7789
  # Declares that the matcher can be used in a block expectation.
@@ -7778,12 +7791,12 @@ module RSpec::Matchers::DSL::Macros
7778
7791
  # expectation without declaring this.
7779
7792
  # (e.g. `expect { do_something }.to matcher`).
7780
7793
  #
7781
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#266
7794
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#267
7782
7795
  def supports_block_expectations; end
7783
7796
 
7784
7797
  private
7785
7798
 
7786
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#311
7799
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#312
7787
7800
  def assign_attributes(attr_names); end
7788
7801
 
7789
7802
  # Does the following:
@@ -7791,7 +7804,7 @@ module RSpec::Matchers::DSL::Macros
7791
7804
  # - Defines the named method using a user-provided block
7792
7805
  # in @user_method_defs, which is included as an ancestor
7793
7806
  # in the singleton class in which we eval the `define` block.
7794
- # - Defines an overriden definition for the same method
7807
+ # - Defines an overridden definition for the same method
7795
7808
  # usign the provided `our_def` block.
7796
7809
  # - Provides a default `our_def` block for the common case
7797
7810
  # of needing to call the user's definition with `@actual`
@@ -7804,7 +7817,7 @@ module RSpec::Matchers::DSL::Macros
7804
7817
  # (e.g. assigning `@actual`, rescueing errors, etc) and
7805
7818
  # can `super` to the user's definition.
7806
7819
  #
7807
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#345
7820
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#346
7808
7821
  def define_user_override(method_name, user_def, &our_def); end
7809
7822
  end
7810
7823
 
@@ -7812,32 +7825,32 @@ end
7812
7825
  #
7813
7826
  # @deprecated Use the methods from {Macros} instead.
7814
7827
  #
7815
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#353
7828
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#354
7816
7829
  module RSpec::Matchers::DSL::Macros::Deprecated
7817
7830
  # @deprecated Use {Macros#failure_message} instead.
7818
7831
  #
7819
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#367
7832
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#368
7820
7833
  def failure_message_for_should(&definition); end
7821
7834
 
7822
7835
  # @deprecated Use {Macros#failure_message_when_negated} instead.
7823
7836
  #
7824
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#373
7837
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#374
7825
7838
  def failure_message_for_should_not(&definition); end
7826
7839
 
7827
7840
  # @deprecated Use {Macros#match} instead.
7828
7841
  #
7829
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#355
7842
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#356
7830
7843
  def match_for_should(&definition); end
7831
7844
 
7832
7845
  # @deprecated Use {Macros#match_when_negated} instead.
7833
7846
  #
7834
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#361
7847
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#362
7835
7848
  def match_for_should_not(&definition); end
7836
7849
  end
7837
7850
 
7838
7851
  # @private
7839
7852
  #
7840
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#145
7853
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#146
7841
7854
  RSpec::Matchers::DSL::Macros::RAISE_NOTIFIER = T.let(T.unsafe(nil), Proc)
7842
7855
 
7843
7856
  # The class used for custom matchers. The block passed to
@@ -7845,7 +7858,7 @@ RSpec::Matchers::DSL::Macros::RAISE_NOTIFIER = T.let(T.unsafe(nil), Proc)
7845
7858
  # of the singleton class of an instance, and will have the
7846
7859
  # {RSpec::Matchers::DSL::Macros Macros} methods available.
7847
7860
  #
7848
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#432
7861
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#433
7849
7862
  class RSpec::Matchers::DSL::Matcher
7850
7863
  include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
7851
7864
  include ::RSpec::Matchers::DSL::DefaultImplementations
@@ -7857,18 +7870,18 @@ class RSpec::Matchers::DSL::Matcher
7857
7870
  # @api private
7858
7871
  # @return [Matcher] a new instance of Matcher
7859
7872
  #
7860
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#461
7873
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#462
7861
7874
  def initialize(name, declarations, matcher_execution_context, *expected, &block_arg); end
7862
7875
 
7863
7876
  # Exposes the value being matched against -- generally the object
7864
7877
  # object wrapped by `expect`.
7865
7878
  #
7866
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#448
7879
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#449
7867
7880
  def actual; end
7868
7881
 
7869
7882
  # The block parameter used in the expectation
7870
7883
  #
7871
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#455
7884
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#456
7872
7885
  def block_arg; end
7873
7886
 
7874
7887
  # Provides the expected value. This will return an array if
@@ -7877,7 +7890,7 @@ class RSpec::Matchers::DSL::Matcher
7877
7890
  #
7878
7891
  # @see #expected_as_array
7879
7892
  #
7880
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#481
7893
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#482
7881
7894
  def expected; end
7882
7895
 
7883
7896
  # Returns the expected value as an an array. This exists primarily
@@ -7886,30 +7899,30 @@ class RSpec::Matchers::DSL::Matcher
7886
7899
  #
7887
7900
  # @see #expected
7888
7901
  #
7889
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#493
7902
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#494
7890
7903
  def expected_as_array; end
7891
7904
 
7892
7905
  # Adds the name (rather than a cryptic hex number)
7893
7906
  # so we can identify an instance of
7894
7907
  # the matcher in error messages (e.g. for `NoMethodError`)
7895
7908
  #
7896
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#498
7909
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#499
7897
7910
  def inspect; end
7898
7911
 
7899
7912
  # The name of the matcher.
7900
7913
  #
7901
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#458
7914
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#459
7902
7915
  def name; end
7903
7916
 
7904
7917
  # Exposes the exception raised during the matching by `match_unless_raises`.
7905
7918
  # Could be useful to extract details for a failure message.
7906
7919
  #
7907
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#452
7920
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#453
7908
7921
  def rescued_exception; end
7909
7922
 
7910
7923
  private
7911
7924
 
7912
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#521
7925
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#522
7913
7926
  def actual_arg_for(block); end
7914
7927
 
7915
7928
  # Takes care of forwarding unhandled messages to the
@@ -7919,7 +7932,7 @@ class RSpec::Matchers::DSL::Matcher
7919
7932
  # Rails' test helper methods, but it's also a useful
7920
7933
  # feature in its own right.
7921
7934
  #
7922
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#531
7935
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#532
7923
7936
  def method_missing(method, *args, **_arg2, &block); end
7924
7937
 
7925
7938
  # Indicates that this matcher responds to messages
@@ -7928,7 +7941,7 @@ class RSpec::Matchers::DSL::Matcher
7928
7941
  #
7929
7942
  # @return [Boolean]
7930
7943
  #
7931
- # source://rspec-expectations//lib/rspec/matchers/dsl.rb#506
7944
+ # source://rspec-expectations//lib/rspec/matchers/dsl.rb#507
7932
7945
  def respond_to_missing?(method, include_private = T.unsafe(nil)); end
7933
7946
  end
7934
7947
 
@@ -8085,6 +8098,3 @@ class RSpec::Matchers::MatcherDelegator
8085
8098
  # source://rspec-expectations//lib/rspec/matchers/matcher_delegator.rb#18
8086
8099
  def respond_to_missing?(name, include_all = T.unsafe(nil)); end
8087
8100
  end
8088
-
8089
- # source://rspec-core/3.12.0/lib/rspec/core/shared_context.rb#54
8090
- RSpec::SharedContext = RSpec::Core::SharedContext