rspec-sorbet 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -22
- data/.gitignore +2 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -5
- data/bin/tapioca +29 -0
- data/lib/rspec/sorbet/doubles.rb +1 -1
- data/lib/rspec/sorbet/version.rb +1 -1
- data/nix/sources.json +14 -0
- data/nix/sources.nix +174 -0
- data/run_ci.sh +7 -0
- data/shell.nix +20 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +9 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/em-websocket@0.5.2.rbi +8 -0
- data/sorbet/rbi/gems/eventmachine@1.2.7.rbi +45 -0
- data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
- data/sorbet/rbi/gems/ffi@1.15.4.rbi +8 -0
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +31 -0
- data/sorbet/rbi/gems/guard-livereload@2.5.2.rbi +8 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +211 -0
- data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
- data/sorbet/rbi/gems/http_parser.rb@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/listen@3.7.0.rbi +8 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
- data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
- data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
- data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
- data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2308 -1766
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
- data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
- data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
- data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
- data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +60 -64
- data/.reek.yml +0 -32
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/activesupport.rbi +0 -1722
- data/sorbet/rbi/gems/byebug.rbi +0 -1041
- data/sorbet/rbi/gems/coderay.rbi +0 -285
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
- data/sorbet/rbi/gems/docile.rbi +0 -32
- data/sorbet/rbi/gems/em-websocket.rbi +0 -225
- data/sorbet/rbi/gems/eventmachine.rbi +0 -489
- data/sorbet/rbi/gems/ffaker.rbi +0 -60
- data/sorbet/rbi/gems/guard.rbi +0 -397
- data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
- data/sorbet/rbi/gems/i18n.rbi +0 -133
- data/sorbet/rbi/gems/kwalify.rbi +0 -340
- data/sorbet/rbi/gems/listen.rbi +0 -324
- data/sorbet/rbi/gems/lumberjack.rbi +0 -300
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/multi_json.rbi +0 -62
- data/sorbet/rbi/gems/nenv.rbi +0 -60
- data/sorbet/rbi/gems/notiffany.rbi +0 -215
- data/sorbet/rbi/gems/parallel.rbi +0 -82
- data/sorbet/rbi/gems/parser.rbi +0 -1846
- data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
- data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
- data/sorbet/rbi/gems/rb-readline.rbi +0 -767
- data/sorbet/rbi/gems/reek.rbi +0 -1027
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
- data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
- data/sorbet/rbi/gems/rubocop.rbi +0 -6841
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
- data/sorbet/rbi/gems/shellany.rbi +0 -29
- data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -361
- data/sorbet/rbi/gems/sqlite3.rbi +0 -354
- data/sorbet/rbi/gems/stackprof.rbi +0 -52
- data/sorbet/rbi/gems/thor.rbi +0 -32
- data/sorbet/rbi/gems/thread_safe.rbi +0 -82
- data/sorbet/rbi/gems/timecop.rbi +0 -98
- data/sorbet/rbi/gems/tzinfo.rbi +0 -406
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -7275
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14595
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
- data/sorbet/rbi/todo.rbi +0 -9
@@ -0,0 +1,509 @@
|
|
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 gem rspec-support`.
|
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
|
@@ -0,0 +1,38 @@
|
|
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 gem rspec`.
|
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)
|