sorbet-struct-comparable 1.0.0 → 1.3.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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +47 -51
  3. data/.gitignore +3 -0
  4. data/CHANGELOG.md +13 -0
  5. data/Gemfile +3 -8
  6. data/README.md +2 -2
  7. data/lib/sorbet-struct-comparable/version.rb +1 -1
  8. data/lib/t/struct/acts_as_comparable.rb +17 -12
  9. data/nix/sources.json +14 -0
  10. data/nix/sources.nix +174 -0
  11. data/run_ci.sh +6 -0
  12. data/shell.nix +20 -0
  13. data/sorbet/config +2 -0
  14. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  15. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  16. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  17. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  18. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  19. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  20. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1188 -0
  21. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +461 -0
  22. data/sorbet/rbi/gems/{pry.rbi → pry@0.13.1.rbi} +2308 -1706
  23. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +575 -424
  24. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  25. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2308 -1783
  26. data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
  27. data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
  28. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  29. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  30. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  31. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  32. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  33. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  34. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  35. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  36. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  37. data/sorbet-struct-comparable.gemspec +1 -1
  38. metadata +38 -30
  39. data/.ruby-version +0 -1
  40. data/sorbet/rbi/gems/byebug.rbi +0 -1041
  41. data/sorbet/rbi/gems/coderay.rbi +0 -92
  42. data/sorbet/rbi/gems/docile.rbi +0 -32
  43. data/sorbet/rbi/gems/listen.rbi +0 -324
  44. data/sorbet/rbi/gems/method_source.rbi +0 -64
  45. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  46. data/sorbet/rbi/gems/rspec-support.rbi +0 -280
  47. data/sorbet/rbi/gems/rspec.rbi +0 -15
  48. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  49. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  50. data/sorbet/rbi/hidden-definitions/errors.txt +0 -5231
  51. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -7739
  52. data/sorbet/rbi/todo.rbi +0 -6
@@ -0,0 +1,461 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `pry-byebug` gem.
3
+ # Please instead update this file by running `bin/tapioca gem pry-byebug`.
4
+
5
+ # typed: true
6
+
7
+ module Byebug
8
+ include ::Byebug::Helpers::ReflectionHelper
9
+ extend ::Byebug::Helpers::ReflectionHelper
10
+ extend ::Byebug
11
+
12
+ def displays; end
13
+ def displays=(_arg0); end
14
+ def init_file; end
15
+ def init_file=(_arg0); end
16
+ def mode; end
17
+ def mode=(_arg0); end
18
+ def run_init_script; end
19
+
20
+ private
21
+
22
+ def add_catchpoint(_arg0); end
23
+ def breakpoints; end
24
+ def catchpoints; end
25
+ def contexts; end
26
+ def current_context; end
27
+ def debug_load(*_arg0); end
28
+ def lock; end
29
+ def post_mortem=(_arg0); end
30
+ def post_mortem?; end
31
+ def raised_exception; end
32
+ def rc_dirs; end
33
+ def run_rc_file(rc_file); end
34
+ def start; end
35
+ def started?; end
36
+ def stop; end
37
+ def stoppable?; end
38
+ def thread_context(_arg0); end
39
+ def tracing=(_arg0); end
40
+ def tracing?; end
41
+ def unlock; end
42
+ def verbose=(_arg0); end
43
+ def verbose?; end
44
+
45
+ class << self
46
+ def actual_control_port; end
47
+ def actual_port; end
48
+ def add_catchpoint(_arg0); end
49
+ def attach; end
50
+ def breakpoints; end
51
+ def catchpoints; end
52
+ def contexts; end
53
+ def current_context; end
54
+ def debug_load(*_arg0); end
55
+ def handle_post_mortem; end
56
+ def interrupt; end
57
+ def load_settings; end
58
+ def lock; end
59
+ def parse_host_and_port(host_port_spec); end
60
+ def post_mortem=(_arg0); end
61
+ def post_mortem?; end
62
+ def raised_exception; end
63
+ def spawn(host = T.unsafe(nil), port = T.unsafe(nil)); end
64
+ def start; end
65
+ def start_client(host = T.unsafe(nil), port = T.unsafe(nil)); end
66
+ def start_control(host = T.unsafe(nil), port = T.unsafe(nil)); end
67
+ def start_server(host = T.unsafe(nil), port = T.unsafe(nil)); end
68
+ def started?; end
69
+ def stop; end
70
+ def stoppable?; end
71
+ def thread_context(_arg0); end
72
+ def tracing=(_arg0); end
73
+ def tracing?; end
74
+ def unlock; end
75
+ def verbose=(_arg0); end
76
+ def verbose?; end
77
+ def wait_connection; end
78
+ def wait_connection=(_arg0); end
79
+
80
+ private
81
+
82
+ def client; end
83
+ def control; end
84
+ def server; end
85
+ end
86
+ end
87
+
88
+ class Byebug::DebugThread < ::Thread
89
+ class << self
90
+ def inherited; end
91
+ end
92
+ end
93
+
94
+ Byebug::PORT = T.let(T.unsafe(nil), Integer)
95
+
96
+ class Byebug::PryProcessor < ::Byebug::CommandProcessor
97
+ def at_breakpoint(breakpoint); end
98
+ def at_end; end
99
+ def at_line; end
100
+ def at_return(_return_value); end
101
+ def bold(*args, &block); end
102
+ def output(*args, &block); end
103
+ def perform(action, options = T.unsafe(nil)); end
104
+ def pry; end
105
+ def pry=(_arg0); end
106
+ def run(&_block); end
107
+
108
+ private
109
+
110
+ def n_hits(breakpoint); end
111
+ def perform_backtrace(_options); end
112
+ def perform_down(options); end
113
+ def perform_finish(*_arg0); end
114
+ def perform_frame(options); end
115
+ def perform_next(options); end
116
+ def perform_step(options); end
117
+ def perform_up(options); end
118
+ def resume_pry; end
119
+
120
+ class << self
121
+ def start; end
122
+ end
123
+ end
124
+
125
+ class Byebug::ThreadsTable; end
126
+
127
+ class Pry
128
+ extend ::Forwardable
129
+ extend ::Pry::Forwardable
130
+
131
+ def initialize(options = T.unsafe(nil)); end
132
+
133
+ def add_sticky_local(name, &block); end
134
+ def backtrace; end
135
+ def backtrace=(_arg0); end
136
+ def binding_stack; end
137
+ def binding_stack=(_arg0); end
138
+ def color(*args, &block); end
139
+ def color=(*args, &block); end
140
+ def commands(*args, &block); end
141
+ def commands=(*args, &block); end
142
+ def complete(str); end
143
+ def config; end
144
+ def current_binding; end
145
+ def current_context; end
146
+ def custom_completions; end
147
+ def custom_completions=(_arg0); end
148
+ def editor(*args, &block); end
149
+ def editor=(*args, &block); end
150
+ def eval(line, options = T.unsafe(nil)); end
151
+ def eval_string; end
152
+ def eval_string=(_arg0); end
153
+ def evaluate_ruby(code); end
154
+ def exception_handler(*args, &block); end
155
+ def exception_handler=(*args, &block); end
156
+ def exec_hook(name, *args, &block); end
157
+ def exit_value; end
158
+ def extra_sticky_locals(*args, &block); end
159
+ def extra_sticky_locals=(*args, &block); end
160
+ def hooks(*args, &block); end
161
+ def hooks=(*args, &block); end
162
+ def inject_local(name, value, binding); end
163
+ def inject_sticky_locals!; end
164
+ def input(*args, &block); end
165
+ def input=(*args, &block); end
166
+ def input_ring; end
167
+ def last_dir; end
168
+ def last_dir=(_arg0); end
169
+ def last_exception; end
170
+ def last_exception=(exception); end
171
+ def last_file; end
172
+ def last_file=(_arg0); end
173
+ def last_result; end
174
+ def last_result=(_arg0); end
175
+ def last_result_is_exception?; end
176
+ def memory_size; end
177
+ def memory_size=(size); end
178
+ def output; end
179
+ def output=(*args, &block); end
180
+ def output_ring; end
181
+ def pager; end
182
+ def pager=(*args, &block); end
183
+ def pop_prompt; end
184
+ def print(*args, &block); end
185
+ def print=(*args, &block); end
186
+ def process_command(val); end
187
+ def process_command_safely(val); end
188
+ def prompt; end
189
+ def prompt=(new_prompt); end
190
+ def push_binding(object); end
191
+ def push_initial_binding(target = T.unsafe(nil)); end
192
+ def push_prompt(new_prompt); end
193
+ def quiet?; end
194
+ def raise_up(*args); end
195
+ def raise_up!(*args); end
196
+ def raise_up_common(force, *args); end
197
+ def repl(target = T.unsafe(nil)); end
198
+ def reset_eval_string; end
199
+ def run_command(val); end
200
+ def select_prompt; end
201
+ def set_last_result(result, code = T.unsafe(nil)); end
202
+ def should_print?; end
203
+ def show_result(result); end
204
+ def sticky_locals; end
205
+ def suppress_output; end
206
+ def suppress_output=(_arg0); end
207
+ def update_input_history(code); end
208
+
209
+ private
210
+
211
+ def ensure_correct_encoding!(val); end
212
+ def generate_prompt(prompt_proc, conf); end
213
+ def handle_line(line, options); end
214
+ def prompt_stack; end
215
+
216
+ class << self
217
+ def Code(obj); end
218
+ def Method(obj); end
219
+ def WrappedModule(obj); end
220
+ def auto_resize!; end
221
+ def binding_for(target); end
222
+ def cli; end
223
+ def cli=(_arg0); end
224
+ def color(*args, &block); end
225
+ def color=(*args, &block); end
226
+ def commands(*args, &block); end
227
+ def commands=(*args, &block); end
228
+ def config; end
229
+ def config=(_arg0); end
230
+ def configure; end
231
+ def critical_section; end
232
+ def current; end
233
+ def current_line; end
234
+ def current_line=(_arg0); end
235
+ def custom_completions; end
236
+ def custom_completions=(_arg0); end
237
+ def editor(*args, &block); end
238
+ def editor=(*args, &block); end
239
+ def eval_path; end
240
+ def eval_path=(_arg0); end
241
+ def exception_handler(*args, &block); end
242
+ def exception_handler=(*args, &block); end
243
+ def extra_sticky_locals(*args, &block); end
244
+ def extra_sticky_locals=(*args, &block); end
245
+ def final_session_setup; end
246
+ def history(*args, &block); end
247
+ def history=(*args, &block); end
248
+ def hooks(*args, &block); end
249
+ def hooks=(*args, &block); end
250
+ def in_critical_section?; end
251
+ def init; end
252
+ def initial_session?; end
253
+ def initial_session_setup; end
254
+ def input(*args, &block); end
255
+ def input=(*args, &block); end
256
+ def last_internal_error; end
257
+ def last_internal_error=(_arg0); end
258
+ def line_buffer; end
259
+ def line_buffer=(_arg0); end
260
+ def load_file_at_toplevel(file); end
261
+ def load_file_through_repl(file_name); end
262
+ def load_history; end
263
+ def load_plugins(*args, &block); end
264
+ def load_rc_files; end
265
+ def load_requires; end
266
+ def load_traps; end
267
+ def load_win32console; end
268
+ def locate_plugins(*args, &block); end
269
+ def main; end
270
+ def memory_size(*args, &block); end
271
+ def memory_size=(*args, &block); end
272
+ def output(*args, &block); end
273
+ def output=(*args, &block); end
274
+ def pager(*args, &block); end
275
+ def pager=(*args, &block); end
276
+ def plugins(*args, &block); end
277
+ def print(*args, &block); end
278
+ def print=(*args, &block); end
279
+ def prompt(*args, &block); end
280
+ def prompt=(*args, &block); end
281
+ def quiet; end
282
+ def quiet=(_arg0); end
283
+ def rc_files_to_load; end
284
+ def real_path_to(file); end
285
+ def reset_defaults; end
286
+ def run_command(command_string, options = T.unsafe(nil)); end
287
+ def start(target = T.unsafe(nil), options = T.unsafe(nil)); end
288
+ def start_with_pry_byebug(target = T.unsafe(nil), options = T.unsafe(nil)); end
289
+ def start_without_pry_byebug(target = T.unsafe(nil), options = T.unsafe(nil)); end
290
+ def toplevel_binding; end
291
+ def toplevel_binding=(_arg0); end
292
+ def view_clip(obj, options = T.unsafe(nil)); end
293
+ end
294
+ end
295
+
296
+ Pry::BINDING_METHOD_IMPL = T.let(T.unsafe(nil), Array)
297
+ module Pry::Byebug; end
298
+
299
+ module Pry::Byebug::Breakpoints
300
+ extend ::Enumerable
301
+ extend ::Pry::Byebug::Breakpoints
302
+
303
+ def add_file(file, line, expression = T.unsafe(nil)); end
304
+ def add_method(method, expression = T.unsafe(nil)); end
305
+ def breakpoints; end
306
+ def change(id, expression = T.unsafe(nil)); end
307
+ def delete(id); end
308
+ def delete_all; end
309
+ def disable(id); end
310
+ def disable_all; end
311
+ def each(&block); end
312
+ def enable(id); end
313
+ def find_by_id(id); end
314
+ def last; end
315
+ def size; end
316
+ def to_a; end
317
+
318
+ private
319
+
320
+ def change_status(id, enabled = T.unsafe(nil)); end
321
+ def validate_expression(exp); end
322
+ end
323
+
324
+ class Pry::Byebug::Breakpoints::FileBreakpoint < ::SimpleDelegator
325
+ def source_code; end
326
+ def to_s; end
327
+ end
328
+
329
+ class Pry::Byebug::Breakpoints::MethodBreakpoint < ::SimpleDelegator
330
+ def initialize(byebug_bp, method); end
331
+
332
+ def source_code; end
333
+ def to_s; end
334
+ end
335
+
336
+ Pry::Commands = T.let(T.unsafe(nil), Pry::CommandSet)
337
+ Pry::EMPTY_COMPLETIONS = T.let(T.unsafe(nil), Array)
338
+ Pry::LOCAL_RC_FILE = T.let(T.unsafe(nil), String)
339
+ Pry::VERSION = T.let(T.unsafe(nil), String)
340
+
341
+ module PryByebug
342
+ def current_remote_server; end
343
+ def current_remote_server=(_arg0); end
344
+
345
+ private
346
+
347
+ def check_file_context(target, msg = T.unsafe(nil)); end
348
+ def file_context?(target); end
349
+
350
+ class << self
351
+ def check_file_context(target, msg = T.unsafe(nil)); end
352
+ def file_context?(target); end
353
+ end
354
+ end
355
+
356
+ class PryByebug::BacktraceCommand < ::Pry::ClassCommand
357
+ include ::PryByebug::Helpers::Navigation
358
+
359
+ def process; end
360
+ end
361
+
362
+ class PryByebug::BreakCommand < ::Pry::ClassCommand
363
+ include ::PryByebug::Helpers::Breakpoints
364
+ include ::PryByebug::Helpers::Location
365
+ include ::PryByebug::Helpers::Multiline
366
+
367
+ def options(opt); end
368
+ def process; end
369
+
370
+ private
371
+
372
+ def add_breakpoint(place, condition); end
373
+ def new_breakpoint; end
374
+ def option_to_method(option); end
375
+ def print_all; end
376
+ def process_condition; end
377
+ def process_delete; end
378
+ def process_delete_all; end
379
+ def process_disable; end
380
+ def process_disable_all; end
381
+ def process_enable; end
382
+ def process_show; end
383
+ end
384
+
385
+ class PryByebug::ContinueCommand < ::Pry::ClassCommand
386
+ include ::PryByebug::Helpers::Navigation
387
+ include ::PryByebug::Helpers::Breakpoints
388
+ include ::PryByebug::Helpers::Location
389
+
390
+ def process; end
391
+ end
392
+
393
+ class PryByebug::DownCommand < ::Pry::ClassCommand
394
+ include ::PryByebug::Helpers::Navigation
395
+
396
+ def process; end
397
+ end
398
+
399
+ class PryByebug::ExitAllCommand < ::Pry::Command::ExitAll
400
+ def process; end
401
+ end
402
+
403
+ class PryByebug::FinishCommand < ::Pry::ClassCommand
404
+ include ::PryByebug::Helpers::Navigation
405
+
406
+ def process; end
407
+ end
408
+
409
+ class PryByebug::FrameCommand < ::Pry::ClassCommand
410
+ include ::PryByebug::Helpers::Navigation
411
+
412
+ def process; end
413
+ end
414
+
415
+ module PryByebug::Helpers; end
416
+
417
+ module PryByebug::Helpers::Breakpoints
418
+ def bold_puts(msg); end
419
+ def breakpoints; end
420
+ def max_width; end
421
+ def print_breakpoints_header; end
422
+ def print_full_breakpoint(breakpoint); end
423
+ def print_short_breakpoint(breakpoint); end
424
+ end
425
+
426
+ module PryByebug::Helpers::Location
427
+ private
428
+
429
+ def current_file(source = T.unsafe(nil)); end
430
+
431
+ class << self
432
+ def current_file(source = T.unsafe(nil)); end
433
+ end
434
+ end
435
+
436
+ module PryByebug::Helpers::Multiline
437
+ def check_multiline_context; end
438
+ end
439
+
440
+ module PryByebug::Helpers::Navigation
441
+ def breakout_navigation(action, options = T.unsafe(nil)); end
442
+ end
443
+
444
+ class PryByebug::NextCommand < ::Pry::ClassCommand
445
+ include ::PryByebug::Helpers::Navigation
446
+ include ::PryByebug::Helpers::Multiline
447
+
448
+ def process; end
449
+ end
450
+
451
+ class PryByebug::StepCommand < ::Pry::ClassCommand
452
+ include ::PryByebug::Helpers::Navigation
453
+
454
+ def process; end
455
+ end
456
+
457
+ class PryByebug::UpCommand < ::Pry::ClassCommand
458
+ include ::PryByebug::Helpers::Navigation
459
+
460
+ def process; end
461
+ end