workos 4.1.0 → 4.2.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 +37 -0
- data/.github/workflows/release.yml +43 -0
- data/.rubocop.yml +8 -1
- data/Gemfile.lock +22 -69
- data/lib/workos/audit_log_export.rb +8 -31
- data/lib/workos/audit_logs.rb +0 -26
- data/lib/workos/authentication_factor_and_challenge.rb +0 -3
- data/lib/workos/authentication_response.rb +3 -6
- data/lib/workos/challenge.rb +9 -28
- data/lib/workos/client.rb +0 -41
- data/lib/workos/configuration.rb +0 -1
- data/lib/workos/connection.rb +11 -35
- data/lib/workos/directory.rb +10 -37
- data/lib/workos/directory_group.rb +9 -36
- data/lib/workos/directory_sync.rb +0 -21
- data/lib/workos/directory_user.rb +17 -51
- data/lib/workos/errors.rb +0 -16
- data/lib/workos/event.rb +5 -26
- data/lib/workos/events.rb +0 -7
- data/lib/workos/factor.rb +9 -28
- data/lib/workos/hash_provider.rb +0 -1
- data/lib/workos/impersonator.rb +0 -3
- data/lib/workos/invitation.rb +12 -37
- data/lib/workos/mfa.rb +0 -42
- data/lib/workos/organization.rb +8 -31
- data/lib/workos/organization_membership.rb +8 -27
- data/lib/workos/organizations.rb +0 -26
- data/lib/workos/passwordless.rb +0 -14
- data/lib/workos/portal.rb +1 -13
- data/lib/workos/profile.rb +12 -39
- data/lib/workos/profile_and_token.rb +1 -4
- data/lib/workos/refresh_authentication_response.rb +2 -5
- data/lib/workos/sso.rb +1 -43
- data/lib/workos/types/intent.rb +16 -0
- data/lib/workos/types/list_struct.rb +8 -5
- data/lib/workos/types/passwordless_session_struct.rb +10 -9
- data/lib/workos/types/provider.rb +15 -0
- data/lib/workos/types.rb +5 -23
- data/lib/workos/user.rb +10 -31
- data/lib/workos/user_and_token.rb +1 -4
- data/lib/workos/user_management.rb +36 -244
- data/lib/workos/user_response.rb +0 -3
- data/lib/workos/verify_challenge.rb +4 -18
- data/lib/workos/version.rb +1 -2
- data/lib/workos/webhook.rb +5 -26
- data/lib/workos/webhooks.rb +1 -38
- data/lib/workos.rb +0 -2
- data/spec/lib/workos/audit_logs_spec.rb +2 -3
- data/spec/lib/workos/configuration_spec.rb +0 -1
- data/spec/lib/workos/directory_sync_spec.rb +0 -1
- data/spec/lib/workos/directory_user_spec.rb +0 -1
- data/spec/lib/workos/event_spec.rb +0 -1
- data/spec/lib/workos/mfa_spec.rb +0 -1
- data/spec/lib/workos/organizations_spec.rb +0 -1
- data/spec/lib/workos/passwordless_spec.rb +0 -1
- data/spec/lib/workos/portal_spec.rb +0 -1
- data/spec/lib/workos/sso_spec.rb +0 -1
- data/spec/lib/workos/user_management_spec.rb +29 -1
- data/spec/lib/workos/webhooks_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -9
- data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/not_found.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/valid.yml +76 -0
- data/spec/support/shared_examples/client_spec.rb +0 -1
- data/workos.gemspec +1 -6
- metadata +15 -129
- data/.semaphore/rubygems.yml +0 -24
- data/.semaphore/semaphore.yml +0 -51
- data/bin/tapioca +0 -29
- data/codecov.yml +0 -12
- data/devbox.json +0 -18
- data/devbox.lock +0 -11
- data/lib/workos/types/audit_log_export_struct.rb +0 -17
- data/lib/workos/types/challenge_struct.rb +0 -18
- data/lib/workos/types/connection_struct.rb +0 -20
- data/lib/workos/types/directory_group_struct.rb +0 -19
- data/lib/workos/types/directory_struct.rb +0 -19
- data/lib/workos/types/directory_user_struct.rb +0 -26
- data/lib/workos/types/event_struct.rb +0 -15
- data/lib/workos/types/factor_struct.rb +0 -18
- data/lib/workos/types/intent_enum.rb +0 -17
- data/lib/workos/types/invitation_struct.rb +0 -20
- data/lib/workos/types/magic_auth_challenge_struct.rb +0 -12
- data/lib/workos/types/organization_membership_struct.rb +0 -16
- data/lib/workos/types/organization_struct.rb +0 -17
- data/lib/workos/types/profile_struct.rb +0 -21
- data/lib/workos/types/provider_enum.rb +0 -16
- data/lib/workos/types/user_struct.rb +0 -18
- data/lib/workos/types/verify_challenge_struct.rb +0 -13
- data/lib/workos/types/webhook_struct.rb +0 -15
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +0 -290
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +0 -55
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -57
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.3.5.rbi +0 -54
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -82
- data/sorbet/rbi/gems/json@2.5.1.rbi +0 -109
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +0 -1187
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -8
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +0 -146
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -807
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -2118
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1117
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -709
- data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +0 -2467
- data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +0 -1569
- data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +0 -1493
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +0 -511
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -1881
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +0 -11497
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +0 -8
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -1549
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +0 -1718
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -844
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +0 -22
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +0 -8
- data/sorbet/rbi/gems/vcr@5.0.0.rbi +0 -699
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +0 -662
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +0 -268
- data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -4048
- data/sorbet/tapioca/config.yml +0 -13
- data/sorbet/tapioca/require.rb +0 -4
@@ -1,511 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `rspec-support` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem rspec-support`.
|
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 keyword_init?; end
|
333
|
-
def members; end
|
334
|
-
def new(*_arg0); end
|
335
|
-
end
|
336
|
-
end
|
337
|
-
|
338
|
-
class RSpec::Support::ObjectFormatter::BigDecimalInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
339
|
-
def inspect; end
|
340
|
-
|
341
|
-
class << self
|
342
|
-
def can_inspect?(object); end
|
343
|
-
end
|
344
|
-
end
|
345
|
-
|
346
|
-
class RSpec::Support::ObjectFormatter::DateTimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
347
|
-
def inspect; end
|
348
|
-
|
349
|
-
class << self
|
350
|
-
def can_inspect?(object); end
|
351
|
-
end
|
352
|
-
end
|
353
|
-
|
354
|
-
RSpec::Support::ObjectFormatter::DateTimeInspector::FORMAT = T.let(T.unsafe(nil), String)
|
355
|
-
|
356
|
-
class RSpec::Support::ObjectFormatter::DelegatorInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
357
|
-
def inspect; end
|
358
|
-
|
359
|
-
class << self
|
360
|
-
def can_inspect?(object); end
|
361
|
-
end
|
362
|
-
end
|
363
|
-
|
364
|
-
class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
365
|
-
def inspect; end
|
366
|
-
|
367
|
-
class << self
|
368
|
-
def can_inspect?(object); end
|
369
|
-
end
|
370
|
-
end
|
371
|
-
|
372
|
-
RSpec::Support::ObjectFormatter::ELLIPSIS = T.let(T.unsafe(nil), String)
|
373
|
-
RSpec::Support::ObjectFormatter::INSPECTOR_CLASSES = T.let(T.unsafe(nil), Array)
|
374
|
-
|
375
|
-
class RSpec::Support::ObjectFormatter::InspectableItem < ::Struct
|
376
|
-
def inspect; end
|
377
|
-
def pretty_print(pp); end
|
378
|
-
def text; end
|
379
|
-
def text=(_); end
|
380
|
-
|
381
|
-
class << self
|
382
|
-
def [](*_arg0); end
|
383
|
-
def inspect; end
|
384
|
-
def keyword_init?; end
|
385
|
-
def members; end
|
386
|
-
def new(*_arg0); end
|
387
|
-
end
|
388
|
-
end
|
389
|
-
|
390
|
-
class RSpec::Support::ObjectFormatter::InspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
391
|
-
def inspect; end
|
392
|
-
|
393
|
-
class << self
|
394
|
-
def can_inspect?(object); end
|
395
|
-
end
|
396
|
-
end
|
397
|
-
|
398
|
-
class RSpec::Support::ObjectFormatter::TimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
399
|
-
def inspect; end
|
400
|
-
|
401
|
-
class << self
|
402
|
-
def can_inspect?(object); end
|
403
|
-
end
|
404
|
-
end
|
405
|
-
|
406
|
-
RSpec::Support::ObjectFormatter::TimeInspector::FORMAT = T.let(T.unsafe(nil), String)
|
407
|
-
|
408
|
-
class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
409
|
-
def inspect; end
|
410
|
-
def klass; end
|
411
|
-
def native_object_id; end
|
412
|
-
|
413
|
-
class << self
|
414
|
-
def can_inspect?(object); end
|
415
|
-
end
|
416
|
-
end
|
417
|
-
|
418
|
-
RSpec::Support::ObjectFormatter::UninspectableObjectInspector::OBJECT_ID_FORMAT = T.let(T.unsafe(nil), String)
|
419
|
-
|
420
|
-
module RSpec::Support::RecursiveConstMethods
|
421
|
-
def const_defined_on?(mod, const_name); end
|
422
|
-
def constants_defined_on(mod); end
|
423
|
-
def get_const_defined_on(mod, const_name); end
|
424
|
-
def normalize_const_name(const_name); end
|
425
|
-
def recursive_const_defined?(const_name); end
|
426
|
-
def recursive_const_get(const_name); end
|
427
|
-
end
|
428
|
-
|
429
|
-
class RSpec::Support::ReentrantMutex
|
430
|
-
def initialize; end
|
431
|
-
|
432
|
-
def synchronize; end
|
433
|
-
|
434
|
-
private
|
435
|
-
|
436
|
-
def enter; end
|
437
|
-
def exit; end
|
438
|
-
end
|
439
|
-
|
440
|
-
module RSpec::Support::Ruby
|
441
|
-
private
|
442
|
-
|
443
|
-
def jruby?; end
|
444
|
-
def jruby_9000?; end
|
445
|
-
def jruby_version; end
|
446
|
-
def mri?; end
|
447
|
-
def non_mri?; end
|
448
|
-
def rbx?; end
|
449
|
-
def truffleruby?; end
|
450
|
-
|
451
|
-
class << self
|
452
|
-
def jruby?; end
|
453
|
-
def jruby_9000?; end
|
454
|
-
def jruby_version; end
|
455
|
-
def mri?; end
|
456
|
-
def non_mri?; end
|
457
|
-
def rbx?; end
|
458
|
-
def truffleruby?; end
|
459
|
-
end
|
460
|
-
end
|
461
|
-
|
462
|
-
module RSpec::Support::RubyFeatures
|
463
|
-
private
|
464
|
-
|
465
|
-
def caller_locations_supported?; end
|
466
|
-
def fork_supported?; end
|
467
|
-
def kw_args_supported?; end
|
468
|
-
def module_prepends_supported?; end
|
469
|
-
def module_refinement_supported?; end
|
470
|
-
def optional_and_splat_args_supported?; end
|
471
|
-
def required_kw_args_supported?; end
|
472
|
-
def ripper_supported?; end
|
473
|
-
def supports_exception_cause?; end
|
474
|
-
def supports_rebinding_module_methods?; end
|
475
|
-
def supports_taint?; end
|
476
|
-
|
477
|
-
class << self
|
478
|
-
def caller_locations_supported?; end
|
479
|
-
def fork_supported?; end
|
480
|
-
def kw_args_supported?; end
|
481
|
-
def module_prepends_supported?; end
|
482
|
-
def module_refinement_supported?; end
|
483
|
-
def optional_and_splat_args_supported?; end
|
484
|
-
def required_kw_args_supported?; end
|
485
|
-
def ripper_supported?; end
|
486
|
-
def supports_exception_cause?; end
|
487
|
-
def supports_rebinding_module_methods?; end
|
488
|
-
def supports_taint?; end
|
489
|
-
end
|
490
|
-
end
|
491
|
-
|
492
|
-
RSpec::Support::StrictSignatureVerifier = RSpec::Support::MethodSignatureVerifier
|
493
|
-
module RSpec::Support::Version; end
|
494
|
-
RSpec::Support::Version::STRING = T.let(T.unsafe(nil), String)
|
495
|
-
|
496
|
-
module RSpec::Support::Warnings
|
497
|
-
def deprecate(deprecated, options = T.unsafe(nil)); end
|
498
|
-
def warn_deprecation(message, options = T.unsafe(nil)); end
|
499
|
-
def warn_with(message, options = T.unsafe(nil)); end
|
500
|
-
def warning(text, options = T.unsafe(nil)); end
|
501
|
-
end
|
502
|
-
|
503
|
-
module RSpec::Support::WithKeywordsWhenNeeded
|
504
|
-
private
|
505
|
-
|
506
|
-
def class_exec(klass, *args, **_arg2, &block); end
|
507
|
-
|
508
|
-
class << self
|
509
|
-
def class_exec(klass, *args, **_arg2, &block); end
|
510
|
-
end
|
511
|
-
end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `rspec` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem rspec`.
|
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)
|