workosv2 2.15.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 (242) hide show
  1. checksums.yaml +7 -0
  2. data/.github/CODEOWNERS +5 -0
  3. data/.github/pull_request_template.md +11 -0
  4. data/.github/renovate.json +5 -0
  5. data/.gitignore +49 -0
  6. data/.rspec +1 -0
  7. data/.rubocop.yml +24 -0
  8. data/.ruby-version +1 -0
  9. data/.semaphore/rubygems.yml +24 -0
  10. data/.semaphore/semaphore.yml +51 -0
  11. data/Gemfile +5 -0
  12. data/Gemfile.lock +126 -0
  13. data/Gemfile.lock.old +127 -0
  14. data/LICENSE +21 -0
  15. data/README.md +53 -0
  16. data/bin/build +3 -0
  17. data/bin/console +3 -0
  18. data/bin/docs +5 -0
  19. data/bin/publish +3 -0
  20. data/bin/tapioca +29 -0
  21. data/codecov.yml +12 -0
  22. data/docs/WorkOS/APIError.html +160 -0
  23. data/docs/WorkOS/AuditLog.html +235 -0
  24. data/docs/WorkOS/AuditTrail.html +235 -0
  25. data/docs/WorkOS/AuthenticationError.html +160 -0
  26. data/docs/WorkOS/Base.html +287 -0
  27. data/docs/WorkOS/Client.html +504 -0
  28. data/docs/WorkOS/InvalidRequestError.html +160 -0
  29. data/docs/WorkOS/Profile.html +788 -0
  30. data/docs/WorkOS/RequestError.html +135 -0
  31. data/docs/WorkOS/SSO.html +691 -0
  32. data/docs/WorkOS/Types/ProfileStruct.html +135 -0
  33. data/docs/WorkOS/Types/Provider.html +135 -0
  34. data/docs/WorkOS/Types.html +128 -0
  35. data/docs/WorkOS/WorkOSError.html +447 -0
  36. data/docs/WorkOS.html +324 -0
  37. data/docs/class_list.html +51 -0
  38. data/docs/css/common.css +1 -0
  39. data/docs/css/full_list.css +58 -0
  40. data/docs/css/style.css +496 -0
  41. data/docs/file.README.html +252 -0
  42. data/docs/file_list.html +56 -0
  43. data/docs/frames.html +17 -0
  44. data/docs/index.html +250 -0
  45. data/docs/js/app.js +314 -0
  46. data/docs/js/full_list.js +216 -0
  47. data/docs/js/jquery.js +4 -0
  48. data/docs/method_list.html +267 -0
  49. data/docs/top-level-namespace.html +110 -0
  50. data/lib/workosv2/audit_log_export.rb +55 -0
  51. data/lib/workosv2/audit_logs.rb +114 -0
  52. data/lib/workosv2/audit_trail.rb +111 -0
  53. data/lib/workosv2/challenge.rb +55 -0
  54. data/lib/workosv2/client.rb +186 -0
  55. data/lib/workosv2/configuration.rb +17 -0
  56. data/lib/workosv2/connection.rb +66 -0
  57. data/lib/workosv2/deprecated_hash_wrapper.rb +76 -0
  58. data/lib/workosv2/directory.rb +65 -0
  59. data/lib/workosv2/directory_group.rb +68 -0
  60. data/lib/workosv2/directory_sync.rb +218 -0
  61. data/lib/workosv2/directory_user.rb +97 -0
  62. data/lib/workosv2/errors.rb +81 -0
  63. data/lib/workosv2/event.rb +51 -0
  64. data/lib/workosv2/events.rb +52 -0
  65. data/lib/workosv2/factor.rb +54 -0
  66. data/lib/workosv2/hash_provider.rb +19 -0
  67. data/lib/workosv2/mfa.rb +178 -0
  68. data/lib/workosv2/organization.rb +57 -0
  69. data/lib/workosv2/organizations.rb +188 -0
  70. data/lib/workosv2/passwordless.rb +85 -0
  71. data/lib/workosv2/portal.rb +66 -0
  72. data/lib/workosv2/profile.rb +76 -0
  73. data/lib/workosv2/profile_and_token.rb +29 -0
  74. data/lib/workosv2/sso.rb +297 -0
  75. data/lib/workosv2/types/audit_log_export_struct.rb +17 -0
  76. data/lib/workosv2/types/challenge_struct.rb +18 -0
  77. data/lib/workosv2/types/connection_struct.rb +20 -0
  78. data/lib/workosv2/types/directory_group_struct.rb +19 -0
  79. data/lib/workosv2/types/directory_struct.rb +19 -0
  80. data/lib/workosv2/types/directory_user_struct.rb +26 -0
  81. data/lib/workosv2/types/event_struct.rb +15 -0
  82. data/lib/workosv2/types/factor_struct.rb +18 -0
  83. data/lib/workosv2/types/intent_enum.rb +17 -0
  84. data/lib/workosv2/types/list_struct.rb +13 -0
  85. data/lib/workosv2/types/organization_struct.rb +17 -0
  86. data/lib/workosv2/types/passwordless_session_struct.rb +17 -0
  87. data/lib/workosv2/types/profile_struct.rb +21 -0
  88. data/lib/workosv2/types/provider_enum.rb +15 -0
  89. data/lib/workosv2/types/verify_challenge_struct.rb +13 -0
  90. data/lib/workosv2/types/webhook_struct.rb +15 -0
  91. data/lib/workosv2/types.rb +25 -0
  92. data/lib/workosv2/verify_challenge.rb +39 -0
  93. data/lib/workosv2/version.rb +6 -0
  94. data/lib/workosv2/webhook.rb +51 -0
  95. data/lib/workosv2/webhooks.rb +217 -0
  96. data/lib/workosv2.rb +79 -0
  97. data/sorbet/config +2 -0
  98. data/sorbet/rbi/gems/addressable@2.8.0.rbi +290 -0
  99. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  100. data/sorbet/rbi/gems/codecov@0.2.12.rbi +55 -0
  101. data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
  102. data/sorbet/rbi/gems/crack@0.4.5.rbi +57 -0
  103. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
  104. data/sorbet/rbi/gems/docile@1.3.5.rbi +54 -0
  105. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +82 -0
  106. data/sorbet/rbi/gems/json@2.5.1.rbi +109 -0
  107. data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
  108. data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
  109. data/sorbet/rbi/gems/parser@3.0.1.0.rbi +1187 -0
  110. data/sorbet/rbi/gems/pry@0.14.2.rbi +8 -0
  111. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +146 -0
  112. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  113. data/sorbet/rbi/gems/rake@13.0.3.rbi +807 -0
  114. data/sorbet/rbi/gems/rbi@0.0.16.rbi +2118 -0
  115. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1117 -0
  116. data/sorbet/rbi/gems/rexml@3.2.5.rbi +709 -0
  117. data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +2467 -0
  118. data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +1569 -0
  119. data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +1493 -0
  120. data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +511 -0
  121. data/sorbet/rbi/gems/rspec@3.9.0.rbi +38 -0
  122. data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +1881 -0
  123. data/sorbet/rbi/gems/rubocop@0.93.1.rbi +11497 -0
  124. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  125. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  126. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  127. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +8 -0
  128. data/sorbet/rbi/gems/spoom@1.1.15.rbi +1549 -0
  129. data/sorbet/rbi/gems/tapioca@0.7.3.rbi +1718 -0
  130. data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
  131. data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +22 -0
  132. data/sorbet/rbi/gems/unparser@0.6.2.rbi +8 -0
  133. data/sorbet/rbi/gems/vcr@5.0.0.rbi +699 -0
  134. data/sorbet/rbi/gems/webmock@3.12.2.rbi +662 -0
  135. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +268 -0
  136. data/sorbet/rbi/gems/yard@0.9.26.rbi +4048 -0
  137. data/sorbet/tapioca/config.yml +13 -0
  138. data/sorbet/tapioca/require.rb +4 -0
  139. data/spec/lib/workos/audit_logs_spec.rb +151 -0
  140. data/spec/lib/workos/audit_trail_spec.rb +146 -0
  141. data/spec/lib/workos/configuration_spec.rb +61 -0
  142. data/spec/lib/workos/directory_sync_spec.rb +492 -0
  143. data/spec/lib/workos/directory_user_spec.rb +36 -0
  144. data/spec/lib/workos/event_spec.rb +88 -0
  145. data/spec/lib/workos/mfa_spec.rb +281 -0
  146. data/spec/lib/workos/organizations_spec.rb +257 -0
  147. data/spec/lib/workos/passwordless_spec.rb +77 -0
  148. data/spec/lib/workos/portal_spec.rb +87 -0
  149. data/spec/lib/workos/sso_spec.rb +650 -0
  150. data/spec/lib/workos/webhooks_spec.rb +236 -0
  151. data/spec/spec_helper.rb +56 -0
  152. data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event.yml +59 -0
  153. data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event_custom_idempotency_key.yml +60 -0
  154. data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event_invalid.yml +59 -0
  155. data/spec/support/fixtures/vcr_cassettes/audit_logs/create_export.yml +76 -0
  156. data/spec/support/fixtures/vcr_cassettes/audit_logs/create_export_with_filters.yml +77 -0
  157. data/spec/support/fixtures/vcr_cassettes/audit_logs/get_export.yml +73 -0
  158. data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event.yml +65 -0
  159. data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event_custom_idempotency_key.yml +67 -0
  160. data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event_invalid.yml +68 -0
  161. data/spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_and_payload.yml +131 -0
  162. data/spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_different_payload.yml +134 -0
  163. data/spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml +61 -0
  164. data/spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml +66 -0
  165. data/spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml +72 -0
  166. data/spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_invalid_id.yml +83 -0
  167. data/spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_valid_id.yml +84 -0
  168. data/spec/support/fixtures/vcr_cassettes/directory_sync/get_group.yml +80 -0
  169. data/spec/support/fixtures/vcr_cassettes/directory_sync/get_group_with_invalid_id.yml +62 -0
  170. data/spec/support/fixtures/vcr_cassettes/directory_sync/get_user.yml +83 -0
  171. data/spec/support/fixtures/vcr_cassettes/directory_sync/get_user_with_invalid_id.yml +62 -0
  172. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_after.yml +87 -0
  173. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_before.yml +89 -0
  174. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_domain.yml +84 -0
  175. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_limit.yml +85 -0
  176. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_no_options.yml +93 -0
  177. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_search.yml +85 -0
  178. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_after.yml +90 -0
  179. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_before.yml +90 -0
  180. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_directory.yml +90 -0
  181. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_limit.yml +84 -0
  182. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_no_options.yml +84 -0
  183. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_user.yml +82 -0
  184. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_after.yml +186 -0
  185. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_before.yml +88 -0
  186. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_directory.yml +194 -0
  187. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_group.yml +186 -0
  188. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_limit.yml +189 -0
  189. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_no_options.yml +74 -0
  190. data/spec/support/fixtures/vcr_cassettes/events/list_events_with_after.yml +80 -0
  191. data/spec/support/fixtures/vcr_cassettes/events/list_events_with_event.yml +80 -0
  192. data/spec/support/fixtures/vcr_cassettes/events/list_events_with_no_options.yml +80 -0
  193. data/spec/support/fixtures/vcr_cassettes/events/list_events_with_range.yml +80 -0
  194. data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_generic_valid.yml +82 -0
  195. data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_sms_valid.yml +82 -0
  196. data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_totp_valid.yml +82 -0
  197. data/spec/support/fixtures/vcr_cassettes/mfa/delete_factor.yml +80 -0
  198. data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_generic_valid.yml +82 -0
  199. data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_sms_valid.yml +82 -0
  200. data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_totp_valid.yml +82 -0
  201. data/spec/support/fixtures/vcr_cassettes/mfa/get_factor_invalid.yml +82 -0
  202. data/spec/support/fixtures/vcr_cassettes/mfa/get_factor_valid.yml +82 -0
  203. data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_expired.yml +84 -0
  204. data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_invalid.yml +84 -0
  205. data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_valid.yml +82 -0
  206. data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_valid_is_false.yml +82 -0
  207. data/spec/support/fixtures/vcr_cassettes/organization/create.yml +84 -0
  208. data/spec/support/fixtures/vcr_cassettes/organization/create_invalid.yml +72 -0
  209. data/spec/support/fixtures/vcr_cassettes/organization/create_with_duplicate_idempotency_key_and_different_payload.yml +155 -0
  210. data/spec/support/fixtures/vcr_cassettes/organization/create_with_duplicate_idempotency_key_and_payload.yml +154 -0
  211. data/spec/support/fixtures/vcr_cassettes/organization/create_with_idempotency_key.yml +79 -0
  212. data/spec/support/fixtures/vcr_cassettes/organization/delete.yml +72 -0
  213. data/spec/support/fixtures/vcr_cassettes/organization/delete_invalid.yml +72 -0
  214. data/spec/support/fixtures/vcr_cassettes/organization/get.yml +84 -0
  215. data/spec/support/fixtures/vcr_cassettes/organization/get_invalid.yml +72 -0
  216. data/spec/support/fixtures/vcr_cassettes/organization/list.yml +87 -0
  217. data/spec/support/fixtures/vcr_cassettes/organization/update.yml +84 -0
  218. data/spec/support/fixtures/vcr_cassettes/passwordless/create_session.yml +72 -0
  219. data/spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml +73 -0
  220. data/spec/support/fixtures/vcr_cassettes/passwordless/send_session.yml +72 -0
  221. data/spec/support/fixtures/vcr_cassettes/passwordless/send_session_invalid.yml +73 -0
  222. data/spec/support/fixtures/vcr_cassettes/portal/generate_link_audit_logs.yml +72 -0
  223. data/spec/support/fixtures/vcr_cassettes/portal/generate_link_dsync.yml +72 -0
  224. data/spec/support/fixtures/vcr_cassettes/portal/generate_link_invalid.yml +72 -0
  225. data/spec/support/fixtures/vcr_cassettes/portal/generate_link_sso.yml +72 -0
  226. data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml +72 -0
  227. data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml +70 -0
  228. data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml +72 -0
  229. data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml +86 -0
  230. data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_after.yml +83 -0
  231. data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_before.yml +86 -0
  232. data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_connection_type.yml +90 -0
  233. data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_domain.yml +86 -0
  234. data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_limit.yml +83 -0
  235. data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_no_options.yml +89 -0
  236. data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_organization_id.yml +86 -0
  237. data/spec/support/fixtures/vcr_cassettes/sso/profile.yml +74 -0
  238. data/spec/support/profile.txt +1 -0
  239. data/spec/support/shared_examples/client_spec.rb +30 -0
  240. data/spec/support/webhook_payload.txt +1 -0
  241. data/workosv2.gemspec +38 -0
  242. metadata +531 -0
@@ -0,0 +1,2467 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `rspec-core` gem.
5
+ # Please instead update this file by running `bin/tapioca gem rspec-core`.
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::Core
36
+ class << self
37
+ def path_to_executable; end
38
+ end
39
+ end
40
+
41
+ class RSpec::Core::AnonymousExampleGroup < ::RSpec::Core::ExampleGroup
42
+ class << self
43
+ def metadata; end
44
+ end
45
+ end
46
+
47
+ class RSpec::Core::BacktraceFormatter
48
+ def initialize; end
49
+
50
+ def backtrace_line(line); end
51
+ def exclude?(line); end
52
+ def exclusion_patterns; end
53
+ def exclusion_patterns=(_arg0); end
54
+ def filter_gem(gem_name); end
55
+ def format_backtrace(backtrace, options = T.unsafe(nil)); end
56
+ def full_backtrace=(_arg0); end
57
+ def full_backtrace?; end
58
+ def inclusion_patterns; end
59
+ def inclusion_patterns=(_arg0); end
60
+
61
+ private
62
+
63
+ def matches?(patterns, line); end
64
+ end
65
+
66
+ module RSpec::Core::Bisect; end
67
+
68
+ class RSpec::Core::Bisect::BisectFailedError < ::StandardError
69
+ class << self
70
+ def for_failed_spec_run(spec_output); end
71
+ end
72
+ end
73
+
74
+ class RSpec::Core::Bisect::Channel
75
+ def initialize; end
76
+
77
+ def close; end
78
+ def receive; end
79
+ def send(message); end
80
+ end
81
+
82
+ class RSpec::Core::Bisect::ExampleSetDescriptor < ::Struct
83
+ def all_example_ids; end
84
+ def all_example_ids=(_); end
85
+ def failed_example_ids; end
86
+ def failed_example_ids=(_); end
87
+
88
+ class << self
89
+ def [](*_arg0); end
90
+ def inspect; end
91
+ def keyword_init?; end
92
+ def members; end
93
+ def new(*_arg0); end
94
+ end
95
+ end
96
+
97
+ class RSpec::Core::Bisect::Notifier
98
+ def initialize(formatter); end
99
+
100
+ def publish(event, *args); end
101
+ end
102
+
103
+ class RSpec::Core::Configuration
104
+ include ::RSpec::Core::Hooks
105
+ include ::RSpec::Core::Configuration::Readers
106
+
107
+ def initialize; end
108
+
109
+ def add_formatter(formatter, output = T.unsafe(nil)); end
110
+ def add_setting(name, opts = T.unsafe(nil)); end
111
+ def after(scope = T.unsafe(nil), *meta, &block); end
112
+ def alias_example_group_to(new_name, *args); end
113
+ def alias_example_to(name, *args); end
114
+ def alias_it_behaves_like_to(new_name, report_label = T.unsafe(nil)); end
115
+ def alias_it_should_behave_like_to(new_name, report_label = T.unsafe(nil)); end
116
+ def append_after(scope = T.unsafe(nil), *meta, &block); end
117
+ def append_before(scope = T.unsafe(nil), *meta, &block); end
118
+ def apply_derived_metadata_to(metadata); end
119
+ def around(scope = T.unsafe(nil), *meta, &block); end
120
+ def backtrace_exclusion_patterns; end
121
+ def backtrace_exclusion_patterns=(patterns); end
122
+ def backtrace_formatter; end
123
+ def backtrace_inclusion_patterns; end
124
+ def backtrace_inclusion_patterns=(patterns); end
125
+ def before(scope = T.unsafe(nil), *meta, &block); end
126
+ def bisect_runner; end
127
+ def bisect_runner=(value); end
128
+ def bisect_runner_class; end
129
+ def color; end
130
+ def color=(_arg0); end
131
+ def color_enabled?(output = T.unsafe(nil)); end
132
+ def color_mode; end
133
+ def color_mode=(_arg0); end
134
+ def configure_example(example, example_hooks); end
135
+ def configure_expectation_framework; end
136
+ def configure_group(group); end
137
+ def configure_mock_framework; end
138
+ def default_color; end
139
+ def default_color=(_arg0); end
140
+ def default_color?; end
141
+ def default_formatter; end
142
+ def default_formatter=(value); end
143
+ def default_path; end
144
+ def default_path=(path); end
145
+ def default_path?; end
146
+ def define_derived_metadata(*filters, &block); end
147
+ def deprecation_stream; end
148
+ def deprecation_stream=(value); end
149
+ def detail_color; end
150
+ def detail_color=(_arg0); end
151
+ def detail_color?; end
152
+ def disable_monkey_patching; end
153
+ def disable_monkey_patching!; end
154
+ def disable_monkey_patching=(_arg0); end
155
+ def drb; end
156
+ def drb=(_arg0); end
157
+ def drb?; end
158
+ def drb_port; end
159
+ def drb_port=(_arg0); end
160
+ def drb_port?; end
161
+ def dry_run; end
162
+ def dry_run=(_arg0); end
163
+ def dry_run?; end
164
+ def error_stream; end
165
+ def error_stream=(_arg0); end
166
+ def error_stream?; end
167
+ def example_status_persistence_file_path; end
168
+ def example_status_persistence_file_path=(value); end
169
+ def exclude_pattern; end
170
+ def exclude_pattern=(value); end
171
+ def exclusion_filter; end
172
+ def exclusion_filter=(filter); end
173
+ def expect_with(*frameworks); end
174
+ def expectation_framework=(framework); end
175
+ def expectation_frameworks; end
176
+ def expose_current_running_example_as(method_name); end
177
+ def expose_dsl_globally=(value); end
178
+ def expose_dsl_globally?; end
179
+ def extend(mod, *filters); end
180
+ def fail_fast; end
181
+ def fail_fast=(value); end
182
+ def fail_if_no_examples; end
183
+ def fail_if_no_examples=(_arg0); end
184
+ def fail_if_no_examples?; end
185
+ def failure_color; end
186
+ def failure_color=(_arg0); end
187
+ def failure_color?; end
188
+ def failure_exit_code; end
189
+ def failure_exit_code=(_arg0); end
190
+ def failure_exit_code?; end
191
+ def files_or_directories_to_run=(*files); end
192
+ def files_to_run; end
193
+ def files_to_run=(_arg0); end
194
+ def filter; end
195
+ def filter=(filter); end
196
+ def filter_gems_from_backtrace(*gem_names); end
197
+ def filter_manager; end
198
+ def filter_manager=(_arg0); end
199
+ def filter_run(*args); end
200
+ def filter_run_excluding(*args); end
201
+ def filter_run_including(*args); end
202
+ def filter_run_when_matching(*args); end
203
+ def fixed_color; end
204
+ def fixed_color=(_arg0); end
205
+ def fixed_color?; end
206
+ def force(hash); end
207
+ def format_docstrings(&block); end
208
+ def format_docstrings_block; end
209
+ def formatter=(formatter, output = T.unsafe(nil)); end
210
+ def formatter_loader; end
211
+ def formatters; end
212
+ def full_backtrace=(true_or_false); end
213
+ def full_backtrace?; end
214
+ def full_description; end
215
+ def full_description=(description); end
216
+ def hooks; end
217
+ def in_project_source_dir_regex; end
218
+ def include(mod, *filters); end
219
+ def include_context(shared_group_name, *filters); end
220
+ def inclusion_filter; end
221
+ def inclusion_filter=(filter); end
222
+ def last_run_statuses; end
223
+ def libs; end
224
+ def libs=(libs); end
225
+ def load_spec_files; end
226
+ def loaded_spec_files; end
227
+ def max_displayed_failure_line_count; end
228
+ def max_displayed_failure_line_count=(_arg0); end
229
+ def max_displayed_failure_line_count?; end
230
+ def mock_framework; end
231
+ def mock_framework=(framework); end
232
+ def mock_with(framework); end
233
+ def on_example_group_definition(&block); end
234
+ def on_example_group_definition_callbacks; end
235
+ def only_failures; end
236
+ def only_failures?; end
237
+ def only_failures_but_not_configured?; end
238
+ def order=(*args, &block); end
239
+ def ordering_manager; end
240
+ def ordering_registry(*args, &block); end
241
+ def output_stream; end
242
+ def output_stream=(value); end
243
+ def pattern; end
244
+ def pattern=(value); end
245
+ def pending_color; end
246
+ def pending_color=(_arg0); end
247
+ def pending_color?; end
248
+ def prepend(mod, *filters); end
249
+ def prepend_after(scope = T.unsafe(nil), *meta, &block); end
250
+ def prepend_before(scope = T.unsafe(nil), *meta, &block); end
251
+ def profile_examples; end
252
+ def profile_examples=(_arg0); end
253
+ def profile_examples?; end
254
+ def project_source_dirs; end
255
+ def project_source_dirs=(_arg0); end
256
+ def project_source_dirs?; end
257
+ def raise_errors_for_deprecations!; end
258
+ def raise_on_warning=(value); end
259
+ def register_ordering(*args, &block); end
260
+ def reporter; end
261
+ def requires; end
262
+ def requires=(paths); end
263
+ def reset; end
264
+ def reset_filters; end
265
+ def reset_reporter; end
266
+ def run_all_when_everything_filtered; end
267
+ def run_all_when_everything_filtered=(_arg0); end
268
+ def run_all_when_everything_filtered?; end
269
+ def seed(*args, &block); end
270
+ def seed=(*args, &block); end
271
+ def seed_used?(*args, &block); end
272
+ def shared_context_metadata_behavior; end
273
+ def shared_context_metadata_behavior=(value); end
274
+ def silence_filter_announcements; end
275
+ def silence_filter_announcements=(_arg0); end
276
+ def silence_filter_announcements?; end
277
+ def spec_files_with_failures; end
278
+ def start_time; end
279
+ def start_time=(_arg0); end
280
+ def start_time?; end
281
+ def static_config_filter_manager; end
282
+ def static_config_filter_manager=(_arg0); end
283
+ def success_color; end
284
+ def success_color=(_arg0); end
285
+ def success_color?; end
286
+ def threadsafe; end
287
+ def threadsafe=(_arg0); end
288
+ def threadsafe?; end
289
+ def treat_symbols_as_metadata_keys_with_true_values=(_value); end
290
+ def tty; end
291
+ def tty=(_arg0); end
292
+ def tty?; end
293
+ def warnings=(value); end
294
+ def warnings?; end
295
+ def when_first_matching_example_defined(*filters); end
296
+ def with_suite_hooks; end
297
+ def world; end
298
+ def world=(_arg0); end
299
+
300
+ private
301
+
302
+ def absolute_pattern?(pattern); end
303
+ def add_hook_to_existing_matching_groups(meta, scope, &block); end
304
+ def assert_no_example_groups_defined(config_option); end
305
+ def clear_values_derived_from_example_status_persistence_file_path; end
306
+ def command; end
307
+ def conditionally_disable_expectations_monkey_patching; end
308
+ def conditionally_disable_mocks_monkey_patching; end
309
+ def configure_group_with(group, module_list, application_method); end
310
+ def define_built_in_hooks; end
311
+ def define_mixed_in_module(mod, filters, mod_list, config_method, &block); end
312
+ def extract_location(path); end
313
+ def file_glob_from(path, pattern); end
314
+ def gather_directories(path); end
315
+ def get_files_to_run(paths); end
316
+ def get_matching_files(path, pattern); end
317
+ def handle_suite_hook(scope, meta); end
318
+ def load_file_handling_errors(method, file); end
319
+ def metadata_applies_to_group?(meta, group); end
320
+ def on_existing_matching_groups(meta); end
321
+ def output_to_tty?(output = T.unsafe(nil)); end
322
+ def output_wrapper; end
323
+ def paths_to_check(paths); end
324
+ def pattern_might_load_specs_from_vendored_dirs?; end
325
+ def rspec_expectations_loaded?; end
326
+ def rspec_mocks_loaded?; end
327
+ def run_suite_hooks(hook_description, hooks); end
328
+ def safe_extend(mod, host); end
329
+ def safe_include(mod, host); end
330
+ def safe_prepend(mod, host); end
331
+ def update_pattern_attr(name, value); end
332
+ def value_for(key); end
333
+
334
+ class << self
335
+ def add_read_only_setting(name, opts = T.unsafe(nil)); end
336
+ def add_setting(name, opts = T.unsafe(nil)); end
337
+ def define_alias(name, alias_name); end
338
+ def define_predicate(name); end
339
+ def define_reader(name); end
340
+ def delegate_to_ordering_manager(*methods); end
341
+ end
342
+ end
343
+
344
+ RSpec::Core::Configuration::DEFAULT_FORMATTER = T.let(T.unsafe(nil), Proc)
345
+
346
+ class RSpec::Core::Configuration::DeprecationReporterBuffer
347
+ def initialize; end
348
+
349
+ def deprecation(*args); end
350
+ def play_onto(reporter); end
351
+ end
352
+
353
+ module RSpec::Core::Configuration::ExposeCurrentExample; end
354
+ RSpec::Core::Configuration::FAILED_STATUS = T.let(T.unsafe(nil), String)
355
+ RSpec::Core::Configuration::MOCKING_ADAPTERS = T.let(T.unsafe(nil), Hash)
356
+ class RSpec::Core::Configuration::MustBeConfiguredBeforeExampleGroupsError < ::StandardError; end
357
+ RSpec::Core::Configuration::PASSED_STATUS = T.let(T.unsafe(nil), String)
358
+ RSpec::Core::Configuration::PENDING_STATUS = T.let(T.unsafe(nil), String)
359
+ RSpec::Core::Configuration::RAISE_ERROR_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
360
+
361
+ module RSpec::Core::Configuration::Readers
362
+ def default_color; end
363
+ def default_path; end
364
+ def deprecation_stream; end
365
+ def detail_color; end
366
+ def drb; end
367
+ def drb_port; end
368
+ def dry_run; end
369
+ def error_stream; end
370
+ def example_status_persistence_file_path; end
371
+ def exclude_pattern; end
372
+ def fail_fast; end
373
+ def fail_if_no_examples; end
374
+ def failure_color; end
375
+ def failure_exit_code; end
376
+ def fixed_color; end
377
+ def libs; end
378
+ def max_displayed_failure_line_count; end
379
+ def only_failures; end
380
+ def output_stream; end
381
+ def pattern; end
382
+ def pending_color; end
383
+ def project_source_dirs; end
384
+ def requires; end
385
+ def run_all_when_everything_filtered; end
386
+ def shared_context_metadata_behavior; end
387
+ def silence_filter_announcements; end
388
+ def start_time; end
389
+ def success_color; end
390
+ def threadsafe; end
391
+ def tty; end
392
+ end
393
+
394
+ RSpec::Core::Configuration::UNKNOWN_STATUS = T.let(T.unsafe(nil), String)
395
+ RSpec::Core::Configuration::VALID_STATUSES = T.let(T.unsafe(nil), Array)
396
+
397
+ class RSpec::Core::ConfigurationOptions
398
+ def initialize(args); end
399
+
400
+ def args; end
401
+ def configure(config); end
402
+ def configure_filter_manager(filter_manager); end
403
+ def options; end
404
+
405
+ private
406
+
407
+ def args_from_options_file(path); end
408
+ def command_line_options; end
409
+ def custom_options; end
410
+ def custom_options_file; end
411
+ def env_options; end
412
+ def file_options; end
413
+ def force?(key); end
414
+ def global_options; end
415
+ def global_options_file; end
416
+ def home_options_file_path; end
417
+ def load_formatters_into(config); end
418
+ def local_options; end
419
+ def local_options_file; end
420
+ def options_file_as_erb_string(path); end
421
+ def options_from(path); end
422
+ def order(keys); end
423
+ def organize_options; end
424
+ def parse_args_ignoring_files_or_dirs_to_run(args, source); end
425
+ def process_options_into(config); end
426
+ def project_options; end
427
+ def project_options_file; end
428
+ def resolve_xdg_config_home; end
429
+ def xdg_options_file_if_exists; end
430
+ def xdg_options_file_path; end
431
+ end
432
+
433
+ RSpec::Core::ConfigurationOptions::OPTIONS_ORDER = T.let(T.unsafe(nil), Array)
434
+ RSpec::Core::ConfigurationOptions::UNFORCED_OPTIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
435
+ RSpec::Core::ConfigurationOptions::UNPROCESSABLE_OPTIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
436
+
437
+ module RSpec::Core::DSL
438
+ class << self
439
+ def change_global_dsl(&changes); end
440
+ def example_group_aliases; end
441
+ def expose_example_group_alias(name); end
442
+ def expose_example_group_alias_globally(method_name); end
443
+ def expose_globally!; end
444
+ def exposed_globally?; end
445
+ def remove_globally!; end
446
+ def top_level; end
447
+ def top_level=(_arg0); end
448
+ end
449
+ end
450
+
451
+ class RSpec::Core::DeprecationError < ::StandardError; end
452
+
453
+ class RSpec::Core::DidYouMean
454
+ def initialize(relative_file_name); end
455
+
456
+ def call; end
457
+ def relative_file_name; end
458
+
459
+ private
460
+
461
+ def formats(probables); end
462
+ def red_font(mytext); end
463
+ def top_and_tail(rspec_format); end
464
+ end
465
+
466
+ class RSpec::Core::Example
467
+ def initialize(example_group_class, description, user_metadata, example_block = T.unsafe(nil)); end
468
+
469
+ def clock; end
470
+ def clock=(_arg0); end
471
+ def description; end
472
+ def display_exception; end
473
+ def display_exception=(ex); end
474
+ def duplicate_with(metadata_overrides = T.unsafe(nil)); end
475
+ def example_group; end
476
+ def example_group_instance; end
477
+ def exception; end
478
+ def execution_result; end
479
+ def fail_with_exception(reporter, exception); end
480
+ def file_path; end
481
+ def full_description; end
482
+ def id; end
483
+ def inspect; end
484
+ def inspect_output; end
485
+ def instance_exec(*args, &block); end
486
+ def location; end
487
+ def location_rerun_argument; end
488
+ def metadata; end
489
+ def pending; end
490
+ def pending?; end
491
+ def reporter; end
492
+ def rerun_argument; end
493
+ def run(example_group_instance, reporter); end
494
+ def set_aggregate_failures_exception(exception); end
495
+ def set_exception(exception); end
496
+ def skip; end
497
+ def skip_with_exception(reporter, exception); end
498
+ def skipped?; end
499
+ def to_s; end
500
+ def update_inherited_metadata(updates); end
501
+
502
+ private
503
+
504
+ def assign_generated_description; end
505
+ def finish(reporter); end
506
+ def generate_description; end
507
+ def hooks; end
508
+ def location_description; end
509
+ def mocks_need_verification?; end
510
+ def record_finished(status, reporter); end
511
+ def run_after_example; end
512
+ def run_before_example; end
513
+ def start(reporter); end
514
+ def verify_mocks; end
515
+ def with_around_and_singleton_context_hooks; end
516
+ def with_around_example_hooks; end
517
+
518
+ class << self
519
+ def delegate_to_metadata(key); end
520
+ def parse_id(id); end
521
+ end
522
+ end
523
+
524
+ RSpec::Core::Example::AllExceptionsExcludingDangerousOnesOnRubiesThatAllowIt = RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
525
+
526
+ class RSpec::Core::Example::ExecutionResult
527
+ include ::RSpec::Core::HashImitatable
528
+ extend ::RSpec::Core::HashImitatable::ClassMethods
529
+
530
+ def ensure_timing_set(clock); end
531
+ def example_skipped?; end
532
+ def exception; end
533
+ def exception=(_arg0); end
534
+ def finished_at; end
535
+ def finished_at=(_arg0); end
536
+ def pending_exception; end
537
+ def pending_exception=(_arg0); end
538
+ def pending_fixed; end
539
+ def pending_fixed=(_arg0); end
540
+ def pending_fixed?; end
541
+ def pending_message; end
542
+ def pending_message=(_arg0); end
543
+ def record_finished(status, finished_at); end
544
+ def run_time; end
545
+ def run_time=(_arg0); end
546
+ def started_at; end
547
+ def started_at=(_arg0); end
548
+ def status; end
549
+ def status=(_arg0); end
550
+
551
+ private
552
+
553
+ def calculate_run_time(finished_at); end
554
+ def get_value(name); end
555
+ def hash_for_delegation; end
556
+ def issue_deprecation(_method_name, *_args); end
557
+ def set_value(name, value); end
558
+ end
559
+
560
+ class RSpec::Core::Example::Procsy
561
+ def initialize(example, &block); end
562
+
563
+ def <<(*a, &b); end
564
+ def ==(*a, &b); end
565
+ def ===(*a, &b); end
566
+ def >>(*a, &b); end
567
+ def [](*a, &b); end
568
+ def arity(*a, &b); end
569
+ def binding(*a, &b); end
570
+ def call(*args, &block); end
571
+ def clock(*a, &b); end
572
+ def clock=(*a, &b); end
573
+ def clone(*a, &b); end
574
+ def curry(*a, &b); end
575
+ def description(*a, &b); end
576
+ def dup(*a, &b); end
577
+ def duplicate_with(*a, &b); end
578
+ def eql?(*a, &b); end
579
+ def example; end
580
+ def example_group(*a, &b); end
581
+ def example_group_instance(*a, &b); end
582
+ def exception(*a, &b); end
583
+ def executed?; end
584
+ def execution_result(*a, &b); end
585
+ def file_path(*a, &b); end
586
+ def full_description(*a, &b); end
587
+ def hash(*a, &b); end
588
+ def id(*a, &b); end
589
+ def inspect; end
590
+ def inspect_output(*a, &b); end
591
+ def lambda?(*a, &b); end
592
+ def location(*a, &b); end
593
+ def location_rerun_argument(*a, &b); end
594
+ def metadata(*a, &b); end
595
+ def parameters(*a, &b); end
596
+ def pending(*a, &b); end
597
+ def pending?(*a, &b); end
598
+ def reporter(*a, &b); end
599
+ def rerun_argument(*a, &b); end
600
+ def ruby2_keywords(*a, &b); end
601
+ def run(*args, &block); end
602
+ def skip(*a, &b); end
603
+ def skipped?(*a, &b); end
604
+ def source_location(*a, &b); end
605
+ def to_proc; end
606
+ def update_inherited_metadata(*a, &b); end
607
+ def wrap(&block); end
608
+ def yield(*a, &b); end
609
+ end
610
+
611
+ class RSpec::Core::ExampleGroup
612
+ include ::RSpec::Core::MemoizedHelpers
613
+ include ::RSpec::Core::Pending
614
+ extend ::RSpec::Core::Hooks
615
+ extend ::RSpec::Core::MemoizedHelpers::ClassMethods
616
+ extend ::RSpec::Core::SharedExampleGroup
617
+
618
+ def initialize(inspect_output = T.unsafe(nil)); end
619
+
620
+ def described_class; end
621
+ def inspect; end
622
+
623
+ private
624
+
625
+ def method_missing(name, *args, **_arg2); end
626
+
627
+ class << self
628
+ def add_example(example); end
629
+ def before_context_ivars; end
630
+ def children; end
631
+ def context(*args, &example_group_block); end
632
+ def currently_executing_a_context_hook?; end
633
+ def declaration_locations; end
634
+ def define_example_group_method(name, metadata = T.unsafe(nil)); end
635
+ def define_example_method(name, extra_options = T.unsafe(nil)); end
636
+ def define_nested_shared_group_method(new_name, report_label = T.unsafe(nil)); end
637
+ def delegate_to_metadata(*names); end
638
+ def descendant_filtered_examples; end
639
+ def descendants; end
640
+ def describe(*args, &example_group_block); end
641
+ def described_class; end
642
+ def description; end
643
+ def each_instance_variable_for_example(group); end
644
+ def ensure_example_groups_are_configured; end
645
+ def example(*all_args, &block); end
646
+ def example_group(*args, &example_group_block); end
647
+ def examples; end
648
+ def fcontext(*args, &example_group_block); end
649
+ def fdescribe(*args, &example_group_block); end
650
+ def fexample(*all_args, &block); end
651
+ def file_path; end
652
+ def filtered_examples; end
653
+ def find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
654
+ def fit(*all_args, &block); end
655
+ def focus(*all_args, &block); end
656
+ def for_filtered_examples(reporter, &block); end
657
+ def fspecify(*all_args, &block); end
658
+ def id; end
659
+ def idempotently_define_singleton_method(name, &definition); end
660
+ def include_context(name, *args, &block); end
661
+ def include_examples(name, *args, &block); end
662
+ def it(*all_args, &block); end
663
+ def it_behaves_like(name, *args, &customization_block); end
664
+ def it_should_behave_like(name, *args, &customization_block); end
665
+ def location; end
666
+ def metadata; end
667
+ def next_runnable_index_for(file); end
668
+ def ordering_strategy; end
669
+ def parent_groups; end
670
+ def pending(*all_args, &block); end
671
+ def remove_example(example); end
672
+ def reset_memoized; end
673
+ def run(reporter = T.unsafe(nil)); end
674
+ def run_after_context_hooks(example_group_instance); end
675
+ def run_before_context_hooks(example_group_instance); end
676
+ def run_examples(reporter); end
677
+ def set_it_up(description, args, registration_collection, &example_group_block); end
678
+ def set_ivars(instance, ivars); end
679
+ def skip(*all_args, &block); end
680
+ def specify(*all_args, &block); end
681
+ def store_before_context_ivars(example_group_instance); end
682
+ def subclass(parent, description, args, registration_collection, &example_group_block); end
683
+ def superclass_before_context_ivars; end
684
+ def superclass_metadata; end
685
+ def top_level?; end
686
+ def top_level_description; end
687
+ def traverse_tree_until(&block); end
688
+ def update_inherited_metadata(updates); end
689
+ def with_replaced_metadata(meta); end
690
+ def xcontext(*args, &example_group_block); end
691
+ def xdescribe(*args, &example_group_block); end
692
+ def xexample(*all_args, &block); end
693
+ def xit(*all_args, &block); end
694
+ def xspecify(*all_args, &block); end
695
+
696
+ private
697
+
698
+ def method_missing(name, *args); end
699
+ end
700
+ end
701
+
702
+ RSpec::Core::ExampleGroup::INSTANCE_VARIABLE_TO_IGNORE = T.let(T.unsafe(nil), Symbol)
703
+ class RSpec::Core::ExampleGroup::WrongScopeError < ::NoMethodError; end
704
+
705
+ class RSpec::Core::ExampleStatusDumper
706
+ def initialize(examples); end
707
+
708
+ def dump; end
709
+
710
+ private
711
+
712
+ def column_widths; end
713
+ def formatted_header_rows; end
714
+ def formatted_row_from(row_values); end
715
+ def formatted_value_rows; end
716
+ def headers; end
717
+ def rows; end
718
+
719
+ class << self
720
+ def dump(examples); end
721
+ end
722
+ end
723
+
724
+ class RSpec::Core::ExampleStatusMerger
725
+ def initialize(this_run, from_previous_runs); end
726
+
727
+ def merge; end
728
+
729
+ private
730
+
731
+ def delete_previous_examples_that_no_longer_exist; end
732
+ def example_must_no_longer_exist?(ex_id); end
733
+ def hash_from(example_list); end
734
+ def loaded_spec_files; end
735
+ def sort_value_from(example); end
736
+ def spec_file_from(ex_id); end
737
+
738
+ class << self
739
+ def merge(this_run, from_previous_runs); end
740
+ end
741
+ end
742
+
743
+ class RSpec::Core::ExampleStatusParser
744
+ def initialize(string); end
745
+
746
+ def parse; end
747
+
748
+ private
749
+
750
+ def headers; end
751
+ def parse_row(line); end
752
+ def split_line(line); end
753
+
754
+ class << self
755
+ def parse(string); end
756
+ end
757
+ end
758
+
759
+ class RSpec::Core::ExampleStatusPersister
760
+ def initialize(examples, file_name); end
761
+
762
+ def persist; end
763
+
764
+ private
765
+
766
+ def dump_statuses(unparsed_previous_runs); end
767
+ def statuses_from_this_run; end
768
+
769
+ class << self
770
+ def load_from(file_name); end
771
+ def persist(examples, file_name); end
772
+ end
773
+ end
774
+
775
+ RSpec::Core::ExclusionRules = RSpec::Core::FilterRules
776
+
777
+ class RSpec::Core::FilterManager
778
+ def initialize; end
779
+
780
+ def add_ids(rerun_path, scoped_ids); end
781
+ def add_location(file_path, line_numbers); end
782
+ def empty?; end
783
+ def exclude(*args); end
784
+ def exclude_only(*args); end
785
+ def exclude_with_low_priority(*args); end
786
+ def exclusions; end
787
+ def include(*args); end
788
+ def include_only(*args); end
789
+ def include_with_low_priority(*args); end
790
+ def inclusions; end
791
+ def prune(examples); end
792
+
793
+ private
794
+
795
+ def add_path_to_arrays_filter(filter_key, path, values); end
796
+ def file_scoped_include?(ex_metadata, ids, locations); end
797
+ def prune_conditionally_filtered_examples(examples); end
798
+ end
799
+
800
+ class RSpec::Core::FilterRules
801
+ def initialize(rules = T.unsafe(nil)); end
802
+
803
+ def [](key); end
804
+ def add(updated); end
805
+ def add_with_low_priority(updated); end
806
+ def clear; end
807
+ def delete(key); end
808
+ def description; end
809
+ def each_pair(&block); end
810
+ def empty?; end
811
+ def fetch(*args, &block); end
812
+ def include_example?(example); end
813
+ def opposite; end
814
+ def opposite=(_arg0); end
815
+ def rules; end
816
+ def use_only(updated); end
817
+
818
+ class << self
819
+ def build; end
820
+ end
821
+ end
822
+
823
+ RSpec::Core::FilterRules::PROC_HEX_NUMBER = T.let(T.unsafe(nil), Regexp)
824
+ RSpec::Core::FilterRules::PROJECT_DIR = T.let(T.unsafe(nil), String)
825
+ module RSpec::Core::FilterableItemRepository; end
826
+
827
+ class RSpec::Core::FilterableItemRepository::QueryOptimized < ::RSpec::Core::FilterableItemRepository::UpdateOptimized
828
+ def initialize(applies_predicate); end
829
+
830
+ def append(item, metadata); end
831
+ def delete(item, metadata); end
832
+ def items_for(metadata); end
833
+ def prepend(item, metadata); end
834
+
835
+ private
836
+
837
+ def applicable_metadata_from(metadata); end
838
+ def find_items_for(request_meta); end
839
+ def handle_mutation(metadata); end
840
+ def proc_keys_from(metadata); end
841
+ def reconstruct_caches; end
842
+ end
843
+
844
+ class RSpec::Core::FilterableItemRepository::UpdateOptimized
845
+ def initialize(applies_predicate); end
846
+
847
+ def append(item, metadata); end
848
+ def delete(item, metadata); end
849
+ def items_and_filters; end
850
+ def items_for(request_meta); end
851
+ def prepend(item, metadata); end
852
+ end
853
+
854
+ module RSpec::Core::FlatMap
855
+ private
856
+
857
+ def flat_map(array, &block); end
858
+
859
+ class << self
860
+ def flat_map(array, &block); end
861
+ end
862
+ end
863
+
864
+ module RSpec::Core::Formatters
865
+ class << self
866
+ def register(formatter_class, *notifications); end
867
+ end
868
+ end
869
+
870
+ class RSpec::Core::Formatters::BaseBisectFormatter
871
+ def initialize(expected_failures); end
872
+
873
+ def example_failed(notification); end
874
+ def example_finished(notification); end
875
+ def start_dump(_notification); end
876
+
877
+ class << self
878
+ def inherited(formatter); end
879
+ end
880
+ end
881
+
882
+ class RSpec::Core::Formatters::BaseFormatter
883
+ def initialize(output); end
884
+
885
+ def close(_notification); end
886
+ def example_group; end
887
+ def example_group=(_arg0); end
888
+ def example_group_started(notification); end
889
+ def output; end
890
+ def start(notification); end
891
+
892
+ private
893
+
894
+ def output_supports_sync; end
895
+ def restore_sync_output; end
896
+ def start_sync_output; end
897
+ end
898
+
899
+ class RSpec::Core::Formatters::BaseTextFormatter < ::RSpec::Core::Formatters::BaseFormatter
900
+ def close(_notification); end
901
+ def dump_failures(notification); end
902
+ def dump_pending(notification); end
903
+ def dump_summary(summary); end
904
+ def message(notification); end
905
+ def seed(notification); end
906
+ end
907
+
908
+ class RSpec::Core::Formatters::BisectDRbFormatter < ::RSpec::Core::Formatters::BaseBisectFormatter
909
+ def initialize(_output); end
910
+
911
+ def notify_results(results); end
912
+ end
913
+
914
+ module RSpec::Core::Formatters::ConsoleCodes
915
+ private
916
+
917
+ def config_colors_to_methods; end
918
+ def console_code_for(code_or_symbol); end
919
+ def wrap(text, code_or_symbol); end
920
+
921
+ class << self
922
+ def config_colors_to_methods; end
923
+ def console_code_for(code_or_symbol); end
924
+ def wrap(text, code_or_symbol); end
925
+ end
926
+ end
927
+
928
+ RSpec::Core::Formatters::ConsoleCodes::VT100_CODES = T.let(T.unsafe(nil), Hash)
929
+ RSpec::Core::Formatters::ConsoleCodes::VT100_CODE_VALUES = T.let(T.unsafe(nil), Hash)
930
+
931
+ class RSpec::Core::Formatters::DeprecationFormatter
932
+ def initialize(deprecation_stream, summary_stream); end
933
+
934
+ def count; end
935
+ def deprecation(notification); end
936
+ def deprecation_message_for(data); end
937
+ def deprecation_stream; end
938
+ def deprecation_summary(_notification); end
939
+ def output; end
940
+ def printer; end
941
+ def summary_stream; end
942
+ end
943
+
944
+ RSpec::Core::Formatters::DeprecationFormatter::DEPRECATION_STREAM_NOTICE = T.let(T.unsafe(nil), String)
945
+
946
+ class RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter
947
+ def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
948
+
949
+ def deprecation_formatter; end
950
+ def deprecation_stream; end
951
+ def deprecation_summary; end
952
+ def print_deferred_deprecation_warnings; end
953
+ def print_deprecation_message(data); end
954
+ def stash_deprecation_message(deprecation_message); end
955
+ def summary_stream; end
956
+ end
957
+
958
+ RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter::TOO_MANY_USES_LIMIT = T.let(T.unsafe(nil), Integer)
959
+
960
+ class RSpec::Core::Formatters::DeprecationFormatter::FileStream
961
+ def initialize(file); end
962
+
963
+ def puts(*args); end
964
+ def summarize(summary_stream, deprecation_count); end
965
+ end
966
+
967
+ class RSpec::Core::Formatters::DeprecationFormatter::GeneratedDeprecationMessage < ::Struct
968
+ def initialize(data); end
969
+
970
+ def to_s; end
971
+ def too_many_warnings_message; end
972
+ def type; end
973
+ def type=(_); end
974
+
975
+ class << self
976
+ def [](*_arg0); end
977
+ def inspect; end
978
+ def keyword_init?; end
979
+ def members; end
980
+ def new(*_arg0); end
981
+ end
982
+ end
983
+
984
+ class RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter
985
+ def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
986
+
987
+ def deprecation_formatter; end
988
+ def deprecation_stream; end
989
+ def deprecation_summary; end
990
+ def print_deprecation_message(data); end
991
+ def summary_stream; end
992
+ end
993
+
994
+ RSpec::Core::Formatters::DeprecationFormatter::RAISE_ERROR_CONFIG_NOTICE = T.let(T.unsafe(nil), String)
995
+
996
+ class RSpec::Core::Formatters::DeprecationFormatter::RaiseErrorStream
997
+ def puts(message); end
998
+ def summarize(summary_stream, deprecation_count); end
999
+ end
1000
+
1001
+ class RSpec::Core::Formatters::DeprecationFormatter::SpecifiedDeprecationMessage < ::Struct
1002
+ def initialize(data); end
1003
+
1004
+ def to_s; end
1005
+ def too_many_warnings_message; end
1006
+ def type; end
1007
+ def type=(_); end
1008
+
1009
+ private
1010
+
1011
+ def deprecation_type_for(data); end
1012
+ def output_formatted(str); end
1013
+
1014
+ class << self
1015
+ def [](*_arg0); end
1016
+ def inspect; end
1017
+ def keyword_init?; end
1018
+ def members; end
1019
+ def new(*_arg0); end
1020
+ end
1021
+ end
1022
+
1023
+ RSpec::Core::Formatters::DeprecationFormatter::TOO_MANY_WARNINGS_NOTICE = T.let(T.unsafe(nil), String)
1024
+
1025
+ class RSpec::Core::Formatters::DocumentationFormatter < ::RSpec::Core::Formatters::BaseTextFormatter
1026
+ def initialize(output); end
1027
+
1028
+ def example_failed(failure); end
1029
+ def example_group_finished(_notification); end
1030
+ def example_group_started(notification); end
1031
+ def example_passed(passed); end
1032
+ def example_pending(pending); end
1033
+ def example_started(_notification); end
1034
+ def message(notification); end
1035
+
1036
+ private
1037
+
1038
+ def current_indentation(offset = T.unsafe(nil)); end
1039
+ def failure_output(example); end
1040
+ def flush_messages; end
1041
+ def next_failure_index; end
1042
+ def passed_output(example); end
1043
+ def pending_output(example, message); end
1044
+ end
1045
+
1046
+ class RSpec::Core::Formatters::ExceptionPresenter
1047
+ def initialize(exception, example, options = T.unsafe(nil)); end
1048
+
1049
+ def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
1050
+ def colorized_message_lines(colorizer = T.unsafe(nil)); end
1051
+ def description; end
1052
+ def example; end
1053
+ def exception; end
1054
+ def formatted_backtrace(exception = T.unsafe(nil)); end
1055
+ def formatted_cause(exception); end
1056
+ def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
1057
+ def fully_formatted_lines(failure_number, colorizer); end
1058
+ def message_lines; end
1059
+
1060
+ private
1061
+
1062
+ def add_shared_group_lines(lines, colorizer); end
1063
+ def backtrace_formatter; end
1064
+ def detail_formatter; end
1065
+ def encoded_description(description); end
1066
+ def encoded_string(string); end
1067
+ def encoding_of(string); end
1068
+ def exception_backtrace; end
1069
+ def exception_class_name(exception = T.unsafe(nil)); end
1070
+ def exception_lines; end
1071
+ def exception_message_string(exception); end
1072
+ def extra_detail_formatter; end
1073
+ def extra_failure_lines; end
1074
+ def failure_lines; end
1075
+ def failure_slash_error_lines; end
1076
+ def final_exception(exception, previous = T.unsafe(nil)); end
1077
+ def find_failed_line; end
1078
+ def formatted_message_and_backtrace(colorizer); end
1079
+ def indent_lines(lines, failure_number); end
1080
+ def message_color; end
1081
+ def read_failed_lines; end
1082
+ end
1083
+
1084
+ class RSpec::Core::Formatters::ExceptionPresenter::Factory
1085
+ def initialize(example); end
1086
+
1087
+ def build; end
1088
+
1089
+ private
1090
+
1091
+ def multiple_exception_summarizer(exception, prior_detail_formatter, color); end
1092
+ def multiple_exceptions_error?(exception); end
1093
+ def options; end
1094
+ def pending_options; end
1095
+ def sub_failure_list_formatter(exception, message_color); end
1096
+ def with_multiple_error_options_as_needed(exception, options); end
1097
+ end
1098
+
1099
+ class RSpec::Core::Formatters::ExceptionPresenter::Factory::CommonBacktraceTruncater
1100
+ def initialize(parent); end
1101
+
1102
+ def with_truncated_backtrace(child); end
1103
+ end
1104
+
1105
+ module RSpec::Core::Formatters::ExceptionPresenter::Factory::EmptyBacktraceFormatter
1106
+ class << self
1107
+ def format_backtrace(*_arg0); end
1108
+ end
1109
+ end
1110
+
1111
+ RSpec::Core::Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER = T.let(T.unsafe(nil), Proc)
1112
+
1113
+ class RSpec::Core::Formatters::FailureListFormatter < ::RSpec::Core::Formatters::BaseFormatter
1114
+ def dump_profile(_profile); end
1115
+ def example_failed(failure); end
1116
+ def message(_message); end
1117
+ end
1118
+
1119
+ class RSpec::Core::Formatters::FallbackMessageFormatter
1120
+ def initialize(output); end
1121
+
1122
+ def message(notification); end
1123
+ def output; end
1124
+ end
1125
+
1126
+ module RSpec::Core::Formatters::Helpers
1127
+ class << self
1128
+ def format_duration(duration); end
1129
+ def format_seconds(float, precision = T.unsafe(nil)); end
1130
+ def organize_ids(ids); end
1131
+ def pluralize(count, string); end
1132
+
1133
+ private
1134
+
1135
+ def strip_trailing_zeroes(string); end
1136
+ end
1137
+ end
1138
+
1139
+ RSpec::Core::Formatters::Helpers::DEFAULT_PRECISION = T.let(T.unsafe(nil), Integer)
1140
+ RSpec::Core::Formatters::Helpers::SUB_SECOND_PRECISION = T.let(T.unsafe(nil), Integer)
1141
+
1142
+ class RSpec::Core::Formatters::HtmlFormatter < ::RSpec::Core::Formatters::BaseFormatter
1143
+ def initialize(output); end
1144
+
1145
+ def dump_summary(summary); end
1146
+ def example_failed(failure); end
1147
+ def example_group_started(notification); end
1148
+ def example_passed(passed); end
1149
+ def example_pending(pending); end
1150
+ def example_started(_notification); end
1151
+ def start(notification); end
1152
+ def start_dump(_notification); end
1153
+
1154
+ private
1155
+
1156
+ def example_group_number; end
1157
+ def example_number; end
1158
+ def extra_failure_content(failure); end
1159
+ def percent_done; end
1160
+ end
1161
+
1162
+ class RSpec::Core::Formatters::HtmlPrinter
1163
+ include ::ERB::Util
1164
+
1165
+ def initialize(output); end
1166
+
1167
+ def flush; end
1168
+ def make_example_group_header_red(group_id); end
1169
+ def make_example_group_header_yellow(group_id); end
1170
+ def make_header_red; end
1171
+ def make_header_yellow; end
1172
+ def move_progress(percent_done); end
1173
+ def print_example_failed(pending_fixed, description, run_time, failure_id, exception, extra_content); end
1174
+ def print_example_group_end; end
1175
+ def print_example_group_start(group_id, description, number_of_parents); end
1176
+ def print_example_passed(description, run_time); end
1177
+ def print_example_pending(description, pending_message); end
1178
+ def print_html_start; end
1179
+ def print_summary(duration, example_count, failure_count, pending_count); end
1180
+
1181
+ private
1182
+
1183
+ def indentation_style(number_of_parents); end
1184
+ end
1185
+
1186
+ RSpec::Core::Formatters::HtmlPrinter::GLOBAL_SCRIPTS = T.let(T.unsafe(nil), String)
1187
+ RSpec::Core::Formatters::HtmlPrinter::GLOBAL_STYLES = T.let(T.unsafe(nil), String)
1188
+ RSpec::Core::Formatters::HtmlPrinter::HTML_HEADER = T.let(T.unsafe(nil), String)
1189
+ RSpec::Core::Formatters::HtmlPrinter::REPORT_HEADER = T.let(T.unsafe(nil), String)
1190
+
1191
+ class RSpec::Core::Formatters::JsonFormatter < ::RSpec::Core::Formatters::BaseFormatter
1192
+ def initialize(output); end
1193
+
1194
+ def close(_notification); end
1195
+ def dump_profile(profile); end
1196
+ def dump_profile_slowest_example_groups(profile); end
1197
+ def dump_profile_slowest_examples(profile); end
1198
+ def dump_summary(summary); end
1199
+ def message(notification); end
1200
+ def output_hash; end
1201
+ def seed(notification); end
1202
+ def stop(notification); end
1203
+
1204
+ private
1205
+
1206
+ def format_example(example); end
1207
+ end
1208
+
1209
+ class RSpec::Core::Formatters::Loader
1210
+ def initialize(reporter); end
1211
+
1212
+ def add(formatter_to_use, *paths); end
1213
+ def default_formatter; end
1214
+ def default_formatter=(_arg0); end
1215
+ def formatters; end
1216
+ def prepare_default(output_stream, deprecation_stream); end
1217
+ def reporter; end
1218
+ def setup_default(output_stream, deprecation_stream); end
1219
+
1220
+ private
1221
+
1222
+ def built_in_formatter(key); end
1223
+ def custom_formatter(formatter_ref); end
1224
+ def duplicate_formatter_exists?(new_formatter); end
1225
+ def existing_formatter_implements?(notification); end
1226
+ def find_formatter(formatter_to_use); end
1227
+ def notifications_for(formatter_class); end
1228
+ def open_stream(path_or_wrapper); end
1229
+ def path_for(const_ref); end
1230
+ def register(formatter, notifications); end
1231
+ def string_const?(str); end
1232
+ def underscore(camel_cased_word); end
1233
+ def underscore_with_fix_for_non_standard_rspec_naming(string); end
1234
+
1235
+ class << self
1236
+ def formatters; end
1237
+ end
1238
+ end
1239
+
1240
+ class RSpec::Core::Formatters::ProfileFormatter
1241
+ def initialize(output); end
1242
+
1243
+ def dump_profile(profile); end
1244
+ def output; end
1245
+
1246
+ private
1247
+
1248
+ def bold(text); end
1249
+ def dump_profile_slowest_example_groups(profile); end
1250
+ def dump_profile_slowest_examples(profile); end
1251
+ def format_caller(caller_info); end
1252
+ end
1253
+
1254
+ class RSpec::Core::Formatters::ProgressFormatter < ::RSpec::Core::Formatters::BaseTextFormatter
1255
+ def example_failed(_notification); end
1256
+ def example_passed(_notification); end
1257
+ def example_pending(_notification); end
1258
+ def start_dump(_notification); end
1259
+ end
1260
+
1261
+ class RSpec::Core::Formatters::SnippetExtractor
1262
+ def initialize(source, beginning_line_number, max_line_count = T.unsafe(nil)); end
1263
+
1264
+ def beginning_line_number; end
1265
+ def expression_lines; end
1266
+ def max_line_count; end
1267
+ def source; end
1268
+
1269
+ private
1270
+
1271
+ def expression_node; end
1272
+ def expression_outmost_node?(node); end
1273
+ def line_range_of_expression; end
1274
+ def line_range_of_location_nodes_in_expression; end
1275
+ def location_nodes_at_beginning_line; end
1276
+ def unclosed_tokens_in_line_range(line_range); end
1277
+
1278
+ class << self
1279
+ def extract_expression_lines_at(file_path, beginning_line_number, max_line_count = T.unsafe(nil)); end
1280
+ def extract_line_at(file_path, line_number); end
1281
+ def least_indentation_from(lines); end
1282
+ def source_from_file(path); end
1283
+ end
1284
+ end
1285
+
1286
+ class RSpec::Core::Formatters::SnippetExtractor::NoExpressionAtLineError < ::StandardError; end
1287
+ class RSpec::Core::Formatters::SnippetExtractor::NoSuchFileError < ::StandardError; end
1288
+ class RSpec::Core::Formatters::SnippetExtractor::NoSuchLineError < ::StandardError; end
1289
+
1290
+ class RSpec::Core::Formatters::SyntaxHighlighter
1291
+ def initialize(configuration); end
1292
+
1293
+ def highlight(lines); end
1294
+
1295
+ private
1296
+
1297
+ def color_enabled_implementation; end
1298
+ def implementation; end
1299
+
1300
+ class << self
1301
+ def attempt_to_add_rspec_terms_to_coderay_keywords; end
1302
+ end
1303
+ end
1304
+
1305
+ module RSpec::Core::Formatters::SyntaxHighlighter::CodeRayImplementation
1306
+ class << self
1307
+ def highlight_syntax(lines); end
1308
+ end
1309
+ end
1310
+
1311
+ RSpec::Core::Formatters::SyntaxHighlighter::CodeRayImplementation::RESET_CODE = T.let(T.unsafe(nil), String)
1312
+
1313
+ module RSpec::Core::Formatters::SyntaxHighlighter::NoSyntaxHighlightingImplementation
1314
+ class << self
1315
+ def highlight_syntax(lines); end
1316
+ end
1317
+ end
1318
+
1319
+ RSpec::Core::Formatters::SyntaxHighlighter::WindowsImplementation = RSpec::Core::Formatters::SyntaxHighlighter::NoSyntaxHighlightingImplementation
1320
+
1321
+ module RSpec::Core::HashImitatable
1322
+ mixes_in_class_methods ::RSpec::Core::HashImitatable::ClassMethods
1323
+
1324
+ def <(*args, &block); end
1325
+ def <=(*args, &block); end
1326
+ def >(*args, &block); end
1327
+ def >=(*args, &block); end
1328
+ def [](key); end
1329
+ def []=(key, value); end
1330
+ def all?(*args, &block); end
1331
+ def any?(*args, &block); end
1332
+ def assoc(*args, &block); end
1333
+ def chain(*args, &block); end
1334
+ def chunk(*args, &block); end
1335
+ def chunk_while(*args, &block); end
1336
+ def clear(*args, &block); end
1337
+ def collect(*args, &block); end
1338
+ def collect_concat(*args, &block); end
1339
+ def compact(*args, &block); end
1340
+ def compact!(*args, &block); end
1341
+ def compare_by_identity(*args, &block); end
1342
+ def compare_by_identity?(*args, &block); end
1343
+ def count(*args, &block); end
1344
+ def cycle(*args, &block); end
1345
+ def deconstruct_keys(*args, &block); end
1346
+ def default(*args, &block); end
1347
+ def default=(*args, &block); end
1348
+ def default_proc(*args, &block); end
1349
+ def default_proc=(*args, &block); end
1350
+ def delete(*args, &block); end
1351
+ def delete_if(*args, &block); end
1352
+ def detect(*args, &block); end
1353
+ def dig(*args, &block); end
1354
+ def drop(*args, &block); end
1355
+ def drop_while(*args, &block); end
1356
+ def each(*args, &block); end
1357
+ def each_cons(*args, &block); end
1358
+ def each_entry(*args, &block); end
1359
+ def each_key(*args, &block); end
1360
+ def each_pair(*args, &block); end
1361
+ def each_slice(*args, &block); end
1362
+ def each_value(*args, &block); end
1363
+ def each_with_index(*args, &block); end
1364
+ def each_with_object(*args, &block); end
1365
+ def empty?(*args, &block); end
1366
+ def entries(*args, &block); end
1367
+ def except(*args, &block); end
1368
+ def fetch(*args, &block); end
1369
+ def fetch_values(*args, &block); end
1370
+ def filter(*args, &block); end
1371
+ def filter!(*args, &block); end
1372
+ def filter_map(*args, &block); end
1373
+ def find(*args, &block); end
1374
+ def find_all(*args, &block); end
1375
+ def find_index(*args, &block); end
1376
+ def first(*args, &block); end
1377
+ def flat_map(*args, &block); end
1378
+ def flatten(*args, &block); end
1379
+ def grep(*args, &block); end
1380
+ def grep_v(*args, &block); end
1381
+ def group_by(*args, &block); end
1382
+ def has_key?(*args, &block); end
1383
+ def has_value?(*args, &block); end
1384
+ def include?(*args, &block); end
1385
+ def inject(*args, &block); end
1386
+ def invert(*args, &block); end
1387
+ def keep_if(*args, &block); end
1388
+ def key(*args, &block); end
1389
+ def key?(*args, &block); end
1390
+ def keys(*args, &block); end
1391
+ def lazy(*args, &block); end
1392
+ def length(*args, &block); end
1393
+ def map(*args, &block); end
1394
+ def max(*args, &block); end
1395
+ def max_by(*args, &block); end
1396
+ def member?(*args, &block); end
1397
+ def merge(*args, &block); end
1398
+ def merge!(*args, &block); end
1399
+ def min(*args, &block); end
1400
+ def min_by(*args, &block); end
1401
+ def minmax(*args, &block); end
1402
+ def minmax_by(*args, &block); end
1403
+ def none?(*args, &block); end
1404
+ def one?(*args, &block); end
1405
+ def partition(*args, &block); end
1406
+ def rassoc(*args, &block); end
1407
+ def reduce(*args, &block); end
1408
+ def rehash(*args, &block); end
1409
+ def reject(*args, &block); end
1410
+ def reject!(*args, &block); end
1411
+ def replace(*args, &block); end
1412
+ def reverse_each(*args, &block); end
1413
+ def select(*args, &block); end
1414
+ def select!(*args, &block); end
1415
+ def shift(*args, &block); end
1416
+ def size(*args, &block); end
1417
+ def slice(*args, &block); end
1418
+ def slice_after(*args, &block); end
1419
+ def slice_before(*args, &block); end
1420
+ def slice_when(*args, &block); end
1421
+ def sort(*args, &block); end
1422
+ def sort_by(*args, &block); end
1423
+ def store(*args, &block); end
1424
+ def sum(*args, &block); end
1425
+ def take(*args, &block); end
1426
+ def take_while(*args, &block); end
1427
+ def tally(*args, &block); end
1428
+ def to_a(*args, &block); end
1429
+ def to_h; end
1430
+ def to_hash(*args, &block); end
1431
+ def to_proc(*args, &block); end
1432
+ def to_set(*args, &block); end
1433
+ def transform_keys(*args, &block); end
1434
+ def transform_keys!(*args, &block); end
1435
+ def transform_values(*args, &block); end
1436
+ def transform_values!(*args, &block); end
1437
+ def uniq(*args, &block); end
1438
+ def update(*args, &block); end
1439
+ def value?(*args, &block); end
1440
+ def values(*args, &block); end
1441
+ def values_at(*args, &block); end
1442
+ def zip(*args, &block); end
1443
+
1444
+ private
1445
+
1446
+ def directly_supports_attribute?(name); end
1447
+ def extra_hash_attributes; end
1448
+ def get_value(name); end
1449
+ def hash_for_delegation; end
1450
+ def issue_deprecation(_method_name, *_args); end
1451
+ def set_value(name, value); end
1452
+
1453
+ class << self
1454
+ def included(klass); end
1455
+ end
1456
+ end
1457
+
1458
+ module RSpec::Core::HashImitatable::ClassMethods
1459
+ def attr_accessor(*names); end
1460
+ def hash_attribute_names; end
1461
+ end
1462
+
1463
+ module RSpec::Core::Hooks
1464
+ def after(*args, &block); end
1465
+ def append_after(*args, &block); end
1466
+ def append_before(*args, &block); end
1467
+ def around(*args, &block); end
1468
+ def before(*args, &block); end
1469
+ def hooks; end
1470
+ def prepend_after(*args, &block); end
1471
+ def prepend_before(*args, &block); end
1472
+ end
1473
+
1474
+ class RSpec::Core::Hooks::AfterContextHook < ::RSpec::Core::Hooks::Hook
1475
+ def run(example); end
1476
+ end
1477
+
1478
+ class RSpec::Core::Hooks::AfterHook < ::RSpec::Core::Hooks::Hook
1479
+ def run(example); end
1480
+ end
1481
+
1482
+ class RSpec::Core::Hooks::AroundHook < ::RSpec::Core::Hooks::Hook
1483
+ def execute_with(example, procsy); end
1484
+ def hook_description; end
1485
+ end
1486
+
1487
+ class RSpec::Core::Hooks::BeforeHook < ::RSpec::Core::Hooks::Hook
1488
+ def run(example); end
1489
+ end
1490
+
1491
+ class RSpec::Core::Hooks::Hook < ::Struct
1492
+ def block; end
1493
+ def block=(_); end
1494
+ def options; end
1495
+ def options=(_); end
1496
+
1497
+ class << self
1498
+ def [](*_arg0); end
1499
+ def inspect; end
1500
+ def keyword_init?; end
1501
+ def members; end
1502
+ def new(*_arg0); end
1503
+ end
1504
+ end
1505
+
1506
+ class RSpec::Core::Hooks::HookCollections
1507
+ def initialize(owner, filterable_item_repo_class); end
1508
+
1509
+ def register(prepend_or_append, position, *args, &block); end
1510
+ def register_global_singleton_context_hooks(example, globals); end
1511
+ def register_globals(host, globals); end
1512
+ def run(position, scope, example_or_group); end
1513
+
1514
+ protected
1515
+
1516
+ def all_hooks_for(position, scope); end
1517
+ def matching_hooks_for(position, scope, example_or_group); end
1518
+ def processable_hooks_for(position, scope, host); end
1519
+ def run_owned_hooks_for(position, scope, example_or_group); end
1520
+
1521
+ private
1522
+
1523
+ def ensure_hooks_initialized_for(position, scope); end
1524
+ def extract_scope_from(args); end
1525
+ def hooks_for(position, scope); end
1526
+ def known_scope?(scope); end
1527
+ def normalized_scope_for(scope); end
1528
+ def owner_parent_groups; end
1529
+ def process(host, parent_groups, globals, position, scope); end
1530
+ def run_around_example_hooks_for(example); end
1531
+ def run_example_hooks_for(example, position, each_method); end
1532
+ def scope_and_options_from(*args); end
1533
+ end
1534
+
1535
+ RSpec::Core::Hooks::HookCollections::EMPTY_HOOK_ARRAY = T.let(T.unsafe(nil), Array)
1536
+ RSpec::Core::Hooks::HookCollections::HOOK_TYPES = T.let(T.unsafe(nil), Hash)
1537
+ RSpec::Core::Hooks::HookCollections::SCOPES = T.let(T.unsafe(nil), Array)
1538
+ RSpec::Core::Hooks::HookCollections::SCOPE_ALIASES = T.let(T.unsafe(nil), Hash)
1539
+
1540
+ class RSpec::Core::InclusionRules < ::RSpec::Core::FilterRules
1541
+ def add(*args); end
1542
+ def add_with_low_priority(*args); end
1543
+ def include_example?(example); end
1544
+ def split_file_scoped_rules; end
1545
+ def standalone?; end
1546
+
1547
+ private
1548
+
1549
+ def apply_standalone_filter(updated); end
1550
+ def is_standalone_filter?(rules); end
1551
+ def replace_filters(new_rules); end
1552
+ end
1553
+
1554
+ module RSpec::Core::Invocations; end
1555
+
1556
+ class RSpec::Core::Invocations::Bisect
1557
+ def call(options, err, out); end
1558
+
1559
+ private
1560
+
1561
+ def bisect_formatter_klass_for(argument); end
1562
+ end
1563
+
1564
+ class RSpec::Core::Invocations::DRbWithFallback
1565
+ def call(options, err, out); end
1566
+ end
1567
+
1568
+ class RSpec::Core::Invocations::InitializeProject
1569
+ def call(*_args); end
1570
+ end
1571
+
1572
+ class RSpec::Core::Invocations::PrintHelp < ::Struct
1573
+ def call(_options, _err, out); end
1574
+ def hidden_options; end
1575
+ def hidden_options=(_); end
1576
+ def parser; end
1577
+ def parser=(_); end
1578
+
1579
+ class << self
1580
+ def [](*_arg0); end
1581
+ def inspect; end
1582
+ def keyword_init?; end
1583
+ def members; end
1584
+ def new(*_arg0); end
1585
+ end
1586
+ end
1587
+
1588
+ class RSpec::Core::Invocations::PrintVersion
1589
+ def call(_options, _err, out); end
1590
+ end
1591
+
1592
+ class RSpec::Core::LegacyExampleGroupHash
1593
+ include ::RSpec::Core::HashImitatable
1594
+ extend ::RSpec::Core::HashImitatable::ClassMethods
1595
+
1596
+ def initialize(metadata); end
1597
+
1598
+ def to_h; end
1599
+
1600
+ private
1601
+
1602
+ def directly_supports_attribute?(name); end
1603
+ def get_value(name); end
1604
+ def set_value(name, value); end
1605
+ end
1606
+
1607
+ module RSpec::Core::MemoizedHelpers
1608
+ def initialize(*_arg0); end
1609
+
1610
+ def is_expected; end
1611
+ def should(matcher = T.unsafe(nil), message = T.unsafe(nil)); end
1612
+ def should_not(matcher = T.unsafe(nil), message = T.unsafe(nil)); end
1613
+ def subject; end
1614
+
1615
+ private
1616
+
1617
+ def __init_memoized; end
1618
+ def __memoized; end
1619
+
1620
+ class << self
1621
+ def define_helpers_on(example_group); end
1622
+ def get_constant_or_yield(example_group, name); end
1623
+ def module_for(example_group); end
1624
+ end
1625
+ end
1626
+
1627
+ module RSpec::Core::MemoizedHelpers::ClassMethods
1628
+ def let(name, &block); end
1629
+ def let!(name, &block); end
1630
+ def subject(name = T.unsafe(nil), &block); end
1631
+ def subject!(name = T.unsafe(nil), &block); end
1632
+ end
1633
+
1634
+ class RSpec::Core::MemoizedHelpers::ContextHookMemoized
1635
+ class << self
1636
+ def fetch_or_store(key, &_block); end
1637
+ def isolate_for_context_hook(example_group_instance); end
1638
+ end
1639
+ end
1640
+
1641
+ class RSpec::Core::MemoizedHelpers::ContextHookMemoized::After < ::RSpec::Core::MemoizedHelpers::ContextHookMemoized
1642
+ class << self
1643
+ def article; end
1644
+ def hook_expression; end
1645
+ def hook_intention; end
1646
+ end
1647
+ end
1648
+
1649
+ class RSpec::Core::MemoizedHelpers::ContextHookMemoized::Before < ::RSpec::Core::MemoizedHelpers::ContextHookMemoized
1650
+ class << self
1651
+ def article; end
1652
+ def hook_expression; end
1653
+ def hook_intention; end
1654
+ end
1655
+ end
1656
+
1657
+ class RSpec::Core::MemoizedHelpers::NonThreadSafeMemoized
1658
+ def initialize; end
1659
+
1660
+ def fetch_or_store(key); end
1661
+ end
1662
+
1663
+ class RSpec::Core::MemoizedHelpers::ThreadsafeMemoized
1664
+ def initialize; end
1665
+
1666
+ def fetch_or_store(key); end
1667
+ end
1668
+
1669
+ module RSpec::Core::Metadata
1670
+ class << self
1671
+ def ascend(metadata); end
1672
+ def ascending(metadata); end
1673
+ def build_hash_from(args, warn_about_example_group_filtering = T.unsafe(nil)); end
1674
+ def deep_hash_dup(object); end
1675
+ def id_from(metadata); end
1676
+ def location_tuple_from(metadata); end
1677
+ def relative_path(line); end
1678
+ def relative_path_regex; end
1679
+ end
1680
+ end
1681
+
1682
+ class RSpec::Core::Metadata::ExampleGroupHash < ::RSpec::Core::Metadata::HashPopulator
1683
+ private
1684
+
1685
+ def described_class; end
1686
+ def full_description; end
1687
+
1688
+ class << self
1689
+ def backwards_compatibility_default_proc(&example_group_selector); end
1690
+ def create(parent_group_metadata, user_metadata, example_group_index, *args, &block); end
1691
+ def hash_with_backwards_compatibility_default_proc; end
1692
+ end
1693
+ end
1694
+
1695
+ class RSpec::Core::Metadata::ExampleHash < ::RSpec::Core::Metadata::HashPopulator
1696
+ private
1697
+
1698
+ def described_class; end
1699
+ def full_description; end
1700
+
1701
+ class << self
1702
+ def create(group_metadata, user_metadata, index_provider, description, block); end
1703
+ end
1704
+ end
1705
+
1706
+ class RSpec::Core::Metadata::HashPopulator
1707
+ def initialize(metadata, user_metadata, index_provider, description_args, block); end
1708
+
1709
+ def block; end
1710
+ def description_args; end
1711
+ def metadata; end
1712
+ def populate; end
1713
+ def user_metadata; end
1714
+
1715
+ private
1716
+
1717
+ def build_description_from(parent_description = T.unsafe(nil), my_description = T.unsafe(nil)); end
1718
+ def build_scoped_id_for(file_path); end
1719
+ def description_separator(parent_part, child_part); end
1720
+ def ensure_valid_user_keys; end
1721
+ def file_path_and_line_number_from(backtrace); end
1722
+ def populate_location_attributes; end
1723
+ end
1724
+
1725
+ RSpec::Core::Metadata::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
1726
+
1727
+ module RSpec::Core::MetadataFilter
1728
+ class << self
1729
+ def apply?(predicate, filters, metadata); end
1730
+ def filter_applies?(key, filter_value, metadata); end
1731
+ def silence_metadata_example_group_deprecations; end
1732
+
1733
+ private
1734
+
1735
+ def filter_applies_to_any_value?(key, value, metadata); end
1736
+ def filters_apply?(key, value, metadata); end
1737
+ def id_filter_applies?(rerun_paths_to_scoped_ids, metadata); end
1738
+ def location_filter_applies?(locations, metadata); end
1739
+ def proc_filter_applies?(key, proc, metadata); end
1740
+ end
1741
+ end
1742
+
1743
+ class RSpec::Core::MultipleExceptionError < ::StandardError
1744
+ include ::RSpec::Core::MultipleExceptionError::InterfaceTag
1745
+
1746
+ def initialize(*exceptions); end
1747
+
1748
+ def aggregation_block_label; end
1749
+ def aggregation_metadata; end
1750
+ def all_exceptions; end
1751
+ def exception_count_description; end
1752
+ def failures; end
1753
+ def message; end
1754
+ def other_errors; end
1755
+ def summary; end
1756
+ end
1757
+
1758
+ module RSpec::Core::MultipleExceptionError::InterfaceTag
1759
+ def add(exception); end
1760
+
1761
+ class << self
1762
+ def for(ex); end
1763
+ end
1764
+ end
1765
+
1766
+ module RSpec::Core::Notifications; end
1767
+
1768
+ class RSpec::Core::Notifications::CustomNotification < ::Struct
1769
+ class << self
1770
+ def for(options = T.unsafe(nil)); end
1771
+ end
1772
+ end
1773
+
1774
+ class RSpec::Core::Notifications::DeprecationNotification < ::Struct
1775
+ def call_site; end
1776
+ def call_site=(_); end
1777
+ def deprecated; end
1778
+ def deprecated=(_); end
1779
+ def message; end
1780
+ def message=(_); end
1781
+ def replacement; end
1782
+ def replacement=(_); end
1783
+
1784
+ class << self
1785
+ def [](*_arg0); end
1786
+ def from_hash(data); end
1787
+ def inspect; end
1788
+ def keyword_init?; end
1789
+ def members; end
1790
+
1791
+ private
1792
+
1793
+ def new(*_arg0); end
1794
+ end
1795
+ end
1796
+
1797
+ class RSpec::Core::Notifications::ExampleNotification < ::Struct
1798
+ def example; end
1799
+ def example=(_); end
1800
+
1801
+ class << self
1802
+ def [](*_arg0); end
1803
+ def for(example); end
1804
+ def inspect; end
1805
+ def keyword_init?; end
1806
+ def members; end
1807
+
1808
+ private
1809
+
1810
+ def new(*_arg0); end
1811
+ end
1812
+ end
1813
+
1814
+ class RSpec::Core::Notifications::ExamplesNotification
1815
+ def initialize(reporter); end
1816
+
1817
+ def examples; end
1818
+ def failed_examples; end
1819
+ def failure_notifications; end
1820
+ def fully_formatted_failed_examples(colorizer = T.unsafe(nil)); end
1821
+ def fully_formatted_pending_examples(colorizer = T.unsafe(nil)); end
1822
+ def notifications; end
1823
+ def pending_examples; end
1824
+ def pending_notifications; end
1825
+
1826
+ private
1827
+
1828
+ def format_examples(examples); end
1829
+ end
1830
+
1831
+ class RSpec::Core::Notifications::FailedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
1832
+ def initialize(example, exception_presenter = T.unsafe(nil)); end
1833
+
1834
+ def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
1835
+ def colorized_message_lines(colorizer = T.unsafe(nil)); end
1836
+ def description; end
1837
+ def exception; end
1838
+ def formatted_backtrace; end
1839
+ def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
1840
+ def fully_formatted_lines(failure_number, colorizer = T.unsafe(nil)); end
1841
+ def message_lines; end
1842
+ end
1843
+
1844
+ class RSpec::Core::Notifications::GroupNotification < ::Struct
1845
+ def group; end
1846
+ def group=(_); end
1847
+
1848
+ class << self
1849
+ def [](*_arg0); end
1850
+ def inspect; end
1851
+ def keyword_init?; end
1852
+ def members; end
1853
+ def new(*_arg0); end
1854
+ end
1855
+ end
1856
+
1857
+ class RSpec::Core::Notifications::MessageNotification < ::Struct
1858
+ def message; end
1859
+ def message=(_); end
1860
+
1861
+ class << self
1862
+ def [](*_arg0); end
1863
+ def inspect; end
1864
+ def keyword_init?; end
1865
+ def members; end
1866
+ def new(*_arg0); end
1867
+ end
1868
+ end
1869
+
1870
+ module RSpec::Core::Notifications::NullColorizer
1871
+ private
1872
+
1873
+ def wrap(line, _code_or_symbol); end
1874
+
1875
+ class << self
1876
+ def wrap(line, _code_or_symbol); end
1877
+ end
1878
+ end
1879
+
1880
+ class RSpec::Core::Notifications::NullNotification; end
1881
+ class RSpec::Core::Notifications::PendingExampleFailedAsExpectedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
1882
+ class RSpec::Core::Notifications::PendingExampleFixedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
1883
+
1884
+ class RSpec::Core::Notifications::ProfileNotification
1885
+ def initialize(duration, examples, number_of_examples, example_groups); end
1886
+
1887
+ def duration; end
1888
+ def examples; end
1889
+ def number_of_examples; end
1890
+ def percentage; end
1891
+ def slow_duration; end
1892
+ def slowest_examples; end
1893
+ def slowest_groups; end
1894
+
1895
+ private
1896
+
1897
+ def calculate_slowest_groups; end
1898
+ end
1899
+
1900
+ class RSpec::Core::Notifications::SeedNotification < ::Struct
1901
+ def fully_formatted; end
1902
+ def seed; end
1903
+ def seed=(_); end
1904
+ def seed_used?; end
1905
+ def used=(_); end
1906
+
1907
+ private
1908
+
1909
+ def used; end
1910
+
1911
+ class << self
1912
+ def [](*_arg0); end
1913
+ def inspect; end
1914
+ def keyword_init?; end
1915
+ def members; end
1916
+ def new(*_arg0); end
1917
+ end
1918
+ end
1919
+
1920
+ class RSpec::Core::Notifications::SkippedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
1921
+ def fully_formatted(pending_number, colorizer = T.unsafe(nil)); end
1922
+ end
1923
+
1924
+ class RSpec::Core::Notifications::StartNotification < ::Struct
1925
+ def count; end
1926
+ def count=(_); end
1927
+ def load_time; end
1928
+ def load_time=(_); end
1929
+
1930
+ class << self
1931
+ def [](*_arg0); end
1932
+ def inspect; end
1933
+ def keyword_init?; end
1934
+ def members; end
1935
+ def new(*_arg0); end
1936
+ end
1937
+ end
1938
+
1939
+ class RSpec::Core::Notifications::SummaryNotification < ::Struct
1940
+ include ::RSpec::Core::ShellEscape
1941
+
1942
+ def colorized_rerun_commands(colorizer = T.unsafe(nil)); end
1943
+ def colorized_totals_line(colorizer = T.unsafe(nil)); end
1944
+ def duration; end
1945
+ def duration=(_); end
1946
+ def errors_outside_of_examples_count; end
1947
+ def errors_outside_of_examples_count=(_); end
1948
+ def example_count; end
1949
+ def examples; end
1950
+ def examples=(_); end
1951
+ def failed_examples; end
1952
+ def failed_examples=(_); end
1953
+ def failure_count; end
1954
+ def formatted_duration; end
1955
+ def formatted_load_time; end
1956
+ def fully_formatted(colorizer = T.unsafe(nil)); end
1957
+ def load_time; end
1958
+ def load_time=(_); end
1959
+ def pending_count; end
1960
+ def pending_examples; end
1961
+ def pending_examples=(_); end
1962
+ def totals_line; end
1963
+
1964
+ private
1965
+
1966
+ def duplicate_rerun_locations; end
1967
+ def rerun_argument_for(example); end
1968
+
1969
+ class << self
1970
+ def [](*_arg0); end
1971
+ def inspect; end
1972
+ def keyword_init?; end
1973
+ def members; end
1974
+ def new(*_arg0); end
1975
+ end
1976
+ end
1977
+
1978
+ class RSpec::Core::NullReporter
1979
+ class << self
1980
+ private
1981
+
1982
+ def method_missing(*_arg0); end
1983
+ end
1984
+ end
1985
+
1986
+ module RSpec::Core::Ordering; end
1987
+
1988
+ class RSpec::Core::Ordering::ConfigurationManager
1989
+ def initialize; end
1990
+
1991
+ def force(hash); end
1992
+ def order=(type); end
1993
+ def ordering_registry; end
1994
+ def register_ordering(name, strategy = T.unsafe(nil)); end
1995
+ def seed; end
1996
+ def seed=(seed); end
1997
+ def seed_used?; end
1998
+ end
1999
+
2000
+ class RSpec::Core::Ordering::Custom
2001
+ def initialize(callable); end
2002
+
2003
+ def order(list); end
2004
+ end
2005
+
2006
+ class RSpec::Core::Ordering::Identity
2007
+ def order(items); end
2008
+ end
2009
+
2010
+ class RSpec::Core::Ordering::Random
2011
+ def initialize(configuration); end
2012
+
2013
+ def order(items); end
2014
+ def used?; end
2015
+
2016
+ private
2017
+
2018
+ def jenkins_hash_digest(string); end
2019
+ end
2020
+
2021
+ RSpec::Core::Ordering::Random::MAX_32_BIT = T.let(T.unsafe(nil), Integer)
2022
+
2023
+ class RSpec::Core::Ordering::Registry
2024
+ def initialize(configuration); end
2025
+
2026
+ def fetch(name, &fallback); end
2027
+ def register(sym, strategy); end
2028
+ def used_random_seed?; end
2029
+ end
2030
+
2031
+ class RSpec::Core::OutputWrapper
2032
+ def initialize(output); end
2033
+
2034
+ def <<(*args, &block); end
2035
+ def advise(*args, &block); end
2036
+ def autoclose=(*args, &block); end
2037
+ def autoclose?(*args, &block); end
2038
+ def binmode(*args, &block); end
2039
+ def binmode?(*args, &block); end
2040
+ def close(*args, &block); end
2041
+ def close_on_exec=(*args, &block); end
2042
+ def close_on_exec?(*args, &block); end
2043
+ def close_read(*args, &block); end
2044
+ def close_write(*args, &block); end
2045
+ def closed?(*args, &block); end
2046
+ def each(*args, &block); end
2047
+ def each_byte(*args, &block); end
2048
+ def each_char(*args, &block); end
2049
+ def each_codepoint(*args, &block); end
2050
+ def each_line(*args, &block); end
2051
+ def eof(*args, &block); end
2052
+ def eof?(*args, &block); end
2053
+ def external_encoding(*args, &block); end
2054
+ def fcntl(*args, &block); end
2055
+ def fdatasync(*args, &block); end
2056
+ def fileno(*args, &block); end
2057
+ def flush(*args, &block); end
2058
+ def fsync(*args, &block); end
2059
+ def getbyte(*args, &block); end
2060
+ def getc(*args, &block); end
2061
+ def gets(*args, &block); end
2062
+ def inspect(*args, &block); end
2063
+ def internal_encoding(*args, &block); end
2064
+ def ioctl(*args, &block); end
2065
+ def isatty(*args, &block); end
2066
+ def lineno(*args, &block); end
2067
+ def lineno=(*args, &block); end
2068
+ def method_missing(name, *args, &block); end
2069
+ def nread(*args, &block); end
2070
+ def output; end
2071
+ def output=(_arg0); end
2072
+ def pathconf(*args, &block); end
2073
+ def pid(*args, &block); end
2074
+ def pos(*args, &block); end
2075
+ def pos=(*args, &block); end
2076
+ def pread(*args, &block); end
2077
+ def print(*args, &block); end
2078
+ def printf(*args, &block); end
2079
+ def putc(*args, &block); end
2080
+ def puts(*args, &block); end
2081
+ def pwrite(*args, &block); end
2082
+ def read(*args, &block); end
2083
+ def read_nonblock(*args, &block); end
2084
+ def readbyte(*args, &block); end
2085
+ def readchar(*args, &block); end
2086
+ def readline(*args, &block); end
2087
+ def readlines(*args, &block); end
2088
+ def readpartial(*args, &block); end
2089
+ def ready?(*args, &block); end
2090
+ def reopen(*args, &block); end
2091
+ def respond_to?(name, priv = T.unsafe(nil)); end
2092
+ def rewind(*args, &block); end
2093
+ def seek(*args, &block); end
2094
+ def set_encoding(*args, &block); end
2095
+ def set_encoding_by_bom(*args, &block); end
2096
+ def stat(*args, &block); end
2097
+ def sync(*args, &block); end
2098
+ def sync=(*args, &block); end
2099
+ def sysread(*args, &block); end
2100
+ def sysseek(*args, &block); end
2101
+ def syswrite(*args, &block); end
2102
+ def tell(*args, &block); end
2103
+ def to_i(*args, &block); end
2104
+ def to_io(*args, &block); end
2105
+ def tty?(*args, &block); end
2106
+ def ungetbyte(*args, &block); end
2107
+ def ungetc(*args, &block); end
2108
+ def wait(*args, &block); end
2109
+ def wait_priority(*args, &block); end
2110
+ def wait_readable(*args, &block); end
2111
+ def wait_writable(*args, &block); end
2112
+ def write(*args, &block); end
2113
+ def write_nonblock(*args, &block); end
2114
+ end
2115
+
2116
+ class RSpec::Core::Parser
2117
+ def initialize(original_args); end
2118
+
2119
+ def original_args; end
2120
+ def parse(source = T.unsafe(nil)); end
2121
+
2122
+ private
2123
+
2124
+ def add_tag_filter(options, filter_type, tag_name, value = T.unsafe(nil)); end
2125
+ def configure_only_failures(options); end
2126
+ def parser(options); end
2127
+ def set_fail_fast(options, value); end
2128
+
2129
+ class << self
2130
+ def parse(args, source = T.unsafe(nil)); end
2131
+ end
2132
+ end
2133
+
2134
+ module RSpec::Core::Pending
2135
+ def pending(message = T.unsafe(nil)); end
2136
+ def skip(message = T.unsafe(nil)); end
2137
+
2138
+ class << self
2139
+ def mark_fixed!(example); end
2140
+ def mark_pending!(example, message_or_bool); end
2141
+ def mark_skipped!(example, message_or_bool); end
2142
+ end
2143
+ end
2144
+
2145
+ RSpec::Core::Pending::NOT_YET_IMPLEMENTED = T.let(T.unsafe(nil), String)
2146
+ RSpec::Core::Pending::NO_REASON_GIVEN = T.let(T.unsafe(nil), String)
2147
+ class RSpec::Core::Pending::PendingExampleFixedError < ::StandardError; end
2148
+
2149
+ class RSpec::Core::Pending::SkipDeclaredInExample < ::StandardError
2150
+ def initialize(argument); end
2151
+
2152
+ def argument; end
2153
+ end
2154
+
2155
+ class RSpec::Core::Profiler
2156
+ def initialize; end
2157
+
2158
+ def example_group_finished(notification); end
2159
+ def example_group_started(notification); end
2160
+ def example_groups; end
2161
+ def example_started(notification); end
2162
+ end
2163
+
2164
+ RSpec::Core::Profiler::NOTIFICATIONS = T.let(T.unsafe(nil), Array)
2165
+
2166
+ class RSpec::Core::Reporter
2167
+ def initialize(configuration); end
2168
+
2169
+ def abort_with(msg, exit_status); end
2170
+ def close_after; end
2171
+ def deprecation(hash); end
2172
+ def example_failed(example); end
2173
+ def example_finished(example); end
2174
+ def example_group_finished(group); end
2175
+ def example_group_started(group); end
2176
+ def example_passed(example); end
2177
+ def example_pending(example); end
2178
+ def example_started(example); end
2179
+ def examples; end
2180
+ def exit_early(exit_code); end
2181
+ def fail_fast_limit_met?; end
2182
+ def failed_examples; end
2183
+ def finish; end
2184
+ def message(message); end
2185
+ def notify(event, notification); end
2186
+ def notify_non_example_exception(exception, context_description); end
2187
+ def pending_examples; end
2188
+ def prepare_default(loader, output_stream, deprecation_stream); end
2189
+ def publish(event, options = T.unsafe(nil)); end
2190
+ def register_listener(listener, *notifications); end
2191
+ def registered_listeners(notification); end
2192
+ def report(expected_example_count); end
2193
+ def start(expected_example_count, time = T.unsafe(nil)); end
2194
+ def stop; end
2195
+
2196
+ private
2197
+
2198
+ def close; end
2199
+ def ensure_listeners_ready; end
2200
+ def mute_profile_output?; end
2201
+ def seed_used?; end
2202
+ end
2203
+
2204
+ RSpec::Core::Reporter::RSPEC_NOTIFICATIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
2205
+
2206
+ module RSpec::Core::RubyProject
2207
+ private
2208
+
2209
+ def add_dir_to_load_path(dir); end
2210
+ def add_to_load_path(*dirs); end
2211
+ def ascend_until; end
2212
+ def determine_root; end
2213
+ def find_first_parent_containing(dir); end
2214
+ def root; end
2215
+
2216
+ class << self
2217
+ def add_dir_to_load_path(dir); end
2218
+ def add_to_load_path(*dirs); end
2219
+ def ascend_until; end
2220
+ def determine_root; end
2221
+ def find_first_parent_containing(dir); end
2222
+ def root; end
2223
+ end
2224
+ end
2225
+
2226
+ class RSpec::Core::Runner
2227
+ def initialize(options, configuration = T.unsafe(nil), world = T.unsafe(nil)); end
2228
+
2229
+ def configuration; end
2230
+ def configure(err, out); end
2231
+ def options; end
2232
+ def run(err, out); end
2233
+ def run_specs(example_groups); end
2234
+ def setup(err, out); end
2235
+ def world; end
2236
+
2237
+ private
2238
+
2239
+ def persist_example_statuses; end
2240
+
2241
+ class << self
2242
+ def autorun; end
2243
+ def autorun_disabled?; end
2244
+ def disable_autorun!; end
2245
+ def handle_interrupt; end
2246
+ def installed_at_exit?; end
2247
+ def invoke; end
2248
+ def perform_at_exit; end
2249
+ def run(args, err = T.unsafe(nil), out = T.unsafe(nil)); end
2250
+ def running_in_drb?; end
2251
+ def trap_interrupt; end
2252
+ end
2253
+ end
2254
+
2255
+ class RSpec::Core::Set
2256
+ include ::Enumerable
2257
+
2258
+ def initialize(array = T.unsafe(nil)); end
2259
+
2260
+ def <<(key); end
2261
+ def clear; end
2262
+ def delete(key); end
2263
+ def each(&block); end
2264
+ def empty?; end
2265
+ def include?(key); end
2266
+ def merge(values); end
2267
+ end
2268
+
2269
+ module RSpec::Core::SharedContext
2270
+ def __shared_context_recordings; end
2271
+ def after(*args, &block); end
2272
+ def append_after(*args, &block); end
2273
+ def append_before(*args, &block); end
2274
+ def around(*args, &block); end
2275
+ def before(*args, &block); end
2276
+ def context(*args, &block); end
2277
+ def describe(*args, &block); end
2278
+ def hooks(*args, &block); end
2279
+ def included(group); end
2280
+ def let(*args, &block); end
2281
+ def let!(*args, &block); end
2282
+ def prepend_after(*args, &block); end
2283
+ def prepend_before(*args, &block); end
2284
+ def subject(*args, &block); end
2285
+ def subject!(*args, &block); end
2286
+
2287
+ class << self
2288
+ def record(methods); end
2289
+ end
2290
+ end
2291
+
2292
+ class RSpec::Core::SharedContext::Recording < ::Struct
2293
+ def args; end
2294
+ def args=(_); end
2295
+ def block; end
2296
+ def block=(_); end
2297
+ def method_name; end
2298
+ def method_name=(_); end
2299
+ def playback_onto(group); end
2300
+
2301
+ class << self
2302
+ def [](*_arg0); end
2303
+ def inspect; end
2304
+ def keyword_init?; end
2305
+ def members; end
2306
+ def new(*_arg0); end
2307
+ end
2308
+ end
2309
+
2310
+ module RSpec::Core::SharedExampleGroup
2311
+ def shared_context(name, *args, &block); end
2312
+ def shared_examples(name, *args, &block); end
2313
+ def shared_examples_for(name, *args, &block); end
2314
+ end
2315
+
2316
+ class RSpec::Core::SharedExampleGroup::Registry
2317
+ def add(context, name, *metadata_args, &block); end
2318
+ def find(lookup_contexts, name); end
2319
+
2320
+ private
2321
+
2322
+ def ensure_block_has_source_location(_block); end
2323
+ def formatted_location(block); end
2324
+ def legacy_add(context, name, *metadata_args, &block); end
2325
+ def shared_example_groups; end
2326
+ def valid_name?(candidate); end
2327
+ def warn_if_key_taken(context, key, new_block); end
2328
+ end
2329
+
2330
+ module RSpec::Core::SharedExampleGroup::TopLevelDSL
2331
+ class << self
2332
+ def definitions; end
2333
+ def expose_globally!; end
2334
+ def exposed_globally?; end
2335
+ def remove_globally!; end
2336
+ end
2337
+ end
2338
+
2339
+ class RSpec::Core::SharedExampleGroupInclusionStackFrame
2340
+ def initialize(shared_group_name, inclusion_location); end
2341
+
2342
+ def description; end
2343
+ def formatted_inclusion_location; end
2344
+ def inclusion_location; end
2345
+ def shared_group_name; end
2346
+
2347
+ class << self
2348
+ def current_backtrace; end
2349
+ def shared_example_group_inclusions; end
2350
+ def with_frame(name, location); end
2351
+ end
2352
+ end
2353
+
2354
+ class RSpec::Core::SharedExampleGroupModule < ::Module
2355
+ def initialize(description, definition, metadata); end
2356
+
2357
+ def definition; end
2358
+ def include_in(klass, inclusion_line, args, customization_block); end
2359
+ def included(klass); end
2360
+ def inspect; end
2361
+ def to_s; end
2362
+ end
2363
+
2364
+ module RSpec::Core::ShellEscape
2365
+ private
2366
+
2367
+ def conditionally_quote(id); end
2368
+ def escape(shell_command); end
2369
+ def quote(argument); end
2370
+ def shell_allows_unquoted_ids?; end
2371
+
2372
+ class << self
2373
+ def conditionally_quote(id); end
2374
+ def escape(shell_command); end
2375
+ def quote(argument); end
2376
+ def shell_allows_unquoted_ids?; end
2377
+ end
2378
+ end
2379
+
2380
+ RSpec::Core::ShellEscape::SHELLS_ALLOWING_UNQUOTED_IDS = T.let(T.unsafe(nil), Array)
2381
+
2382
+ class RSpec::Core::SuiteHookContext < ::RSpec::Core::Example
2383
+ def initialize(hook_description, reporter); end
2384
+
2385
+ def set_exception(exception); end
2386
+ end
2387
+
2388
+ class RSpec::Core::Time
2389
+ class << self
2390
+ def now(in: T.unsafe(nil)); end
2391
+ end
2392
+ end
2393
+
2394
+ module RSpec::Core::Version; end
2395
+ RSpec::Core::Version::STRING = T.let(T.unsafe(nil), String)
2396
+
2397
+ module RSpec::Core::Warnings
2398
+ def deprecate(deprecated, data = T.unsafe(nil)); end
2399
+ def warn_deprecation(message, opts = T.unsafe(nil)); end
2400
+ def warn_with(message, options = T.unsafe(nil)); end
2401
+ end
2402
+
2403
+ class RSpec::Core::World
2404
+ def initialize(configuration = T.unsafe(nil)); end
2405
+
2406
+ def all_example_groups; end
2407
+ def all_examples; end
2408
+ def announce_exclusion_filter(announcements); end
2409
+ def announce_filters; end
2410
+ def announce_inclusion_filter(announcements); end
2411
+ def everything_filtered_message; end
2412
+ def example_count(groups = T.unsafe(nil)); end
2413
+ def example_group_counts_by_spec_file; end
2414
+ def example_groups; end
2415
+ def exclusion_filter; end
2416
+ def filter_manager; end
2417
+ def filtered_examples; end
2418
+ def inclusion_filter; end
2419
+ def non_example_failure; end
2420
+ def non_example_failure=(_arg0); end
2421
+ def num_example_groups_defined_in(file); end
2422
+ def ordered_example_groups; end
2423
+ def preceding_declaration_line(absolute_file_name, filter_line); end
2424
+ def prepare_example_filtering; end
2425
+ def record(example_group); end
2426
+ def registered_example_group_files; end
2427
+ def report_filter_message(message); end
2428
+ def reporter; end
2429
+ def reset; end
2430
+ def shared_example_group_registry; end
2431
+ def source_from_file(path); end
2432
+ def syntax_highlighter; end
2433
+ def traverse_example_group_trees_until(&block); end
2434
+ def wants_to_quit; end
2435
+ def wants_to_quit=(_arg0); end
2436
+
2437
+ private
2438
+
2439
+ def descending_declaration_line_numbers_by_file; end
2440
+ def fail_if_config_and_cli_options_invalid; end
2441
+ end
2442
+
2443
+ module RSpec::Core::World::Null
2444
+ class << self
2445
+ def all_example_groups; end
2446
+ def example_groups; end
2447
+ def non_example_failure; end
2448
+ def non_example_failure=(_); end
2449
+ def registered_example_group_files; end
2450
+ def traverse_example_group_trees_until; end
2451
+ end
2452
+ end
2453
+
2454
+ module RSpec::ExampleGroups
2455
+ extend ::RSpec::Support::RecursiveConstMethods
2456
+
2457
+ class << self
2458
+ def assign_const(group); end
2459
+ def base_name_for(group); end
2460
+ def constant_scope_for(group); end
2461
+ def disambiguate(name, const_scope); end
2462
+ def remove_all_constants; end
2463
+ end
2464
+ end
2465
+
2466
+ RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
2467
+ RSpec::SharedContext = RSpec::Core::SharedContext