activerecord-ejection_seat 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +41 -52
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.2.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.2.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.0.rbi → concurrent-ruby@1.2.2.rbi} +64 -89
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +50 -35
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.1.0.rbi → parser@3.2.2.1.rbi} +164 -164
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.7.0.rbi → regexp_parser@2.8.0.rbi} +617 -449
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.26.0.rbi → rubocop-ast@1.28.1.rbi} +79 -60
- data/sorbet/rbi/gems/{rubocop-minitest@0.27.0.rbi → rubocop-minitest@0.31.0.rbi} +364 -222
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -15
- data/sorbet/rbi/gems/{rubocop@1.45.1.rbi → rubocop@1.51.0.rbi} +2170 -1402
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +27 -33
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.4.0.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@6.0.0.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.2.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -105,7 +105,7 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
105
105
|
def create_module(name, &block); end
|
106
106
|
|
107
107
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#9
|
108
|
-
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).
|
108
|
+
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) }
|
109
109
|
def create_path(constant, &block); end
|
110
110
|
|
111
111
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#74
|
@@ -185,14 +185,11 @@ class RBI::TypedParam < ::T::Struct
|
|
185
185
|
const :type, ::String
|
186
186
|
|
187
187
|
class << self
|
188
|
-
# source://sorbet-runtime/0.5.
|
188
|
+
# source://sorbet-runtime/0.5.10827/lib/types/struct.rb#13
|
189
189
|
def inherited(s); end
|
190
190
|
end
|
191
191
|
end
|
192
192
|
|
193
|
-
# source://rbi/0.0.16/lib/rbi/version.rb#5
|
194
|
-
RBI::VERSION = T.let(T.unsafe(nil), String)
|
195
|
-
|
196
193
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#5
|
197
194
|
module T::Generic
|
198
195
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#13
|
@@ -232,9 +229,6 @@ module T::Private::Methods
|
|
232
229
|
end
|
233
230
|
end
|
234
231
|
|
235
|
-
# source://sorbet-runtime/0.5.10624/lib/types/private/methods/_methods.rb#29
|
236
|
-
T::Private::Methods::ARG_NOT_PROVIDED = T.let(T.unsafe(nil), Object)
|
237
|
-
|
238
232
|
class T::Private::Methods::Declaration < ::Struct
|
239
233
|
def bind; end
|
240
234
|
def bind=(_); end
|
@@ -289,18 +283,12 @@ class T::Private::Methods::DeclarationBlock < ::Struct
|
|
289
283
|
end
|
290
284
|
end
|
291
285
|
|
292
|
-
# source://sorbet-runtime/0.5.10624/lib/types/private/methods/_methods.rb#30
|
293
|
-
T::Private::Methods::PROC_TYPE = T.let(T.unsafe(nil), Object)
|
294
|
-
|
295
286
|
# source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#29
|
296
287
|
module T::Private::Methods::ProcBindPatch
|
297
288
|
# source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#30
|
298
289
|
def finalize_proc(decl); end
|
299
290
|
end
|
300
291
|
|
301
|
-
# source://sorbet-runtime/0.5.10624/lib/types/private/methods/_methods.rb#581
|
302
|
-
T::Private::Methods::TOP_SELF = T.let(T.unsafe(nil), Object)
|
303
|
-
|
304
292
|
class T::Types::Proc < ::T::Types::Base; end
|
305
293
|
|
306
294
|
# source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#6
|
@@ -387,22 +375,22 @@ class Tapioca::Cli < ::Thor
|
|
387
375
|
include ::Tapioca::ConfigHelper
|
388
376
|
include ::Tapioca::EnvHelper
|
389
377
|
|
390
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
378
|
+
# source://tapioca//lib/tapioca/cli.rb#336
|
391
379
|
def __print_version; end
|
392
380
|
|
393
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
381
|
+
# source://tapioca//lib/tapioca/cli.rb#316
|
394
382
|
def annotations; end
|
395
383
|
|
396
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
384
|
+
# source://tapioca//lib/tapioca/cli.rb#286
|
397
385
|
def check_shims; end
|
398
386
|
|
399
387
|
# source://tapioca//lib/tapioca/cli.rb#41
|
400
388
|
def configure; end
|
401
389
|
|
402
390
|
# source://tapioca//lib/tapioca/cli.rb#133
|
403
|
-
def dsl(*
|
391
|
+
def dsl(*constant_or_paths); end
|
404
392
|
|
405
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
393
|
+
# source://tapioca//lib/tapioca/cli.rb#238
|
406
394
|
def gem(*gems); end
|
407
395
|
|
408
396
|
# source://tapioca//lib/tapioca/cli.rb#27
|
@@ -416,11 +404,11 @@ class Tapioca::Cli < ::Thor
|
|
416
404
|
|
417
405
|
private
|
418
406
|
|
419
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
407
|
+
# source://tapioca//lib/tapioca/cli.rb#350
|
420
408
|
def print_init_next_steps; end
|
421
409
|
|
422
410
|
class << self
|
423
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
411
|
+
# source://tapioca//lib/tapioca/cli.rb#342
|
424
412
|
def exit_on_failure?; end
|
425
413
|
end
|
426
414
|
end
|
@@ -472,7 +460,7 @@ class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracke
|
|
472
460
|
sig { params(name: ::String, content: ::String).returns(::String) }
|
473
461
|
def add_header(name, content); end
|
474
462
|
|
475
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
463
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#211
|
476
464
|
sig { params(name: ::String, content: ::String).returns(::String) }
|
477
465
|
def apply_typed_override(name, content); end
|
478
466
|
|
@@ -508,7 +496,7 @@ class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracke
|
|
508
496
|
sig { returns(T::Array[::String]) }
|
509
497
|
def list_gemfile_gems; end
|
510
498
|
|
511
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
499
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#223
|
512
500
|
sig { params(gem_name: ::String, contents: T::Array[::String]).returns(T.nilable(::String)) }
|
513
501
|
def merge_files(gem_name, contents); end
|
514
502
|
|
@@ -516,15 +504,15 @@ class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracke
|
|
516
504
|
sig { params(project_gems: T::Array[::String]).void }
|
517
505
|
def remove_expired_annotations(project_gems); end
|
518
506
|
|
519
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
507
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#250
|
520
508
|
sig { returns(T::Hash[::String, T.nilable(::String)]) }
|
521
509
|
def repo_tokens; end
|
522
510
|
|
523
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
511
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#278
|
524
512
|
sig { params(path: ::String, repo_uri: ::String, message: ::String).void }
|
525
513
|
def say_http_error(path, repo_uri, message:); end
|
526
514
|
|
527
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
515
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#262
|
528
516
|
sig { params(repo_uri: ::String).returns(T.nilable(::String)) }
|
529
517
|
def token_for(repo_uri); end
|
530
518
|
end
|
@@ -576,7 +564,7 @@ class Tapioca::Commands::Command
|
|
576
564
|
sig { abstract.void }
|
577
565
|
def execute; end
|
578
566
|
|
579
|
-
# source://thor/1.2.
|
567
|
+
# source://thor/1.2.2/lib/thor/base.rb#139
|
580
568
|
sig { returns(::Thor::Actions) }
|
581
569
|
def file_writer; end
|
582
570
|
|
@@ -601,6 +589,11 @@ class Tapioca::Commands::Command
|
|
601
589
|
# source://tapioca//lib/tapioca/commands/command.rb#56
|
602
590
|
sig { params(path: T.any(::Pathname, ::String), verbose: T::Boolean).void }
|
603
591
|
def remove_file(path, verbose: T.unsafe(nil)); end
|
592
|
+
|
593
|
+
class << self
|
594
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/abstract/declare.rb#37
|
595
|
+
def new(*args, **_arg1, &blk); end
|
596
|
+
end
|
604
597
|
end
|
605
598
|
|
606
599
|
# source://tapioca//lib/tapioca/commands/command.rb#10
|
@@ -618,6 +611,11 @@ class Tapioca::Commands::CommandWithoutTracker < ::Tapioca::Commands::Command
|
|
618
611
|
# source://tapioca//lib/tapioca/commands/command_without_tracker.rb#12
|
619
612
|
sig { void }
|
620
613
|
def initialize; end
|
614
|
+
|
615
|
+
class << self
|
616
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/abstract/declare.rb#37
|
617
|
+
def new(*args, **_arg1, &blk); end
|
618
|
+
end
|
621
619
|
end
|
622
620
|
|
623
621
|
# source://tapioca//lib/tapioca/commands/configure.rb#6
|
@@ -632,11 +630,11 @@ class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
|
|
632
630
|
|
633
631
|
private
|
634
632
|
|
635
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
633
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#79
|
636
634
|
sig { void }
|
637
635
|
def create_binstub; end
|
638
636
|
|
639
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
637
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#69
|
640
638
|
sig { void }
|
641
639
|
def create_post_require; end
|
642
640
|
|
@@ -644,15 +642,15 @@ class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
|
|
644
642
|
sig { void }
|
645
643
|
def create_sorbet_config; end
|
646
644
|
|
647
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
645
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#50
|
648
646
|
sig { void }
|
649
647
|
def create_tapioca_config; end
|
650
648
|
|
651
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
649
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#92
|
652
650
|
sig { returns(::Bundler::Installer) }
|
653
651
|
def installer; end
|
654
652
|
|
655
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
653
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#97
|
656
654
|
sig { returns(T.any(::Bundler::StubSpecification, ::Gem::Specification)) }
|
657
655
|
def spec; end
|
658
656
|
end
|
@@ -662,10 +660,11 @@ class Tapioca::Commands::Dsl < ::Tapioca::Commands::CommandWithoutTracker
|
|
662
660
|
include ::Tapioca::SorbetHelper
|
663
661
|
include ::Tapioca::RBIFilesHelper
|
664
662
|
|
665
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
663
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#29
|
666
664
|
sig do
|
667
665
|
params(
|
668
666
|
requested_constants: T::Array[::String],
|
667
|
+
requested_paths: T::Array[::Pathname],
|
669
668
|
outpath: ::Pathname,
|
670
669
|
only: T::Array[::String],
|
671
670
|
exclude: T::Array[::String],
|
@@ -681,23 +680,23 @@ class Tapioca::Commands::Dsl < ::Tapioca::Commands::CommandWithoutTracker
|
|
681
680
|
app_root: ::String
|
682
681
|
).void
|
683
682
|
end
|
684
|
-
def initialize(requested_constants:, 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)); end
|
683
|
+
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)); end
|
685
684
|
|
686
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
685
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#93
|
687
686
|
sig { override.void }
|
688
687
|
def execute; end
|
689
688
|
|
690
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
689
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#66
|
691
690
|
sig { void }
|
692
691
|
def list_compilers; end
|
693
692
|
|
694
693
|
private
|
695
694
|
|
696
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
695
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#325
|
697
696
|
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
698
697
|
def build_error_for_files(cause, files); end
|
699
698
|
|
700
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
699
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#249
|
701
700
|
sig do
|
702
701
|
params(
|
703
702
|
constant_name: ::String,
|
@@ -708,59 +707,63 @@ class Tapioca::Commands::Dsl < ::Tapioca::Commands::CommandWithoutTracker
|
|
708
707
|
end
|
709
708
|
def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end
|
710
709
|
|
711
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
712
|
-
sig { params(constant_names: T::Array[::String]).returns(T::Array[::Module]) }
|
713
|
-
def constantize(constant_names); end
|
710
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#187
|
711
|
+
sig { params(constant_names: T::Array[::String], ignore_missing: T::Boolean).returns(T::Array[::Module]) }
|
712
|
+
def constantize(constant_names, ignore_missing: T.unsafe(nil)); end
|
714
713
|
|
715
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
714
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#210
|
716
715
|
sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
717
716
|
def constantize_compilers(compiler_names); end
|
718
717
|
|
719
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
718
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#385
|
719
|
+
sig { returns(T::Array[::String]) }
|
720
|
+
def constants_from_requested_paths; end
|
721
|
+
|
722
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#158
|
720
723
|
sig { returns(::Tapioca::Dsl::Pipeline) }
|
721
724
|
def create_pipeline; end
|
722
725
|
|
723
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
726
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#288
|
724
727
|
sig { params(constant_name: ::String).returns(::Pathname) }
|
725
728
|
def dsl_rbi_filename(constant_name); end
|
726
729
|
|
727
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
730
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#173
|
728
731
|
sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) }
|
729
732
|
def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end
|
730
733
|
|
731
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
734
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#380
|
732
735
|
sig { params(constant: ::String).returns(::String) }
|
733
736
|
def generate_command_for(constant); end
|
734
737
|
|
735
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
738
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#267
|
736
739
|
sig { params(dir: ::Pathname).void }
|
737
740
|
def perform_dsl_verification(dir); end
|
738
741
|
|
739
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
742
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#276
|
740
743
|
sig { params(files: T::Set[::Pathname]).void }
|
741
744
|
def purge_stale_dsl_rbi_files(files); end
|
742
745
|
|
743
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
746
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#375
|
744
747
|
sig { params(constant: ::String).returns(::String) }
|
745
748
|
def rbi_filename_for(constant); end
|
746
749
|
|
747
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
750
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#356
|
748
751
|
sig { params(path: ::Pathname).returns(T::Array[::Pathname]) }
|
749
752
|
def rbi_files_in(path); end
|
750
753
|
|
751
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
754
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#334
|
752
755
|
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
753
756
|
def report_diff_and_exit_if_out_of_date(diff, command); end
|
754
757
|
|
755
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
758
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#229
|
756
759
|
sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) }
|
757
760
|
def resolve(name); end
|
758
761
|
|
759
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
762
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#363
|
760
763
|
sig { params(class_name: ::String).returns(::String) }
|
761
764
|
def underscore(class_name); end
|
762
765
|
|
763
|
-
# source://tapioca//lib/tapioca/commands/dsl.rb#
|
766
|
+
# source://tapioca//lib/tapioca/commands/dsl.rb#293
|
764
767
|
sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) }
|
765
768
|
def verify_dsl_rbi(tmp_dir:); end
|
766
769
|
end
|
@@ -974,7 +977,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|
974
977
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
975
978
|
|
976
979
|
class << self
|
977
|
-
# source://sorbet-runtime/0.5.
|
980
|
+
# source://sorbet-runtime/0.5.10827/lib/types/struct.rb#13
|
978
981
|
def inherited(s); end
|
979
982
|
end
|
980
983
|
end
|
@@ -985,7 +988,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|
985
988
|
const :colors, T::Array[::Symbol]
|
986
989
|
|
987
990
|
class << self
|
988
|
-
# source://sorbet-runtime/0.5.
|
991
|
+
# source://sorbet-runtime/0.5.10827/lib/types/struct.rb#13
|
989
992
|
def inherited(s); end
|
990
993
|
end
|
991
994
|
end
|
@@ -1033,7 +1036,9 @@ class Tapioca::Dsl::Compiler
|
|
1033
1036
|
extend T::Generic
|
1034
1037
|
include ::Tapioca::SorbetHelper
|
1035
1038
|
include ::Tapioca::RBIHelper
|
1039
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1036
1040
|
include ::Tapioca::Runtime::Reflection
|
1041
|
+
extend ::Tapioca::Runtime::AttachedClassOf
|
1037
1042
|
extend ::Tapioca::Runtime::Reflection
|
1038
1043
|
|
1039
1044
|
abstract!
|
@@ -1099,6 +1104,9 @@ class Tapioca::Dsl::Compiler
|
|
1099
1104
|
sig { params(constant: ::Module).returns(T::Boolean) }
|
1100
1105
|
def handles?(constant); end
|
1101
1106
|
|
1107
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/abstract/declare.rb#37
|
1108
|
+
def new(*args, **_arg1, &blk); end
|
1109
|
+
|
1102
1110
|
# source://tapioca//lib/tapioca/dsl/compiler.rb#37
|
1103
1111
|
sig { returns(T::Set[::Module]) }
|
1104
1112
|
def processable_constants; end
|
@@ -1130,39 +1138,40 @@ Tapioca::Dsl::Compilers::NAMESPACES = T.let(T.unsafe(nil), Array)
|
|
1130
1138
|
|
1131
1139
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#6
|
1132
1140
|
class Tapioca::Dsl::Pipeline
|
1133
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1141
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#34
|
1134
1142
|
sig do
|
1135
1143
|
params(
|
1136
1144
|
requested_constants: T::Array[::Module],
|
1145
|
+
requested_paths: T::Array[::Pathname],
|
1137
1146
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
1138
1147
|
excluded_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
1139
1148
|
error_handler: T.proc.params(error: ::String).void,
|
1140
1149
|
number_of_workers: T.nilable(::Integer)
|
1141
1150
|
).void
|
1142
1151
|
end
|
1143
|
-
def initialize(requested_constants:, requested_compilers: T.unsafe(nil), excluded_compilers: T.unsafe(nil), error_handler: T.unsafe(nil), number_of_workers: T.unsafe(nil)); end
|
1152
|
+
def initialize(requested_constants:, requested_paths: T.unsafe(nil), requested_compilers: T.unsafe(nil), excluded_compilers: T.unsafe(nil), error_handler: T.unsafe(nil), number_of_workers: T.unsafe(nil)); end
|
1144
1153
|
|
1145
1154
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#10
|
1146
1155
|
sig { returns(T::Enumerable[T.class_of(Tapioca::Dsl::Compiler)]) }
|
1147
1156
|
def active_compilers; end
|
1148
1157
|
|
1149
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1158
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#93
|
1150
1159
|
sig { params(error: ::String).void }
|
1151
1160
|
def add_error(error); end
|
1152
1161
|
|
1153
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1162
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#98
|
1154
1163
|
sig { params(compiler_name: ::String).returns(T::Boolean) }
|
1155
1164
|
def compiler_enabled?(compiler_name); end
|
1156
1165
|
|
1157
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1166
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#107
|
1158
1167
|
sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
1159
1168
|
def compilers; end
|
1160
1169
|
|
1161
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1170
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#19
|
1162
1171
|
sig { returns(T.proc.params(error: ::String).void) }
|
1163
1172
|
def error_handler; end
|
1164
1173
|
|
1165
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1174
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#22
|
1166
1175
|
sig { returns(T::Array[::String]) }
|
1167
1176
|
def errors; end
|
1168
1177
|
|
@@ -1170,7 +1179,11 @@ class Tapioca::Dsl::Pipeline
|
|
1170
1179
|
sig { returns(T::Array[::Module]) }
|
1171
1180
|
def requested_constants; end
|
1172
1181
|
|
1173
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1182
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#16
|
1183
|
+
sig { returns(T::Array[::Pathname]) }
|
1184
|
+
def requested_paths; end
|
1185
|
+
|
1186
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#58
|
1174
1187
|
sig do
|
1175
1188
|
type_parameters(:T)
|
1176
1189
|
.params(
|
@@ -1181,11 +1194,15 @@ class Tapioca::Dsl::Pipeline
|
|
1181
1194
|
|
1182
1195
|
private
|
1183
1196
|
|
1184
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1197
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#193
|
1198
|
+
sig { void }
|
1199
|
+
def abort_if_pending_migrations!; end
|
1200
|
+
|
1201
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#139
|
1185
1202
|
sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) }
|
1186
1203
|
def filter_anonymous_and_reloaded_constants(constants); end
|
1187
1204
|
|
1188
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1205
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#122
|
1189
1206
|
sig do
|
1190
1207
|
params(
|
1191
1208
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
@@ -1194,15 +1211,20 @@ class Tapioca::Dsl::Pipeline
|
|
1194
1211
|
end
|
1195
1212
|
def gather_active_compilers(requested_compilers, excluded_compilers); end
|
1196
1213
|
|
1197
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1198
|
-
sig
|
1199
|
-
|
1214
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#130
|
1215
|
+
sig do
|
1216
|
+
params(
|
1217
|
+
requested_constants: T::Array[::Module],
|
1218
|
+
requested_paths: T::Array[::Pathname]
|
1219
|
+
).returns(T::Set[::Module])
|
1220
|
+
end
|
1221
|
+
def gather_constants(requested_constants, requested_paths); end
|
1200
1222
|
|
1201
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1223
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#167
|
1202
1224
|
sig { params(constant: ::Module).returns(T.nilable(::RBI::File)) }
|
1203
1225
|
def rbi_for_constant(constant); end
|
1204
1226
|
|
1205
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1227
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#186
|
1206
1228
|
sig { params(error: ::String).returns(T.noreturn) }
|
1207
1229
|
def report_error(error); end
|
1208
1230
|
end
|
@@ -1232,6 +1254,12 @@ class Tapioca::Executor
|
|
1232
1254
|
).returns(T::Array[T.type_parameter(:T)])
|
1233
1255
|
end
|
1234
1256
|
def run_in_parallel(&block); end
|
1257
|
+
|
1258
|
+
private
|
1259
|
+
|
1260
|
+
# source://tapioca//lib/tapioca/executor.rb#37
|
1261
|
+
sig { returns(::Integer) }
|
1262
|
+
def max_processors; end
|
1235
1263
|
end
|
1236
1264
|
|
1237
1265
|
# source://tapioca//lib/tapioca/executor.rb#8
|
@@ -1272,8 +1300,10 @@ end
|
|
1272
1300
|
class Tapioca::Gem::Event
|
1273
1301
|
abstract!
|
1274
1302
|
|
1275
|
-
|
1276
|
-
|
1303
|
+
class << self
|
1304
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/abstract/declare.rb#37
|
1305
|
+
def new(*args, **_arg1, &blk); end
|
1306
|
+
end
|
1277
1307
|
end
|
1278
1308
|
|
1279
1309
|
# source://tapioca//lib/tapioca/gem/events.rb#43
|
@@ -1324,10 +1354,16 @@ class Tapioca::Gem::Listeners::Base
|
|
1324
1354
|
# source://tapioca//lib/tapioca/gem/listeners/base.rb#41
|
1325
1355
|
sig { params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
1326
1356
|
def on_scope(event); end
|
1357
|
+
|
1358
|
+
class << self
|
1359
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/abstract/declare.rb#37
|
1360
|
+
def new(*args, **_arg1, &blk); end
|
1361
|
+
end
|
1327
1362
|
end
|
1328
1363
|
|
1329
1364
|
# source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#7
|
1330
1365
|
class Tapioca::Gem::Listeners::DynamicMixins < ::Tapioca::Gem::Listeners::Base
|
1366
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1331
1367
|
include ::Tapioca::Runtime::Reflection
|
1332
1368
|
|
1333
1369
|
private
|
@@ -1343,6 +1379,7 @@ end
|
|
1343
1379
|
|
1344
1380
|
# source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#7
|
1345
1381
|
class Tapioca::Gem::Listeners::ForeignConstants < ::Tapioca::Gem::Listeners::Base
|
1382
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1346
1383
|
include ::Tapioca::Runtime::Reflection
|
1347
1384
|
|
1348
1385
|
private
|
@@ -1364,6 +1401,7 @@ end
|
|
1364
1401
|
class Tapioca::Gem::Listeners::Methods < ::Tapioca::Gem::Listeners::Base
|
1365
1402
|
include ::Tapioca::SorbetHelper
|
1366
1403
|
include ::Tapioca::RBIHelper
|
1404
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1367
1405
|
include ::Tapioca::Runtime::Reflection
|
1368
1406
|
|
1369
1407
|
private
|
@@ -1421,6 +1459,7 @@ end
|
|
1421
1459
|
|
1422
1460
|
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#7
|
1423
1461
|
class Tapioca::Gem::Listeners::Mixins < ::Tapioca::Gem::Listeners::Base
|
1462
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1424
1463
|
include ::Tapioca::Runtime::Reflection
|
1425
1464
|
|
1426
1465
|
private
|
@@ -1461,6 +1500,7 @@ end
|
|
1461
1500
|
|
1462
1501
|
# source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#7
|
1463
1502
|
class Tapioca::Gem::Listeners::RemoveEmptyPayloadScopes < ::Tapioca::Gem::Listeners::Base
|
1503
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1464
1504
|
include ::Tapioca::Runtime::Reflection
|
1465
1505
|
|
1466
1506
|
private
|
@@ -1489,6 +1529,7 @@ end
|
|
1489
1529
|
|
1490
1530
|
# source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#7
|
1491
1531
|
class Tapioca::Gem::Listeners::SorbetHelpers < ::Tapioca::Gem::Listeners::Base
|
1532
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1492
1533
|
include ::Tapioca::Runtime::Reflection
|
1493
1534
|
|
1494
1535
|
private
|
@@ -1530,6 +1571,7 @@ end
|
|
1530
1571
|
|
1531
1572
|
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#7
|
1532
1573
|
class Tapioca::Gem::Listeners::SorbetSignatures < ::Tapioca::Gem::Listeners::Base
|
1574
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1533
1575
|
include ::Tapioca::Runtime::Reflection
|
1534
1576
|
include ::Tapioca::SorbetHelper
|
1535
1577
|
include ::Tapioca::RBIHelper
|
@@ -1558,6 +1600,7 @@ Tapioca::Gem::Listeners::SorbetSignatures::TYPE_PARAMETER_MATCHER = T.let(T.unsa
|
|
1558
1600
|
|
1559
1601
|
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#7
|
1560
1602
|
class Tapioca::Gem::Listeners::SorbetTypeVariables < ::Tapioca::Gem::Listeners::Base
|
1603
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1561
1604
|
include ::Tapioca::Runtime::Reflection
|
1562
1605
|
|
1563
1606
|
private
|
@@ -1598,6 +1641,7 @@ end
|
|
1598
1641
|
|
1599
1642
|
# source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#7
|
1600
1643
|
class Tapioca::Gem::Listeners::Subconstants < ::Tapioca::Gem::Listeners::Base
|
1644
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1601
1645
|
include ::Tapioca::Runtime::Reflection
|
1602
1646
|
|
1603
1647
|
private
|
@@ -1619,23 +1663,23 @@ class Tapioca::Gem::Listeners::YardDoc < ::Tapioca::Gem::Listeners::Base
|
|
1619
1663
|
|
1620
1664
|
private
|
1621
1665
|
|
1622
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
1666
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#55
|
1623
1667
|
sig { params(name: ::String, sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) }
|
1624
1668
|
def documentation_comments(name, sigs: T.unsafe(nil)); end
|
1625
1669
|
|
1626
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
1670
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#99
|
1627
1671
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
1628
1672
|
def ignore?(event); end
|
1629
1673
|
|
1630
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
1674
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#36
|
1631
1675
|
sig { override.params(event: ::Tapioca::Gem::ConstNodeAdded).void }
|
1632
1676
|
def on_const(event); end
|
1633
1677
|
|
1634
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
1678
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#46
|
1635
1679
|
sig { override.params(event: ::Tapioca::Gem::MethodNodeAdded).void }
|
1636
1680
|
def on_method(event); end
|
1637
1681
|
|
1638
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
1682
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#41
|
1639
1683
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
1640
1684
|
def on_scope(event); end
|
1641
1685
|
end
|
@@ -1695,10 +1739,16 @@ class Tapioca::Gem::NodeAdded < ::Tapioca::Gem::Event
|
|
1695
1739
|
# source://tapioca//lib/tapioca/gem/events.rb#64
|
1696
1740
|
sig { returns(::String) }
|
1697
1741
|
def symbol; end
|
1742
|
+
|
1743
|
+
class << self
|
1744
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/abstract/declare.rb#37
|
1745
|
+
def new(*args, **_arg1, &blk); end
|
1746
|
+
end
|
1698
1747
|
end
|
1699
1748
|
|
1700
1749
|
# source://tapioca//lib/tapioca/gem/pipeline.rb#6
|
1701
1750
|
class Tapioca::Gem::Pipeline
|
1751
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
1702
1752
|
include ::Tapioca::Runtime::Reflection
|
1703
1753
|
include ::Tapioca::SorbetHelper
|
1704
1754
|
include ::Tapioca::RBIHelper
|
@@ -1711,15 +1761,19 @@ class Tapioca::Gem::Pipeline
|
|
1711
1761
|
sig { returns(::RBI::Tree) }
|
1712
1762
|
def compile; end
|
1713
1763
|
|
1764
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#110
|
1765
|
+
sig { params(name: T.any(::String, ::Symbol)).returns(T::Boolean) }
|
1766
|
+
def constant_in_gem?(name); end
|
1767
|
+
|
1714
1768
|
# source://tapioca//lib/tapioca/gem/pipeline.rb#14
|
1715
1769
|
sig { returns(::Tapioca::Gemfile::GemSpec) }
|
1716
1770
|
def gem; end
|
1717
1771
|
|
1718
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1772
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#122
|
1719
1773
|
sig { params(method: ::UnboundMethod).returns(T::Boolean) }
|
1720
1774
|
def method_in_gem?(method); end
|
1721
1775
|
|
1722
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1776
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#130
|
1723
1777
|
sig { params(constant: ::Module).returns(T.nilable(::String)) }
|
1724
1778
|
def name_of(constant); end
|
1725
1779
|
|
@@ -1766,85 +1820,85 @@ class Tapioca::Gem::Pipeline
|
|
1766
1820
|
|
1767
1821
|
private
|
1768
1822
|
|
1769
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1823
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#376
|
1770
1824
|
sig { params(name: ::String).void }
|
1771
1825
|
def add_to_alias_namespace(name); end
|
1772
1826
|
|
1773
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1827
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#381
|
1774
1828
|
sig { params(name: ::String).returns(T::Boolean) }
|
1775
1829
|
def alias_namespaced?(name); end
|
1776
1830
|
|
1777
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1831
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#225
|
1778
1832
|
sig { params(name: ::String, constant: ::Module).void }
|
1779
1833
|
def compile_alias(name, constant); end
|
1780
1834
|
|
1781
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1835
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#211
|
1782
1836
|
sig { params(symbol: ::String, constant: ::BasicObject).void }
|
1783
1837
|
def compile_constant(symbol, constant); end
|
1784
1838
|
|
1785
1839
|
# Compile
|
1786
1840
|
#
|
1787
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1841
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#206
|
1788
1842
|
sig { params(symbol: ::String, constant: ::Module).void }
|
1789
1843
|
def compile_foreign_constant(symbol, constant); end
|
1790
1844
|
|
1791
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1845
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#283
|
1792
1846
|
sig { params(name: ::String, constant: ::Module, foreign_constant: T::Boolean).void }
|
1793
1847
|
def compile_module(name, constant, foreign_constant: T.unsafe(nil)); end
|
1794
1848
|
|
1795
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1849
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#247
|
1796
1850
|
sig { params(name: ::String, value: ::BasicObject).void }
|
1797
1851
|
def compile_object(name, value); end
|
1798
1852
|
|
1799
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1853
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#308
|
1800
1854
|
sig { params(constant: ::Class).returns(T.nilable(::String)) }
|
1801
1855
|
def compile_superclass(constant); end
|
1802
1856
|
|
1803
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1857
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#357
|
1804
1858
|
sig { params(constant: ::Module, strict: T::Boolean).returns(T::Boolean) }
|
1805
1859
|
def defined_in_gem?(constant, strict: T.unsafe(nil)); end
|
1806
1860
|
|
1807
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1861
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#158
|
1808
1862
|
sig { params(event: ::Tapioca::Gem::Event).void }
|
1809
1863
|
def dispatch(event); end
|
1810
1864
|
|
1811
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1865
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#398
|
1812
1866
|
sig { params(constant: T.all(::Module, ::T::Generic)).returns(::String) }
|
1813
1867
|
def generic_name_of(constant); end
|
1814
1868
|
|
1815
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1869
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#369
|
1816
1870
|
sig { params(constant: ::Module).returns(T::Set[::String]) }
|
1817
1871
|
def get_file_candidates(constant); end
|
1818
1872
|
|
1819
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1873
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#145
|
1820
1874
|
sig { params(gem: ::Tapioca::Gemfile::GemSpec).returns(T::Set[::String]) }
|
1821
1875
|
def load_bootstrap_symbols(gem); end
|
1822
1876
|
|
1823
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1877
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#388
|
1824
1878
|
sig { params(name: ::String).void }
|
1825
1879
|
def mark_seen(name); end
|
1826
1880
|
|
1827
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1881
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#414
|
1828
1882
|
sig { params(constant: ::Module, class_name: T.nilable(::String)).returns(T.nilable(::String)) }
|
1829
1883
|
def name_of_proxy_target(constant, class_name); end
|
1830
1884
|
|
1831
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1885
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#153
|
1832
1886
|
sig { returns(::Tapioca::Gem::Event) }
|
1833
1887
|
def next_event; end
|
1834
1888
|
|
1835
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1889
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#181
|
1836
1890
|
sig { params(event: ::Tapioca::Gem::ConstantFound).void }
|
1837
1891
|
def on_constant(event); end
|
1838
1892
|
|
1839
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1893
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#199
|
1840
1894
|
sig { params(event: ::Tapioca::Gem::NodeAdded).void }
|
1841
1895
|
def on_node(event); end
|
1842
1896
|
|
1843
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1897
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#172
|
1844
1898
|
sig { params(event: ::Tapioca::Gem::SymbolFound).void }
|
1845
1899
|
def on_symbol(event); end
|
1846
1900
|
|
1847
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
1901
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#393
|
1848
1902
|
sig { params(name: ::String).returns(T::Boolean) }
|
1849
1903
|
def seen?(name); end
|
1850
1904
|
end
|
@@ -1885,12 +1939,16 @@ module Tapioca::GemHelper
|
|
1885
1939
|
def gem_in_bundle_path?(full_gem_path); end
|
1886
1940
|
|
1887
1941
|
# source://tapioca//lib/tapioca/helpers/gem_helper.rb#22
|
1942
|
+
sig { params(full_gem_path: ::String).returns(T::Boolean) }
|
1943
|
+
def gem_in_ruby_path?(full_gem_path); end
|
1944
|
+
|
1945
|
+
# source://tapioca//lib/tapioca/helpers/gem_helper.rb#27
|
1888
1946
|
sig { params(path: T.any(::Pathname, ::String)).returns(::String) }
|
1889
1947
|
def to_realpath(path); end
|
1890
1948
|
|
1891
1949
|
private
|
1892
1950
|
|
1893
|
-
# source://tapioca//lib/tapioca/helpers/gem_helper.rb#
|
1951
|
+
# source://tapioca//lib/tapioca/helpers/gem_helper.rb#36
|
1894
1952
|
sig { params(path: T.any(::Pathname, ::String), dir: T.any(::Pathname, ::String)).returns(T::Boolean) }
|
1895
1953
|
def path_in_dir?(path, dir); end
|
1896
1954
|
end
|
@@ -1923,7 +1981,7 @@ class Tapioca::Gemfile
|
|
1923
1981
|
|
1924
1982
|
private
|
1925
1983
|
|
1926
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1984
|
+
# source://tapioca//lib/tapioca/gemfile.rb#130
|
1927
1985
|
sig { returns(::String) }
|
1928
1986
|
def dir; end
|
1929
1987
|
|
@@ -1931,7 +1989,7 @@ class Tapioca::Gemfile
|
|
1931
1989
|
sig { returns(::File) }
|
1932
1990
|
def gemfile; end
|
1933
1991
|
|
1934
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1992
|
+
# source://tapioca//lib/tapioca/gemfile.rb#125
|
1935
1993
|
sig { returns(T::Array[::Symbol]) }
|
1936
1994
|
def groups; end
|
1937
1995
|
|
@@ -1948,7 +2006,7 @@ class Tapioca::Gemfile
|
|
1948
2006
|
sig { returns([T::Enumerable[T.any(::Bundler::StubSpecification, ::Gem::Specification)], T::Array[::String]]) }
|
1949
2007
|
def materialize_deps; end
|
1950
2008
|
|
1951
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2009
|
+
# source://tapioca//lib/tapioca/gemfile.rb#120
|
1952
2010
|
sig { returns(::Bundler::Runtime) }
|
1953
2011
|
def runtime; end
|
1954
2012
|
end
|
@@ -1976,105 +2034,105 @@ module Tapioca::Gemfile::AutoRequireHook
|
|
1976
2034
|
end
|
1977
2035
|
end
|
1978
2036
|
|
1979
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2037
|
+
# source://tapioca//lib/tapioca/gemfile.rb#134
|
1980
2038
|
class Tapioca::Gemfile::GemSpec
|
1981
2039
|
include ::Tapioca::GemHelper
|
1982
2040
|
|
1983
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2041
|
+
# source://tapioca//lib/tapioca/gemfile.rb#173
|
1984
2042
|
sig { params(spec: T.any(::Bundler::StubSpecification, ::Gem::Specification)).void }
|
1985
2043
|
def initialize(spec); end
|
1986
2044
|
|
1987
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2045
|
+
# source://tapioca//lib/tapioca/gemfile.rb#183
|
1988
2046
|
sig { params(other: ::BasicObject).returns(T::Boolean) }
|
1989
2047
|
def ==(other); end
|
1990
2048
|
|
1991
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2049
|
+
# source://tapioca//lib/tapioca/gemfile.rb#203
|
1992
2050
|
sig { params(path: ::String).returns(T::Boolean) }
|
1993
2051
|
def contains_path?(path); end
|
1994
2052
|
|
1995
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2053
|
+
# source://tapioca//lib/tapioca/gemfile.rb#222
|
1996
2054
|
sig { returns(T::Boolean) }
|
1997
2055
|
def export_rbi_files?; end
|
1998
2056
|
|
1999
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2057
|
+
# source://tapioca//lib/tapioca/gemfile.rb#217
|
2000
2058
|
sig { returns(T::Array[::String]) }
|
2001
2059
|
def exported_rbi_files; end
|
2002
2060
|
|
2003
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2061
|
+
# source://tapioca//lib/tapioca/gemfile.rb#227
|
2004
2062
|
sig { returns(::RBI::MergeTree) }
|
2005
2063
|
def exported_rbi_tree; end
|
2006
2064
|
|
2007
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2065
|
+
# source://tapioca//lib/tapioca/gemfile.rb#170
|
2008
2066
|
sig { returns(T::Array[::Pathname]) }
|
2009
2067
|
def files; end
|
2010
2068
|
|
2011
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2069
|
+
# source://tapioca//lib/tapioca/gemfile.rb#167
|
2012
2070
|
sig { returns(::String) }
|
2013
2071
|
def full_gem_path; end
|
2014
2072
|
|
2015
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2073
|
+
# source://tapioca//lib/tapioca/gemfile.rb#188
|
2016
2074
|
sig { params(gemfile_dir: ::String).returns(T::Boolean) }
|
2017
2075
|
def ignore?(gemfile_dir); end
|
2018
2076
|
|
2019
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2077
|
+
# source://tapioca//lib/tapioca/gemfile.rb#193
|
2020
2078
|
sig { returns(::String) }
|
2021
2079
|
def name; end
|
2022
2080
|
|
2023
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2081
|
+
# source://tapioca//lib/tapioca/gemfile.rb#212
|
2024
2082
|
sig { void }
|
2025
2083
|
def parse_yard_docs; end
|
2026
2084
|
|
2027
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2085
|
+
# source://tapioca//lib/tapioca/gemfile.rb#198
|
2028
2086
|
sig { returns(::String) }
|
2029
2087
|
def rbi_file_name; end
|
2030
2088
|
|
2031
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2089
|
+
# source://tapioca//lib/tapioca/gemfile.rb#239
|
2032
2090
|
sig { params(file: ::Pathname).returns(::Pathname) }
|
2033
2091
|
def relative_path_for(file); end
|
2034
2092
|
|
2035
2093
|
# @return [String]
|
2036
2094
|
#
|
2037
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2095
|
+
# source://tapioca//lib/tapioca/gemfile.rb#167
|
2038
2096
|
def version; end
|
2039
2097
|
|
2040
2098
|
private
|
2041
2099
|
|
2042
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2100
|
+
# source://tapioca//lib/tapioca/gemfile.rb#250
|
2043
2101
|
sig { returns(T::Array[::Pathname]) }
|
2044
2102
|
def collect_files; end
|
2045
2103
|
|
2046
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2104
|
+
# source://tapioca//lib/tapioca/gemfile.rb#265
|
2047
2105
|
sig { returns(T.nilable(T::Boolean)) }
|
2048
2106
|
def default_gem?; end
|
2049
2107
|
|
2050
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2108
|
+
# source://tapioca//lib/tapioca/gemfile.rb#323
|
2051
2109
|
sig { returns(T::Boolean) }
|
2052
2110
|
def gem_ignored?; end
|
2053
2111
|
|
2054
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2112
|
+
# source://tapioca//lib/tapioca/gemfile.rb#302
|
2055
2113
|
sig { params(path: ::String).returns(T::Boolean) }
|
2056
2114
|
def has_parent_gemspec?(path); end
|
2057
2115
|
|
2058
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2116
|
+
# source://tapioca//lib/tapioca/gemfile.rb#270
|
2059
2117
|
sig { returns(::Regexp) }
|
2060
2118
|
def require_paths_prefix_matcher; end
|
2061
2119
|
|
2062
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2120
|
+
# source://tapioca//lib/tapioca/gemfile.rb#281
|
2063
2121
|
sig { params(file: ::String).returns(::Pathname) }
|
2064
2122
|
def resolve_to_ruby_lib_dir(file); end
|
2065
2123
|
|
2066
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2124
|
+
# source://tapioca//lib/tapioca/gemfile.rb#295
|
2067
2125
|
sig { returns(::String) }
|
2068
2126
|
def version_string; end
|
2069
2127
|
|
2070
2128
|
class << self
|
2071
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2129
|
+
# source://tapioca//lib/tapioca/gemfile.rb#142
|
2072
2130
|
sig { returns(T::Hash[::String, ::Tapioca::Gemfile::GemSpec]) }
|
2073
2131
|
def spec_lookup_by_file_path; end
|
2074
2132
|
end
|
2075
2133
|
end
|
2076
2134
|
|
2077
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
2135
|
+
# source://tapioca//lib/tapioca/gemfile.rb#154
|
2078
2136
|
Tapioca::Gemfile::GemSpec::IGNORED_GEMS = T.let(T.unsafe(nil), Array)
|
2079
2137
|
|
2080
2138
|
# source://tapioca//lib/tapioca/gemfile.rb#8
|
@@ -2085,7 +2143,7 @@ module Tapioca::Loaders; end
|
|
2085
2143
|
|
2086
2144
|
# source://tapioca//lib/tapioca/loaders/dsl.rb#6
|
2087
2145
|
class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
2088
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2146
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#29
|
2089
2147
|
sig { params(tapioca_path: ::String, eager_load: T::Boolean, app_root: ::String).void }
|
2090
2148
|
def initialize(tapioca_path:, eager_load: T.unsafe(nil), app_root: T.unsafe(nil)); end
|
2091
2149
|
|
@@ -2095,19 +2153,15 @@ class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
|
2095
2153
|
|
2096
2154
|
protected
|
2097
2155
|
|
2098
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2099
|
-
sig { void }
|
2100
|
-
def abort_if_pending_migrations!; end
|
2101
|
-
|
2102
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#62
|
2156
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#61
|
2103
2157
|
sig { void }
|
2104
2158
|
def load_application; end
|
2105
2159
|
|
2106
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2160
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#43
|
2107
2161
|
sig { void }
|
2108
2162
|
def load_dsl_compilers; end
|
2109
2163
|
|
2110
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2164
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#38
|
2111
2165
|
sig { void }
|
2112
2166
|
def load_dsl_extensions; end
|
2113
2167
|
|
@@ -2173,9 +2227,6 @@ class Tapioca::Loaders::Loader
|
|
2173
2227
|
|
2174
2228
|
abstract!
|
2175
2229
|
|
2176
|
-
# source://sorbet-runtime/0.5.10624/lib/types/private/abstract/declare.rb#37
|
2177
|
-
def initialize(*args, **_arg1, &blk); end
|
2178
|
-
|
2179
2230
|
# @abstract
|
2180
2231
|
#
|
2181
2232
|
# source://tapioca//lib/tapioca/loaders/loader.rb#17
|
@@ -2184,10 +2235,15 @@ class Tapioca::Loaders::Loader
|
|
2184
2235
|
|
2185
2236
|
private
|
2186
2237
|
|
2187
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2238
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#182
|
2188
2239
|
sig { void }
|
2189
2240
|
def eager_load_rails_app; end
|
2190
2241
|
|
2242
|
+
# @return [Array<T.class_of(Rails::Engine)>]
|
2243
|
+
#
|
2244
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#153
|
2245
|
+
def engines; end
|
2246
|
+
|
2191
2247
|
# source://tapioca//lib/tapioca/loaders/loader.rb#24
|
2192
2248
|
sig do
|
2193
2249
|
params(
|
@@ -2198,29 +2254,49 @@ class Tapioca::Loaders::Loader
|
|
2198
2254
|
end
|
2199
2255
|
def load_bundle(gemfile, initialize_file, require_file); end
|
2200
2256
|
|
2257
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#111
|
2258
|
+
sig { void }
|
2259
|
+
def load_engines_in_classic_mode; end
|
2260
|
+
|
2261
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#89
|
2262
|
+
sig { void }
|
2263
|
+
def load_engines_in_zeitwerk_mode; end
|
2264
|
+
|
2201
2265
|
# source://tapioca//lib/tapioca/loaders/loader.rb#37
|
2202
2266
|
sig { params(environment_load: T::Boolean, eager_load: T::Boolean, app_root: ::String).void }
|
2203
2267
|
def load_rails_application(environment_load: T.unsafe(nil), eager_load: T.unsafe(nil), app_root: T.unsafe(nil)); end
|
2204
2268
|
|
2205
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2269
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#64
|
2206
2270
|
sig { void }
|
2207
2271
|
def load_rails_engines; end
|
2208
2272
|
|
2209
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2210
|
-
sig { returns(T::Array[T.untyped]) }
|
2211
|
-
def rails_engines; end
|
2212
|
-
|
2213
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#138
|
2273
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#203
|
2214
2274
|
sig { params(file: T.nilable(::String)).void }
|
2215
2275
|
def require_helper(file); end
|
2216
2276
|
|
2217
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2277
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#78
|
2278
|
+
def run_initializers; end
|
2279
|
+
|
2280
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#167
|
2218
2281
|
sig { params(path: ::String).void }
|
2219
2282
|
def safe_require(path); end
|
2220
2283
|
|
2221
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2284
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#174
|
2222
2285
|
sig { void }
|
2223
2286
|
def silence_deprecations; end
|
2287
|
+
|
2288
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#136
|
2289
|
+
sig { params(blk: T.proc.void).void }
|
2290
|
+
def with_rails_application(&blk); end
|
2291
|
+
|
2292
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#129
|
2293
|
+
sig { returns(T::Boolean) }
|
2294
|
+
def zeitwerk_mode?; end
|
2295
|
+
|
2296
|
+
class << self
|
2297
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/abstract/declare.rb#37
|
2298
|
+
def new(*args, **_arg1, &blk); end
|
2299
|
+
end
|
2224
2300
|
end
|
2225
2301
|
|
2226
2302
|
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#5
|
@@ -2424,8 +2500,19 @@ end
|
|
2424
2500
|
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#5
|
2425
2501
|
module Tapioca::Runtime; end
|
2426
2502
|
|
2503
|
+
# This module should only be included when running versions of Ruby
|
2504
|
+
# older than 3.2. Because the Class#attached_object method is not
|
2505
|
+
# available, it implements finding the attached class of a singleton
|
2506
|
+
# class by iterating through ObjectSpace.
|
2507
|
+
module Tapioca::Runtime::AttachedClassOf
|
2508
|
+
# source://tapioca//lib/tapioca/runtime/attached_class_of_32.rb#14
|
2509
|
+
sig { params(singleton_class: ::Class).returns(T.nilable(::Module)) }
|
2510
|
+
def attached_class_of(singleton_class); end
|
2511
|
+
end
|
2512
|
+
|
2427
2513
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#6
|
2428
2514
|
class Tapioca::Runtime::DynamicMixinCompiler
|
2515
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
2429
2516
|
include ::Tapioca::Runtime::Reflection
|
2430
2517
|
|
2431
2518
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#20
|
@@ -2577,35 +2664,33 @@ class Tapioca::Runtime::GenericTypeRegistry::GenericType < ::T::Types::Simple
|
|
2577
2664
|
end
|
2578
2665
|
|
2579
2666
|
module Tapioca::Runtime::Reflection
|
2667
|
+
include ::Tapioca::Runtime::AttachedClassOf
|
2668
|
+
extend ::Tapioca::Runtime::AttachedClassOf
|
2580
2669
|
extend ::Tapioca::Runtime::Reflection
|
2581
2670
|
|
2582
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2671
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#77
|
2583
2672
|
sig { params(constant: ::Module).returns(T::Array[::Module]) }
|
2584
2673
|
def ancestors_of(constant); end
|
2585
2674
|
|
2586
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2675
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#92
|
2587
2676
|
sig { params(object: ::BasicObject, other: ::BasicObject).returns(T::Boolean) }
|
2588
2677
|
def are_equal?(object, other); end
|
2589
2678
|
|
2590
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2591
|
-
sig { params(singleton_class: ::Module).returns(T.nilable(::Module)) }
|
2592
|
-
def attached_class_of(singleton_class); end
|
2593
|
-
|
2594
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#45
|
2679
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#56
|
2595
2680
|
sig { params(object: ::BasicObject).returns(::Class) }
|
2596
2681
|
def class_of(object); end
|
2597
2682
|
|
2598
2683
|
# @param constant [BasicObject]
|
2599
2684
|
# @return [Boolean]
|
2600
2685
|
#
|
2601
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2686
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#38
|
2602
2687
|
def constant_defined?(constant); end
|
2603
2688
|
|
2604
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2689
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#49
|
2605
2690
|
sig { params(symbol: ::String, inherit: T::Boolean, namespace: ::Module).returns(::BasicObject) }
|
2606
2691
|
def constantize(symbol, inherit: T.unsafe(nil), namespace: T.unsafe(nil)); end
|
2607
2692
|
|
2608
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2693
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#61
|
2609
2694
|
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
2610
2695
|
def constants_of(constant); end
|
2611
2696
|
|
@@ -2623,7 +2708,7 @@ module Tapioca::Runtime::Reflection
|
|
2623
2708
|
# class D < C; end
|
2624
2709
|
# descendants_of(C) # => [B, A, D]
|
2625
2710
|
#
|
2626
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2711
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#167
|
2627
2712
|
sig do
|
2628
2713
|
type_parameters(:U)
|
2629
2714
|
.params(
|
@@ -2632,43 +2717,43 @@ module Tapioca::Runtime::Reflection
|
|
2632
2717
|
end
|
2633
2718
|
def descendants_of(klass); end
|
2634
2719
|
|
2635
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2720
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#189
|
2636
2721
|
sig { params(constant: ::Module).returns(T::Set[::String]) }
|
2637
2722
|
def file_candidates_for(constant); end
|
2638
2723
|
|
2639
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2724
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#112
|
2640
2725
|
sig { params(constant: ::Module).returns(T::Array[::Module]) }
|
2641
2726
|
def inherited_ancestors_of(constant); end
|
2642
2727
|
|
2643
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2728
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#145
|
2644
2729
|
sig { params(constant: ::Module, method: ::Symbol).returns(::Method) }
|
2645
2730
|
def method_of(constant, method); end
|
2646
2731
|
|
2647
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2732
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#66
|
2648
2733
|
sig { params(constant: ::Module).returns(T.nilable(::String)) }
|
2649
2734
|
def name_of(constant); end
|
2650
2735
|
|
2651
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2736
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#140
|
2652
2737
|
sig { params(type: ::T::Types::Base).returns(::String) }
|
2653
2738
|
def name_of_type(type); end
|
2654
2739
|
|
2655
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2740
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#87
|
2656
2741
|
sig { params(object: ::BasicObject).returns(::Integer) }
|
2657
2742
|
def object_id_of(object); end
|
2658
2743
|
|
2659
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2744
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#107
|
2660
2745
|
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
2661
2746
|
def private_instance_methods_of(constant); end
|
2662
2747
|
|
2663
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2748
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#102
|
2664
2749
|
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
2665
2750
|
def protected_instance_methods_of(constant); end
|
2666
2751
|
|
2667
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2752
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#97
|
2668
2753
|
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
2669
2754
|
def public_instance_methods_of(constant); end
|
2670
2755
|
|
2671
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2756
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#121
|
2672
2757
|
sig { params(constant: ::Module).returns(T.nilable(::String)) }
|
2673
2758
|
def qualified_name_of(constant); end
|
2674
2759
|
|
@@ -2676,78 +2761,78 @@ module Tapioca::Runtime::Reflection
|
|
2676
2761
|
# by searching for the label "<top (required)>". If none is found, it returns the location
|
2677
2762
|
# labeled "<main>", which is the original call site.
|
2678
2763
|
#
|
2679
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2764
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#179
|
2680
2765
|
sig { params(locations: T.nilable(T::Array[::Thread::Backtrace::Location])).returns(::String) }
|
2681
2766
|
def resolve_loc(locations); end
|
2682
2767
|
|
2683
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2768
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#133
|
2684
2769
|
sig { params(method: T.any(::Method, ::UnboundMethod)).returns(T.untyped) }
|
2685
2770
|
def signature_of(method); end
|
2686
2771
|
|
2687
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2772
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#72
|
2688
2773
|
sig { params(constant: ::Module).returns(::Class) }
|
2689
2774
|
def singleton_class_of(constant); end
|
2690
2775
|
|
2691
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2776
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#82
|
2692
2777
|
sig { params(constant: ::Class).returns(T.nilable(::Class)) }
|
2693
2778
|
def superclass_of(constant); end
|
2694
2779
|
|
2695
2780
|
private
|
2696
2781
|
|
2697
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2782
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#228
|
2698
2783
|
sig { params(parent: ::Module, name: ::String).returns(T.nilable(::Module)) }
|
2699
2784
|
def child_module_for_parent_with_name(parent, name); end
|
2700
2785
|
|
2701
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2786
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#239
|
2702
2787
|
sig { params(method: ::UnboundMethod).returns(T::Boolean) }
|
2703
2788
|
def method_defined_by_forwardable_module?(method); end
|
2704
2789
|
|
2705
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2790
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#214
|
2706
2791
|
sig { params(constant: ::Module).returns(T::Array[::UnboundMethod]) }
|
2707
2792
|
def methods_for(constant); end
|
2708
2793
|
|
2709
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2794
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#198
|
2710
2795
|
sig { params(constant: ::Module).returns(T::Array[::UnboundMethod]) }
|
2711
2796
|
def relevant_methods_for(constant); end
|
2712
2797
|
end
|
2713
2798
|
|
2714
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2799
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#25
|
2715
2800
|
Tapioca::Runtime::Reflection::ANCESTORS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2716
2801
|
|
2717
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2802
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#21
|
2718
2803
|
Tapioca::Runtime::Reflection::CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2719
2804
|
|
2720
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2805
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#22
|
2721
2806
|
Tapioca::Runtime::Reflection::CONSTANTS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2722
2807
|
|
2723
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2808
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#28
|
2724
2809
|
Tapioca::Runtime::Reflection::EQUAL_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2725
2810
|
|
2726
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2811
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#32
|
2727
2812
|
Tapioca::Runtime::Reflection::METHOD_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2728
2813
|
|
2729
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2814
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#23
|
2730
2815
|
Tapioca::Runtime::Reflection::NAME_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2731
2816
|
|
2732
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2817
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#27
|
2733
2818
|
Tapioca::Runtime::Reflection::OBJECT_ID_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2734
2819
|
|
2735
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2820
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#31
|
2736
2821
|
Tapioca::Runtime::Reflection::PRIVATE_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2737
2822
|
|
2738
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2823
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#30
|
2739
2824
|
Tapioca::Runtime::Reflection::PROTECTED_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2740
2825
|
|
2741
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2826
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#29
|
2742
2827
|
Tapioca::Runtime::Reflection::PUBLIC_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2743
2828
|
|
2744
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2829
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#35
|
2745
2830
|
Tapioca::Runtime::Reflection::REQUIRED_FROM_LABELS = T.let(T.unsafe(nil), Array)
|
2746
2831
|
|
2747
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2832
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#24
|
2748
2833
|
Tapioca::Runtime::Reflection::SINGLETON_CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2749
2834
|
|
2750
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
2835
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#26
|
2751
2836
|
Tapioca::Runtime::Reflection::SUPERCLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
2752
2837
|
|
2753
2838
|
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#6
|
@@ -2805,6 +2890,7 @@ Tapioca::Runtime::Trackers::Autoload::NOOP_METHOD = T.let(T.unsafe(nil), Proc)
|
|
2805
2890
|
# available in the ruby runtime without extra accounting.
|
2806
2891
|
module Tapioca::Runtime::Trackers::ConstantDefinition
|
2807
2892
|
extend ::Tapioca::Runtime::Trackers::Tracker
|
2893
|
+
extend ::Tapioca::Runtime::AttachedClassOf
|
2808
2894
|
extend ::Tapioca::Runtime::Reflection
|
2809
2895
|
|
2810
2896
|
class << self
|
@@ -2945,20 +3031,20 @@ Tapioca::SORBET_DIR = T.let(T.unsafe(nil), String)
|
|
2945
3031
|
|
2946
3032
|
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#5
|
2947
3033
|
module Tapioca::SorbetHelper
|
2948
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
3034
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#33
|
2949
3035
|
sig { params(sorbet_args: ::String).returns(::Spoom::ExecResult) }
|
2950
3036
|
def sorbet(*sorbet_args); end
|
2951
3037
|
|
2952
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
3038
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#38
|
2953
3039
|
sig { returns(::String) }
|
2954
3040
|
def sorbet_path; end
|
2955
3041
|
|
2956
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
3042
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#45
|
2957
3043
|
sig { params(feature: ::Symbol, version: T.nilable(::Gem::Version)).returns(T::Boolean) }
|
2958
3044
|
def sorbet_supports?(feature, version: T.unsafe(nil)); end
|
2959
3045
|
end
|
2960
3046
|
|
2961
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
3047
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#24
|
2962
3048
|
Tapioca::SorbetHelper::FEATURE_REQUIREMENTS = T.let(T.unsafe(nil), Hash)
|
2963
3049
|
|
2964
3050
|
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#13
|
@@ -2973,6 +3059,9 @@ Tapioca::SorbetHelper::SORBET_GEM_SPEC = T.let(T.unsafe(nil), Gem::Specification
|
|
2973
3059
|
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#20
|
2974
3060
|
Tapioca::SorbetHelper::SORBET_PAYLOAD_URL = T.let(T.unsafe(nil), String)
|
2975
3061
|
|
3062
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#22
|
3063
|
+
Tapioca::SorbetHelper::SPOOM_CONTEXT = T.let(T.unsafe(nil), Spoom::Context)
|
3064
|
+
|
2976
3065
|
# source://tapioca//lib/tapioca/static/symbol_table_parser.rb#5
|
2977
3066
|
module Tapioca::Static; end
|
2978
3067
|
|
@@ -3008,6 +3097,7 @@ end
|
|
3008
3097
|
# source://tapioca//lib/tapioca/static/symbol_loader.rb#6
|
3009
3098
|
module Tapioca::Static::SymbolLoader
|
3010
3099
|
extend ::Tapioca::SorbetHelper
|
3100
|
+
extend ::Tapioca::Runtime::AttachedClassOf
|
3011
3101
|
extend ::Tapioca::Runtime::Reflection
|
3012
3102
|
|
3013
3103
|
class << self
|
@@ -3023,20 +3113,20 @@ module Tapioca::Static::SymbolLoader
|
|
3023
3113
|
sig { returns(T::Set[::String]) }
|
3024
3114
|
def payload_symbols; end
|
3025
3115
|
|
3116
|
+
# source://tapioca//lib/tapioca/static/symbol_loader.rb#45
|
3117
|
+
sig { params(paths: T::Array[::Pathname]).returns(T::Set[::String]) }
|
3118
|
+
def symbols_from_paths(paths); end
|
3119
|
+
|
3026
3120
|
private
|
3027
3121
|
|
3028
3122
|
# @return [Array<T.class_of(Rails::Engine)>]
|
3029
3123
|
#
|
3030
|
-
# source://sorbet-runtime/0.5.
|
3124
|
+
# source://sorbet-runtime/0.5.10827/lib/types/private/methods/_methods.rb#255
|
3031
3125
|
def engines(*args, **_arg1, &blk); end
|
3032
3126
|
|
3033
|
-
# source://tapioca//lib/tapioca/static/symbol_loader.rb#
|
3127
|
+
# source://tapioca//lib/tapioca/static/symbol_loader.rb#73
|
3034
3128
|
sig { params(input: ::String, table_type: ::String).returns(::String) }
|
3035
3129
|
def symbol_table_json_from(input, table_type: T.unsafe(nil)); end
|
3036
|
-
|
3037
|
-
# source://tapioca//lib/tapioca/static/symbol_loader.rb#64
|
3038
|
-
sig { params(paths: T::Array[::Pathname]).returns(T::Set[::String]) }
|
3039
|
-
def symbols_from_paths(paths); end
|
3040
3130
|
end
|
3041
3131
|
end
|
3042
3132
|
|
@@ -3173,14 +3263,14 @@ class URI::Source < ::URI::File
|
|
3173
3263
|
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
|
3174
3264
|
def check_host(v); end
|
3175
3265
|
|
3176
|
-
# source://uri/0.12.
|
3266
|
+
# source://uri/0.12.1/uri/generic.rb#243
|
3177
3267
|
def gem_name; end
|
3178
3268
|
|
3179
3269
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#25
|
3180
3270
|
sig { returns(T.nilable(::String)) }
|
3181
3271
|
def gem_version; end
|
3182
3272
|
|
3183
|
-
# source://uri/0.12.
|
3273
|
+
# source://uri/0.12.1/uri/generic.rb#283
|
3184
3274
|
def line_number; end
|
3185
3275
|
|
3186
3276
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#51
|
@@ -3208,8 +3298,4 @@ end
|
|
3208
3298
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#10
|
3209
3299
|
URI::Source::COMPONENT = T.let(T.unsafe(nil), Array)
|
3210
3300
|
|
3211
|
-
|
3212
|
-
URI::TBLENCURICOMP_ = T.let(T.unsafe(nil), Hash)
|
3213
|
-
|
3214
|
-
# source://uri/0.12.0/uri/wss.rb#19
|
3215
|
-
URI::WSS::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)
|
3301
|
+
class URI::WSS < ::URI::WS; end
|