ipt 1.0.1 → 2.1.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 (235) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/test.yml +41 -0
  3. data/.gitignore +0 -1
  4. data/Gemfile.lock +318 -0
  5. data/README.md +1 -1
  6. data/bin/tapioca +29 -0
  7. data/ipt.gemspec +15 -8
  8. data/lib/pt.rb +8 -9
  9. data/lib/pt/action.rb +42 -24
  10. data/lib/pt/cli.rb +1 -1
  11. data/lib/pt/client.rb +2 -3
  12. data/lib/pt/configuration.rb +1 -1
  13. data/lib/pt/data_row.rb +1 -0
  14. data/lib/pt/data_table.rb +1 -2
  15. data/lib/pt/io.rb +16 -7
  16. data/lib/pt/version.rb +2 -1
  17. data/sorbet/config +3 -0
  18. data/sorbet/rbi/gems/activesupport.rbi +671 -0
  19. data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
  20. data/sorbet/rbi/gems/addressable.rbi +147 -0
  21. data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
  22. data/sorbet/rbi/gems/anyway_config.rbi +197 -0
  23. data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
  24. data/sorbet/rbi/gems/aruba.rbi +917 -0
  25. data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
  26. data/sorbet/rbi/gems/ast.rbi +49 -0
  27. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  28. data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
  29. data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
  30. data/sorbet/rbi/gems/childprocess.rbi +107 -0
  31. data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
  32. data/sorbet/rbi/gems/coderay.rbi +285 -0
  33. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  34. data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
  35. data/sorbet/rbi/gems/colorize.rbi +82 -0
  36. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  37. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  38. data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
  39. data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
  40. data/sorbet/rbi/gems/config.rbi +124 -0
  41. data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
  42. data/sorbet/rbi/gems/contracts.rbi +391 -0
  43. data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
  44. data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
  45. data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
  46. data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
  47. data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
  48. data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
  49. data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
  50. data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
  51. data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
  52. data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
  53. data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
  54. data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
  55. data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
  56. data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
  57. data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
  58. data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
  59. data/sorbet/rbi/gems/cucumber.rbi +1876 -0
  60. data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
  61. data/sorbet/rbi/gems/declarative.rbi +75 -0
  62. data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
  63. data/sorbet/rbi/gems/deep_merge.rbi +26 -0
  64. data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
  65. data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
  66. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  67. data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
  68. data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
  69. data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
  70. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
  71. data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
  72. data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
  73. data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
  74. data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
  75. data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
  76. data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
  77. data/sorbet/rbi/gems/equalizer.rbi +23 -0
  78. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
  79. data/sorbet/rbi/gems/equatable.rbi +26 -0
  80. data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
  81. data/sorbet/rbi/gems/excon.rbi +378 -0
  82. data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
  83. data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
  84. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
  85. data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
  86. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
  87. data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
  88. data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
  89. data/sorbet/rbi/gems/faraday.rbi +606 -0
  90. data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
  91. data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
  92. data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
  93. data/sorbet/rbi/gems/ffi.rbi +560 -0
  94. data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
  95. data/sorbet/rbi/gems/formatador.rbi +52 -0
  96. data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
  97. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
  98. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
  99. data/sorbet/rbi/gems/guard.rbi +397 -0
  100. data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
  101. data/sorbet/rbi/gems/highline.rbi +567 -0
  102. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  103. data/sorbet/rbi/gems/i18n.rbi +133 -0
  104. data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
  105. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
  106. data/sorbet/rbi/gems/listen.rbi +301 -0
  107. data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
  108. data/sorbet/rbi/gems/lumberjack.rbi +299 -0
  109. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
  110. data/sorbet/rbi/gems/method_source.rbi +64 -0
  111. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  112. data/sorbet/rbi/gems/middleware.rbi +32 -0
  113. data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
  114. data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
  115. data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
  116. data/sorbet/rbi/gems/mime-types.rbi +218 -0
  117. data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
  118. data/sorbet/rbi/gems/mini_mime.rbi +52 -0
  119. data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
  120. data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
  121. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  122. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  123. data/sorbet/rbi/gems/multi_test.rbi +28 -0
  124. data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
  125. data/sorbet/rbi/gems/multipart-post.rbi +53 -0
  126. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
  127. data/sorbet/rbi/gems/necromancer.rbi +135 -0
  128. data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
  129. data/sorbet/rbi/gems/nenv.rbi +60 -0
  130. data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
  131. data/sorbet/rbi/gems/notiffany.rbi +215 -0
  132. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
  133. data/sorbet/rbi/gems/paint.rbi +31 -0
  134. data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
  135. data/sorbet/rbi/gems/parlour.rbi +840 -0
  136. data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
  137. data/sorbet/rbi/gems/parser.rbi +1517 -0
  138. data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
  139. data/sorbet/rbi/gems/pastel.rbi +128 -0
  140. data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
  141. data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
  142. data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
  143. data/sorbet/rbi/gems/pry.rbi +1898 -0
  144. data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
  145. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  146. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
  147. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  148. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  149. data/sorbet/rbi/gems/rake.rbi +647 -0
  150. data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
  151. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  152. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  153. data/sorbet/rbi/gems/representable.rbi +227 -0
  154. data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
  155. data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
  156. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
  157. data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
  158. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
  159. data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
  160. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  161. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  162. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  163. data/sorbet/rbi/gems/rspec.rbi +15 -0
  164. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  165. data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
  166. data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
  167. data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
  168. data/sorbet/rbi/gems/shellany.rbi +29 -0
  169. data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
  170. data/sorbet/rbi/gems/spoom.rbi +872 -0
  171. data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
  172. data/sorbet/rbi/gems/sys-uname.rbi +66 -0
  173. data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
  174. data/sorbet/rbi/gems/tapioca.rbi +39 -0
  175. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
  176. data/sorbet/rbi/gems/terminal-table.rbi +166 -0
  177. data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
  178. data/sorbet/rbi/gems/thor.rbi +537 -0
  179. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  180. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
  181. data/sorbet/rbi/gems/tracker_api.rbi +33 -0
  182. data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
  183. data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
  184. data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
  185. data/sorbet/rbi/gems/tty-color.rbi +41 -0
  186. data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
  187. data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
  188. data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
  189. data/sorbet/rbi/gems/tty-pager.rbi +41 -0
  190. data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
  191. data/sorbet/rbi/gems/tty-platform.rbi +36 -0
  192. data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
  193. data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
  194. data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
  195. data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
  196. data/sorbet/rbi/gems/tty-screen.rbi +40 -0
  197. data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
  198. data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
  199. data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
  200. data/sorbet/rbi/gems/tty-table.rbi +417 -0
  201. data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
  202. data/sorbet/rbi/gems/tty-which.rbi +22 -0
  203. data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
  204. data/sorbet/rbi/gems/tty.rbi +126 -0
  205. data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
  206. data/sorbet/rbi/gems/tzinfo.rbi +588 -0
  207. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
  208. data/sorbet/rbi/gems/uber.rbi +18 -0
  209. data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
  210. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  211. data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
  212. data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
  213. data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
  214. data/sorbet/rbi/gems/vcr.rbi +582 -0
  215. data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
  216. data/sorbet/rbi/gems/verse.rbi +87 -0
  217. data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
  218. data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
  219. data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
  220. data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
  221. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
  222. data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
  223. data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
  224. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
  225. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
  226. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
  227. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  228. data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
  229. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  230. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  231. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  232. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  233. data/sorbet/rbi/todo.rbi +23 -0
  234. data/sorbet/tapioca/require.rb +4 -0
  235. metadata +341 -23
@@ -0,0 +1,1652 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `rspec-expectations` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module RSpec
8
+ extend ::RSpec::Support::Warnings
9
+ extend ::RSpec::Core::Warnings
10
+
11
+ class << self
12
+ def clear_examples; end
13
+ def configuration; end
14
+ def configuration=(_arg0); end
15
+ def configure; end
16
+ def const_missing(name); end
17
+ def context(*args, &example_group_block); end
18
+ def current_example; end
19
+ def current_example=(example); end
20
+ def describe(*args, &example_group_block); end
21
+ def example_group(*args, &example_group_block); end
22
+ def fcontext(*args, &example_group_block); end
23
+ def fdescribe(*args, &example_group_block); end
24
+ def reset; end
25
+ def shared_context(name, *args, &block); end
26
+ def shared_examples(name, *args, &block); end
27
+ def shared_examples_for(name, *args, &block); end
28
+ def world; end
29
+ def world=(_arg0); end
30
+ def xcontext(*args, &example_group_block); end
31
+ def xdescribe(*args, &example_group_block); end
32
+ end
33
+ end
34
+
35
+ module RSpec::Expectations
36
+ class << self
37
+ def configuration; end
38
+ def differ; end
39
+ def fail_with(message, expected = T.unsafe(nil), actual = T.unsafe(nil)); end
40
+ end
41
+ end
42
+
43
+ class RSpec::Expectations::BlockExpectationTarget < ::RSpec::Expectations::ExpectationTarget
44
+ def not_to(matcher, message = T.unsafe(nil), &block); end
45
+ def to(matcher, message = T.unsafe(nil), &block); end
46
+ def to_not(matcher, message = T.unsafe(nil), &block); end
47
+
48
+ private
49
+
50
+ def enforce_block_expectation(matcher); end
51
+ def supports_block_expectations?(matcher); end
52
+ end
53
+
54
+ class RSpec::Expectations::BlockSnippetExtractor
55
+ def initialize(proc, method_name); end
56
+
57
+ def body_content_lines; end
58
+ def method_name; end
59
+ def proc; end
60
+
61
+ private
62
+
63
+ def beginning_line_number; end
64
+ def block_token_extractor; end
65
+ def file_path; end
66
+ def raw_body_lines; end
67
+ def raw_body_snippet; end
68
+ def source; end
69
+ def source_location; end
70
+
71
+ class << self
72
+ def try_extracting_single_line_body_of(proc, method_name); end
73
+ end
74
+ end
75
+
76
+ class RSpec::Expectations::BlockSnippetExtractor::AmbiguousTargetError < ::RSpec::Expectations::BlockSnippetExtractor::Error; end
77
+
78
+ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
79
+ def beginning_line_number; end
80
+ def beginning_line_number=(_); end
81
+ def body_content_locations; end
82
+ def method_call_location; end
83
+ def method_name; end
84
+ def method_name=(_); end
85
+ def source; end
86
+ def source=(_); end
87
+
88
+ private
89
+
90
+ def block_body_node; end
91
+ def block_wrapper_node; end
92
+ def candidate_block_wrapper_nodes; end
93
+ def candidate_method_ident_nodes; end
94
+ def method_ident_node; end
95
+ def method_ident_node?(node); end
96
+
97
+ class << self
98
+ def [](*_arg0); end
99
+ def inspect; end
100
+ def members; end
101
+ def new(*_arg0); end
102
+ end
103
+ end
104
+
105
+ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
106
+ def initialize(*_arg0); end
107
+
108
+ def beginning_line_number; end
109
+ def beginning_line_number=(_); end
110
+ def body_tokens; end
111
+ def method_name; end
112
+ def method_name=(_); end
113
+ def source; end
114
+ def source=(_); end
115
+ def state; end
116
+
117
+ private
118
+
119
+ def after_beginning_of_args_state(token); end
120
+ def after_beginning_of_body_state(token); end
121
+ def after_method_call_state(token); end
122
+ def after_opener_state(token); end
123
+ def block_locator; end
124
+ def correct_block?(body_tokens); end
125
+ def finalize_pending_tokens!; end
126
+ def finish!; end
127
+ def finish_or_find_next_block_if_incorrect!; end
128
+ def handle_closer_token(token); end
129
+ def handle_opener_token(token); end
130
+ def initial_state(token); end
131
+ def invoke_state_handler(token); end
132
+ def opener_token?(token); end
133
+ def opener_token_stack; end
134
+ def parse!; end
135
+ def pending_tokens; end
136
+ def pipe_token?(token); end
137
+
138
+ class << self
139
+ def [](*_arg0); end
140
+ def inspect; end
141
+ def members; end
142
+ def new(*_arg0); end
143
+ end
144
+ end
145
+
146
+ class RSpec::Expectations::BlockSnippetExtractor::Error < ::StandardError; end
147
+ class RSpec::Expectations::BlockSnippetExtractor::TargetNotFoundError < ::RSpec::Expectations::BlockSnippetExtractor::Error; end
148
+
149
+ class RSpec::Expectations::Configuration
150
+ def initialize; end
151
+
152
+ def add_should_and_should_not_to(*modules); end
153
+ def backtrace_formatter; end
154
+ def backtrace_formatter=(_arg0); end
155
+ def color?; end
156
+ def false_positives_handler; end
157
+ def include_chain_clauses_in_custom_matcher_descriptions=(_arg0); end
158
+ def include_chain_clauses_in_custom_matcher_descriptions?; end
159
+ def max_formatted_output_length=(length); end
160
+ def on_potential_false_positives; end
161
+ def on_potential_false_positives=(behavior); end
162
+ def reset_syntaxes_to_default; end
163
+ def strict_predicate_matchers; end
164
+ def strict_predicate_matchers=(flag); end
165
+ def strict_predicate_matchers?; end
166
+ def syntax; end
167
+ def syntax=(values); end
168
+ def warn_about_potential_false_positives=(boolean); end
169
+ def warn_about_potential_false_positives?; end
170
+ end
171
+
172
+ RSpec::Expectations::Configuration::FALSE_POSITIVE_BEHAVIOURS = T.let(T.unsafe(nil), Hash)
173
+
174
+ module RSpec::Expectations::Configuration::NullBacktraceFormatter
175
+ class << self
176
+ def format_backtrace(backtrace); end
177
+ end
178
+ end
179
+
180
+ module RSpec::Expectations::ExpectationHelper
181
+ class << self
182
+ def check_message(msg); end
183
+ def handle_failure(matcher, message, failure_message_method); end
184
+ def modern_matcher_from(matcher); end
185
+ def with_matcher(handler, matcher, message); end
186
+ end
187
+ end
188
+
189
+ class RSpec::Expectations::ExpectationNotMetError < ::Exception; end
190
+
191
+ class RSpec::Expectations::ExpectationTarget
192
+ include ::RSpec::Expectations::ExpectationTarget::InstanceMethods
193
+
194
+ def initialize(value); end
195
+
196
+ def target; end
197
+
198
+ class << self
199
+ def for(value, block); end
200
+ end
201
+ end
202
+
203
+ module RSpec::Expectations::ExpectationTarget::InstanceMethods
204
+ def not_to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
205
+ def to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
206
+ def to_not(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
207
+
208
+ private
209
+
210
+ def prevent_operator_matchers(verb); end
211
+ end
212
+
213
+ module RSpec::Expectations::ExpectationTarget::UndefinedValue; end
214
+
215
+ class RSpec::Expectations::FailureAggregator
216
+ def initialize(block_label, metadata); end
217
+
218
+ def aggregate; end
219
+ def block_label; end
220
+ def call(failure, options); end
221
+ def failures; end
222
+ def metadata; end
223
+ def other_errors; end
224
+
225
+ private
226
+
227
+ def assign_backtrace(failure); end
228
+ def notify_aggregated_failures; end
229
+ end
230
+
231
+ RSpec::Expectations::LegacyMacherAdapter = RSpec::Expectations::LegacyMatcherAdapter
232
+
233
+ class RSpec::Expectations::LegacyMatcherAdapter < ::RSpec::Matchers::MatcherDelegator
234
+ def initialize(matcher); end
235
+
236
+ class << self
237
+ def wrap(matcher); end
238
+ end
239
+ end
240
+
241
+ class RSpec::Expectations::LegacyMatcherAdapter::RSpec1 < ::RSpec::Expectations::LegacyMatcherAdapter
242
+ def failure_message; end
243
+ def failure_message_when_negated; end
244
+
245
+ class << self
246
+ def interface_matches?(matcher); end
247
+ end
248
+ end
249
+
250
+ class RSpec::Expectations::LegacyMatcherAdapter::RSpec2 < ::RSpec::Expectations::LegacyMatcherAdapter
251
+ def failure_message; end
252
+ def failure_message_when_negated; end
253
+
254
+ class << self
255
+ def interface_matches?(matcher); end
256
+ end
257
+ end
258
+
259
+ class RSpec::Expectations::MultipleExpectationsNotMetError < ::RSpec::Expectations::ExpectationNotMetError
260
+ def initialize(failure_aggregator); end
261
+
262
+ def aggregation_block_label; end
263
+ def aggregation_metadata; end
264
+ def all_exceptions; end
265
+ def exception_count_description; end
266
+ def failures; end
267
+ def message; end
268
+ def other_errors; end
269
+ def summary; end
270
+
271
+ private
272
+
273
+ def backtrace_line(line); end
274
+ def block_description; end
275
+ def enumerated(exceptions, index_offset); end
276
+ def enumerated_errors; end
277
+ def enumerated_failures; end
278
+ def exclusion_patterns; end
279
+ def format_backtrace(backtrace); end
280
+ def indentation; end
281
+ def indented(failure_message, index); end
282
+ def index_label(index); end
283
+ def longest_index_label_width; end
284
+ def pluralize(noun, count); end
285
+ def width_of_label(index); end
286
+ end
287
+
288
+ class RSpec::Expectations::NegativeExpectationHandler
289
+ class << self
290
+ def does_not_match?(matcher, actual, &block); end
291
+ def handle_matcher(actual, initial_matcher, custom_message = T.unsafe(nil), &block); end
292
+ def opposite_should_method; end
293
+ def should_method; end
294
+ def verb; end
295
+ end
296
+ end
297
+
298
+ class RSpec::Expectations::PositiveExpectationHandler
299
+ class << self
300
+ def handle_matcher(actual, initial_matcher, custom_message = T.unsafe(nil), &block); end
301
+ def opposite_should_method; end
302
+ def should_method; end
303
+ def verb; end
304
+ end
305
+ end
306
+
307
+ module RSpec::Expectations::Syntax
308
+ private
309
+
310
+ def default_should_host; end
311
+ def disable_expect(syntax_host = T.unsafe(nil)); end
312
+ def disable_should(syntax_host = T.unsafe(nil)); end
313
+ def enable_expect(syntax_host = T.unsafe(nil)); end
314
+ def enable_should(syntax_host = T.unsafe(nil)); end
315
+ def expect_enabled?(syntax_host = T.unsafe(nil)); end
316
+ def should_enabled?(syntax_host = T.unsafe(nil)); end
317
+ def warn_about_should!; end
318
+ def warn_about_should_unless_configured(method_name); end
319
+
320
+ class << self
321
+ def default_should_host; end
322
+ def disable_expect(syntax_host = T.unsafe(nil)); end
323
+ def disable_should(syntax_host = T.unsafe(nil)); end
324
+ def enable_expect(syntax_host = T.unsafe(nil)); end
325
+ def enable_should(syntax_host = T.unsafe(nil)); end
326
+ def expect_enabled?(syntax_host = T.unsafe(nil)); end
327
+ def should_enabled?(syntax_host = T.unsafe(nil)); end
328
+ def warn_about_should!; end
329
+ def warn_about_should_unless_configured(method_name); end
330
+ end
331
+ end
332
+
333
+ module RSpec::Expectations::Version; end
334
+ RSpec::Expectations::Version::STRING = T.let(T.unsafe(nil), String)
335
+ RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
336
+
337
+ module RSpec::Matchers
338
+ extend ::RSpec::Matchers::DSL
339
+
340
+ def a_block_changing(*args, &block); end
341
+ def a_block_outputting(*args, &block); end
342
+ def a_block_raising(*args, &block); end
343
+ def a_block_throwing(*args, &block); end
344
+ def a_block_yielding_control(*args, &block); end
345
+ def a_block_yielding_successive_args(*args, &block); end
346
+ def a_block_yielding_with_args(*args, &block); end
347
+ def a_block_yielding_with_no_args(*args, &block); end
348
+ def a_collection_containing_exactly(*args, &block); end
349
+ def a_collection_ending_with(*args, &block); end
350
+ def a_collection_including(*args, &block); end
351
+ def a_collection_starting_with(*args, &block); end
352
+ def a_command_found_in_path(*args, &block); end
353
+ def a_command_having_output(*args, &block); end
354
+ def a_directory_having_sub_directory(*args, &block); end
355
+ def a_falsey_value(*args, &block); end
356
+ def a_falsy_value(*args, &block); end
357
+ def a_file_having_content(*args, &block); end
358
+ def a_file_name_matching(*args, &block); end
359
+ def a_file_of_size(*args, &block); end
360
+ def a_file_with_same_content_as(*args, &block); end
361
+ def a_file_with_same_content_like(expected); end
362
+ def a_hash_including(*args, &block); end
363
+ def a_kind_of(*args, &block); end
364
+ def a_nil_value(*args, &block); end
365
+ def a_path_having_permissions(*args, &block); end
366
+ def a_path_matching_pattern(*args, &block); end
367
+ def a_range_covering(*args, &block); end
368
+ def a_string_ending_with(*args, &block); end
369
+ def a_string_including(*args, &block); end
370
+ def a_string_matching(*args, &block); end
371
+ def a_string_starting_with(*args, &block); end
372
+ def a_truthy_value(*args, &block); end
373
+ def a_value(*args, &block); end
374
+ def a_value_between(*args, &block); end
375
+ def a_value_within(*args, &block); end
376
+ def aggregate_failures(label = T.unsafe(nil), metadata = T.unsafe(nil), &block); end
377
+ def all(expected); end
378
+ def an_absolute_path(*args, &block); end
379
+ def an_existing_directory(*args, &block); end
380
+ def an_existing_executable(*args, &block); end
381
+ def an_existing_file(*args, &block); end
382
+ def an_existing_path(*args, &block); end
383
+ def an_instance_of(*args, &block); end
384
+ def an_object_eq_to(*args, &block); end
385
+ def an_object_eql_to(*args, &block); end
386
+ def an_object_equal_to(*args, &block); end
387
+ def an_object_existing(*args, &block); end
388
+ def an_object_having_attributes(*args, &block); end
389
+ def an_object_matching(*args, &block); end
390
+ def an_object_responding_to(*args, &block); end
391
+ def an_object_satisfying(*args, &block); end
392
+ def an_output_string_being_eq(*args, &block); end
393
+ def an_output_string_including(*args, &block); end
394
+ def an_output_string_matching(*args, &block); end
395
+ def be(*args); end
396
+ def be_a(klass); end
397
+ def be_a_command_found_in_path(*expected, &block_arg); end
398
+ def be_a_kind_of(expected); end
399
+ def be_an(klass); end
400
+ def be_an_absolute_path(*expected, &block_arg); end
401
+ def be_an_existing_directory(*expected, &block_arg); end
402
+ def be_an_existing_executable(*expected, &block_arg); end
403
+ def be_an_existing_file(*expected, &block_arg); end
404
+ def be_an_existing_path(*expected, &block_arg); end
405
+ def be_an_instance_of(expected); end
406
+ def be_between(min, max); end
407
+ def be_falsey; end
408
+ def be_falsy(*args, &block); end
409
+ def be_instance_of(expected); end
410
+ def be_kind_of(expected); end
411
+ def be_nil; end
412
+ def be_successfully_executed(*expected, &block_arg); end
413
+ def be_truthy; end
414
+ def be_within(delta); end
415
+ def change(receiver = T.unsafe(nil), message = T.unsafe(nil), &block); end
416
+ def changing(*args, &block); end
417
+ def contain_exactly(*items); end
418
+ def containing_exactly(*args, &block); end
419
+ def cover(*values); end
420
+ def covering(*args, &block); end
421
+ def end_with(*expected); end
422
+ def ending_with(*args, &block); end
423
+ def eq(expected); end
424
+ def eq_to(*args, &block); end
425
+ def eql(expected); end
426
+ def eql_to(*args, &block); end
427
+ def equal(expected); end
428
+ def equal_to(*args, &block); end
429
+ def exist(*args); end
430
+ def existing(*args, &block); end
431
+ def expect(value = T.unsafe(nil), &block); end
432
+ def file_content_including(*args, &block); end
433
+ def file_content_matching(*args, &block); end
434
+ def have_attributes(expected); end
435
+ def have_exit_status(*expected, &block_arg); end
436
+ def have_failed_running(*args, &block); end
437
+ def have_file_content(*expected, &block_arg); end
438
+ def have_file_size(*expected, &block_arg); end
439
+ def have_finished_in_time(*expected, &block_arg); end
440
+ def have_output(*expected, &block_arg); end
441
+ def have_output_on_stderr(*expected, &block_arg); end
442
+ def have_output_on_stdout(*expected, &block_arg); end
443
+ def have_output_size(*expected, &block_arg); end
444
+ def have_permissions(*expected, &block_arg); end
445
+ def have_same_file_content_as(*expected, &block_arg); end
446
+ def have_same_file_content_like(expected); end
447
+ def have_sub_directory(*expected, &block_arg); end
448
+ def having_attributes(*args, &block); end
449
+ def include(*expected); end
450
+ def include_an_object(expected); end
451
+ def include_output_string(*expected, &block_arg); end
452
+ def include_regexp(*expected, &block_arg); end
453
+ def including(*args, &block); end
454
+ def match(expected); end
455
+ def match_array(items); end
456
+ def match_output_string(*expected, &block_arg); end
457
+ def match_path_pattern(*expected, &block_arg); end
458
+ def match_regex(*args, &block); end
459
+ def matching(*args, &block); end
460
+ def output(expected = T.unsafe(nil)); end
461
+ def output_string_eq(*expected, &block_arg); end
462
+ def raise_error(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
463
+ def raise_exception(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
464
+ def raising(*args, &block); end
465
+ def respond_to(*names); end
466
+ def responding_to(*args, &block); end
467
+ def run_too_long(*args, &block); end
468
+ def satisfy(description = T.unsafe(nil), &block); end
469
+ def satisfying(*args, &block); end
470
+ def start_with(*expected); end
471
+ def starting_with(*args, &block); end
472
+ def throw_symbol(expected_symbol = T.unsafe(nil), expected_arg = T.unsafe(nil)); end
473
+ def throwing(*args, &block); end
474
+ def within(*args, &block); end
475
+ def yield_control; end
476
+ def yield_successive_args(*args); end
477
+ def yield_with_args(*args); end
478
+ def yield_with_no_args; end
479
+ def yielding_control(*args, &block); end
480
+ def yielding_successive_args(*args, &block); end
481
+ def yielding_with_args(*args, &block); end
482
+ def yielding_with_no_args(*args, &block); end
483
+
484
+ private
485
+
486
+ def method_missing(method, *args, &block); end
487
+ def respond_to_missing?(method, *_arg1); end
488
+
489
+ class << self
490
+ def alias_matcher(*args, &block); end
491
+ def clear_generated_description; end
492
+ def configuration; end
493
+ def generated_description; end
494
+ def is_a_describable_matcher?(obj); end
495
+ def is_a_matcher?(obj); end
496
+ def last_description; end
497
+ def last_expectation_handler; end
498
+ def last_expectation_handler=(_arg0); end
499
+ def last_matcher; end
500
+ def last_matcher=(_arg0); end
501
+ end
502
+ end
503
+
504
+ class RSpec::Matchers::AliasedMatcher < ::RSpec::Matchers::MatcherDelegator
505
+ def initialize(base_matcher, description_block); end
506
+
507
+ def description; end
508
+ def failure_message; end
509
+ def failure_message_when_negated; end
510
+ def method_missing(*_arg0); end
511
+ end
512
+
513
+ class RSpec::Matchers::AliasedMatcherWithOperatorSupport < ::RSpec::Matchers::AliasedMatcher; end
514
+
515
+ class RSpec::Matchers::AliasedNegatedMatcher < ::RSpec::Matchers::AliasedMatcher
516
+ def does_not_match?(*args, &block); end
517
+ def failure_message; end
518
+ def failure_message_when_negated; end
519
+ def matches?(*args, &block); end
520
+
521
+ private
522
+
523
+ def optimal_failure_message(same, inverted); end
524
+ end
525
+
526
+ RSpec::Matchers::AliasedNegatedMatcher::DefaultFailureMessages = RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
527
+ RSpec::Matchers::BE_PREDICATE_REGEX = T.let(T.unsafe(nil), Regexp)
528
+ module RSpec::Matchers::BuiltIn; end
529
+
530
+ class RSpec::Matchers::BuiltIn::All < ::RSpec::Matchers::BuiltIn::BaseMatcher
531
+ def initialize(matcher); end
532
+
533
+ def description; end
534
+ def does_not_match?(_actual); end
535
+ def failed_objects; end
536
+ def failure_message; end
537
+ def matcher; end
538
+
539
+ private
540
+
541
+ def add_new_line_if_needed(message); end
542
+ def failure_message_for_item(index, failure_message); end
543
+ def indent_multiline_message(message); end
544
+ def index_failed_objects; end
545
+ def initialize_copy(other); end
546
+ def iterable?; end
547
+ def match(_expected, _actual); end
548
+ end
549
+
550
+ class RSpec::Matchers::BuiltIn::BaseMatcher
551
+ include ::RSpec::Matchers::Composable
552
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
553
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
554
+
555
+ def initialize(expected = T.unsafe(nil)); end
556
+
557
+ def actual; end
558
+ def actual_formatted; end
559
+ def description; end
560
+ def diffable?; end
561
+ def expected; end
562
+ def expected_formatted; end
563
+ def expects_call_stack_jump?; end
564
+ def match_unless_raises(*exceptions); end
565
+ def matcher_name; end
566
+ def matcher_name=(_arg0); end
567
+ def matches?(actual); end
568
+ def present_ivars; end
569
+ def rescued_exception; end
570
+ def supports_block_expectations?; end
571
+
572
+ private
573
+
574
+ def assert_ivars(*expected_ivars); end
575
+
576
+ class << self
577
+ def matcher_name; end
578
+
579
+ private
580
+
581
+ def underscore(camel_cased_word); end
582
+ end
583
+ end
584
+
585
+ module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
586
+ def failure_message; end
587
+ def failure_message_when_negated; end
588
+
589
+ class << self
590
+ def has_default_failure_messages?(matcher); end
591
+ end
592
+ end
593
+
594
+ module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
595
+ private
596
+
597
+ def improve_hash_formatting(inspect_string); end
598
+
599
+ class << self
600
+ def improve_hash_formatting(inspect_string); end
601
+ end
602
+ end
603
+
604
+ RSpec::Matchers::BuiltIn::BaseMatcher::UNDEFINED = T.let(T.unsafe(nil), Object)
605
+
606
+ class RSpec::Matchers::BuiltIn::Be < ::RSpec::Matchers::BuiltIn::BaseMatcher
607
+ include ::RSpec::Matchers::BuiltIn::BeHelpers
608
+
609
+ def initialize(*args); end
610
+
611
+ def <(operand); end
612
+ def <=(operand); end
613
+ def ==(operand); end
614
+ def ===(operand); end
615
+ def =~(operand); end
616
+ def >(operand); end
617
+ def >=(operand); end
618
+ def failure_message; end
619
+ def failure_message_when_negated; end
620
+
621
+ private
622
+
623
+ def match(_, actual); end
624
+ end
625
+
626
+ class RSpec::Matchers::BuiltIn::BeAKindOf < ::RSpec::Matchers::BuiltIn::BaseMatcher
627
+ private
628
+
629
+ def match(expected, actual); end
630
+ end
631
+
632
+ class RSpec::Matchers::BuiltIn::BeAnInstanceOf < ::RSpec::Matchers::BuiltIn::BaseMatcher
633
+ def description; end
634
+
635
+ private
636
+
637
+ def match(expected, actual); end
638
+ end
639
+
640
+ class RSpec::Matchers::BuiltIn::BeBetween < ::RSpec::Matchers::BuiltIn::BaseMatcher
641
+ def initialize(min, max); end
642
+
643
+ def description; end
644
+ def exclusive; end
645
+ def failure_message; end
646
+ def inclusive; end
647
+ def matches?(actual); end
648
+
649
+ private
650
+
651
+ def comparable?; end
652
+ def compare; end
653
+ def not_comparable_clause; end
654
+ end
655
+
656
+ class RSpec::Matchers::BuiltIn::BeComparedTo < ::RSpec::Matchers::BuiltIn::BaseMatcher
657
+ include ::RSpec::Matchers::BuiltIn::BeHelpers
658
+
659
+ def initialize(operand, operator); end
660
+
661
+ def description; end
662
+ def does_not_match?(actual); end
663
+ def failure_message; end
664
+ def failure_message_when_negated; end
665
+ def matches?(actual); end
666
+
667
+ private
668
+
669
+ def perform_match(actual); end
670
+ end
671
+
672
+ class RSpec::Matchers::BuiltIn::BeFalsey < ::RSpec::Matchers::BuiltIn::BaseMatcher
673
+ def failure_message; end
674
+ def failure_message_when_negated; end
675
+
676
+ private
677
+
678
+ def match(_, actual); end
679
+ end
680
+
681
+ module RSpec::Matchers::BuiltIn::BeHelpers
682
+ private
683
+
684
+ def args_to_s; end
685
+ def args_to_sentence; end
686
+ def expected_to_sentence; end
687
+ def inspected_args; end
688
+ def parenthesize(string); end
689
+ end
690
+
691
+ class RSpec::Matchers::BuiltIn::BeNil < ::RSpec::Matchers::BuiltIn::BaseMatcher
692
+ def failure_message; end
693
+ def failure_message_when_negated; end
694
+
695
+ private
696
+
697
+ def match(_, actual); end
698
+ end
699
+
700
+ class RSpec::Matchers::BuiltIn::BePredicate < ::RSpec::Matchers::BuiltIn::DynamicPredicate
701
+ private
702
+
703
+ def failure_to_respond_explanation; end
704
+ def predicate; end
705
+ def predicate_accessible?; end
706
+ def predicate_method_name; end
707
+ def present_tense_predicate; end
708
+ end
709
+
710
+ RSpec::Matchers::BuiltIn::BePredicate::REGEX = T.let(T.unsafe(nil), Regexp)
711
+
712
+ class RSpec::Matchers::BuiltIn::BeTruthy < ::RSpec::Matchers::BuiltIn::BaseMatcher
713
+ def failure_message; end
714
+ def failure_message_when_negated; end
715
+
716
+ private
717
+
718
+ def match(_, actual); end
719
+ end
720
+
721
+ class RSpec::Matchers::BuiltIn::BeWithin < ::RSpec::Matchers::BuiltIn::BaseMatcher
722
+ def initialize(delta); end
723
+
724
+ def description; end
725
+ def failure_message; end
726
+ def failure_message_when_negated; end
727
+ def matches?(actual); end
728
+ def of(expected); end
729
+ def percent_of(expected); end
730
+
731
+ private
732
+
733
+ def needs_expected; end
734
+ def not_numeric_clause; end
735
+ def numeric?; end
736
+ end
737
+
738
+ module RSpec::Matchers::BuiltIn::CaptureStderr
739
+ class << self
740
+ def capture(block); end
741
+ def name; end
742
+ end
743
+ end
744
+
745
+ module RSpec::Matchers::BuiltIn::CaptureStdout
746
+ class << self
747
+ def capture(block); end
748
+ def name; end
749
+ end
750
+ end
751
+
752
+ class RSpec::Matchers::BuiltIn::CaptureStreamToTempfile < ::Struct
753
+ def capture(block); end
754
+ end
755
+
756
+ class RSpec::Matchers::BuiltIn::Change < ::RSpec::Matchers::BuiltIn::BaseMatcher
757
+ def initialize(receiver = T.unsafe(nil), message = T.unsafe(nil), &block); end
758
+
759
+ def by(expected_delta); end
760
+ def by_at_least(minimum); end
761
+ def by_at_most(maximum); end
762
+ def description; end
763
+ def does_not_match?(event_proc); end
764
+ def failure_message; end
765
+ def failure_message_when_negated; end
766
+ def from(value); end
767
+ def matches?(event_proc); end
768
+ def supports_block_expectations?; end
769
+ def to(value); end
770
+
771
+ private
772
+
773
+ def change_details; end
774
+ def negative_failure_reason; end
775
+ def perform_change(event_proc); end
776
+ def positive_failure_reason; end
777
+ def raise_block_syntax_error; end
778
+ end
779
+
780
+ class RSpec::Matchers::BuiltIn::ChangeDetails
781
+ def initialize(matcher_name, receiver = T.unsafe(nil), message = T.unsafe(nil), &block); end
782
+
783
+ def actual_after; end
784
+ def actual_delta; end
785
+ def changed?; end
786
+ def perform_change(event_proc); end
787
+ def value_representation; end
788
+
789
+ private
790
+
791
+ def evaluate_value_proc; end
792
+ def extract_value_block_snippet; end
793
+ def message_notation(receiver, message); end
794
+ end
795
+
796
+ class RSpec::Matchers::BuiltIn::ChangeFromValue < ::RSpec::Matchers::BuiltIn::SpecificValuesChange
797
+ def initialize(change_details, expected_before); end
798
+
799
+ def does_not_match?(event_proc); end
800
+ def failure_message_when_negated; end
801
+ def to(value); end
802
+
803
+ private
804
+
805
+ def change_description; end
806
+ end
807
+
808
+ class RSpec::Matchers::BuiltIn::ChangeRelatively < ::RSpec::Matchers::BuiltIn::BaseMatcher
809
+ def initialize(change_details, expected_delta, relativity, &comparer); end
810
+
811
+ def description; end
812
+ def does_not_match?(_event_proc); end
813
+ def failure_message; end
814
+ def matches?(event_proc); end
815
+ def supports_block_expectations?; end
816
+
817
+ private
818
+
819
+ def failure_reason; end
820
+ end
821
+
822
+ class RSpec::Matchers::BuiltIn::ChangeToValue < ::RSpec::Matchers::BuiltIn::SpecificValuesChange
823
+ def initialize(change_details, expected_after); end
824
+
825
+ def does_not_match?(_event_proc); end
826
+ def from(value); end
827
+
828
+ private
829
+
830
+ def change_description; end
831
+ end
832
+
833
+ class RSpec::Matchers::BuiltIn::Compound < ::RSpec::Matchers::BuiltIn::BaseMatcher
834
+ def initialize(matcher_1, matcher_2); end
835
+
836
+ def description; end
837
+ def diffable?; end
838
+ def does_not_match?(_actual); end
839
+ def evaluator; end
840
+ def expected; end
841
+ def expects_call_stack_jump?; end
842
+ def matcher_1; end
843
+ def matcher_2; end
844
+ def supports_block_expectations?; end
845
+
846
+ protected
847
+
848
+ def diffable_matcher_list; end
849
+
850
+ private
851
+
852
+ def compound_failure_message; end
853
+ def diffable_matcher_list_for(matcher); end
854
+ def indent_multiline_message(message); end
855
+ def initialize_copy(other); end
856
+ def match(_expected, actual); end
857
+ def matcher_1_matches?; end
858
+ def matcher_2_matches?; end
859
+ def matcher_is_diffable?(matcher); end
860
+ def matcher_supports_block_expectations?(matcher); end
861
+ end
862
+
863
+ class RSpec::Matchers::BuiltIn::Compound::And < ::RSpec::Matchers::BuiltIn::Compound
864
+ def failure_message; end
865
+
866
+ private
867
+
868
+ def conjunction; end
869
+ def match(*_arg0); end
870
+ end
871
+
872
+ class RSpec::Matchers::BuiltIn::Compound::NestedEvaluator
873
+ def initialize(actual, matcher_1, matcher_2); end
874
+
875
+ def matcher_matches?(matcher); end
876
+
877
+ private
878
+
879
+ def inner_matcher_block(outer_args); end
880
+ def order_block_matchers; end
881
+
882
+ class << self
883
+ def matcher_expects_call_stack_jump?(matcher); end
884
+ end
885
+ end
886
+
887
+ class RSpec::Matchers::BuiltIn::Compound::Or < ::RSpec::Matchers::BuiltIn::Compound
888
+ def failure_message; end
889
+
890
+ private
891
+
892
+ def conjunction; end
893
+ def match(*_arg0); end
894
+ end
895
+
896
+ class RSpec::Matchers::BuiltIn::Compound::SequentialEvaluator
897
+ def initialize(actual, *_arg1); end
898
+
899
+ def matcher_matches?(matcher); end
900
+ end
901
+
902
+ class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::BaseMatcher
903
+ def description; end
904
+ def failure_message; end
905
+ def failure_message_when_negated; end
906
+
907
+ private
908
+
909
+ def actual_collection_line; end
910
+ def best_solution; end
911
+ def convert_actual_to_an_array; end
912
+ def describe_collection(collection, surface_descriptions = T.unsafe(nil)); end
913
+ def expected_collection_line; end
914
+ def extra_elements_line; end
915
+ def extra_items; end
916
+ def generate_failure_message; end
917
+ def match(_expected, _actual); end
918
+ def match_when_sorted?; end
919
+ def message_line(prefix, collection, surface_descriptions = T.unsafe(nil)); end
920
+ def missing_elements_line; end
921
+ def missing_items; end
922
+ def pairings_maximizer; end
923
+ def safe_sort(array); end
924
+ def to_a_disallowed?(object); end
925
+ end
926
+
927
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer
928
+ def initialize(expected_to_actual_matched_indexes, actual_to_expected_matched_indexes); end
929
+
930
+ def actual_to_expected_matched_indexes; end
931
+ def expected_to_actual_matched_indexes; end
932
+ def find_best_solution; end
933
+ def solution; end
934
+
935
+ private
936
+
937
+ def apply_pairing_to(indeterminates, original_matches, other_list_index); end
938
+ def best_solution_for_pairing(expected_index, actual_index); end
939
+ def categorize_indexes(indexes_to_categorize, other_indexes); end
940
+ def reciprocal_single_match?(matches, index, other_list); end
941
+ end
942
+
943
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::NullSolution
944
+ class << self
945
+ def worse_than?(_other); end
946
+ end
947
+ end
948
+
949
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < ::Struct
950
+ def +(derived_candidate_solution); end
951
+ def candidate?; end
952
+ def ideal?; end
953
+ def indeterminate_actual_indexes; end
954
+ def indeterminate_actual_indexes=(_); end
955
+ def indeterminate_expected_indexes; end
956
+ def indeterminate_expected_indexes=(_); end
957
+ def unmatched_actual_indexes; end
958
+ def unmatched_actual_indexes=(_); end
959
+ def unmatched_expected_indexes; end
960
+ def unmatched_expected_indexes=(_); end
961
+ def unmatched_item_count; end
962
+ def worse_than?(other); end
963
+
964
+ class << self
965
+ def [](*_arg0); end
966
+ def inspect; end
967
+ def members; end
968
+ def new(*_arg0); end
969
+ end
970
+ end
971
+
972
+ module RSpec::Matchers::BuiltIn::CountExpectation
973
+ def at_least(number); end
974
+ def at_most(number); end
975
+ def exactly(number); end
976
+ def once; end
977
+ def thrice; end
978
+ def times; end
979
+ def twice; end
980
+
981
+ protected
982
+
983
+ def count_expectation_type; end
984
+ def expected_count; end
985
+
986
+ private
987
+
988
+ def count_constraint_to_number(n); end
989
+ def count_expectation_description; end
990
+ def count_failure_reason(action); end
991
+ def cover?(count, number); end
992
+ def expected_count_matches?(actual_count); end
993
+ def has_expected_count?; end
994
+ def human_readable_count(count); end
995
+ def human_readable_expectation_type; end
996
+ def raise_impossible_count_expectation(count); end
997
+ def raise_unsupported_count_expectation; end
998
+ def set_expected_count(relativity, n); end
999
+ def unsupported_count_expectation?(relativity); end
1000
+ end
1001
+
1002
+ class RSpec::Matchers::BuiltIn::Cover < ::RSpec::Matchers::BuiltIn::BaseMatcher
1003
+ def initialize(*expected); end
1004
+
1005
+ def does_not_match?(range); end
1006
+ def matches?(range); end
1007
+ end
1008
+
1009
+ class RSpec::Matchers::BuiltIn::DynamicPredicate < ::RSpec::Matchers::BuiltIn::BaseMatcher
1010
+ include ::RSpec::Matchers::BuiltIn::BeHelpers
1011
+
1012
+ def initialize(method_name, *args, &block); end
1013
+
1014
+ def description; end
1015
+ def does_not_match?(actual, &block); end
1016
+ def failure_message; end
1017
+ def failure_message_when_negated; end
1018
+ def matches?(actual, &block); end
1019
+
1020
+ private
1021
+
1022
+ def expectation_of(value); end
1023
+ def failure_message_expecting(value); end
1024
+ def failure_to_respond_explanation; end
1025
+ def method_description; end
1026
+ def predicate_accessible?; end
1027
+ def predicate_matches?(value = T.unsafe(nil)); end
1028
+ def predicate_method_name; end
1029
+ def predicate_result; end
1030
+ def private_predicate?; end
1031
+ def root; end
1032
+ def validity_message; end
1033
+ end
1034
+
1035
+ class RSpec::Matchers::BuiltIn::EndWith < ::RSpec::Matchers::BuiltIn::StartOrEndWith
1036
+ private
1037
+
1038
+ def element_matches?; end
1039
+ def subset_matches?; end
1040
+ end
1041
+
1042
+ class RSpec::Matchers::BuiltIn::Eq < ::RSpec::Matchers::BuiltIn::BaseMatcher
1043
+ def description; end
1044
+ def diffable?; end
1045
+ def failure_message; end
1046
+ def failure_message_when_negated; end
1047
+
1048
+ private
1049
+
1050
+ def match(expected, actual); end
1051
+ end
1052
+
1053
+ class RSpec::Matchers::BuiltIn::Eql < ::RSpec::Matchers::BuiltIn::BaseMatcher
1054
+ def diffable?; end
1055
+ def failure_message; end
1056
+ def failure_message_when_negated; end
1057
+
1058
+ private
1059
+
1060
+ def match(expected, actual); end
1061
+ end
1062
+
1063
+ class RSpec::Matchers::BuiltIn::Equal < ::RSpec::Matchers::BuiltIn::BaseMatcher
1064
+ def diffable?; end
1065
+ def failure_message; end
1066
+ def failure_message_when_negated; end
1067
+
1068
+ private
1069
+
1070
+ def actual_inspected; end
1071
+ def detailed_failure_message; end
1072
+ def expected_is_a_literal_singleton?; end
1073
+ def inspect_object(o); end
1074
+ def match(expected, actual); end
1075
+ def simple_failure_message; end
1076
+ end
1077
+
1078
+ RSpec::Matchers::BuiltIn::Equal::LITERAL_SINGLETONS = T.let(T.unsafe(nil), Array)
1079
+
1080
+ class RSpec::Matchers::BuiltIn::Exist < ::RSpec::Matchers::BuiltIn::BaseMatcher
1081
+ def initialize(*expected); end
1082
+
1083
+ def does_not_match?(actual); end
1084
+ def failure_message; end
1085
+ def failure_message_when_negated; end
1086
+ def matches?(actual); end
1087
+ end
1088
+
1089
+ class RSpec::Matchers::BuiltIn::Exist::ExistenceTest < ::Struct
1090
+ def actual_exists?; end
1091
+ def valid_test?; end
1092
+ def validity_message; end
1093
+
1094
+ private
1095
+
1096
+ def deprecated(predicate, actual); end
1097
+ def existence_values; end
1098
+ def predicates; end
1099
+ def uniq_truthy_values; end
1100
+ end
1101
+
1102
+ class RSpec::Matchers::BuiltIn::Has < ::RSpec::Matchers::BuiltIn::DynamicPredicate
1103
+ private
1104
+
1105
+ def predicate; end
1106
+ end
1107
+
1108
+ RSpec::Matchers::BuiltIn::Has::REGEX = T.let(T.unsafe(nil), Regexp)
1109
+
1110
+ class RSpec::Matchers::BuiltIn::HaveAttributes < ::RSpec::Matchers::BuiltIn::BaseMatcher
1111
+ def initialize(expected); end
1112
+
1113
+ def actual; end
1114
+ def description; end
1115
+ def diffable?; end
1116
+ def does_not_match?(actual); end
1117
+ def failure_message; end
1118
+ def failure_message_when_negated; end
1119
+ def matches?(actual); end
1120
+ def respond_to_failed; end
1121
+
1122
+ private
1123
+
1124
+ def actual_has_attribute?(attribute_key, attribute_value); end
1125
+ def cache_all_values; end
1126
+ def formatted_values; end
1127
+ def perform_match(predicate); end
1128
+ def respond_to_attributes?; end
1129
+ def respond_to_failure_message_or; end
1130
+ def respond_to_matcher; end
1131
+ end
1132
+
1133
+ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatcher
1134
+ include ::RSpec::Matchers::BuiltIn::CountExpectation
1135
+
1136
+ def initialize(*expecteds); end
1137
+
1138
+ def description; end
1139
+ def diffable?; end
1140
+ def does_not_match?(actual); end
1141
+ def expected; end
1142
+ def expecteds; end
1143
+ def failure_message; end
1144
+ def failure_message_when_negated; end
1145
+ def matches?(actual); end
1146
+
1147
+ private
1148
+
1149
+ def actual_collection_includes?(expected_item); end
1150
+ def actual_hash_has_key?(expected_key); end
1151
+ def actual_hash_includes?(expected_key, expected_value); end
1152
+ def check_actual?(actual); end
1153
+ def check_expected_count?; end
1154
+ def comparing_hash_keys?(expected_item); end
1155
+ def comparing_hash_to_a_subset?(expected_item); end
1156
+ def convert_to_hash?(obj); end
1157
+ def count_enumerable(expected_item); end
1158
+ def count_inclusions; end
1159
+ def diff_would_wrongly_highlight_matched_item?; end
1160
+ def excluded_from_actual; end
1161
+ def format_failure_message(preposition); end
1162
+ def perform_match(&block); end
1163
+ def readable_list_of(items); end
1164
+ end
1165
+
1166
+ class RSpec::Matchers::BuiltIn::Match < ::RSpec::Matchers::BuiltIn::BaseMatcher
1167
+ def initialize(expected); end
1168
+
1169
+ def description; end
1170
+ def diffable?; end
1171
+ def with_captures(*captures); end
1172
+
1173
+ private
1174
+
1175
+ def can_safely_call_match?(expected, actual); end
1176
+ def match(expected, actual); end
1177
+ def match_captures(expected, actual); end
1178
+ end
1179
+
1180
+ class RSpec::Matchers::BuiltIn::NegativeOperatorMatcher < ::RSpec::Matchers::BuiltIn::OperatorMatcher
1181
+ def __delegate_operator(actual, operator, expected); end
1182
+ end
1183
+
1184
+ module RSpec::Matchers::BuiltIn::NullCapture
1185
+ class << self
1186
+ def capture(_block); end
1187
+ def name; end
1188
+ end
1189
+ end
1190
+
1191
+ class RSpec::Matchers::BuiltIn::OperatorMatcher
1192
+ def initialize(actual); end
1193
+
1194
+ def !=(_expected); end
1195
+ def !~(_expected); end
1196
+ def <(expected); end
1197
+ def <=(expected); end
1198
+ def ==(expected); end
1199
+ def ===(expected); end
1200
+ def =~(expected); end
1201
+ def >(expected); end
1202
+ def >=(expected); end
1203
+ def description; end
1204
+ def fail_with_message(message); end
1205
+
1206
+ private
1207
+
1208
+ def eval_match(actual, operator, expected); end
1209
+ def has_non_generic_implementation_of?(op); end
1210
+
1211
+ class << self
1212
+ def get(klass, operator); end
1213
+ def register(klass, operator, matcher); end
1214
+ def registry; end
1215
+ def unregister(klass, operator); end
1216
+ def use_custom_matcher_or_delegate(operator); end
1217
+ end
1218
+ end
1219
+
1220
+ class RSpec::Matchers::BuiltIn::Output < ::RSpec::Matchers::BuiltIn::BaseMatcher
1221
+ def initialize(expected); end
1222
+
1223
+ def description; end
1224
+ def diffable?; end
1225
+ def does_not_match?(block); end
1226
+ def failure_message; end
1227
+ def failure_message_when_negated; end
1228
+ def matches?(block); end
1229
+ def supports_block_expectations?; end
1230
+ def to_stderr; end
1231
+ def to_stderr_from_any_process; end
1232
+ def to_stdout; end
1233
+ def to_stdout_from_any_process; end
1234
+
1235
+ private
1236
+
1237
+ def actual_output_description; end
1238
+ def captured?; end
1239
+ def negative_failure_reason; end
1240
+ def positive_failure_reason; end
1241
+ end
1242
+
1243
+ class RSpec::Matchers::BuiltIn::PositiveOperatorMatcher < ::RSpec::Matchers::BuiltIn::OperatorMatcher
1244
+ def __delegate_operator(actual, operator, expected); end
1245
+ end
1246
+
1247
+ class RSpec::Matchers::BuiltIn::RaiseError
1248
+ include ::RSpec::Matchers::Composable
1249
+
1250
+ def initialize(expected_error_or_message, expected_message, &block); end
1251
+
1252
+ def description; end
1253
+ def does_not_match?(given_proc); end
1254
+ def expects_call_stack_jump?; end
1255
+ def failure_message; end
1256
+ def failure_message_when_negated; end
1257
+ def matches?(given_proc, negative_expectation = T.unsafe(nil), &block); end
1258
+ def supports_block_expectations?; end
1259
+ def with_message(expected_message); end
1260
+
1261
+ private
1262
+
1263
+ def block_matches?; end
1264
+ def error_and_message_match?; end
1265
+ def eval_block; end
1266
+ def expectation_matched?; end
1267
+ def expected_error; end
1268
+ def expecting_specific_exception?; end
1269
+ def format_backtrace(backtrace); end
1270
+ def given_error; end
1271
+ def handle_warning(message); end
1272
+ def raise_message_already_set; end
1273
+ def ready_to_eval_block?; end
1274
+ def verify_message; end
1275
+ def warn_about_bare_error!; end
1276
+ def warn_about_bare_error?; end
1277
+ def warn_about_negative_false_positive!(expression); end
1278
+ def warn_about_nil_error!; end
1279
+ def warn_about_nil_error?; end
1280
+ def warn_for_negative_false_positives!; end
1281
+ def warning; end
1282
+ end
1283
+
1284
+ RSpec::Matchers::BuiltIn::RaiseError::UndefinedValue = T.let(T.unsafe(nil), Object)
1285
+
1286
+ class RSpec::Matchers::BuiltIn::ReliableMatchData
1287
+ def initialize(match_data); end
1288
+
1289
+ def captures; end
1290
+ def names; end
1291
+
1292
+ protected
1293
+
1294
+ def match_data; end
1295
+ end
1296
+
1297
+ class RSpec::Matchers::BuiltIn::RespondTo < ::RSpec::Matchers::BuiltIn::BaseMatcher
1298
+ def initialize(*names); end
1299
+
1300
+ def and_any_keywords; end
1301
+ def and_keywords(*keywords); end
1302
+ def and_unlimited_arguments; end
1303
+ def argument; end
1304
+ def arguments; end
1305
+ def description; end
1306
+ def does_not_match?(actual); end
1307
+ def failure_message; end
1308
+ def failure_message_when_negated; end
1309
+ def ignoring_method_signature_failure!; end
1310
+ def matches?(actual); end
1311
+ def with(n); end
1312
+ def with_any_keywords; end
1313
+ def with_keywords(*keywords); end
1314
+ def with_unlimited_arguments; end
1315
+
1316
+ private
1317
+
1318
+ def find_failing_method_names(actual, filter_method); end
1319
+ def matches_arity?(actual, name); end
1320
+ def pp_names; end
1321
+ def with_arity; end
1322
+ def with_arity_string; end
1323
+ def with_keywords_string; end
1324
+ end
1325
+
1326
+ class RSpec::Matchers::BuiltIn::RespondTo::ArityCheck
1327
+ def initialize(expected_arity, expected_keywords, arbitrary_keywords, unlimited_arguments); end
1328
+
1329
+ def matches?(actual, name); end
1330
+ def method_signature_for(actual, name); end
1331
+ def verifier_for(actual, name); end
1332
+ end
1333
+
1334
+ class RSpec::Matchers::BuiltIn::Satisfy < ::RSpec::Matchers::BuiltIn::BaseMatcher
1335
+ def initialize(description = T.unsafe(nil), &block); end
1336
+
1337
+ def description; end
1338
+ def failure_message; end
1339
+ def failure_message_when_negated; end
1340
+ def matches?(actual, &block); end
1341
+
1342
+ private
1343
+
1344
+ def block_representation; end
1345
+ def extract_block_snippet; end
1346
+ end
1347
+
1348
+ class RSpec::Matchers::BuiltIn::SpecificValuesChange < ::RSpec::Matchers::BuiltIn::BaseMatcher
1349
+ def initialize(change_details, from, to); end
1350
+
1351
+ def description; end
1352
+ def failure_message; end
1353
+ def matches?(event_proc); end
1354
+ def supports_block_expectations?; end
1355
+
1356
+ private
1357
+
1358
+ def after_value_failure; end
1359
+ def before_value_failure; end
1360
+ def did_change_failure; end
1361
+ def did_not_change_failure; end
1362
+ def matches_after?; end
1363
+ def not_given_a_block_failure; end
1364
+ def perform_change(event_proc); end
1365
+ end
1366
+
1367
+ RSpec::Matchers::BuiltIn::SpecificValuesChange::MATCH_ANYTHING = BasicObject
1368
+ RSpec::Matchers::BuiltIn::StartAndEndWith = RSpec::Matchers::BuiltIn::StartOrEndWith
1369
+
1370
+ class RSpec::Matchers::BuiltIn::StartOrEndWith < ::RSpec::Matchers::BuiltIn::BaseMatcher
1371
+ def initialize(*expected); end
1372
+
1373
+ def description; end
1374
+ def failure_message; end
1375
+
1376
+ private
1377
+
1378
+ def match(_expected, actual); end
1379
+ def subsets_comparable?; end
1380
+ end
1381
+
1382
+ class RSpec::Matchers::BuiltIn::StartWith < ::RSpec::Matchers::BuiltIn::StartOrEndWith
1383
+ private
1384
+
1385
+ def element_matches?; end
1386
+ def subset_matches?; end
1387
+ end
1388
+
1389
+ class RSpec::Matchers::BuiltIn::ThrowSymbol
1390
+ include ::RSpec::Matchers::Composable
1391
+
1392
+ def initialize(expected_symbol = T.unsafe(nil), expected_arg = T.unsafe(nil)); end
1393
+
1394
+ def description; end
1395
+ def does_not_match?(given_proc); end
1396
+ def expects_call_stack_jump?; end
1397
+ def failure_message; end
1398
+ def failure_message_when_negated; end
1399
+ def matches?(given_proc); end
1400
+ def supports_block_expectations?; end
1401
+
1402
+ private
1403
+
1404
+ def actual_result; end
1405
+ def caught; end
1406
+ def expected(symbol_desc = T.unsafe(nil)); end
1407
+ def throw_description(symbol, arg); end
1408
+ end
1409
+
1410
+ class RSpec::Matchers::BuiltIn::YieldControl < ::RSpec::Matchers::BuiltIn::BaseMatcher
1411
+ include ::RSpec::Matchers::BuiltIn::CountExpectation
1412
+
1413
+ def does_not_match?(block); end
1414
+ def failure_message; end
1415
+ def failure_message_when_negated; end
1416
+ def matches?(block); end
1417
+ def supports_block_expectations?; end
1418
+
1419
+ private
1420
+
1421
+ def failure_reason; end
1422
+ end
1423
+
1424
+ class RSpec::Matchers::BuiltIn::YieldProbe
1425
+ def initialize(block, &callback); end
1426
+
1427
+ def assert_used!; end
1428
+ def assert_valid_expect_block!; end
1429
+ def has_block?; end
1430
+ def num_yields; end
1431
+ def num_yields=(_arg0); end
1432
+ def probe; end
1433
+ def single_yield_args; end
1434
+ def to_proc; end
1435
+ def yielded_args; end
1436
+ def yielded_args=(_arg0); end
1437
+ def yielded_once?(matcher_name); end
1438
+
1439
+ class << self
1440
+ def probe(block, &callback); end
1441
+ end
1442
+ end
1443
+
1444
+ class RSpec::Matchers::BuiltIn::YieldSuccessiveArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
1445
+ def initialize(*args); end
1446
+
1447
+ def description; end
1448
+ def does_not_match?(block); end
1449
+ def failure_message; end
1450
+ def failure_message_when_negated; end
1451
+ def matches?(block); end
1452
+ def supports_block_expectations?; end
1453
+
1454
+ private
1455
+
1456
+ def expected_arg_description; end
1457
+ def negative_failure_reason; end
1458
+ def positive_failure_reason; end
1459
+ end
1460
+
1461
+ class RSpec::Matchers::BuiltIn::YieldWithArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
1462
+ def initialize(*args); end
1463
+
1464
+ def description; end
1465
+ def does_not_match?(block); end
1466
+ def failure_message; end
1467
+ def failure_message_when_negated; end
1468
+ def matches?(block); end
1469
+ def supports_block_expectations?; end
1470
+
1471
+ private
1472
+
1473
+ def all_args_match?; end
1474
+ def args_currently_match?; end
1475
+ def expected_arg_description; end
1476
+ def negative_failure_reason; end
1477
+ def positive_failure_reason; end
1478
+ end
1479
+
1480
+ class RSpec::Matchers::BuiltIn::YieldWithNoArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
1481
+ def does_not_match?(block); end
1482
+ def failure_message; end
1483
+ def failure_message_when_negated; end
1484
+ def matches?(block); end
1485
+ def supports_block_expectations?; end
1486
+
1487
+ private
1488
+
1489
+ def negative_failure_reason; end
1490
+ def positive_failure_reason; end
1491
+ end
1492
+
1493
+ module RSpec::Matchers::Composable
1494
+ def &(matcher); end
1495
+ def ===(value); end
1496
+ def and(matcher); end
1497
+ def or(matcher); end
1498
+ def |(matcher); end
1499
+
1500
+ private
1501
+
1502
+ def description_of(object); end
1503
+ def should_enumerate?(item); end
1504
+ def surface_descriptions_in(item); end
1505
+ def unreadable_io?(object); end
1506
+ def values_match?(expected, actual); end
1507
+ def with_matchers_cloned(object); end
1508
+
1509
+ class << self
1510
+ def should_enumerate?(item); end
1511
+ def surface_descriptions_in(item); end
1512
+ def unreadable_io?(object); end
1513
+ end
1514
+ end
1515
+
1516
+ class RSpec::Matchers::Composable::DescribableItem < ::Struct
1517
+ def inspect; end
1518
+ def item; end
1519
+ def item=(_); end
1520
+ def pretty_print(pp); end
1521
+
1522
+ class << self
1523
+ def [](*_arg0); end
1524
+ def inspect; end
1525
+ def members; end
1526
+ def new(*_arg0); end
1527
+ end
1528
+ end
1529
+
1530
+ module RSpec::Matchers::DSL
1531
+ def alias_matcher(new_name, old_name, options = T.unsafe(nil), &description_override); end
1532
+ def define(name, &declarations); end
1533
+ def define_negated_matcher(negated_name, base_name, &description_override); end
1534
+ def matcher(name, &declarations); end
1535
+
1536
+ private
1537
+
1538
+ def warn_about_block_args(name, declarations); end
1539
+ end
1540
+
1541
+ module RSpec::Matchers::DSL::DefaultImplementations
1542
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
1543
+
1544
+ def description; end
1545
+ def diffable?; end
1546
+ def expects_call_stack_jump?; end
1547
+ def supports_block_expectations?; end
1548
+
1549
+ private
1550
+
1551
+ def chained_method_clause_sentences; end
1552
+ end
1553
+
1554
+ module RSpec::Matchers::DSL::Macros
1555
+ def chain(method_name, *attr_names, &definition); end
1556
+ def description(&definition); end
1557
+ def diffable; end
1558
+ def failure_message(&definition); end
1559
+ def failure_message_when_negated(&definition); end
1560
+ def match(options = T.unsafe(nil), &match_block); end
1561
+ def match_unless_raises(expected_exception = T.unsafe(nil), &match_block); end
1562
+ def match_when_negated(options = T.unsafe(nil), &match_block); end
1563
+ def supports_block_expectations; end
1564
+
1565
+ private
1566
+
1567
+ def assign_attributes(attr_names); end
1568
+ def define_user_override(method_name, user_def, &our_def); end
1569
+ end
1570
+
1571
+ module RSpec::Matchers::DSL::Macros::Deprecated
1572
+ def failure_message_for_should(&definition); end
1573
+ def failure_message_for_should_not(&definition); end
1574
+ def match_for_should(&definition); end
1575
+ def match_for_should_not(&definition); end
1576
+ end
1577
+
1578
+ RSpec::Matchers::DSL::Macros::RAISE_NOTIFIER = T.let(T.unsafe(nil), Proc)
1579
+
1580
+ class RSpec::Matchers::DSL::Matcher
1581
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
1582
+ include ::RSpec::Matchers::DSL::DefaultImplementations
1583
+ include ::RSpec::Matchers
1584
+ include ::RSpec::Matchers::Composable
1585
+ extend ::RSpec::Matchers::DSL::Macros
1586
+ extend ::RSpec::Matchers::DSL::Macros::Deprecated
1587
+
1588
+ def initialize(name, declarations, matcher_execution_context, *expected, &block_arg); end
1589
+
1590
+ def actual; end
1591
+ def block_arg; end
1592
+ def expected; end
1593
+ def expected_as_array; end
1594
+ def inspect; end
1595
+ def name; end
1596
+ def rescued_exception; end
1597
+
1598
+ private
1599
+
1600
+ def actual_arg_for(block); end
1601
+ def method_missing(method, *args, &block); end
1602
+ def respond_to_missing?(method, include_private = T.unsafe(nil)); end
1603
+ end
1604
+
1605
+ RSpec::Matchers::DYNAMIC_MATCHER_REGEX = T.let(T.unsafe(nil), Regexp)
1606
+
1607
+ module RSpec::Matchers::EnglishPhrasing
1608
+ class << self
1609
+ def list(obj); end
1610
+ def split_words(sym); end
1611
+ end
1612
+ end
1613
+
1614
+ class RSpec::Matchers::ExpectedsForMultipleDiffs
1615
+ def initialize(expected_list); end
1616
+
1617
+ def message_with_diff(message, differ, actual); end
1618
+
1619
+ private
1620
+
1621
+ def diffs(differ, actual); end
1622
+
1623
+ class << self
1624
+ def for_many_matchers(matchers); end
1625
+ def from(expected); end
1626
+
1627
+ private
1628
+
1629
+ def diff_label_for(matcher); end
1630
+ def truncated(description); end
1631
+ end
1632
+ end
1633
+
1634
+ RSpec::Matchers::ExpectedsForMultipleDiffs::DEFAULT_DIFF_LABEL = T.let(T.unsafe(nil), String)
1635
+ RSpec::Matchers::ExpectedsForMultipleDiffs::DESCRIPTION_MAX_LENGTH = T.let(T.unsafe(nil), Integer)
1636
+ RSpec::Matchers::HAS_REGEX = T.let(T.unsafe(nil), Regexp)
1637
+
1638
+ class RSpec::Matchers::MatcherDelegator
1639
+ include ::RSpec::Matchers::Composable
1640
+
1641
+ def initialize(base_matcher); end
1642
+
1643
+ def base_matcher; end
1644
+ def method_missing(*args, &block); end
1645
+
1646
+ private
1647
+
1648
+ def initialize_copy(other); end
1649
+ def respond_to_missing?(name, include_all = T.unsafe(nil)); end
1650
+ end
1651
+
1652
+ RSpec::SharedContext = RSpec::Core::SharedContext