muina 0.2.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +25 -0
  3. data/README.md +0 -35
  4. data/lib/muina/maybe/none.rb +61 -0
  5. data/lib/muina/maybe/some.rb +62 -0
  6. data/lib/muina/maybe.rb +13 -0
  7. data/lib/muina/result/failure.rb +7 -18
  8. data/lib/muina/result/success.rb +7 -18
  9. data/lib/muina/result.rb +6 -8
  10. data/lib/muina/version.rb +1 -2
  11. data/lib/muina.rb +0 -32
  12. metadata +24 -225
  13. data/.github/workflows/main.yml +0 -16
  14. data/.gitignore +0 -5
  15. data/.mutant.yml +0 -38
  16. data/.rspec +0 -4
  17. data/.rubocop.yml +0 -181
  18. data/.ruby-version +0 -1
  19. data/.simplecov +0 -14
  20. data/CHANGELOG.md +0 -38
  21. data/Gemfile +0 -34
  22. data/Gemfile.lock +0 -265
  23. data/Guardfile +0 -24
  24. data/Rakefile +0 -13
  25. data/SECURITY.md +0 -14
  26. data/bin/bundle +0 -114
  27. data/bin/console +0 -15
  28. data/bin/flay +0 -29
  29. data/bin/flog +0 -29
  30. data/bin/guard +0 -29
  31. data/bin/irb +0 -29
  32. data/bin/lefthook +0 -29
  33. data/bin/mutant +0 -29
  34. data/bin/parlour +0 -29
  35. data/bin/rake +0 -29
  36. data/bin/rspec +0 -29
  37. data/bin/rubocop +0 -29
  38. data/bin/setup +0 -8
  39. data/bin/srb +0 -29
  40. data/bin/srb-rbi +0 -29
  41. data/bin/tapioca +0 -29
  42. data/exe/muina +0 -11
  43. data/lefthook.yml +0 -39
  44. data/lib/muina/action/params_factory.rb +0 -17
  45. data/lib/muina/action/step/command.rb +0 -33
  46. data/lib/muina/action/step/failure.rb +0 -18
  47. data/lib/muina/action/step/query.rb +0 -35
  48. data/lib/muina/action/step/result.rb +0 -56
  49. data/lib/muina/action/step.rb +0 -13
  50. data/lib/muina/action.rb +0 -73
  51. data/lib/muina/any.rb +0 -7
  52. data/lib/muina/classes.rb +0 -7
  53. data/lib/muina/deprecator.rb +0 -93
  54. data/lib/muina/entity.rb +0 -20
  55. data/lib/muina/module.rb +0 -6
  56. data/lib/muina/parameters.rb +0 -7
  57. data/lib/muina/params.rb +0 -19
  58. data/lib/muina/private_creation.rb +0 -12
  59. data/lib/muina/result/factory.rb +0 -37
  60. data/lib/muina/result/null.rb +0 -25
  61. data/lib/muina/service.rb +0 -25
  62. data/lib/muina/symbol_hash.rb +0 -7
  63. data/lib/muina/unit.rb +0 -10
  64. data/lib/muina/untyped_array.rb +0 -7
  65. data/lib/muina/untyped_hash.rb +0 -7
  66. data/lib/muina/value.rb +0 -24
  67. data/muina.gemspec +0 -35
  68. data/rbi/muina.rbi +0 -311
  69. data/sorbet/config +0 -2
  70. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
  71. data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
  72. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
  73. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  74. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
  75. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  76. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
  77. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  78. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  79. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  80. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  81. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
  82. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  83. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
  84. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
  85. data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
  86. data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
  87. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  88. data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
  89. data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
  90. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  91. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
  92. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
  93. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
  94. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
  95. data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
  96. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  97. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
  98. data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
  99. data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
  100. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
  101. data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
  102. data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
  103. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
  104. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  105. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  106. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
  107. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
  108. data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
  109. data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
  110. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
  111. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
  112. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  113. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
  114. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
  115. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
  116. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
  117. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  118. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  119. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
  120. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
  121. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
  122. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
  123. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  124. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
  125. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  126. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
  127. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
  128. data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
  129. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
  130. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
  131. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  132. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  133. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
  134. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
  135. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
  136. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
  137. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
  138. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
  139. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
  140. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
  141. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  142. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
  143. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
  144. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
  145. data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
  146. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  147. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  148. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  149. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
  150. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
  151. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
  152. data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
  153. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
  154. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  155. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
  156. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
  157. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
  158. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
  159. data/sorbet/rbi/todo.rbi +0 -8
  160. data/sorbet/rbi/typed_params.rbi +0 -7
  161. data/sorbet/tapioca/require.rb +0 -16
@@ -1,509 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `rspec-support` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- module RSpec
8
- extend ::RSpec::Support::Warnings
9
- extend ::RSpec::Core::Warnings
10
-
11
- class << self
12
- def clear_examples; end
13
- def configuration; end
14
- def configuration=(_arg0); end
15
- def configure; end
16
- def const_missing(name); end
17
- def context(*args, &example_group_block); end
18
- def current_example; end
19
- def current_example=(example); end
20
- def describe(*args, &example_group_block); end
21
- def example_group(*args, &example_group_block); end
22
- def fcontext(*args, &example_group_block); end
23
- def fdescribe(*args, &example_group_block); end
24
- def reset; end
25
- def shared_context(name, *args, &block); end
26
- def shared_examples(name, *args, &block); end
27
- def shared_examples_for(name, *args, &block); end
28
- def world; end
29
- def world=(_arg0); end
30
- def xcontext(*args, &example_group_block); end
31
- def xdescribe(*args, &example_group_block); end
32
- end
33
- end
34
-
35
- class RSpec::CallerFilter
36
- class << self
37
- def first_non_rspec_line(skip_frames = T.unsafe(nil), increment = T.unsafe(nil)); end
38
- end
39
- end
40
-
41
- RSpec::CallerFilter::ADDITIONAL_TOP_LEVEL_FILES = T.let(T.unsafe(nil), Array)
42
- RSpec::CallerFilter::IGNORE_REGEX = T.let(T.unsafe(nil), Regexp)
43
- RSpec::CallerFilter::LIB_REGEX = T.let(T.unsafe(nil), Regexp)
44
- RSpec::CallerFilter::RSPEC_LIBS = T.let(T.unsafe(nil), Array)
45
- RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
46
- RSpec::SharedContext = RSpec::Core::SharedContext
47
-
48
- module RSpec::Support
49
- class << self
50
- def class_of(object); end
51
- def define_optimized_require_for_rspec(lib, &require_relative); end
52
- def deregister_matcher_definition(&block); end
53
- def failure_notifier; end
54
- def failure_notifier=(callable); end
55
- def is_a_matcher?(object); end
56
- def matcher_definitions; end
57
- def method_handle_for(object, method_name); end
58
- def notify_failure(failure, options = T.unsafe(nil)); end
59
- def register_matcher_definition(&block); end
60
- def require_rspec_core(f); end
61
- def require_rspec_expectations(f); end
62
- def require_rspec_matchers(f); end
63
- def require_rspec_mocks(f); end
64
- def require_rspec_support(f); end
65
- def rspec_description_for_object(object); end
66
- def thread_local_data; end
67
- def warning_notifier; end
68
- def warning_notifier=(_arg0); end
69
- def with_failure_notifier(callable); end
70
- end
71
- end
72
-
73
- module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
74
- class << self
75
- def ===(exception); end
76
- end
77
- end
78
-
79
- RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue::AVOID_RESCUING = T.let(T.unsafe(nil), Array)
80
-
81
- class RSpec::Support::BlockSignature < ::RSpec::Support::MethodSignature
82
- def classify_parameters; end
83
- end
84
-
85
- class RSpec::Support::ComparableVersion
86
- include ::Comparable
87
-
88
- def initialize(string); end
89
-
90
- def <=>(other); end
91
- def segments; end
92
- def string; end
93
- end
94
-
95
- RSpec::Support::DEFAULT_FAILURE_NOTIFIER = T.let(T.unsafe(nil), Proc)
96
- RSpec::Support::DEFAULT_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
97
-
98
- class RSpec::Support::Differ
99
- def initialize(opts = T.unsafe(nil)); end
100
-
101
- def color?; end
102
- def diff(actual, expected); end
103
- def diff_as_object(actual, expected); end
104
- def diff_as_string(actual, expected); end
105
-
106
- private
107
-
108
- def add_old_hunk_to_hunk(hunk, oldhunk); end
109
- def add_to_output(output, string); end
110
- def all_strings?(*args); end
111
- def any_multiline_strings?(*args); end
112
- def blue(text); end
113
- def build_hunks(actual, expected); end
114
- def coerce_to_string(string_or_array); end
115
- def color(text, color_code); end
116
- def color_diff(diff); end
117
- def diffably_stringify(array); end
118
- def finalize_output(output, final_line); end
119
- def format_type; end
120
- def green(text); end
121
- def handle_encoding_errors(actual, expected); end
122
- def hash_to_string(hash); end
123
- def multiline?(string); end
124
- def no_numbers?(*args); end
125
- def no_procs?(*args); end
126
- def normal(text); end
127
- def object_to_string(object); end
128
- def red(text); end
129
- def safely_flatten(array); end
130
- end
131
-
132
- class RSpec::Support::DirectoryMaker
133
- class << self
134
- def mkdir_p(path); end
135
-
136
- private
137
-
138
- def directory_exists?(dirname); end
139
- def generate_path(stack, part); end
140
- def generate_stack(path); end
141
- end
142
- end
143
-
144
- class RSpec::Support::EncodedString
145
- def initialize(string, encoding = T.unsafe(nil)); end
146
-
147
- def <<(string); end
148
- def ==(*args, &block); end
149
- def empty?(*args, &block); end
150
- def encoding(*args, &block); end
151
- def eql?(*args, &block); end
152
- def lines(*args, &block); end
153
- def source_encoding; end
154
- def split(regex_or_string); end
155
- def to_s; end
156
- def to_str; end
157
-
158
- private
159
-
160
- def detect_source_encoding(string); end
161
- def matching_encoding(string); end
162
- def remove_invalid_bytes(string); end
163
-
164
- class << self
165
- def pick_encoding(source_a, source_b); end
166
- end
167
- end
168
-
169
- RSpec::Support::EncodedString::REPLACE = T.let(T.unsafe(nil), String)
170
- RSpec::Support::EncodedString::US_ASCII = T.let(T.unsafe(nil), String)
171
- RSpec::Support::EncodedString::UTF_8 = T.let(T.unsafe(nil), String)
172
-
173
- module RSpec::Support::FuzzyMatcher
174
- class << self
175
- def values_match?(expected, actual); end
176
-
177
- private
178
-
179
- def arrays_match?(expected_list, actual_list); end
180
- def hashes_match?(expected_hash, actual_hash); end
181
- end
182
- end
183
-
184
- class RSpec::Support::HunkGenerator
185
- def initialize(actual, expected); end
186
-
187
- def hunks; end
188
-
189
- private
190
-
191
- def actual_lines; end
192
- def build_hunk(piece); end
193
- def context_lines; end
194
- def diffs; end
195
- def expected_lines; end
196
- end
197
-
198
- RSpec::Support::KERNEL_METHOD_METHOD = T.let(T.unsafe(nil), UnboundMethod)
199
-
200
- class RSpec::Support::LooseSignatureVerifier < ::RSpec::Support::MethodSignatureVerifier
201
- private
202
-
203
- def split_args(*args); end
204
- end
205
-
206
- class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
207
- def initialize(signature); end
208
-
209
- def has_kw_args_in?(args); end
210
- def invalid_kw_args_from(_kw_args); end
211
- def missing_kw_args_from(_kw_args); end
212
- def non_kw_args_arity_description; end
213
- def valid_non_kw_args?(*args); end
214
- end
215
-
216
- class RSpec::Support::MethodSignature
217
- def initialize(method); end
218
-
219
- def arbitrary_kw_args?; end
220
- def classify_arity(arity = T.unsafe(nil)); end
221
- def classify_parameters; end
222
- def could_contain_kw_args?(args); end
223
- def description; end
224
- def has_kw_args_in?(args); end
225
- def invalid_kw_args_from(given_kw_args); end
226
- def max_non_kw_args; end
227
- def min_non_kw_args; end
228
- def missing_kw_args_from(given_kw_args); end
229
- def non_kw_args_arity_description; end
230
- def optional_kw_args; end
231
- def required_kw_args; end
232
- def unlimited_args?; end
233
- def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = T.unsafe(nil)); end
234
- end
235
-
236
- RSpec::Support::MethodSignature::INFINITY = T.let(T.unsafe(nil), Float)
237
-
238
- class RSpec::Support::MethodSignatureExpectation
239
- def initialize; end
240
-
241
- def empty?; end
242
- def expect_arbitrary_keywords; end
243
- def expect_arbitrary_keywords=(_arg0); end
244
- def expect_unlimited_arguments; end
245
- def expect_unlimited_arguments=(_arg0); end
246
- def keywords; end
247
- def keywords=(values); end
248
- def max_count; end
249
- def max_count=(number); end
250
- def min_count; end
251
- def min_count=(number); end
252
- end
253
-
254
- class RSpec::Support::MethodSignatureVerifier
255
- def initialize(signature, args = T.unsafe(nil)); end
256
-
257
- def error_message; end
258
- def kw_args; end
259
- def max_non_kw_args; end
260
- def min_non_kw_args; end
261
- def non_kw_args; end
262
- def valid?; end
263
- def with_expectation(expectation); end
264
-
265
- private
266
-
267
- def arbitrary_kw_args?; end
268
- def invalid_kw_args; end
269
- def missing_kw_args; end
270
- def split_args(*args); end
271
- def unlimited_args?; end
272
- def valid_non_kw_args?; end
273
- end
274
-
275
- class RSpec::Support::Mutex < ::Thread::Mutex
276
- class << self
277
- def new; end
278
- end
279
- end
280
-
281
- RSpec::Support::Mutex::NEW_MUTEX_METHOD = T.let(T.unsafe(nil), Method)
282
-
283
- module RSpec::Support::OS
284
- private
285
-
286
- def windows?; end
287
- def windows_file_path?; end
288
-
289
- class << self
290
- def windows?; end
291
- def windows_file_path?; end
292
- end
293
- end
294
-
295
- class RSpec::Support::ObjectFormatter
296
- def initialize(max_formatted_output_length = T.unsafe(nil)); end
297
-
298
- def format(object); end
299
- def max_formatted_output_length; end
300
- def max_formatted_output_length=(_arg0); end
301
- def prepare_array(array); end
302
- def prepare_element(element); end
303
- def prepare_for_inspection(object); end
304
- def prepare_hash(input_hash); end
305
- def recursive_structure?(object); end
306
- def sort_hash_keys(input_hash); end
307
- def with_entering_structure(structure); end
308
-
309
- private
310
-
311
- def truncate_string(str, start_index, end_index); end
312
-
313
- class << self
314
- def default_instance; end
315
- def format(object); end
316
- def prepare_for_inspection(object); end
317
- end
318
- end
319
-
320
- class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
321
- def formatter; end
322
- def formatter=(_); end
323
- def inspect; end
324
- def object; end
325
- def object=(_); end
326
- def pretty_print(pp); end
327
-
328
- class << self
329
- def [](*_arg0); end
330
- def can_inspect?(_object); end
331
- def inspect; end
332
- def members; end
333
- def new(*_arg0); end
334
- end
335
- end
336
-
337
- class RSpec::Support::ObjectFormatter::BigDecimalInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
338
- def inspect; end
339
-
340
- class << self
341
- def can_inspect?(object); end
342
- end
343
- end
344
-
345
- class RSpec::Support::ObjectFormatter::DateTimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
346
- def inspect; end
347
-
348
- class << self
349
- def can_inspect?(object); end
350
- end
351
- end
352
-
353
- RSpec::Support::ObjectFormatter::DateTimeInspector::FORMAT = T.let(T.unsafe(nil), String)
354
-
355
- class RSpec::Support::ObjectFormatter::DelegatorInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
356
- def inspect; end
357
-
358
- class << self
359
- def can_inspect?(object); end
360
- end
361
- end
362
-
363
- class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
364
- def inspect; end
365
-
366
- class << self
367
- def can_inspect?(object); end
368
- end
369
- end
370
-
371
- RSpec::Support::ObjectFormatter::ELLIPSIS = T.let(T.unsafe(nil), String)
372
- RSpec::Support::ObjectFormatter::INSPECTOR_CLASSES = T.let(T.unsafe(nil), Array)
373
-
374
- class RSpec::Support::ObjectFormatter::InspectableItem < ::Struct
375
- def inspect; end
376
- def pretty_print(pp); end
377
- def text; end
378
- def text=(_); end
379
-
380
- class << self
381
- def [](*_arg0); end
382
- def inspect; end
383
- def members; end
384
- def new(*_arg0); end
385
- end
386
- end
387
-
388
- class RSpec::Support::ObjectFormatter::InspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
389
- def inspect; end
390
-
391
- class << self
392
- def can_inspect?(object); end
393
- end
394
- end
395
-
396
- class RSpec::Support::ObjectFormatter::TimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
397
- def inspect; end
398
-
399
- class << self
400
- def can_inspect?(object); end
401
- end
402
- end
403
-
404
- RSpec::Support::ObjectFormatter::TimeInspector::FORMAT = T.let(T.unsafe(nil), String)
405
-
406
- class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
407
- def inspect; end
408
- def klass; end
409
- def native_object_id; end
410
-
411
- class << self
412
- def can_inspect?(object); end
413
- end
414
- end
415
-
416
- RSpec::Support::ObjectFormatter::UninspectableObjectInspector::OBJECT_ID_FORMAT = T.let(T.unsafe(nil), String)
417
-
418
- module RSpec::Support::RecursiveConstMethods
419
- def const_defined_on?(mod, const_name); end
420
- def constants_defined_on(mod); end
421
- def get_const_defined_on(mod, const_name); end
422
- def normalize_const_name(const_name); end
423
- def recursive_const_defined?(const_name); end
424
- def recursive_const_get(const_name); end
425
- end
426
-
427
- class RSpec::Support::ReentrantMutex
428
- def initialize; end
429
-
430
- def synchronize; end
431
-
432
- private
433
-
434
- def enter; end
435
- def exit; end
436
- end
437
-
438
- module RSpec::Support::Ruby
439
- private
440
-
441
- def jruby?; end
442
- def jruby_9000?; end
443
- def jruby_version; end
444
- def mri?; end
445
- def non_mri?; end
446
- def rbx?; end
447
- def truffleruby?; end
448
-
449
- class << self
450
- def jruby?; end
451
- def jruby_9000?; end
452
- def jruby_version; end
453
- def mri?; end
454
- def non_mri?; end
455
- def rbx?; end
456
- def truffleruby?; end
457
- end
458
- end
459
-
460
- module RSpec::Support::RubyFeatures
461
- private
462
-
463
- def caller_locations_supported?; end
464
- def fork_supported?; end
465
- def kw_args_supported?; end
466
- def module_prepends_supported?; end
467
- def module_refinement_supported?; end
468
- def optional_and_splat_args_supported?; end
469
- def required_kw_args_supported?; end
470
- def ripper_supported?; end
471
- def supports_exception_cause?; end
472
- def supports_rebinding_module_methods?; end
473
- def supports_taint?; end
474
-
475
- class << self
476
- def caller_locations_supported?; end
477
- def fork_supported?; end
478
- def kw_args_supported?; end
479
- def module_prepends_supported?; end
480
- def module_refinement_supported?; end
481
- def optional_and_splat_args_supported?; end
482
- def required_kw_args_supported?; end
483
- def ripper_supported?; end
484
- def supports_exception_cause?; end
485
- def supports_rebinding_module_methods?; end
486
- def supports_taint?; end
487
- end
488
- end
489
-
490
- RSpec::Support::StrictSignatureVerifier = RSpec::Support::MethodSignatureVerifier
491
- module RSpec::Support::Version; end
492
- RSpec::Support::Version::STRING = T.let(T.unsafe(nil), String)
493
-
494
- module RSpec::Support::Warnings
495
- def deprecate(deprecated, options = T.unsafe(nil)); end
496
- def warn_deprecation(message, options = T.unsafe(nil)); end
497
- def warn_with(message, options = T.unsafe(nil)); end
498
- def warning(text, options = T.unsafe(nil)); end
499
- end
500
-
501
- module RSpec::Support::WithKeywordsWhenNeeded
502
- private
503
-
504
- def class_exec(klass, *args, &block); end
505
-
506
- class << self
507
- def class_exec(klass, *args, &block); end
508
- end
509
- end
@@ -1,38 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `rspec` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- module RSpec
8
- extend ::RSpec::Support::Warnings
9
- extend ::RSpec::Core::Warnings
10
-
11
- class << self
12
- def clear_examples; end
13
- def configuration; end
14
- def configuration=(_arg0); end
15
- def configure; end
16
- def const_missing(name); end
17
- def context(*args, &example_group_block); end
18
- def current_example; end
19
- def current_example=(example); end
20
- def describe(*args, &example_group_block); end
21
- def example_group(*args, &example_group_block); end
22
- def fcontext(*args, &example_group_block); end
23
- def fdescribe(*args, &example_group_block); end
24
- def reset; end
25
- def shared_context(name, *args, &block); end
26
- def shared_examples(name, *args, &block); end
27
- def shared_examples_for(name, *args, &block); end
28
- def world; end
29
- def world=(_arg0); end
30
- def xcontext(*args, &example_group_block); end
31
- def xdescribe(*args, &example_group_block); end
32
- end
33
- end
34
-
35
- RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
36
- RSpec::SharedContext = RSpec::Core::SharedContext
37
- module RSpec::Version; end
38
- RSpec::Version::STRING = T.let(T.unsafe(nil), String)