checkoff 0.219.0 → 0.221.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -4
- data/.overcommit.yml +2 -0
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +2 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +42 -8
- data/Makefile +13 -7
- data/bin/tapioca +1 -1
- data/checkoff.gemspec +1 -0
- data/fix.sh +1 -0
- data/lib/checkoff/tasks.rb +8 -2
- data/lib/checkoff/version.rb +1 -1
- data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.5.rbi} +157 -160
- data/sorbet/rbi/gems/brakeman@6.2.2.rbi +222 -0
- data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.6.rbi} +135 -102
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.2.rbi} +4 -1
- data/sorbet/rbi/gems/{mutex_m@0.2.0.rbi → mutex_m@0.3.0.rbi} +15 -12
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.0.rbi} +1693 -803
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +33 -33
- data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.1.8.rbi} +697 -985
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.9.rbi} +354 -278
- data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +7546 -0
- data/sorbet/rbi/gems/securerandom@0.4.0.rbi +75 -0
- data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +320 -0
- data/sorbet/rbi/gems/{tapioca@0.16.4.rbi → tapioca@0.16.5.rbi} +89 -76
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +429 -270
- metadata +33 -16
- data/sorbet/rbi/gems/ostruct@0.6.1.rbi +0 -354
- /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{gli@2.21.1.rbi → gli@2.22.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{overcommit@0.64.0.rbi → overcommit@0.64.1.rbi} +0 -0
@@ -218,7 +218,7 @@ class RBI::TypedParam < ::T::Struct
|
|
218
218
|
const :type, ::String
|
219
219
|
|
220
220
|
class << self
|
221
|
-
# source://sorbet-runtime/0.5.
|
221
|
+
# source://sorbet-runtime/0.5.11690/lib/types/struct.rb#13
|
222
222
|
def inherited(s); end
|
223
223
|
end
|
224
224
|
end
|
@@ -453,24 +453,24 @@ class Tapioca::Cli < ::Thor
|
|
453
453
|
include ::Tapioca::ConfigHelper
|
454
454
|
include ::Tapioca::EnvHelper
|
455
455
|
|
456
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
456
|
+
# source://tapioca//lib/tapioca/cli.rb#371
|
457
457
|
def __print_version; end
|
458
458
|
|
459
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
459
|
+
# source://tapioca//lib/tapioca/cli.rb#353
|
460
460
|
def annotations; end
|
461
461
|
|
462
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
462
|
+
# source://tapioca//lib/tapioca/cli.rb#325
|
463
463
|
def check_shims; end
|
464
464
|
|
465
465
|
# source://tapioca//lib/tapioca/cli.rb#46
|
466
466
|
def configure; end
|
467
467
|
|
468
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
468
|
+
# source://tapioca//lib/tapioca/cli.rb#151
|
469
469
|
def dsl(*constant_or_paths); end
|
470
470
|
|
471
471
|
# @raise [MalformattedArgumentError]
|
472
472
|
#
|
473
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
473
|
+
# source://tapioca//lib/tapioca/cli.rb#269
|
474
474
|
def gem(*gems); end
|
475
475
|
|
476
476
|
# source://tapioca//lib/tapioca/cli.rb#27
|
@@ -484,11 +484,11 @@ class Tapioca::Cli < ::Thor
|
|
484
484
|
|
485
485
|
private
|
486
486
|
|
487
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
487
|
+
# source://tapioca//lib/tapioca/cli.rb#385
|
488
488
|
def print_init_next_steps; end
|
489
489
|
|
490
490
|
class << self
|
491
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
491
|
+
# source://tapioca//lib/tapioca/cli.rb#377
|
492
492
|
def exit_on_failure?; end
|
493
493
|
end
|
494
494
|
end
|
@@ -525,7 +525,7 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke
|
|
525
525
|
|
526
526
|
abstract!
|
527
527
|
|
528
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
528
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#34
|
529
529
|
sig do
|
530
530
|
params(
|
531
531
|
requested_constants: T::Array[::String],
|
@@ -544,22 +544,23 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke
|
|
544
544
|
rbi_formatter: ::Tapioca::RBIFormatter,
|
545
545
|
app_root: ::String,
|
546
546
|
halt_upon_load_error: T::Boolean,
|
547
|
-
compiler_options: T::Hash[::String, T.untyped]
|
547
|
+
compiler_options: T::Hash[::String, T.untyped],
|
548
|
+
lsp_addon: T::Boolean
|
548
549
|
).void
|
549
550
|
end
|
550
|
-
def initialize(requested_constants:, requested_paths:, outpath:, only:, exclude:, file_header:, tapioca_path:, skip_constant: 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), compiler_options: T.unsafe(nil)); end
|
551
|
+
def initialize(requested_constants:, requested_paths:, outpath:, only:, exclude:, file_header:, tapioca_path:, skip_constant: 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), compiler_options: T.unsafe(nil), lsp_addon: T.unsafe(nil)); end
|
551
552
|
|
552
553
|
private
|
553
554
|
|
554
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
555
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#107
|
555
556
|
sig { returns(T::Array[::String]) }
|
556
557
|
def all_requested_constants; end
|
557
558
|
|
558
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
559
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#304
|
559
560
|
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
560
561
|
def build_error_for_files(cause, files); end
|
561
562
|
|
562
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
563
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#228
|
563
564
|
sig do
|
564
565
|
params(
|
565
566
|
constant_name: ::String,
|
@@ -570,75 +571,75 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke
|
|
570
571
|
end
|
571
572
|
def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end
|
572
573
|
|
573
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
574
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#163
|
574
575
|
sig { params(constant_names: T::Array[::String], ignore_missing: T::Boolean).returns(T::Array[::Module]) }
|
575
576
|
def constantize(constant_names, ignore_missing: T.unsafe(nil)); end
|
576
577
|
|
577
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
578
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#188
|
578
579
|
sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
579
580
|
def constantize_compilers(compiler_names); end
|
580
581
|
|
581
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
582
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#364
|
582
583
|
sig { returns(T::Array[::String]) }
|
583
584
|
def constants_from_requested_paths; end
|
584
585
|
|
585
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
586
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#131
|
586
587
|
sig { returns(::Tapioca::Dsl::Pipeline) }
|
587
588
|
def create_pipeline; end
|
588
589
|
|
589
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
590
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#267
|
590
591
|
sig { params(constant_name: ::String).returns(::Pathname) }
|
591
592
|
def dsl_rbi_filename(constant_name); end
|
592
593
|
|
593
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
594
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#149
|
594
595
|
sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) }
|
595
596
|
def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end
|
596
597
|
|
597
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
598
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#359
|
598
599
|
sig { params(constant: ::String).returns(::String) }
|
599
600
|
def generate_command_for(constant); end
|
600
601
|
|
601
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
602
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#79
|
602
603
|
sig { params(outpath: ::Pathname, quiet: T::Boolean).returns(T::Set[::Pathname]) }
|
603
604
|
def generate_dsl_rbi_files(outpath, quiet:); end
|
604
605
|
|
605
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
606
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#120
|
606
607
|
sig { void }
|
607
608
|
def load_application; end
|
608
609
|
|
609
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
610
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#246
|
610
611
|
sig { params(dir: ::Pathname).void }
|
611
612
|
def perform_dsl_verification(dir); end
|
612
613
|
|
613
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
614
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#115
|
614
615
|
sig { returns(::Tapioca::Dsl::Pipeline) }
|
615
616
|
def pipeline; end
|
616
617
|
|
617
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
618
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#255
|
618
619
|
sig { params(files: T::Set[::Pathname]).void }
|
619
620
|
def purge_stale_dsl_rbi_files(files); end
|
620
621
|
|
621
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
622
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#354
|
622
623
|
sig { params(constant: ::String).returns(::String) }
|
623
624
|
def rbi_filename_for(constant); end
|
624
625
|
|
625
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
626
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#335
|
626
627
|
sig { params(path: ::Pathname).returns(T::Array[::Pathname]) }
|
627
628
|
def rbi_files_in(path); end
|
628
629
|
|
629
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
630
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#313
|
630
631
|
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
631
632
|
def report_diff_and_exit_if_out_of_date(diff, command); end
|
632
633
|
|
633
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
634
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#208
|
634
635
|
sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) }
|
635
636
|
def resolve(name); end
|
636
637
|
|
637
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
638
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#342
|
638
639
|
sig { params(class_name: ::String).returns(::String) }
|
639
640
|
def underscore(class_name); end
|
640
641
|
|
641
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
642
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#272
|
642
643
|
sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) }
|
643
644
|
def verify_dsl_rbi(tmp_dir:); end
|
644
645
|
end
|
@@ -1141,7 +1142,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|
1141
1142
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
1142
1143
|
|
1143
1144
|
class << self
|
1144
|
-
# source://sorbet-runtime/0.5.
|
1145
|
+
# source://sorbet-runtime/0.5.11690/lib/types/struct.rb#13
|
1145
1146
|
def inherited(s); end
|
1146
1147
|
end
|
1147
1148
|
end
|
@@ -1152,7 +1153,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|
1152
1153
|
const :colors, T::Array[::Symbol]
|
1153
1154
|
|
1154
1155
|
class << self
|
1155
|
-
# source://sorbet-runtime/0.5.
|
1156
|
+
# source://sorbet-runtime/0.5.11690/lib/types/struct.rb#13
|
1156
1157
|
def inherited(s); end
|
1157
1158
|
end
|
1158
1159
|
end
|
@@ -1209,7 +1210,7 @@ class Tapioca::Dsl::Compiler
|
|
1209
1210
|
|
1210
1211
|
ConstantType = type_member { { upper: Module } }
|
1211
1212
|
|
1212
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1213
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#110
|
1213
1214
|
sig do
|
1214
1215
|
params(
|
1215
1216
|
pipeline: ::Tapioca::Dsl::Pipeline,
|
@@ -1222,11 +1223,11 @@ class Tapioca::Dsl::Compiler
|
|
1222
1223
|
|
1223
1224
|
# NOTE: This should eventually accept an `Error` object or `Exception` rather than simply a `String`.
|
1224
1225
|
#
|
1225
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1226
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#128
|
1226
1227
|
sig { params(error: ::String).void }
|
1227
1228
|
def add_error(error); end
|
1228
1229
|
|
1229
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1230
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#119
|
1230
1231
|
sig { params(compiler_name: ::String).returns(T::Boolean) }
|
1231
1232
|
def compiler_enabled?(compiler_name); end
|
1232
1233
|
|
@@ -1236,7 +1237,7 @@ class Tapioca::Dsl::Compiler
|
|
1236
1237
|
|
1237
1238
|
# @abstract
|
1238
1239
|
#
|
1239
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1240
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#124
|
1240
1241
|
sig { abstract.void }
|
1241
1242
|
def decorate; end
|
1242
1243
|
|
@@ -1250,21 +1251,21 @@ class Tapioca::Dsl::Compiler
|
|
1250
1251
|
|
1251
1252
|
private
|
1252
1253
|
|
1253
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1254
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#177
|
1254
1255
|
sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(T::Array[::RBI::TypedParam]) }
|
1255
1256
|
def compile_method_parameters_to_rbi(method_def); end
|
1256
1257
|
|
1257
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1258
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#213
|
1258
1259
|
sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(::String) }
|
1259
1260
|
def compile_method_return_type_to_rbi(method_def); end
|
1260
1261
|
|
1261
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1262
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#167
|
1262
1263
|
sig { params(scope: ::RBI::Scope, method_def: T.any(::Method, ::UnboundMethod), class_method: T::Boolean).void }
|
1263
1264
|
def create_method_from_def(scope, method_def, class_method: T.unsafe(nil)); end
|
1264
1265
|
|
1265
1266
|
# Get the types of each parameter from a method signature
|
1266
1267
|
#
|
1267
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1268
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#141
|
1268
1269
|
sig { params(method_def: T.any(::Method, ::UnboundMethod), signature: T.untyped).returns(T::Array[::String]) }
|
1269
1270
|
def parameters_types_from_signature(method_def, signature); end
|
1270
1271
|
|
@@ -1287,17 +1288,21 @@ class Tapioca::Dsl::Compiler
|
|
1287
1288
|
sig { params(constants: T::Array[::Module]).void }
|
1288
1289
|
def requested_constants=(constants); end
|
1289
1290
|
|
1291
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#55
|
1292
|
+
sig { void }
|
1293
|
+
def reset_state; end
|
1294
|
+
|
1290
1295
|
private
|
1291
1296
|
|
1292
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1297
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#82
|
1293
1298
|
sig { returns(T::Enumerable[T::Class[T.anything]]) }
|
1294
1299
|
def all_classes; end
|
1295
1300
|
|
1296
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1301
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#90
|
1297
1302
|
sig { returns(T::Enumerable[::Module]) }
|
1298
1303
|
def all_modules; end
|
1299
1304
|
|
1300
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
1305
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#68
|
1301
1306
|
sig do
|
1302
1307
|
type_parameters(:U)
|
1303
1308
|
.params(
|
@@ -1323,7 +1328,7 @@ Tapioca::Dsl::Compilers::NAMESPACES = T.let(T.unsafe(nil), Array)
|
|
1323
1328
|
|
1324
1329
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#6
|
1325
1330
|
class Tapioca::Dsl::Pipeline
|
1326
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1331
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#40
|
1327
1332
|
sig do
|
1328
1333
|
params(
|
1329
1334
|
requested_constants: T::Array[::Module],
|
@@ -1333,24 +1338,25 @@ class Tapioca::Dsl::Pipeline
|
|
1333
1338
|
error_handler: T.proc.params(error: ::String).void,
|
1334
1339
|
skipped_constants: T::Array[::Module],
|
1335
1340
|
number_of_workers: T.nilable(::Integer),
|
1336
|
-
compiler_options: T::Hash[::String, T.untyped]
|
1341
|
+
compiler_options: T::Hash[::String, T.untyped],
|
1342
|
+
lsp_addon: T::Boolean
|
1337
1343
|
).void
|
1338
1344
|
end
|
1339
|
-
def initialize(requested_constants:, requested_paths: T.unsafe(nil), requested_compilers: T.unsafe(nil), excluded_compilers: T.unsafe(nil), error_handler: T.unsafe(nil), skipped_constants: T.unsafe(nil), number_of_workers: T.unsafe(nil), compiler_options: T.unsafe(nil)); end
|
1345
|
+
def initialize(requested_constants:, requested_paths: T.unsafe(nil), requested_compilers: T.unsafe(nil), excluded_compilers: T.unsafe(nil), error_handler: T.unsafe(nil), skipped_constants: T.unsafe(nil), number_of_workers: T.unsafe(nil), compiler_options: T.unsafe(nil), lsp_addon: T.unsafe(nil)); end
|
1340
1346
|
|
1341
1347
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#10
|
1342
1348
|
sig { returns(T::Enumerable[T.class_of(Tapioca::Dsl::Compiler)]) }
|
1343
1349
|
def active_compilers; end
|
1344
1350
|
|
1345
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1351
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#105
|
1346
1352
|
sig { params(error: ::String).void }
|
1347
1353
|
def add_error(error); end
|
1348
1354
|
|
1349
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1355
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#110
|
1350
1356
|
sig { params(compiler_name: ::String).returns(T::Boolean) }
|
1351
1357
|
def compiler_enabled?(compiler_name); end
|
1352
1358
|
|
1353
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1359
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#119
|
1354
1360
|
sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
1355
1361
|
def compilers; end
|
1356
1362
|
|
@@ -1370,7 +1376,7 @@ class Tapioca::Dsl::Pipeline
|
|
1370
1376
|
sig { returns(T::Array[::Pathname]) }
|
1371
1377
|
def requested_paths; end
|
1372
1378
|
|
1373
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1379
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#70
|
1374
1380
|
sig do
|
1375
1381
|
type_parameters(:T)
|
1376
1382
|
.params(
|
@@ -1385,15 +1391,15 @@ class Tapioca::Dsl::Pipeline
|
|
1385
1391
|
|
1386
1392
|
private
|
1387
1393
|
|
1388
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1394
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#227
|
1389
1395
|
sig { void }
|
1390
1396
|
def abort_if_pending_migrations!; end
|
1391
1397
|
|
1392
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1398
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#172
|
1393
1399
|
sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) }
|
1394
1400
|
def filter_anonymous_and_reloaded_constants(constants); end
|
1395
1401
|
|
1396
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1402
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#136
|
1397
1403
|
sig do
|
1398
1404
|
params(
|
1399
1405
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
@@ -1402,7 +1408,7 @@ class Tapioca::Dsl::Pipeline
|
|
1402
1408
|
end
|
1403
1409
|
def gather_active_compilers(requested_compilers, excluded_compilers); end
|
1404
1410
|
|
1405
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1411
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#150
|
1406
1412
|
sig do
|
1407
1413
|
params(
|
1408
1414
|
requested_constants: T::Array[::Module],
|
@@ -1412,11 +1418,11 @@ class Tapioca::Dsl::Pipeline
|
|
1412
1418
|
end
|
1413
1419
|
def gather_constants(requested_constants, requested_paths, skipped_constants); end
|
1414
1420
|
|
1415
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1421
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#201
|
1416
1422
|
sig { params(constant: ::Module).returns(T.nilable(::RBI::File)) }
|
1417
1423
|
def rbi_for_constant(constant); end
|
1418
1424
|
|
1419
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1425
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#220
|
1420
1426
|
sig { params(error: ::String).returns(T.noreturn) }
|
1421
1427
|
def report_error(error); end
|
1422
1428
|
end
|
@@ -2221,7 +2227,7 @@ class Tapioca::GemInfo < ::T::Struct
|
|
2221
2227
|
sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) }
|
2222
2228
|
def from_spec(spec); end
|
2223
2229
|
|
2224
|
-
# source://sorbet-runtime/0.5.
|
2230
|
+
# source://sorbet-runtime/0.5.11690/lib/types/struct.rb#13
|
2225
2231
|
def inherited(s); end
|
2226
2232
|
end
|
2227
2233
|
end
|
@@ -2400,7 +2406,7 @@ module Tapioca::Loaders; end
|
|
2400
2406
|
|
2401
2407
|
# source://tapioca//lib/tapioca/loaders/dsl.rb#6
|
2402
2408
|
class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
2403
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2409
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#60
|
2404
2410
|
sig do
|
2405
2411
|
params(
|
2406
2412
|
tapioca_path: ::String,
|
@@ -2411,35 +2417,40 @@ class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
|
2411
2417
|
end
|
2412
2418
|
def initialize(tapioca_path:, eager_load: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
2413
2419
|
|
2414
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2420
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#43
|
2415
2421
|
sig { override.void }
|
2416
2422
|
def load; end
|
2417
2423
|
|
2424
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#50
|
2425
|
+
sig { void }
|
2426
|
+
def load_dsl_extensions_and_compilers; end
|
2427
|
+
|
2418
2428
|
protected
|
2419
2429
|
|
2420
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2430
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#105
|
2421
2431
|
sig { void }
|
2422
2432
|
def load_application; end
|
2423
2433
|
|
2424
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2434
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#85
|
2425
2435
|
sig { void }
|
2426
2436
|
def load_dsl_compilers; end
|
2427
2437
|
|
2428
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2438
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#70
|
2429
2439
|
sig { void }
|
2430
2440
|
def load_dsl_extensions; end
|
2431
2441
|
|
2432
2442
|
class << self
|
2433
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
2443
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#21
|
2434
2444
|
sig do
|
2435
2445
|
params(
|
2436
2446
|
tapioca_path: ::String,
|
2437
2447
|
eager_load: T::Boolean,
|
2438
2448
|
app_root: ::String,
|
2439
|
-
halt_upon_load_error: T::Boolean
|
2449
|
+
halt_upon_load_error: T::Boolean,
|
2450
|
+
lsp_addon: T::Boolean
|
2440
2451
|
).void
|
2441
2452
|
end
|
2442
|
-
def load_application(tapioca_path:, eager_load: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
2453
|
+
def load_application(tapioca_path:, eager_load: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil), lsp_addon: T.unsafe(nil)); end
|
2443
2454
|
end
|
2444
2455
|
end
|
2445
2456
|
|
@@ -3429,10 +3440,10 @@ module Tapioca::Static::SymbolLoader
|
|
3429
3440
|
|
3430
3441
|
# @return [Array<T.class_of(Rails::Engine)>]
|
3431
3442
|
#
|
3432
|
-
# source://tapioca//lib/tapioca/static/symbol_loader.rb#
|
3443
|
+
# source://tapioca//lib/tapioca/static/symbol_loader.rb#71
|
3433
3444
|
def engines; end
|
3434
3445
|
|
3435
|
-
# source://tapioca//lib/tapioca/static/symbol_loader.rb#
|
3446
|
+
# source://tapioca//lib/tapioca/static/symbol_loader.rb#84
|
3436
3447
|
sig { params(input: ::String, table_type: ::String).returns(::String) }
|
3437
3448
|
def symbol_table_json_from(input, table_type: T.unsafe(nil)); end
|
3438
3449
|
end
|
@@ -3553,30 +3564,32 @@ end
|
|
3553
3564
|
|
3554
3565
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#7
|
3555
3566
|
class URI::Source < ::URI::File
|
3556
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
3567
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#72
|
3557
3568
|
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
|
3558
3569
|
def check_host(v); end
|
3559
3570
|
|
3560
|
-
# source://
|
3571
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#55
|
3572
|
+
sig { returns(T.nilable(::String)) }
|
3561
3573
|
def gem_name; end
|
3562
3574
|
|
3563
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
3575
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#29
|
3564
3576
|
sig { returns(T.nilable(::String)) }
|
3565
3577
|
def gem_version; end
|
3566
3578
|
|
3567
|
-
# source://
|
3579
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#60
|
3580
|
+
sig { returns(T.nilable(::String)) }
|
3568
3581
|
def line_number; end
|
3569
3582
|
|
3570
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
3583
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#65
|
3571
3584
|
sig { params(v: T.nilable(::String)).void }
|
3572
3585
|
def set_path(v); end
|
3573
3586
|
|
3574
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
3587
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#84
|
3575
3588
|
sig { returns(::String) }
|
3576
3589
|
def to_s; end
|
3577
3590
|
|
3578
3591
|
class << self
|
3579
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
3592
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#42
|
3580
3593
|
sig do
|
3581
3594
|
params(
|
3582
3595
|
gem_name: ::String,
|