mangrove 0.9.1 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/README.md +1 -2
- data/docs/Mangrove/ControlFlow/ControlSignal.html +2 -2
- data/docs/Mangrove/ControlFlow.html +2 -2
- data/docs/Mangrove/Option/ControlSignal.html +2 -2
- data/docs/Mangrove/Option/None.html +2 -2
- data/docs/Mangrove/Option/Some.html +2 -2
- data/docs/Mangrove/Option.html +2 -2
- data/docs/Mangrove/Result/ControlSignal.html +2 -2
- data/docs/Mangrove/Result/Err.html +2 -2
- data/docs/Mangrove/Result/Ok.html +2 -2
- data/docs/Mangrove/Result.html +2 -2
- data/docs/Mangrove.html +3 -3
- data/docs/_index.html +8 -8
- data/docs/file.README.html +3 -5
- data/docs/index.html +3 -5
- data/docs/method_list.html +106 -106
- data/docs/top-level-namespace.html +2 -2
- data/lib/mangrove/version.rb +1 -1
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +2 -1
- data/sorbet/rbi/gems/prism@0.15.1.rbi +8 -0
- data/sorbet/rbi/gems/{rbi@0.0.17.rbi → rbi@0.1.1.rbi} +202 -248
- data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +328 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.24.1.rbi +7991 -0
- data/sorbet/rbi/gems/{spoom@1.2.3.rbi → spoom@1.2.4.rbi} +634 -60
- data/sorbet/rbi/gems/{syntax_tree@6.1.1.rbi → syntax_tree@6.2.0.rbi} +2495 -2214
- data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.11.9.rbi} +503 -356
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.0.rbi} +775 -395
- data/sorbet/rbi/gems/unparser@0.6.9.rbi +8 -0
- data/sorbet/rbi/gems/yarp@0.13.0.rbi +21646 -0
- metadata +21 -14
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- /data/sorbet/rbi/gems/{parser@3.2.2.3.rbi → parser@3.2.2.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{regexp_parser@2.8.1.rbi → regexp_parser@2.8.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop@1.56.0.rbi → rubocop@1.57.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{ruby-lsp@0.8.0.rbi → ruby-lsp@0.12.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.5.0.rbi} +0 -0
@@ -8,6 +8,25 @@ class Bundler::Dependency < ::Gem::Dependency
|
|
8
8
|
include ::Tapioca::BundlerExt::AutoRequireHook
|
9
9
|
end
|
10
10
|
|
11
|
+
# source://tapioca//lib/tapioca/helpers/git_attributes.rb#4
|
12
|
+
class GitAttributes
|
13
|
+
class << self
|
14
|
+
# source://tapioca//lib/tapioca/helpers/git_attributes.rb#9
|
15
|
+
sig { params(path: ::Pathname).void }
|
16
|
+
def create_generated_attribute_file(path); end
|
17
|
+
|
18
|
+
# source://tapioca//lib/tapioca/helpers/git_attributes.rb#16
|
19
|
+
sig { params(path: ::Pathname).void }
|
20
|
+
def create_vendored_attribute_file(path); end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
# source://tapioca//lib/tapioca/helpers/git_attributes.rb#25
|
25
|
+
sig { params(path: ::Pathname, content: ::String).void }
|
26
|
+
def create_gitattributes_file(path, content); end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
11
30
|
# We need to do the alias-method-chain dance since Bootsnap does the same,
|
12
31
|
# and prepended modules and alias-method-chain don't play well together.
|
13
32
|
#
|
@@ -35,7 +54,7 @@ module RBI; end
|
|
35
54
|
|
36
55
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
|
37
56
|
class RBI::Tree < ::RBI::NodeWithComments
|
38
|
-
# source://rbi/0.
|
57
|
+
# source://rbi/0.1.1/lib/rbi/model.rb#119
|
39
58
|
sig do
|
40
59
|
params(
|
41
60
|
loc: T.nilable(::RBI::Loc),
|
@@ -45,19 +64,19 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
45
64
|
end
|
46
65
|
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
47
66
|
|
48
|
-
# source://rbi/0.
|
67
|
+
# source://rbi/0.1.1/lib/rbi/model.rb#126
|
49
68
|
sig { params(node: ::RBI::Node).void }
|
50
69
|
def <<(node); end
|
51
70
|
|
52
|
-
# source://rbi/0.
|
71
|
+
# source://rbi/0.1.1/lib/rbi/printer.rb#226
|
53
72
|
sig { override.params(v: ::RBI::Printer).void }
|
54
73
|
def accept_printer(v); end
|
55
74
|
|
56
|
-
# source://rbi/0.
|
75
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/add_sig_templates.rb#66
|
57
76
|
sig { params(with_todo_comment: T::Boolean).void }
|
58
77
|
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
|
59
78
|
|
60
|
-
# source://rbi/0.
|
79
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/annotate.rb#49
|
61
80
|
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
|
62
81
|
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
|
63
82
|
|
@@ -121,23 +140,23 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
121
140
|
end
|
122
141
|
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
|
123
142
|
|
124
|
-
# source://rbi/0.
|
143
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/deannotate.rb#41
|
125
144
|
sig { params(annotation: ::String).void }
|
126
145
|
def deannotate!(annotation); end
|
127
146
|
|
128
|
-
# source://rbi/0.
|
147
|
+
# source://rbi/0.1.1/lib/rbi/model.rb#132
|
129
148
|
sig { returns(T::Boolean) }
|
130
149
|
def empty?; end
|
131
150
|
|
132
|
-
# source://rbi/0.
|
151
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/group_nodes.rb#38
|
133
152
|
sig { void }
|
134
153
|
def group_nodes!; end
|
135
154
|
|
136
|
-
# source://rbi/0.
|
155
|
+
# source://rbi/0.1.1/lib/rbi/index.rb#68
|
137
156
|
sig { returns(::RBI::Index) }
|
138
157
|
def index; end
|
139
158
|
|
140
|
-
# source://rbi/0.
|
159
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/merge_trees.rb#324
|
141
160
|
sig do
|
142
161
|
params(
|
143
162
|
other: ::RBI::Tree,
|
@@ -148,23 +167,23 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
148
167
|
end
|
149
168
|
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
|
150
169
|
|
151
|
-
# source://rbi/0.
|
170
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/nest_non_public_methods.rb#46
|
152
171
|
sig { void }
|
153
172
|
def nest_non_public_methods!; end
|
154
173
|
|
155
|
-
# source://rbi/0.
|
174
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/nest_singleton_methods.rb#36
|
156
175
|
sig { void }
|
157
176
|
def nest_singleton_methods!; end
|
158
177
|
|
159
|
-
# source://rbi/0.
|
178
|
+
# source://rbi/0.1.1/lib/rbi/model.rb#110
|
160
179
|
sig { returns(T::Array[::RBI::Node]) }
|
161
180
|
def nodes; end
|
162
181
|
|
163
|
-
# source://rbi/0.
|
182
|
+
# source://rbi/0.1.1/lib/rbi/printer.rb#233
|
164
183
|
sig { override.returns(T::Boolean) }
|
165
184
|
def oneline?; end
|
166
185
|
|
167
|
-
# source://rbi/0.
|
186
|
+
# source://rbi/0.1.1/lib/rbi/rewriters/sort_nodes.rb#119
|
168
187
|
sig { void }
|
169
188
|
def sort_nodes!; end
|
170
189
|
|
@@ -185,7 +204,7 @@ class RBI::TypedParam < ::T::Struct
|
|
185
204
|
const :type, ::String
|
186
205
|
|
187
206
|
class << self
|
188
|
-
# source://sorbet-runtime/0.5.
|
207
|
+
# source://sorbet-runtime/0.5.11089/lib/types/struct.rb#13
|
189
208
|
def inherited(s); end
|
190
209
|
end
|
191
210
|
end
|
@@ -420,40 +439,42 @@ class Tapioca::Cli < ::Thor
|
|
420
439
|
include ::Tapioca::ConfigHelper
|
421
440
|
include ::Tapioca::EnvHelper
|
422
441
|
|
423
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
442
|
+
# source://tapioca//lib/tapioca/cli.rb#355
|
424
443
|
def __print_version; end
|
425
444
|
|
426
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
445
|
+
# source://tapioca//lib/tapioca/cli.rb#337
|
427
446
|
def annotations; end
|
428
447
|
|
429
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
448
|
+
# source://tapioca//lib/tapioca/cli.rb#309
|
430
449
|
def check_shims; end
|
431
450
|
|
432
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
451
|
+
# source://tapioca//lib/tapioca/cli.rb#46
|
433
452
|
def configure; end
|
434
453
|
|
435
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
454
|
+
# source://tapioca//lib/tapioca/cli.rb#138
|
436
455
|
def dsl(*constant_or_paths); end
|
437
456
|
|
438
|
-
#
|
457
|
+
# @raise [MalformattedArgumentError]
|
458
|
+
#
|
459
|
+
# source://tapioca//lib/tapioca/cli.rb#253
|
439
460
|
def gem(*gems); end
|
440
461
|
|
441
462
|
# source://tapioca//lib/tapioca/cli.rb#27
|
442
463
|
def init; end
|
443
464
|
|
444
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
465
|
+
# source://tapioca//lib/tapioca/cli.rb#57
|
445
466
|
def require; end
|
446
467
|
|
447
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
468
|
+
# source://tapioca//lib/tapioca/cli.rb#74
|
448
469
|
def todo; end
|
449
470
|
|
450
471
|
private
|
451
472
|
|
452
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
473
|
+
# source://tapioca//lib/tapioca/cli.rb#369
|
453
474
|
def print_init_next_steps; end
|
454
475
|
|
455
476
|
class << self
|
456
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
477
|
+
# source://tapioca//lib/tapioca/cli.rb#361
|
457
478
|
def exit_on_failure?; end
|
458
479
|
end
|
459
480
|
end
|
@@ -481,6 +502,239 @@ end
|
|
481
502
|
# source://tapioca//lib/tapioca/commands.rb#5
|
482
503
|
module Tapioca::Commands; end
|
483
504
|
|
505
|
+
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
506
|
+
#
|
507
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#6
|
508
|
+
class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracker
|
509
|
+
include ::Tapioca::SorbetHelper
|
510
|
+
include ::Tapioca::RBIFilesHelper
|
511
|
+
|
512
|
+
abstract!
|
513
|
+
|
514
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#31
|
515
|
+
sig do
|
516
|
+
params(
|
517
|
+
requested_constants: T::Array[::String],
|
518
|
+
requested_paths: T::Array[::Pathname],
|
519
|
+
outpath: ::Pathname,
|
520
|
+
only: T::Array[::String],
|
521
|
+
exclude: T::Array[::String],
|
522
|
+
file_header: T::Boolean,
|
523
|
+
tapioca_path: ::String,
|
524
|
+
quiet: T::Boolean,
|
525
|
+
verbose: T::Boolean,
|
526
|
+
number_of_workers: T.nilable(::Integer),
|
527
|
+
auto_strictness: T::Boolean,
|
528
|
+
gem_dir: ::String,
|
529
|
+
rbi_formatter: ::Tapioca::RBIFormatter,
|
530
|
+
app_root: ::String,
|
531
|
+
halt_upon_load_error: T::Boolean
|
532
|
+
).void
|
533
|
+
end
|
534
|
+
def initialize(requested_constants:, requested_paths:, outpath:, only:, exclude:, file_header:, tapioca_path:, quiet: T.unsafe(nil), verbose: T.unsafe(nil), number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), gem_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
535
|
+
|
536
|
+
private
|
537
|
+
|
538
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#94
|
539
|
+
sig { returns(T::Array[::String]) }
|
540
|
+
def all_requested_constants; end
|
541
|
+
|
542
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#284
|
543
|
+
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
544
|
+
def build_error_for_files(cause, files); end
|
545
|
+
|
546
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#208
|
547
|
+
sig do
|
548
|
+
params(
|
549
|
+
constant_name: ::String,
|
550
|
+
rbi: ::RBI::File,
|
551
|
+
outpath: ::Pathname,
|
552
|
+
quiet: T::Boolean
|
553
|
+
).returns(T.nilable(::Pathname))
|
554
|
+
end
|
555
|
+
def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end
|
556
|
+
|
557
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#146
|
558
|
+
sig { params(constant_names: T::Array[::String], ignore_missing: T::Boolean).returns(T::Array[::Module]) }
|
559
|
+
def constantize(constant_names, ignore_missing: T.unsafe(nil)); end
|
560
|
+
|
561
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#169
|
562
|
+
sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
563
|
+
def constantize_compilers(compiler_names); end
|
564
|
+
|
565
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#344
|
566
|
+
sig { returns(T::Array[::String]) }
|
567
|
+
def constants_from_requested_paths; end
|
568
|
+
|
569
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#117
|
570
|
+
sig { returns(::Tapioca::Dsl::Pipeline) }
|
571
|
+
def create_pipeline; end
|
572
|
+
|
573
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#247
|
574
|
+
sig { params(constant_name: ::String).returns(::Pathname) }
|
575
|
+
def dsl_rbi_filename(constant_name); end
|
576
|
+
|
577
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#132
|
578
|
+
sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) }
|
579
|
+
def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end
|
580
|
+
|
581
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#339
|
582
|
+
sig { params(constant: ::String).returns(::String) }
|
583
|
+
def generate_command_for(constant); end
|
584
|
+
|
585
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#70
|
586
|
+
sig { params(outpath: ::Pathname, quiet: T::Boolean).returns(T::Set[::Pathname]) }
|
587
|
+
def generate_dsl_rbi_files(outpath, quiet:); end
|
588
|
+
|
589
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#107
|
590
|
+
sig { void }
|
591
|
+
def load_application; end
|
592
|
+
|
593
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#226
|
594
|
+
sig { params(dir: ::Pathname).void }
|
595
|
+
def perform_dsl_verification(dir); end
|
596
|
+
|
597
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#102
|
598
|
+
sig { returns(::Tapioca::Dsl::Pipeline) }
|
599
|
+
def pipeline; end
|
600
|
+
|
601
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#235
|
602
|
+
sig { params(files: T::Set[::Pathname]).void }
|
603
|
+
def purge_stale_dsl_rbi_files(files); end
|
604
|
+
|
605
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#334
|
606
|
+
sig { params(constant: ::String).returns(::String) }
|
607
|
+
def rbi_filename_for(constant); end
|
608
|
+
|
609
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#315
|
610
|
+
sig { params(path: ::Pathname).returns(T::Array[::Pathname]) }
|
611
|
+
def rbi_files_in(path); end
|
612
|
+
|
613
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#293
|
614
|
+
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
615
|
+
def report_diff_and_exit_if_out_of_date(diff, command); end
|
616
|
+
|
617
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#188
|
618
|
+
sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) }
|
619
|
+
def resolve(name); end
|
620
|
+
|
621
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#322
|
622
|
+
sig { params(class_name: ::String).returns(::String) }
|
623
|
+
def underscore(class_name); end
|
624
|
+
|
625
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#252
|
626
|
+
sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) }
|
627
|
+
def verify_dsl_rbi(tmp_dir:); end
|
628
|
+
end
|
629
|
+
|
630
|
+
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
631
|
+
#
|
632
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#6
|
633
|
+
class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
634
|
+
include ::Tapioca::SorbetHelper
|
635
|
+
include ::Tapioca::RBIFilesHelper
|
636
|
+
|
637
|
+
abstract!
|
638
|
+
|
639
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#32
|
640
|
+
sig do
|
641
|
+
params(
|
642
|
+
gem_names: T::Array[::String],
|
643
|
+
exclude: T::Array[::String],
|
644
|
+
include_dependencies: T::Boolean,
|
645
|
+
prerequire: T.nilable(::String),
|
646
|
+
postrequire: ::String,
|
647
|
+
typed_overrides: T::Hash[::String, ::String],
|
648
|
+
outpath: ::Pathname,
|
649
|
+
file_header: T::Boolean,
|
650
|
+
include_doc: T::Boolean,
|
651
|
+
include_loc: T::Boolean,
|
652
|
+
include_exported_rbis: T::Boolean,
|
653
|
+
number_of_workers: T.nilable(::Integer),
|
654
|
+
auto_strictness: T::Boolean,
|
655
|
+
dsl_dir: ::String,
|
656
|
+
rbi_formatter: ::Tapioca::RBIFormatter,
|
657
|
+
halt_upon_load_error: T::Boolean
|
658
|
+
).void
|
659
|
+
end
|
660
|
+
def initialize(gem_names:, exclude:, include_dependencies:, prerequire:, postrequire:, typed_overrides:, outpath:, file_header:, include_doc:, include_loc:, include_exported_rbis:, number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), dsl_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
661
|
+
|
662
|
+
private
|
663
|
+
|
664
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#221
|
665
|
+
sig { returns(T::Array[::String]) }
|
666
|
+
def added_rbis; end
|
667
|
+
|
668
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#282
|
669
|
+
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
670
|
+
def build_error_for_files(cause, files); end
|
671
|
+
|
672
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#110
|
673
|
+
sig { params(gem: ::Tapioca::Gemfile::GemSpec).void }
|
674
|
+
def compile_gem_rbi(gem); end
|
675
|
+
|
676
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#216
|
677
|
+
sig { params(gem_name: ::String).returns(::Pathname) }
|
678
|
+
def existing_rbi(gem_name); end
|
679
|
+
|
680
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#264
|
681
|
+
sig { returns(T::Hash[::String, ::String]) }
|
682
|
+
def existing_rbis; end
|
683
|
+
|
684
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#228
|
685
|
+
sig { params(gem_name: ::String).returns(::Pathname) }
|
686
|
+
def expected_rbi(gem_name); end
|
687
|
+
|
688
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#270
|
689
|
+
sig { returns(T::Hash[::String, ::String]) }
|
690
|
+
def expected_rbis; end
|
691
|
+
|
692
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#98
|
693
|
+
sig do
|
694
|
+
params(
|
695
|
+
gem: ::Tapioca::Gemfile::GemSpec,
|
696
|
+
dependencies: T::Array[::Tapioca::Gemfile::GemSpec]
|
697
|
+
).returns(T::Array[::Tapioca::Gemfile::GemSpec])
|
698
|
+
end
|
699
|
+
def gem_dependencies(gem, dependencies = T.unsafe(nil)); end
|
700
|
+
|
701
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#233
|
702
|
+
sig { params(gem_name: ::String).returns(T::Boolean) }
|
703
|
+
def gem_rbi_exists?(gem_name); end
|
704
|
+
|
705
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#277
|
706
|
+
sig { params(gem_name: ::String, version: ::String).returns(::Pathname) }
|
707
|
+
def gem_rbi_filename(gem_name, version); end
|
708
|
+
|
709
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#77
|
710
|
+
sig { params(gem_names: T::Array[::String]).returns(T::Array[::Tapioca::Gemfile::GemSpec]) }
|
711
|
+
def gems_to_generate(gem_names); end
|
712
|
+
|
713
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#287
|
714
|
+
sig { params(gem: ::Tapioca::Gemfile::GemSpec, file: ::RBI::File).void }
|
715
|
+
def merge_with_exported_rbi(gem, file); end
|
716
|
+
|
717
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#258
|
718
|
+
sig { params(old_filename: ::Pathname, new_filename: ::Pathname).void }
|
719
|
+
def move(old_filename, new_filename); end
|
720
|
+
|
721
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#168
|
722
|
+
sig { void }
|
723
|
+
def perform_additions; end
|
724
|
+
|
725
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#141
|
726
|
+
sig { void }
|
727
|
+
def perform_removals; end
|
728
|
+
|
729
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#211
|
730
|
+
sig { returns(T::Array[::String]) }
|
731
|
+
def removed_rbis; end
|
732
|
+
|
733
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#238
|
734
|
+
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
735
|
+
def report_diff_and_exit_if_out_of_date(diff, command); end
|
736
|
+
end
|
737
|
+
|
484
738
|
# source://tapioca//lib/tapioca/commands/annotations.rb#6
|
485
739
|
class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracker
|
486
740
|
# source://tapioca//lib/tapioca/commands/annotations.rb#18
|
@@ -495,69 +749,69 @@ class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracke
|
|
495
749
|
end
|
496
750
|
def initialize(central_repo_root_uris:, auth: T.unsafe(nil), netrc_file: T.unsafe(nil), central_repo_index_path: T.unsafe(nil), typed_overrides: T.unsafe(nil)); end
|
497
751
|
|
498
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#36
|
499
|
-
sig { override.void }
|
500
|
-
def execute; end
|
501
|
-
|
502
752
|
private
|
503
753
|
|
504
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
754
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#193
|
505
755
|
sig { params(name: ::String, content: ::String).returns(::String) }
|
506
756
|
def add_header(name, content); end
|
507
757
|
|
508
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
758
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#213
|
509
759
|
sig { params(name: ::String, content: ::String).returns(::String) }
|
510
760
|
def apply_typed_override(name, content); end
|
511
761
|
|
512
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
762
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#39
|
763
|
+
sig { override.void }
|
764
|
+
def execute; end
|
765
|
+
|
766
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#136
|
513
767
|
sig { params(repo_uris: T::Array[::String], gem_name: ::String).void }
|
514
768
|
def fetch_annotation(repo_uris, gem_name); end
|
515
769
|
|
516
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
770
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#113
|
517
771
|
sig { params(gem_names: T::Array[::String]).returns(T::Array[::String]) }
|
518
772
|
def fetch_annotations(gem_names); end
|
519
773
|
|
520
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
774
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#152
|
521
775
|
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
522
776
|
def fetch_file(repo_uri, path); end
|
523
777
|
|
524
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
778
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#169
|
525
779
|
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
526
780
|
def fetch_http_file(repo_uri, path); end
|
527
781
|
|
528
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
782
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#102
|
529
783
|
sig { params(repo_uri: ::String, repo_number: T.nilable(::Integer)).returns(T.nilable(Tapioca::RepoIndex)) }
|
530
784
|
def fetch_index(repo_uri, repo_number:); end
|
531
785
|
|
532
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
786
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#81
|
533
787
|
sig { returns(T::Hash[::String, Tapioca::RepoIndex]) }
|
534
788
|
def fetch_indexes; end
|
535
789
|
|
536
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
790
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#161
|
537
791
|
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
538
792
|
def fetch_local_file(repo_uri, path); end
|
539
793
|
|
540
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
794
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#50
|
541
795
|
sig { returns(T::Array[::String]) }
|
542
796
|
def list_gemfile_gems; end
|
543
797
|
|
544
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
798
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#225
|
545
799
|
sig { params(gem_name: ::String, contents: T::Array[::String]).returns(T.nilable(::String)) }
|
546
800
|
def merge_files(gem_name, contents); end
|
547
801
|
|
548
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
802
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#60
|
549
803
|
sig { params(project_gems: T::Array[::String]).void }
|
550
804
|
def remove_expired_annotations(project_gems); end
|
551
805
|
|
552
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
806
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#252
|
553
807
|
sig { returns(T::Hash[::String, T.nilable(::String)]) }
|
554
808
|
def repo_tokens; end
|
555
809
|
|
556
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
810
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#280
|
557
811
|
sig { params(path: ::String, repo_uri: ::String, message: ::String).void }
|
558
812
|
def say_http_error(path, repo_uri, message:); end
|
559
813
|
|
560
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
814
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#264
|
561
815
|
sig { params(repo_uri: ::String).returns(T.nilable(::String)) }
|
562
816
|
def token_for(repo_uri); end
|
563
817
|
end
|
@@ -581,7 +835,9 @@ class Tapioca::Commands::CheckShims < ::Tapioca::Commands::CommandWithoutTracker
|
|
581
835
|
end
|
582
836
|
def initialize(gem_rbi_dir:, dsl_rbi_dir:, annotations_rbi_dir:, shim_rbi_dir:, todo_rbi_file:, payload:, number_of_workers:); end
|
583
837
|
|
584
|
-
|
838
|
+
private
|
839
|
+
|
840
|
+
# source://tapioca//lib/tapioca/commands/check_shims.rb#44
|
585
841
|
sig { override.void }
|
586
842
|
def execute; end
|
587
843
|
end
|
@@ -603,19 +859,17 @@ class Tapioca::Commands::Command
|
|
603
859
|
sig { void }
|
604
860
|
def initialize; end
|
605
861
|
|
606
|
-
#
|
607
|
-
#
|
608
|
-
# source://tapioca//lib/tapioca/commands/command.rb#25
|
609
|
-
sig { abstract.void }
|
610
|
-
def execute; end
|
611
|
-
|
612
|
-
# source://thor/1.2.2/lib/thor/base.rb#139
|
862
|
+
# source://thor/1.3.0/lib/thor/base.rb#155
|
613
863
|
sig { returns(::Thor::Actions) }
|
614
864
|
def file_writer; end
|
615
865
|
|
866
|
+
# source://tapioca//lib/tapioca/commands/command.rb#25
|
867
|
+
sig(:final) { void }
|
868
|
+
def run; end
|
869
|
+
|
616
870
|
private
|
617
871
|
|
618
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
872
|
+
# source://tapioca//lib/tapioca/commands/command.rb#53
|
619
873
|
sig do
|
620
874
|
params(
|
621
875
|
path: T.any(::Pathname, ::String),
|
@@ -627,11 +881,17 @@ class Tapioca::Commands::Command
|
|
627
881
|
end
|
628
882
|
def create_file(path, content, force: T.unsafe(nil), skip: T.unsafe(nil), verbose: T.unsafe(nil)); end
|
629
883
|
|
630
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
884
|
+
# source://tapioca//lib/tapioca/commands/command.rb#37
|
631
885
|
sig { params(command: ::Symbol, args: ::String).returns(::String) }
|
632
886
|
def default_command(command, *args); end
|
633
887
|
|
634
|
-
#
|
888
|
+
# @abstract
|
889
|
+
#
|
890
|
+
# source://tapioca//lib/tapioca/commands/command.rb#34
|
891
|
+
sig { abstract.void }
|
892
|
+
def execute; end
|
893
|
+
|
894
|
+
# source://tapioca//lib/tapioca/commands/command.rb#63
|
635
895
|
sig { params(path: T.any(::Pathname, ::String), verbose: T::Boolean).void }
|
636
896
|
def remove_file(path, verbose: T.unsafe(nil)); end
|
637
897
|
end
|
@@ -659,10 +919,6 @@ class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
|
|
659
919
|
sig { params(sorbet_config: ::String, tapioca_config: ::String, default_postrequire: ::String).void }
|
660
920
|
def initialize(sorbet_config:, tapioca_config:, default_postrequire:); end
|
661
921
|
|
662
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#30
|
663
|
-
sig { override.void }
|
664
|
-
def execute; end
|
665
|
-
|
666
922
|
private
|
667
923
|
|
668
924
|
# source://tapioca//lib/tapioca/commands/configure.rb#79
|
@@ -681,6 +937,10 @@ class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
|
|
681
937
|
sig { void }
|
682
938
|
def create_tapioca_config; end
|
683
939
|
|
940
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#32
|
941
|
+
sig { override.void }
|
942
|
+
def execute; end
|
943
|
+
|
684
944
|
# source://tapioca//lib/tapioca/commands/configure.rb#92
|
685
945
|
sig { returns(::Bundler::Installer) }
|
686
946
|
def installer; end
|
@@ -690,224 +950,62 @@ class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
|
|
690
950
|
def spec; end
|
691
951
|
end
|
692
952
|
|
693
|
-
# source://tapioca//lib/tapioca/commands/
|
694
|
-
class Tapioca::Commands::
|
695
|
-
|
696
|
-
include ::Tapioca::RBIFilesHelper
|
697
|
-
|
698
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#30
|
699
|
-
sig do
|
700
|
-
params(
|
701
|
-
requested_constants: T::Array[::String],
|
702
|
-
requested_paths: T::Array[::Pathname],
|
703
|
-
outpath: ::Pathname,
|
704
|
-
only: T::Array[::String],
|
705
|
-
exclude: T::Array[::String],
|
706
|
-
file_header: T::Boolean,
|
707
|
-
tapioca_path: ::String,
|
708
|
-
should_verify: T::Boolean,
|
709
|
-
quiet: T::Boolean,
|
710
|
-
verbose: T::Boolean,
|
711
|
-
number_of_workers: T.nilable(::Integer),
|
712
|
-
auto_strictness: T::Boolean,
|
713
|
-
gem_dir: ::String,
|
714
|
-
rbi_formatter: ::Tapioca::RBIFormatter,
|
715
|
-
app_root: ::String,
|
716
|
-
halt_upon_load_error: T::Boolean
|
717
|
-
).void
|
718
|
-
end
|
719
|
-
def initialize(requested_constants:, requested_paths:, outpath:, only:, exclude:, file_header:, tapioca_path:, should_verify: T.unsafe(nil), quiet: T.unsafe(nil), verbose: T.unsafe(nil), number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), gem_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
953
|
+
# source://tapioca//lib/tapioca/commands/dsl_compiler_list.rb#6
|
954
|
+
class Tapioca::Commands::DslCompilerList < ::Tapioca::Commands::AbstractDsl
|
955
|
+
private
|
720
956
|
|
721
|
-
# source://tapioca//lib/tapioca/commands/
|
957
|
+
# source://tapioca//lib/tapioca/commands/dsl_compiler_list.rb#10
|
722
958
|
sig { override.void }
|
723
959
|
def execute; end
|
960
|
+
end
|
724
961
|
|
725
|
-
|
726
|
-
|
727
|
-
def list_compilers; end
|
728
|
-
|
962
|
+
# source://tapioca//lib/tapioca/commands/dsl_generate.rb#6
|
963
|
+
class Tapioca::Commands::DslGenerate < ::Tapioca::Commands::AbstractDsl
|
729
964
|
private
|
730
965
|
|
731
|
-
# source://tapioca//lib/tapioca/commands/
|
732
|
-
sig {
|
733
|
-
def
|
734
|
-
|
735
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#254
|
736
|
-
sig do
|
737
|
-
params(
|
738
|
-
constant_name: ::String,
|
739
|
-
rbi: ::RBI::File,
|
740
|
-
outpath: ::Pathname,
|
741
|
-
quiet: T::Boolean
|
742
|
-
).returns(T.nilable(::Pathname))
|
743
|
-
end
|
744
|
-
def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end
|
745
|
-
|
746
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#192
|
747
|
-
sig { params(constant_names: T::Array[::String], ignore_missing: T::Boolean).returns(T::Array[::Module]) }
|
748
|
-
def constantize(constant_names, ignore_missing: T.unsafe(nil)); end
|
749
|
-
|
750
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#215
|
751
|
-
sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
752
|
-
def constantize_compilers(compiler_names); end
|
753
|
-
|
754
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#390
|
755
|
-
sig { returns(T::Array[::String]) }
|
756
|
-
def constants_from_requested_paths; end
|
757
|
-
|
758
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#163
|
759
|
-
sig { returns(::Tapioca::Dsl::Pipeline) }
|
760
|
-
def create_pipeline; end
|
761
|
-
|
762
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#293
|
763
|
-
sig { params(constant_name: ::String).returns(::Pathname) }
|
764
|
-
def dsl_rbi_filename(constant_name); end
|
765
|
-
|
766
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#178
|
767
|
-
sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) }
|
768
|
-
def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end
|
769
|
-
|
770
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#385
|
771
|
-
sig { params(constant: ::String).returns(::String) }
|
772
|
-
def generate_command_for(constant); end
|
773
|
-
|
774
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#272
|
775
|
-
sig { params(dir: ::Pathname).void }
|
776
|
-
def perform_dsl_verification(dir); end
|
777
|
-
|
778
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#281
|
779
|
-
sig { params(files: T::Set[::Pathname]).void }
|
780
|
-
def purge_stale_dsl_rbi_files(files); end
|
781
|
-
|
782
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#380
|
783
|
-
sig { params(constant: ::String).returns(::String) }
|
784
|
-
def rbi_filename_for(constant); end
|
785
|
-
|
786
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#361
|
787
|
-
sig { params(path: ::Pathname).returns(T::Array[::Pathname]) }
|
788
|
-
def rbi_files_in(path); end
|
789
|
-
|
790
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#339
|
791
|
-
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
792
|
-
def report_diff_and_exit_if_out_of_date(diff, command); end
|
793
|
-
|
794
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#234
|
795
|
-
sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) }
|
796
|
-
def resolve(name); end
|
797
|
-
|
798
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#368
|
799
|
-
sig { params(class_name: ::String).returns(::String) }
|
800
|
-
def underscore(class_name); end
|
801
|
-
|
802
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#298
|
803
|
-
sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) }
|
804
|
-
def verify_dsl_rbi(tmp_dir:); end
|
966
|
+
# source://tapioca//lib/tapioca/commands/dsl_generate.rb#10
|
967
|
+
sig { override.void }
|
968
|
+
def execute; end
|
805
969
|
end
|
806
970
|
|
807
|
-
# source://tapioca//lib/tapioca/commands/
|
808
|
-
class Tapioca::Commands::
|
809
|
-
|
810
|
-
include ::Tapioca::RBIFilesHelper
|
811
|
-
|
812
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#29
|
813
|
-
sig do
|
814
|
-
params(
|
815
|
-
gem_names: T::Array[::String],
|
816
|
-
exclude: T::Array[::String],
|
817
|
-
prerequire: T.nilable(::String),
|
818
|
-
postrequire: ::String,
|
819
|
-
typed_overrides: T::Hash[::String, ::String],
|
820
|
-
outpath: ::Pathname,
|
821
|
-
file_header: T::Boolean,
|
822
|
-
include_doc: T::Boolean,
|
823
|
-
include_loc: T::Boolean,
|
824
|
-
include_exported_rbis: T::Boolean,
|
825
|
-
number_of_workers: T.nilable(::Integer),
|
826
|
-
auto_strictness: T::Boolean,
|
827
|
-
dsl_dir: ::String,
|
828
|
-
rbi_formatter: ::Tapioca::RBIFormatter,
|
829
|
-
halt_upon_load_error: T::Boolean
|
830
|
-
).void
|
831
|
-
end
|
832
|
-
def initialize(gem_names:, exclude:, prerequire:, postrequire:, typed_overrides:, outpath:, file_header:, include_doc:, include_loc:, include_exported_rbis:, number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), dsl_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
971
|
+
# source://tapioca//lib/tapioca/commands/dsl_verify.rb#6
|
972
|
+
class Tapioca::Commands::DslVerify < ::Tapioca::Commands::AbstractDsl
|
973
|
+
private
|
833
974
|
|
834
|
-
# source://tapioca//lib/tapioca/commands/
|
975
|
+
# source://tapioca//lib/tapioca/commands/dsl_verify.rb#10
|
835
976
|
sig { override.void }
|
836
977
|
def execute; end
|
978
|
+
end
|
837
979
|
|
838
|
-
|
839
|
-
|
840
|
-
def sync(should_verify: T.unsafe(nil), exclude: T.unsafe(nil)); end
|
841
|
-
|
980
|
+
# source://tapioca//lib/tapioca/commands/gem_generate.rb#6
|
981
|
+
class Tapioca::Commands::GemGenerate < ::Tapioca::Commands::AbstractGem
|
842
982
|
private
|
843
983
|
|
844
|
-
# source://tapioca//lib/tapioca/commands/
|
845
|
-
sig {
|
846
|
-
def
|
847
|
-
|
848
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#349
|
849
|
-
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
850
|
-
def build_error_for_files(cause, files); end
|
851
|
-
|
852
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#158
|
853
|
-
sig { params(gem: ::Tapioca::Gemfile::GemSpec).void }
|
854
|
-
def compile_gem_rbi(gem); end
|
855
|
-
|
856
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#283
|
857
|
-
sig { params(gem_name: ::String).returns(::Pathname) }
|
858
|
-
def existing_rbi(gem_name); end
|
859
|
-
|
860
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#331
|
861
|
-
sig { returns(T::Hash[::String, ::String]) }
|
862
|
-
def existing_rbis; end
|
863
|
-
|
864
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#295
|
865
|
-
sig { params(gem_name: ::String).returns(::Pathname) }
|
866
|
-
def expected_rbi(gem_name); end
|
867
|
-
|
868
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#337
|
869
|
-
sig { returns(T::Hash[::String, ::String]) }
|
870
|
-
def expected_rbis; end
|
871
|
-
|
872
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#300
|
873
|
-
sig { params(gem_name: ::String).returns(T::Boolean) }
|
874
|
-
def gem_rbi_exists?(gem_name); end
|
875
|
-
|
876
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#344
|
877
|
-
sig { params(gem_name: ::String, version: ::String).returns(::Pathname) }
|
878
|
-
def gem_rbi_filename(gem_name, version); end
|
984
|
+
# source://tapioca//lib/tapioca/commands/gem_generate.rb#10
|
985
|
+
sig { override.void }
|
986
|
+
def execute; end
|
987
|
+
end
|
879
988
|
|
880
|
-
|
881
|
-
|
882
|
-
|
989
|
+
# source://tapioca//lib/tapioca/commands/gem_sync.rb#6
|
990
|
+
class Tapioca::Commands::GemSync < ::Tapioca::Commands::AbstractGem
|
991
|
+
private
|
883
992
|
|
884
|
-
# source://tapioca//lib/tapioca/commands/
|
885
|
-
sig {
|
886
|
-
def
|
993
|
+
# source://tapioca//lib/tapioca/commands/gem_sync.rb#10
|
994
|
+
sig { override.void }
|
995
|
+
def execute; end
|
996
|
+
end
|
887
997
|
|
888
|
-
|
889
|
-
|
890
|
-
|
998
|
+
# source://tapioca//lib/tapioca/commands/gem_verify.rb#6
|
999
|
+
class Tapioca::Commands::GemVerify < ::Tapioca::Commands::AbstractGem
|
1000
|
+
private
|
891
1001
|
|
892
|
-
# source://tapioca//lib/tapioca/commands/
|
893
|
-
sig { void }
|
894
|
-
def
|
1002
|
+
# source://tapioca//lib/tapioca/commands/gem_verify.rb#10
|
1003
|
+
sig { override.void }
|
1004
|
+
def execute; end
|
895
1005
|
|
896
|
-
# source://tapioca//lib/tapioca/commands/
|
1006
|
+
# source://tapioca//lib/tapioca/commands/gem_verify.rb#17
|
897
1007
|
sig { void }
|
898
|
-
def
|
899
|
-
|
900
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#189
|
901
|
-
sig { params(exclude: T::Array[::String]).void }
|
902
|
-
def perform_sync_verification(exclude: T.unsafe(nil)); end
|
903
|
-
|
904
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#278
|
905
|
-
sig { returns(T::Array[::String]) }
|
906
|
-
def removed_rbis; end
|
907
|
-
|
908
|
-
# source://tapioca//lib/tapioca/commands/gem.rb#305
|
909
|
-
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
910
|
-
def report_diff_and_exit_if_out_of_date(diff, command); end
|
1008
|
+
def perform_sync_verification; end
|
911
1009
|
end
|
912
1010
|
|
913
1011
|
# source://tapioca//lib/tapioca/commands/require.rb#6
|
@@ -916,7 +1014,9 @@ class Tapioca::Commands::Require < ::Tapioca::Commands::CommandWithoutTracker
|
|
916
1014
|
sig { params(requires_path: ::String, sorbet_config_path: ::String).void }
|
917
1015
|
def initialize(requires_path:, sorbet_config_path:); end
|
918
1016
|
|
919
|
-
|
1017
|
+
private
|
1018
|
+
|
1019
|
+
# source://tapioca//lib/tapioca/commands/require.rb#23
|
920
1020
|
sig { override.void }
|
921
1021
|
def execute; end
|
922
1022
|
end
|
@@ -925,25 +1025,32 @@ end
|
|
925
1025
|
class Tapioca::Commands::Todo < ::Tapioca::Commands::CommandWithoutTracker
|
926
1026
|
include ::Tapioca::SorbetHelper
|
927
1027
|
|
928
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
1028
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#26
|
929
1029
|
sig { params(todo_file: ::String, file_header: T::Boolean).void }
|
930
1030
|
def initialize(todo_file:, file_header:); end
|
931
1031
|
|
932
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
933
|
-
sig {
|
934
|
-
def
|
1032
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#34
|
1033
|
+
sig { void }
|
1034
|
+
def run_with_deprecation; end
|
935
1035
|
|
936
1036
|
private
|
937
1037
|
|
938
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
1038
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#44
|
1039
|
+
sig { override.void }
|
1040
|
+
def execute; end
|
1041
|
+
|
1042
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#68
|
939
1043
|
sig { params(constants: T::Array[::String], command: ::String).returns(::RBI::File) }
|
940
1044
|
def rbi(constants, command:); end
|
941
1045
|
|
942
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
1046
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#88
|
943
1047
|
sig { returns(T::Array[::String]) }
|
944
1048
|
def unresolved_constants; end
|
945
1049
|
end
|
946
1050
|
|
1051
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#9
|
1052
|
+
Tapioca::Commands::Todo::DEPRECATION_MESSAGE = T.let(T.unsafe(nil), String)
|
1053
|
+
|
947
1054
|
# source://tapioca//lib/tapioca/helpers/config_helper.rb#5
|
948
1055
|
module Tapioca::ConfigHelper
|
949
1056
|
requires_ancestor { Thor }
|
@@ -1014,7 +1121,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|
1014
1121
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
1015
1122
|
|
1016
1123
|
class << self
|
1017
|
-
# source://sorbet-runtime/0.5.
|
1124
|
+
# source://sorbet-runtime/0.5.11089/lib/types/struct.rb#13
|
1018
1125
|
def inherited(s); end
|
1019
1126
|
end
|
1020
1127
|
end
|
@@ -1025,7 +1132,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|
1025
1132
|
const :colors, T::Array[::Symbol]
|
1026
1133
|
|
1027
1134
|
class << self
|
1028
|
-
# source://sorbet-runtime/0.5.
|
1135
|
+
# source://sorbet-runtime/0.5.11089/lib/types/struct.rb#13
|
1029
1136
|
def inherited(s); end
|
1030
1137
|
end
|
1031
1138
|
end
|
@@ -1082,17 +1189,17 @@ class Tapioca::Dsl::Compiler
|
|
1082
1189
|
|
1083
1190
|
ConstantType = type_member { { upper: Module } }
|
1084
1191
|
|
1085
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1192
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#64
|
1086
1193
|
sig { params(pipeline: ::Tapioca::Dsl::Pipeline, root: ::RBI::Tree, constant: ConstantType).void }
|
1087
1194
|
def initialize(pipeline, root, constant); end
|
1088
1195
|
|
1089
1196
|
# NOTE: This should eventually accept an `Error` object or `Exception` rather than simply a `String`.
|
1090
1197
|
#
|
1091
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1198
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#81
|
1092
1199
|
sig { params(error: ::String).void }
|
1093
1200
|
def add_error(error); end
|
1094
1201
|
|
1095
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1202
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#72
|
1096
1203
|
sig { params(compiler_name: ::String).returns(T::Boolean) }
|
1097
1204
|
def compiler_enabled?(compiler_name); end
|
1098
1205
|
|
@@ -1102,7 +1209,7 @@ class Tapioca::Dsl::Compiler
|
|
1102
1209
|
|
1103
1210
|
# @abstract
|
1104
1211
|
#
|
1105
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1212
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#77
|
1106
1213
|
sig { abstract.void }
|
1107
1214
|
def decorate; end
|
1108
1215
|
|
@@ -1112,21 +1219,21 @@ class Tapioca::Dsl::Compiler
|
|
1112
1219
|
|
1113
1220
|
private
|
1114
1221
|
|
1115
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1222
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#130
|
1116
1223
|
sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(T::Array[::RBI::TypedParam]) }
|
1117
1224
|
def compile_method_parameters_to_rbi(method_def); end
|
1118
1225
|
|
1119
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1226
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#166
|
1120
1227
|
sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(::String) }
|
1121
1228
|
def compile_method_return_type_to_rbi(method_def); end
|
1122
1229
|
|
1123
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1230
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#120
|
1124
1231
|
sig { params(scope: ::RBI::Scope, method_def: T.any(::Method, ::UnboundMethod), class_method: T::Boolean).void }
|
1125
1232
|
def create_method_from_def(scope, method_def, class_method: T.unsafe(nil)); end
|
1126
1233
|
|
1127
1234
|
# Get the types of each parameter from a method signature
|
1128
1235
|
#
|
1129
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1236
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#94
|
1130
1237
|
sig { params(method_def: T.any(::Method, ::UnboundMethod), signature: T.untyped).returns(T::Array[::String]) }
|
1131
1238
|
def parameters_types_from_signature(method_def, signature); end
|
1132
1239
|
|
@@ -1151,7 +1258,7 @@ class Tapioca::Dsl::Compiler
|
|
1151
1258
|
sig { returns(T::Enumerable[T::Class[T.anything]]) }
|
1152
1259
|
def all_classes; end
|
1153
1260
|
|
1154
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1261
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#55
|
1155
1262
|
sig { returns(T::Enumerable[::Module]) }
|
1156
1263
|
def all_modules; end
|
1157
1264
|
end
|
@@ -1228,15 +1335,15 @@ class Tapioca::Dsl::Pipeline
|
|
1228
1335
|
|
1229
1336
|
private
|
1230
1337
|
|
1231
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1338
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#195
|
1232
1339
|
sig { void }
|
1233
1340
|
def abort_if_pending_migrations!; end
|
1234
1341
|
|
1235
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1342
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#141
|
1236
1343
|
sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) }
|
1237
1344
|
def filter_anonymous_and_reloaded_constants(constants); end
|
1238
1345
|
|
1239
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1346
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#124
|
1240
1347
|
sig do
|
1241
1348
|
params(
|
1242
1349
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
@@ -1245,7 +1352,7 @@ class Tapioca::Dsl::Pipeline
|
|
1245
1352
|
end
|
1246
1353
|
def gather_active_compilers(requested_compilers, excluded_compilers); end
|
1247
1354
|
|
1248
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1355
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#132
|
1249
1356
|
sig do
|
1250
1357
|
params(
|
1251
1358
|
requested_constants: T::Array[::Module],
|
@@ -1254,11 +1361,11 @@ class Tapioca::Dsl::Pipeline
|
|
1254
1361
|
end
|
1255
1362
|
def gather_constants(requested_constants, requested_paths); end
|
1256
1363
|
|
1257
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1364
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#169
|
1258
1365
|
sig { params(constant: ::Module).returns(T.nilable(::RBI::File)) }
|
1259
1366
|
def rbi_for_constant(constant); end
|
1260
1367
|
|
1261
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1368
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#188
|
1262
1369
|
sig { params(error: ::String).returns(T.noreturn) }
|
1263
1370
|
def report_error(error); end
|
1264
1371
|
end
|
@@ -1796,7 +1903,7 @@ class Tapioca::Gem::Pipeline
|
|
1796
1903
|
sig { returns(::RBI::Tree) }
|
1797
1904
|
def compile; end
|
1798
1905
|
|
1799
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1906
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#119
|
1800
1907
|
sig { params(name: T.any(::String, ::Symbol)).returns(T::Boolean) }
|
1801
1908
|
def constant_in_gem?(name); end
|
1802
1909
|
|
@@ -1804,31 +1911,33 @@ class Tapioca::Gem::Pipeline
|
|
1804
1911
|
sig { returns(::Tapioca::Gemfile::GemSpec) }
|
1805
1912
|
def gem; end
|
1806
1913
|
|
1807
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1914
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#137
|
1808
1915
|
sig { params(method: ::UnboundMethod).returns(T::Boolean) }
|
1809
1916
|
def method_in_gem?(method); end
|
1810
1917
|
|
1811
|
-
#
|
1918
|
+
# Helpers
|
1919
|
+
#
|
1920
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#147
|
1812
1921
|
sig { params(constant: ::Module).returns(T.nilable(::String)) }
|
1813
1922
|
def name_of(constant); end
|
1814
1923
|
|
1815
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1924
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#71
|
1816
1925
|
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Const).void }
|
1817
1926
|
def push_const(symbol, constant, node); end
|
1818
1927
|
|
1819
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1928
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#61
|
1820
1929
|
sig { params(symbol: ::String, constant: ::BasicObject).void }
|
1821
1930
|
def push_constant(symbol, constant); end
|
1822
1931
|
|
1823
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1932
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#66
|
1824
1933
|
sig { params(symbol: ::String, constant: ::Module).void }
|
1825
1934
|
def push_foreign_constant(symbol, constant); end
|
1826
1935
|
|
1827
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1936
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#85
|
1828
1937
|
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
|
1829
1938
|
def push_foreign_scope(symbol, constant, node); end
|
1830
1939
|
|
1831
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1940
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#99
|
1832
1941
|
sig do
|
1833
1942
|
params(
|
1834
1943
|
symbol: ::String,
|
@@ -1841,103 +1950,148 @@ class Tapioca::Gem::Pipeline
|
|
1841
1950
|
end
|
1842
1951
|
def push_method(symbol, constant, method, node, signature, parameters); end
|
1843
1952
|
|
1844
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1953
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#78
|
1845
1954
|
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
|
1846
1955
|
def push_scope(symbol, constant, node); end
|
1847
1956
|
|
1848
|
-
#
|
1957
|
+
# Events handling
|
1958
|
+
#
|
1959
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#56
|
1849
1960
|
sig { params(symbol: ::String).void }
|
1850
1961
|
def push_symbol(symbol); end
|
1851
1962
|
|
1852
|
-
#
|
1963
|
+
# Constants and properties filtering
|
1964
|
+
#
|
1965
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#106
|
1853
1966
|
sig { params(symbol_name: ::String).returns(T::Boolean) }
|
1854
1967
|
def symbol_in_payload?(symbol_name); end
|
1855
1968
|
|
1856
1969
|
private
|
1857
1970
|
|
1858
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1971
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#441
|
1859
1972
|
sig { params(name: ::String).void }
|
1860
1973
|
def add_to_alias_namespace(name); end
|
1861
1974
|
|
1862
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1975
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#446
|
1863
1976
|
sig { params(name: ::String).returns(T::Boolean) }
|
1864
1977
|
def alias_namespaced?(name); end
|
1865
1978
|
|
1866
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1979
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#244
|
1867
1980
|
sig { params(name: ::String, constant: ::Module).void }
|
1868
1981
|
def compile_alias(name, constant); end
|
1869
1982
|
|
1870
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1983
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#230
|
1871
1984
|
sig { params(symbol: ::String, constant: ::BasicObject).void }
|
1872
1985
|
def compile_constant(symbol, constant); end
|
1873
1986
|
|
1874
|
-
#
|
1987
|
+
# Compiling
|
1875
1988
|
#
|
1876
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1989
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#219
|
1877
1990
|
sig { params(symbol: ::String, constant: ::Module).void }
|
1878
1991
|
def compile_foreign_constant(symbol, constant); end
|
1879
1992
|
|
1880
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1881
|
-
sig { params(name: ::String, constant: ::Module
|
1882
|
-
def compile_module(name, constant
|
1993
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#300
|
1994
|
+
sig { params(name: ::String, constant: ::Module).void }
|
1995
|
+
def compile_module(name, constant); end
|
1883
1996
|
|
1884
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1997
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#265
|
1885
1998
|
sig { params(name: ::String, value: ::BasicObject).void }
|
1886
1999
|
def compile_object(name, value); end
|
1887
2000
|
|
1888
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2001
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#311
|
2002
|
+
sig { params(name: ::String, constant: ::Module).returns(::RBI::Scope) }
|
2003
|
+
def compile_scope(name, constant); end
|
2004
|
+
|
2005
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#325
|
1889
2006
|
sig { params(constant: T::Class[T.anything]).returns(T.nilable(::String)) }
|
1890
2007
|
def compile_superclass(constant); end
|
1891
2008
|
|
1892
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2009
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#422
|
1893
2010
|
sig { params(constant: ::Module, strict: T::Boolean).returns(T::Boolean) }
|
1894
2011
|
def defined_in_gem?(constant, strict: T.unsafe(nil)); end
|
1895
2012
|
|
1896
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2013
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#177
|
1897
2014
|
sig { params(event: ::Tapioca::Gem::Event).void }
|
1898
2015
|
def dispatch(event); end
|
1899
2016
|
|
1900
|
-
#
|
2017
|
+
# Helpers
|
2018
|
+
#
|
2019
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#465
|
1901
2020
|
sig { params(constant: T.all(::Module, ::T::Generic)).returns(::String) }
|
1902
2021
|
def generic_name_of(constant); end
|
1903
2022
|
|
1904
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2023
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#434
|
1905
2024
|
sig { params(constant: ::Module).returns(T::Set[::String]) }
|
1906
2025
|
def get_file_candidates(constant); end
|
1907
2026
|
|
1908
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2027
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#162
|
1909
2028
|
sig { params(gem: ::Tapioca::Gemfile::GemSpec).returns(T::Set[::String]) }
|
1910
2029
|
def load_bootstrap_symbols(gem); end
|
1911
2030
|
|
1912
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1913
|
-
sig { params(name: ::String).void }
|
1914
|
-
def mark_seen(name); end
|
1915
|
-
|
1916
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#414
|
2031
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#481
|
1917
2032
|
sig { params(constant: ::Module, class_name: T.nilable(::String)).returns(T.nilable(::String)) }
|
1918
2033
|
def name_of_proxy_target(constant, class_name); end
|
1919
2034
|
|
1920
|
-
#
|
2035
|
+
# Events handling
|
2036
|
+
#
|
2037
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#172
|
1921
2038
|
sig { returns(::Tapioca::Gem::Event) }
|
1922
2039
|
def next_event; end
|
1923
2040
|
|
1924
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2041
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#200
|
1925
2042
|
sig { params(event: ::Tapioca::Gem::ConstantFound).void }
|
1926
2043
|
def on_constant(event); end
|
1927
2044
|
|
1928
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2045
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#212
|
1929
2046
|
sig { params(event: ::Tapioca::Gem::NodeAdded).void }
|
1930
2047
|
def on_node(event); end
|
1931
2048
|
|
1932
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2049
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#191
|
1933
2050
|
sig { params(event: ::Tapioca::Gem::SymbolFound).void }
|
1934
2051
|
def on_symbol(event); end
|
1935
2052
|
|
1936
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
2053
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#453
|
2054
|
+
sig { params(name: ::String).void }
|
2055
|
+
def seen!(name); end
|
2056
|
+
|
2057
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#458
|
1937
2058
|
sig { params(name: ::String).returns(T::Boolean) }
|
1938
2059
|
def seen?(name); end
|
2060
|
+
|
2061
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#393
|
2062
|
+
sig { params(name: ::String, constant: ::Module).returns(T::Boolean) }
|
2063
|
+
def skip_alias?(name, constant); end
|
2064
|
+
|
2065
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#381
|
2066
|
+
sig { params(name: ::String, constant: T.anything).returns(T::Boolean) }
|
2067
|
+
def skip_constant?(name, constant); end
|
2068
|
+
|
2069
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#409
|
2070
|
+
sig { params(name: ::String, constant: ::Module).returns(T::Boolean) }
|
2071
|
+
def skip_foreign_constant?(name, constant); end
|
2072
|
+
|
2073
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#414
|
2074
|
+
sig { params(name: ::String, constant: ::Module).returns(T::Boolean) }
|
2075
|
+
def skip_module?(name, constant); end
|
2076
|
+
|
2077
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#401
|
2078
|
+
sig { params(name: ::String, constant: ::BasicObject).returns(T::Boolean) }
|
2079
|
+
def skip_object?(name, constant); end
|
2080
|
+
|
2081
|
+
# Constants and properties filtering
|
2082
|
+
#
|
2083
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#376
|
2084
|
+
sig { params(name: ::String).returns(T::Boolean) }
|
2085
|
+
def skip_symbol?(name); end
|
1939
2086
|
end
|
1940
2087
|
|
2088
|
+
# this looks something like:
|
2089
|
+
# "(eval at /path/to/file.rb:123)"
|
2090
|
+
# and we are just interested in the "/path/to/file.rb" part
|
2091
|
+
#
|
2092
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#116
|
2093
|
+
Tapioca::Gem::Pipeline::EVAL_SOURCE_FILE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
2094
|
+
|
1941
2095
|
# source://tapioca//lib/tapioca/gem/pipeline.rb#11
|
1942
2096
|
Tapioca::Gem::Pipeline::IGNORED_SYMBOLS = T.let(T.unsafe(nil), Array)
|
1943
2097
|
|
@@ -2058,19 +2212,23 @@ class Tapioca::Gemfile::GemSpec
|
|
2058
2212
|
sig { params(other: ::BasicObject).returns(T::Boolean) }
|
2059
2213
|
def ==(other); end
|
2060
2214
|
|
2061
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2215
|
+
# source://tapioca//lib/tapioca/gemfile.rb#170
|
2062
2216
|
sig { params(path: ::String).returns(T::Boolean) }
|
2063
2217
|
def contains_path?(path); end
|
2064
2218
|
|
2065
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2219
|
+
# source://tapioca//lib/tapioca/gemfile.rb#160
|
2220
|
+
sig { returns(T::Array[::Gem::Dependency]) }
|
2221
|
+
def dependencies; end
|
2222
|
+
|
2223
|
+
# source://tapioca//lib/tapioca/gemfile.rb#189
|
2066
2224
|
sig { returns(T::Boolean) }
|
2067
2225
|
def export_rbi_files?; end
|
2068
2226
|
|
2069
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2227
|
+
# source://tapioca//lib/tapioca/gemfile.rb#184
|
2070
2228
|
sig { returns(T::Array[::String]) }
|
2071
2229
|
def exported_rbi_files; end
|
2072
2230
|
|
2073
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2231
|
+
# source://tapioca//lib/tapioca/gemfile.rb#194
|
2074
2232
|
sig { returns(::RBI::MergeTree) }
|
2075
2233
|
def exported_rbi_tree; end
|
2076
2234
|
|
@@ -2090,15 +2248,15 @@ class Tapioca::Gemfile::GemSpec
|
|
2090
2248
|
sig { returns(::String) }
|
2091
2249
|
def name; end
|
2092
2250
|
|
2093
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2251
|
+
# source://tapioca//lib/tapioca/gemfile.rb#179
|
2094
2252
|
sig { void }
|
2095
2253
|
def parse_yard_docs; end
|
2096
2254
|
|
2097
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2255
|
+
# source://tapioca//lib/tapioca/gemfile.rb#165
|
2098
2256
|
sig { returns(::String) }
|
2099
2257
|
def rbi_file_name; end
|
2100
2258
|
|
2101
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2259
|
+
# source://tapioca//lib/tapioca/gemfile.rb#206
|
2102
2260
|
sig { params(file: ::Pathname).returns(::Pathname) }
|
2103
2261
|
def relative_path_for(file); end
|
2104
2262
|
|
@@ -2109,31 +2267,31 @@ class Tapioca::Gemfile::GemSpec
|
|
2109
2267
|
|
2110
2268
|
private
|
2111
2269
|
|
2112
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2270
|
+
# source://tapioca//lib/tapioca/gemfile.rb#217
|
2113
2271
|
sig { returns(T::Array[::Pathname]) }
|
2114
2272
|
def collect_files; end
|
2115
2273
|
|
2116
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2274
|
+
# source://tapioca//lib/tapioca/gemfile.rb#232
|
2117
2275
|
sig { returns(T.nilable(T::Boolean)) }
|
2118
2276
|
def default_gem?; end
|
2119
2277
|
|
2120
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2278
|
+
# source://tapioca//lib/tapioca/gemfile.rb#291
|
2121
2279
|
sig { returns(T::Boolean) }
|
2122
2280
|
def gem_ignored?; end
|
2123
2281
|
|
2124
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2282
|
+
# source://tapioca//lib/tapioca/gemfile.rb#270
|
2125
2283
|
sig { params(path: ::String).returns(T::Boolean) }
|
2126
2284
|
def has_parent_gemspec?(path); end
|
2127
2285
|
|
2128
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2286
|
+
# source://tapioca//lib/tapioca/gemfile.rb#237
|
2129
2287
|
sig { returns(::Regexp) }
|
2130
2288
|
def require_paths_prefix_matcher; end
|
2131
2289
|
|
2132
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2290
|
+
# source://tapioca//lib/tapioca/gemfile.rb#249
|
2133
2291
|
sig { params(file: ::String).returns(::Pathname) }
|
2134
2292
|
def resolve_to_ruby_lib_dir(file); end
|
2135
2293
|
|
2136
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2294
|
+
# source://tapioca//lib/tapioca/gemfile.rb#263
|
2137
2295
|
sig { returns(::String) }
|
2138
2296
|
def version_string; end
|
2139
2297
|
|
@@ -2172,11 +2330,11 @@ class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
|
2172
2330
|
|
2173
2331
|
protected
|
2174
2332
|
|
2175
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2333
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#81
|
2176
2334
|
sig { void }
|
2177
2335
|
def load_application; end
|
2178
2336
|
|
2179
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2337
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#63
|
2180
2338
|
sig { void }
|
2181
2339
|
def load_dsl_compilers; end
|
2182
2340
|
|
@@ -2536,7 +2694,7 @@ module Tapioca::Runtime; end
|
|
2536
2694
|
# available, it implements finding the attached class of a singleton
|
2537
2695
|
# class by iterating through ObjectSpace.
|
2538
2696
|
module Tapioca::Runtime::AttachedClassOf
|
2539
|
-
# source://tapioca//lib/tapioca/runtime/
|
2697
|
+
# source://tapioca//lib/tapioca/runtime/attached_class_of_legacy.rb#17
|
2540
2698
|
sig { params(singleton_class: ::Class).returns(T.nilable(::Module)) }
|
2541
2699
|
def attached_class_of(singleton_class); end
|
2542
2700
|
end
|
@@ -3164,10 +3322,10 @@ module Tapioca::Static::SymbolLoader
|
|
3164
3322
|
|
3165
3323
|
# @return [Array<T.class_of(Rails::Engine)>]
|
3166
3324
|
#
|
3167
|
-
# source://sorbet-runtime/0.5.
|
3325
|
+
# source://sorbet-runtime/0.5.11089/lib/types/private/methods/_methods.rb#255
|
3168
3326
|
def engines(*args, **_arg1, &blk); end
|
3169
3327
|
|
3170
|
-
# source://tapioca//lib/tapioca/static/symbol_loader.rb#
|
3328
|
+
# source://tapioca//lib/tapioca/static/symbol_loader.rb#74
|
3171
3329
|
sig { params(input: ::String, table_type: ::String).returns(::String) }
|
3172
3330
|
def symbol_table_json_from(input, table_type: T.unsafe(nil)); end
|
3173
3331
|
end
|
@@ -3242,11 +3400,11 @@ class Tapioca::TypeVariableModule < ::Module
|
|
3242
3400
|
end
|
3243
3401
|
def initialize(context, type, variance, fixed, lower, upper, bounds_proc); end
|
3244
3402
|
|
3245
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
3403
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#218
|
3246
3404
|
sig { returns(::Tapioca::TypeVariable) }
|
3247
3405
|
def coerce_to_type_variable; end
|
3248
3406
|
|
3249
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
3407
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#198
|
3250
3408
|
sig { returns(T::Boolean) }
|
3251
3409
|
def fixed?; end
|
3252
3410
|
|
@@ -3254,7 +3412,7 @@ class Tapioca::TypeVariableModule < ::Module
|
|
3254
3412
|
sig { returns(T.nilable(::String)) }
|
3255
3413
|
def name; end
|
3256
3414
|
|
3257
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
3415
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#203
|
3258
3416
|
sig { returns(::String) }
|
3259
3417
|
def serialize; end
|
3260
3418
|
|
@@ -3264,11 +3422,11 @@ class Tapioca::TypeVariableModule < ::Module
|
|
3264
3422
|
|
3265
3423
|
private
|
3266
3424
|
|
3267
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
3425
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#238
|
3268
3426
|
sig { returns(T::Hash[::Symbol, T.untyped]) }
|
3269
3427
|
def bounds; end
|
3270
3428
|
|
3271
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
3429
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#228
|
3272
3430
|
sig do
|
3273
3431
|
params(
|
3274
3432
|
fixed: T.untyped,
|
@@ -3277,15 +3435,6 @@ class Tapioca::TypeVariableModule < ::Module
|
|
3277
3435
|
).returns(T.proc.returns(T::Hash[::Symbol, T.untyped]))
|
3278
3436
|
end
|
3279
3437
|
def build_bounds_proc(fixed, lower, upper); end
|
3280
|
-
|
3281
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#255
|
3282
|
-
sig do
|
3283
|
-
type_parameters(:Result)
|
3284
|
-
.params(
|
3285
|
-
block: T.proc.returns(T.type_parameter(:Result))
|
3286
|
-
).returns(T.type_parameter(:Result))
|
3287
|
-
end
|
3288
|
-
def with_bound_name_pre_3_0(&block); end
|
3289
3438
|
end
|
3290
3439
|
|
3291
3440
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#154
|
@@ -3311,14 +3460,14 @@ class URI::Source < ::URI::File
|
|
3311
3460
|
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
|
3312
3461
|
def check_host(v); end
|
3313
3462
|
|
3314
|
-
# source://uri/0.
|
3463
|
+
# source://uri/0.11.0/uri/generic.rb#243
|
3315
3464
|
def gem_name; end
|
3316
3465
|
|
3317
3466
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#25
|
3318
3467
|
sig { returns(T.nilable(::String)) }
|
3319
3468
|
def gem_version; end
|
3320
3469
|
|
3321
|
-
# source://uri/0.
|
3470
|
+
# source://uri/0.11.0/uri/generic.rb#283
|
3322
3471
|
def line_number; end
|
3323
3472
|
|
3324
3473
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#51
|
@@ -3345,5 +3494,3 @@ end
|
|
3345
3494
|
|
3346
3495
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#10
|
3347
3496
|
URI::Source::COMPONENT = T.let(T.unsafe(nil), Array)
|
3348
|
-
|
3349
|
-
class URI::WSS < ::URI::WS; end
|