vigiles 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -0
- data/lib/vigiles/archive/extras.rb +1 -1
- data/lib/vigiles/archive/metadata.rb +1 -1
- data/lib/vigiles/archive/response.rb +31 -5
- data/lib/vigiles/archive.rb +1 -1
- data/lib/vigiles/constants.rb +1 -1
- data/lib/vigiles/conversation_recorder.rb +3 -0
- data/lib/vigiles/conversation_recorders/application_json.rb +11 -6
- data/lib/vigiles/conversation_recorders/unknown.rb +3 -0
- data/lib/vigiles/middleware/record_conversation.rb +2 -2
- data/lib/vigiles/version.rb +1 -1
- data/sorbet/rbi/gems/concurrent-ruby@1.3.1.rbi +11627 -0
- data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +73 -72
- data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.23.1.rbi} +841 -159
- data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +233 -186
- data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.29.0.rbi} +19135 -12188
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.0.rbi} +34 -33
- data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +77 -55
- data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.13.rbi} +226 -154
- data/sorbet/rbi/gems/{rdoc@6.6.3.1.rbi → rdoc@6.7.0.rbi} +333 -327
- data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
- data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.8.rbi} +1 -0
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +121 -108
- data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +92 -62
- data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +35 -0
- data/sorbet/rbi/gems/{rubocop-sorbet@0.7.4.rbi → rubocop-sorbet@0.8.3.rbi} +327 -162
- data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.64.0.rbi} +1719 -1065
- data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.2.rbi} +123 -448
- data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +230 -37
- data/sorbet/rbi/gems/{zeitwerk@2.6.13.rbi → zeitwerk@2.6.15.rbi} +47 -36
- data/vigiles.gemspec +1 -1
- metadata +27 -27
- data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `tapioca` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem tapioca`.
|
6
6
|
|
7
|
+
|
7
8
|
class Bundler::Dependency < ::Gem::Dependency
|
8
9
|
include ::Tapioca::BundlerExt::AutoRequireHook
|
9
10
|
end
|
@@ -54,7 +55,7 @@ module RBI; end
|
|
54
55
|
|
55
56
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
|
56
57
|
class RBI::Tree < ::RBI::NodeWithComments
|
57
|
-
# source://rbi/0.1.
|
58
|
+
# source://rbi/0.1.13/lib/rbi/model.rb#119
|
58
59
|
sig do
|
59
60
|
params(
|
60
61
|
loc: T.nilable(::RBI::Loc),
|
@@ -64,19 +65,19 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
64
65
|
end
|
65
66
|
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
66
67
|
|
67
|
-
# source://rbi/0.1.
|
68
|
+
# source://rbi/0.1.13/lib/rbi/model.rb#126
|
68
69
|
sig { params(node: ::RBI::Node).void }
|
69
70
|
def <<(node); end
|
70
71
|
|
71
|
-
# source://rbi/0.1.
|
72
|
+
# source://rbi/0.1.13/lib/rbi/printer.rb#226
|
72
73
|
sig { override.params(v: ::RBI::Printer).void }
|
73
74
|
def accept_printer(v); end
|
74
75
|
|
75
|
-
# source://rbi/0.1.
|
76
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/add_sig_templates.rb#66
|
76
77
|
sig { params(with_todo_comment: T::Boolean).void }
|
77
78
|
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
|
78
79
|
|
79
|
-
# source://rbi/0.1.
|
80
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/annotate.rb#49
|
80
81
|
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
|
81
82
|
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
|
82
83
|
|
@@ -115,6 +116,19 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
115
116
|
end
|
116
117
|
def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil)); end
|
117
118
|
|
119
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#113
|
120
|
+
sig do
|
121
|
+
params(
|
122
|
+
name: ::String,
|
123
|
+
sigs: T::Array[::RBI::Sig],
|
124
|
+
parameters: T::Array[::RBI::Param],
|
125
|
+
class_method: T::Boolean,
|
126
|
+
visibility: ::RBI::Visibility,
|
127
|
+
comments: T::Array[::RBI::Comment]
|
128
|
+
).void
|
129
|
+
end
|
130
|
+
def create_method_with_sigs(name, sigs:, parameters: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil)); end
|
131
|
+
|
118
132
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#60
|
119
133
|
sig { params(name: ::String).void }
|
120
134
|
def create_mixes_in_class_methods(name); end
|
@@ -127,6 +141,16 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
127
141
|
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) }
|
128
142
|
def create_path(constant, &block); end
|
129
143
|
|
144
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#135
|
145
|
+
sig do
|
146
|
+
params(
|
147
|
+
parameters: T::Hash[T.any(::String, ::Symbol), ::String],
|
148
|
+
type_parameters: T::Array[::String],
|
149
|
+
return_type: ::String
|
150
|
+
).returns(::RBI::Sig)
|
151
|
+
end
|
152
|
+
def create_sig(parameters:, type_parameters: T.unsafe(nil), return_type: T.unsafe(nil)); end
|
153
|
+
|
130
154
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#74
|
131
155
|
sig do
|
132
156
|
params(
|
@@ -140,27 +164,27 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
140
164
|
end
|
141
165
|
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
|
142
166
|
|
143
|
-
# source://rbi/0.1.
|
167
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/deannotate.rb#41
|
144
168
|
sig { params(annotation: ::String).void }
|
145
169
|
def deannotate!(annotation); end
|
146
170
|
|
147
|
-
# source://rbi/0.1.
|
171
|
+
# source://rbi/0.1.13/lib/rbi/model.rb#132
|
148
172
|
sig { returns(T::Boolean) }
|
149
173
|
def empty?; end
|
150
174
|
|
151
|
-
# source://rbi/0.1.
|
175
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/filter_versions.rb#118
|
152
176
|
sig { params(version: ::Gem::Version).void }
|
153
177
|
def filter_versions!(version); end
|
154
178
|
|
155
|
-
# source://rbi/0.1.
|
179
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/group_nodes.rb#38
|
156
180
|
sig { void }
|
157
181
|
def group_nodes!; end
|
158
182
|
|
159
|
-
# source://rbi/0.1.
|
183
|
+
# source://rbi/0.1.13/lib/rbi/index.rb#68
|
160
184
|
sig { returns(::RBI::Index) }
|
161
185
|
def index; end
|
162
186
|
|
163
|
-
# source://rbi/0.1.
|
187
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/merge_trees.rb#324
|
164
188
|
sig do
|
165
189
|
params(
|
166
190
|
other: ::RBI::Tree,
|
@@ -171,44 +195,44 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
171
195
|
end
|
172
196
|
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
|
173
197
|
|
174
|
-
# source://rbi/0.1.
|
198
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/nest_non_public_methods.rb#46
|
175
199
|
sig { void }
|
176
200
|
def nest_non_public_methods!; end
|
177
201
|
|
178
|
-
# source://rbi/0.1.
|
202
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/nest_singleton_methods.rb#36
|
179
203
|
sig { void }
|
180
204
|
def nest_singleton_methods!; end
|
181
205
|
|
182
|
-
# source://rbi/0.1.
|
206
|
+
# source://rbi/0.1.13/lib/rbi/model.rb#110
|
183
207
|
sig { returns(T::Array[::RBI::Node]) }
|
184
208
|
def nodes; end
|
185
209
|
|
186
|
-
# source://rbi/0.1.
|
210
|
+
# source://rbi/0.1.13/lib/rbi/printer.rb#233
|
187
211
|
sig { override.returns(T::Boolean) }
|
188
212
|
def oneline?; end
|
189
213
|
|
190
|
-
# source://rbi/0.1.
|
214
|
+
# source://rbi/0.1.13/lib/rbi/rewriters/sort_nodes.rb#119
|
191
215
|
sig { void }
|
192
216
|
def sort_nodes!; end
|
193
217
|
|
194
218
|
private
|
195
219
|
|
196
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
220
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#150
|
197
221
|
sig { params(node: ::RBI::Node).returns(::RBI::Node) }
|
198
222
|
def create_node(node); end
|
199
223
|
|
200
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
224
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#145
|
201
225
|
sig { returns(T::Hash[::String, ::RBI::Node]) }
|
202
226
|
def nodes_cache; end
|
203
227
|
end
|
204
228
|
|
205
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
229
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#160
|
206
230
|
class RBI::TypedParam < ::T::Struct
|
207
231
|
const :param, ::RBI::Param
|
208
232
|
const :type, ::String
|
209
233
|
|
210
234
|
class << self
|
211
|
-
# source://sorbet-runtime/0.5.
|
235
|
+
# source://sorbet-runtime/0.5.11394/lib/types/struct.rb#13
|
212
236
|
def inherited(s); end
|
213
237
|
end
|
214
238
|
end
|
@@ -443,24 +467,24 @@ class Tapioca::Cli < ::Thor
|
|
443
467
|
include ::Tapioca::ConfigHelper
|
444
468
|
include ::Tapioca::EnvHelper
|
445
469
|
|
446
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
470
|
+
# source://tapioca//lib/tapioca/cli.rb#361
|
447
471
|
def __print_version; end
|
448
472
|
|
449
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
473
|
+
# source://tapioca//lib/tapioca/cli.rb#343
|
450
474
|
def annotations; end
|
451
475
|
|
452
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
476
|
+
# source://tapioca//lib/tapioca/cli.rb#315
|
453
477
|
def check_shims; end
|
454
478
|
|
455
479
|
# source://tapioca//lib/tapioca/cli.rb#46
|
456
480
|
def configure; end
|
457
481
|
|
458
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
482
|
+
# source://tapioca//lib/tapioca/cli.rb#143
|
459
483
|
def dsl(*constant_or_paths); end
|
460
484
|
|
461
485
|
# @raise [MalformattedArgumentError]
|
462
486
|
#
|
463
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
487
|
+
# source://tapioca//lib/tapioca/cli.rb#259
|
464
488
|
def gem(*gems); end
|
465
489
|
|
466
490
|
# source://tapioca//lib/tapioca/cli.rb#27
|
@@ -474,11 +498,11 @@ class Tapioca::Cli < ::Thor
|
|
474
498
|
|
475
499
|
private
|
476
500
|
|
477
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
501
|
+
# source://tapioca//lib/tapioca/cli.rb#375
|
478
502
|
def print_init_next_steps; end
|
479
503
|
|
480
504
|
class << self
|
481
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
505
|
+
# source://tapioca//lib/tapioca/cli.rb#367
|
482
506
|
def exit_on_failure?; end
|
483
507
|
end
|
484
508
|
end
|
@@ -506,131 +530,6 @@ end
|
|
506
530
|
# source://tapioca//lib/tapioca/commands.rb#5
|
507
531
|
module Tapioca::Commands; end
|
508
532
|
|
509
|
-
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
510
|
-
#
|
511
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#6
|
512
|
-
class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracker
|
513
|
-
include ::Tapioca::SorbetHelper
|
514
|
-
include ::Tapioca::RBIFilesHelper
|
515
|
-
|
516
|
-
abstract!
|
517
|
-
|
518
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#31
|
519
|
-
sig do
|
520
|
-
params(
|
521
|
-
requested_constants: T::Array[::String],
|
522
|
-
requested_paths: T::Array[::Pathname],
|
523
|
-
outpath: ::Pathname,
|
524
|
-
only: T::Array[::String],
|
525
|
-
exclude: T::Array[::String],
|
526
|
-
file_header: T::Boolean,
|
527
|
-
tapioca_path: ::String,
|
528
|
-
quiet: T::Boolean,
|
529
|
-
verbose: T::Boolean,
|
530
|
-
number_of_workers: T.nilable(::Integer),
|
531
|
-
auto_strictness: T::Boolean,
|
532
|
-
gem_dir: ::String,
|
533
|
-
rbi_formatter: ::Tapioca::RBIFormatter,
|
534
|
-
app_root: ::String,
|
535
|
-
halt_upon_load_error: T::Boolean
|
536
|
-
).void
|
537
|
-
end
|
538
|
-
def initialize(requested_constants:, requested_paths:, outpath:, only:, exclude:, file_header:, tapioca_path:, quiet: T.unsafe(nil), verbose: T.unsafe(nil), number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), gem_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
539
|
-
|
540
|
-
private
|
541
|
-
|
542
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#94
|
543
|
-
sig { returns(T::Array[::String]) }
|
544
|
-
def all_requested_constants; end
|
545
|
-
|
546
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#284
|
547
|
-
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
548
|
-
def build_error_for_files(cause, files); end
|
549
|
-
|
550
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#208
|
551
|
-
sig do
|
552
|
-
params(
|
553
|
-
constant_name: ::String,
|
554
|
-
rbi: ::RBI::File,
|
555
|
-
outpath: ::Pathname,
|
556
|
-
quiet: T::Boolean
|
557
|
-
).returns(T.nilable(::Pathname))
|
558
|
-
end
|
559
|
-
def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end
|
560
|
-
|
561
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#146
|
562
|
-
sig { params(constant_names: T::Array[::String], ignore_missing: T::Boolean).returns(T::Array[::Module]) }
|
563
|
-
def constantize(constant_names, ignore_missing: T.unsafe(nil)); end
|
564
|
-
|
565
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#169
|
566
|
-
sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
567
|
-
def constantize_compilers(compiler_names); end
|
568
|
-
|
569
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#344
|
570
|
-
sig { returns(T::Array[::String]) }
|
571
|
-
def constants_from_requested_paths; end
|
572
|
-
|
573
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#117
|
574
|
-
sig { returns(::Tapioca::Dsl::Pipeline) }
|
575
|
-
def create_pipeline; end
|
576
|
-
|
577
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#247
|
578
|
-
sig { params(constant_name: ::String).returns(::Pathname) }
|
579
|
-
def dsl_rbi_filename(constant_name); end
|
580
|
-
|
581
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#132
|
582
|
-
sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) }
|
583
|
-
def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end
|
584
|
-
|
585
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#339
|
586
|
-
sig { params(constant: ::String).returns(::String) }
|
587
|
-
def generate_command_for(constant); end
|
588
|
-
|
589
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#70
|
590
|
-
sig { params(outpath: ::Pathname, quiet: T::Boolean).returns(T::Set[::Pathname]) }
|
591
|
-
def generate_dsl_rbi_files(outpath, quiet:); end
|
592
|
-
|
593
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#107
|
594
|
-
sig { void }
|
595
|
-
def load_application; end
|
596
|
-
|
597
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#226
|
598
|
-
sig { params(dir: ::Pathname).void }
|
599
|
-
def perform_dsl_verification(dir); end
|
600
|
-
|
601
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#102
|
602
|
-
sig { returns(::Tapioca::Dsl::Pipeline) }
|
603
|
-
def pipeline; end
|
604
|
-
|
605
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#235
|
606
|
-
sig { params(files: T::Set[::Pathname]).void }
|
607
|
-
def purge_stale_dsl_rbi_files(files); end
|
608
|
-
|
609
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#334
|
610
|
-
sig { params(constant: ::String).returns(::String) }
|
611
|
-
def rbi_filename_for(constant); end
|
612
|
-
|
613
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#315
|
614
|
-
sig { params(path: ::Pathname).returns(T::Array[::Pathname]) }
|
615
|
-
def rbi_files_in(path); end
|
616
|
-
|
617
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#293
|
618
|
-
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
619
|
-
def report_diff_and_exit_if_out_of_date(diff, command); end
|
620
|
-
|
621
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#188
|
622
|
-
sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) }
|
623
|
-
def resolve(name); end
|
624
|
-
|
625
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#322
|
626
|
-
sig { params(class_name: ::String).returns(::String) }
|
627
|
-
def underscore(class_name); end
|
628
|
-
|
629
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#252
|
630
|
-
sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) }
|
631
|
-
def verify_dsl_rbi(tmp_dir:); end
|
632
|
-
end
|
633
|
-
|
634
533
|
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
635
534
|
#
|
636
535
|
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#6
|
@@ -665,11 +564,11 @@ class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
|
665
564
|
|
666
565
|
private
|
667
566
|
|
668
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
567
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#223
|
669
568
|
sig { returns(T::Array[::String]) }
|
670
569
|
def added_rbis; end
|
671
570
|
|
672
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
571
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#284
|
673
572
|
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
674
573
|
def build_error_for_files(cause, files); end
|
675
574
|
|
@@ -677,19 +576,19 @@ class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
|
677
576
|
sig { params(gem: ::Tapioca::Gemfile::GemSpec).void }
|
678
577
|
def compile_gem_rbi(gem); end
|
679
578
|
|
680
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
579
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#218
|
681
580
|
sig { params(gem_name: ::String).returns(::Pathname) }
|
682
581
|
def existing_rbi(gem_name); end
|
683
582
|
|
684
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
583
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#266
|
685
584
|
sig { returns(T::Hash[::String, ::String]) }
|
686
585
|
def existing_rbis; end
|
687
586
|
|
688
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
587
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#230
|
689
588
|
sig { params(gem_name: ::String).returns(::Pathname) }
|
690
589
|
def expected_rbi(gem_name); end
|
691
590
|
|
692
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
591
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#272
|
693
592
|
sig { returns(T::Hash[::String, ::String]) }
|
694
593
|
def expected_rbis; end
|
695
594
|
|
@@ -702,11 +601,11 @@ class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
|
702
601
|
end
|
703
602
|
def gem_dependencies(gem, dependencies = T.unsafe(nil)); end
|
704
603
|
|
705
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
604
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#235
|
706
605
|
sig { params(gem_name: ::String).returns(T::Boolean) }
|
707
606
|
def gem_rbi_exists?(gem_name); end
|
708
607
|
|
709
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
608
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#279
|
710
609
|
sig { params(gem_name: ::String, version: ::String).returns(::Pathname) }
|
711
610
|
def gem_rbi_filename(gem_name, version); end
|
712
611
|
|
@@ -714,138 +613,31 @@ class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
|
714
613
|
sig { params(gem_names: T::Array[::String]).returns(T::Array[::Tapioca::Gemfile::GemSpec]) }
|
715
614
|
def gems_to_generate(gem_names); end
|
716
615
|
|
717
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
616
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#289
|
718
617
|
sig { params(gem: ::Tapioca::Gemfile::GemSpec, file: ::RBI::File).void }
|
719
618
|
def merge_with_exported_rbi(gem, file); end
|
720
619
|
|
721
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
620
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#260
|
722
621
|
sig { params(old_filename: ::Pathname, new_filename: ::Pathname).void }
|
723
622
|
def move(old_filename, new_filename); end
|
724
623
|
|
725
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
624
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#170
|
726
625
|
sig { void }
|
727
626
|
def perform_additions; end
|
728
627
|
|
729
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
628
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#143
|
730
629
|
sig { void }
|
731
630
|
def perform_removals; end
|
732
631
|
|
733
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
632
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#213
|
734
633
|
sig { returns(T::Array[::String]) }
|
735
634
|
def removed_rbis; end
|
736
635
|
|
737
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
636
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#240
|
738
637
|
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
739
638
|
def report_diff_and_exit_if_out_of_date(diff, command); end
|
740
639
|
end
|
741
640
|
|
742
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#6
|
743
|
-
class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracker
|
744
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#18
|
745
|
-
sig do
|
746
|
-
params(
|
747
|
-
central_repo_root_uris: T::Array[::String],
|
748
|
-
auth: T.nilable(::String),
|
749
|
-
netrc_file: T.nilable(::String),
|
750
|
-
central_repo_index_path: ::String,
|
751
|
-
typed_overrides: T::Hash[::String, ::String]
|
752
|
-
).void
|
753
|
-
end
|
754
|
-
def initialize(central_repo_root_uris:, auth: T.unsafe(nil), netrc_file: T.unsafe(nil), central_repo_index_path: T.unsafe(nil), typed_overrides: T.unsafe(nil)); end
|
755
|
-
|
756
|
-
private
|
757
|
-
|
758
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#193
|
759
|
-
sig { params(name: ::String, content: ::String).returns(::String) }
|
760
|
-
def add_header(name, content); end
|
761
|
-
|
762
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#213
|
763
|
-
sig { params(name: ::String, content: ::String).returns(::String) }
|
764
|
-
def apply_typed_override(name, content); end
|
765
|
-
|
766
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#39
|
767
|
-
sig { override.void }
|
768
|
-
def execute; end
|
769
|
-
|
770
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#136
|
771
|
-
sig { params(repo_uris: T::Array[::String], gem_name: ::String).void }
|
772
|
-
def fetch_annotation(repo_uris, gem_name); end
|
773
|
-
|
774
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#113
|
775
|
-
sig { params(gem_names: T::Array[::String]).returns(T::Array[::String]) }
|
776
|
-
def fetch_annotations(gem_names); end
|
777
|
-
|
778
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#152
|
779
|
-
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
780
|
-
def fetch_file(repo_uri, path); end
|
781
|
-
|
782
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#169
|
783
|
-
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
784
|
-
def fetch_http_file(repo_uri, path); end
|
785
|
-
|
786
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#102
|
787
|
-
sig { params(repo_uri: ::String, repo_number: T.nilable(::Integer)).returns(T.nilable(Tapioca::RepoIndex)) }
|
788
|
-
def fetch_index(repo_uri, repo_number:); end
|
789
|
-
|
790
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#81
|
791
|
-
sig { returns(T::Hash[::String, Tapioca::RepoIndex]) }
|
792
|
-
def fetch_indexes; end
|
793
|
-
|
794
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#161
|
795
|
-
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
796
|
-
def fetch_local_file(repo_uri, path); end
|
797
|
-
|
798
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#50
|
799
|
-
sig { returns(T::Array[::String]) }
|
800
|
-
def list_gemfile_gems; end
|
801
|
-
|
802
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#225
|
803
|
-
sig { params(gem_name: ::String, contents: T::Array[::String]).returns(T.nilable(::String)) }
|
804
|
-
def merge_files(gem_name, contents); end
|
805
|
-
|
806
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#60
|
807
|
-
sig { params(project_gems: T::Array[::String]).void }
|
808
|
-
def remove_expired_annotations(project_gems); end
|
809
|
-
|
810
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#252
|
811
|
-
sig { returns(T::Hash[::String, T.nilable(::String)]) }
|
812
|
-
def repo_tokens; end
|
813
|
-
|
814
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#280
|
815
|
-
sig { params(path: ::String, repo_uri: ::String, message: ::String).void }
|
816
|
-
def say_http_error(path, repo_uri, message:); end
|
817
|
-
|
818
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#264
|
819
|
-
sig { params(repo_uri: ::String).returns(T.nilable(::String)) }
|
820
|
-
def token_for(repo_uri); end
|
821
|
-
end
|
822
|
-
|
823
|
-
# source://tapioca//lib/tapioca/commands/check_shims.rb#6
|
824
|
-
class Tapioca::Commands::CheckShims < ::Tapioca::Commands::CommandWithoutTracker
|
825
|
-
include ::Tapioca::SorbetHelper
|
826
|
-
include ::Tapioca::RBIFilesHelper
|
827
|
-
|
828
|
-
# source://tapioca//lib/tapioca/commands/check_shims.rb#22
|
829
|
-
sig do
|
830
|
-
params(
|
831
|
-
gem_rbi_dir: ::String,
|
832
|
-
dsl_rbi_dir: ::String,
|
833
|
-
annotations_rbi_dir: ::String,
|
834
|
-
shim_rbi_dir: ::String,
|
835
|
-
todo_rbi_file: ::String,
|
836
|
-
payload: T::Boolean,
|
837
|
-
number_of_workers: T.nilable(::Integer)
|
838
|
-
).void
|
839
|
-
end
|
840
|
-
def initialize(gem_rbi_dir:, dsl_rbi_dir:, annotations_rbi_dir:, shim_rbi_dir:, todo_rbi_file:, payload:, number_of_workers:); end
|
841
|
-
|
842
|
-
private
|
843
|
-
|
844
|
-
# source://tapioca//lib/tapioca/commands/check_shims.rb#44
|
845
|
-
sig { override.void }
|
846
|
-
def execute; end
|
847
|
-
end
|
848
|
-
|
849
641
|
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
850
642
|
#
|
851
643
|
# source://tapioca//lib/tapioca/commands/command.rb#6
|
@@ -863,7 +655,7 @@ class Tapioca::Commands::Command
|
|
863
655
|
sig { void }
|
864
656
|
def initialize; end
|
865
657
|
|
866
|
-
# source://thor/1.3.
|
658
|
+
# source://thor/1.3.1/lib/thor/base.rb#155
|
867
659
|
sig { returns(::Thor::Actions) }
|
868
660
|
def file_writer; end
|
869
661
|
|
@@ -906,81 +698,6 @@ class Tapioca::Commands::Command::FileWriter < ::Thor
|
|
906
698
|
extend ::Thor::Actions::ClassMethods
|
907
699
|
end
|
908
700
|
|
909
|
-
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
910
|
-
#
|
911
|
-
# source://tapioca//lib/tapioca/commands/command_without_tracker.rb#6
|
912
|
-
class Tapioca::Commands::CommandWithoutTracker < ::Tapioca::Commands::Command
|
913
|
-
abstract!
|
914
|
-
|
915
|
-
# source://tapioca//lib/tapioca/commands/command_without_tracker.rb#12
|
916
|
-
sig { void }
|
917
|
-
def initialize; end
|
918
|
-
end
|
919
|
-
|
920
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#6
|
921
|
-
class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
|
922
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#14
|
923
|
-
sig { params(sorbet_config: ::String, tapioca_config: ::String, default_postrequire: ::String).void }
|
924
|
-
def initialize(sorbet_config:, tapioca_config:, default_postrequire:); end
|
925
|
-
|
926
|
-
private
|
927
|
-
|
928
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#79
|
929
|
-
sig { void }
|
930
|
-
def create_binstub; end
|
931
|
-
|
932
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#69
|
933
|
-
sig { void }
|
934
|
-
def create_post_require; end
|
935
|
-
|
936
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#40
|
937
|
-
sig { void }
|
938
|
-
def create_sorbet_config; end
|
939
|
-
|
940
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#50
|
941
|
-
sig { void }
|
942
|
-
def create_tapioca_config; end
|
943
|
-
|
944
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#32
|
945
|
-
sig { override.void }
|
946
|
-
def execute; end
|
947
|
-
|
948
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#92
|
949
|
-
sig { returns(::Bundler::Installer) }
|
950
|
-
def installer; end
|
951
|
-
|
952
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#97
|
953
|
-
sig { returns(T.any(::Bundler::StubSpecification, ::Gem::Specification)) }
|
954
|
-
def spec; end
|
955
|
-
end
|
956
|
-
|
957
|
-
# source://tapioca//lib/tapioca/commands/dsl_compiler_list.rb#6
|
958
|
-
class Tapioca::Commands::DslCompilerList < ::Tapioca::Commands::AbstractDsl
|
959
|
-
private
|
960
|
-
|
961
|
-
# source://tapioca//lib/tapioca/commands/dsl_compiler_list.rb#10
|
962
|
-
sig { override.void }
|
963
|
-
def execute; end
|
964
|
-
end
|
965
|
-
|
966
|
-
# source://tapioca//lib/tapioca/commands/dsl_generate.rb#6
|
967
|
-
class Tapioca::Commands::DslGenerate < ::Tapioca::Commands::AbstractDsl
|
968
|
-
private
|
969
|
-
|
970
|
-
# source://tapioca//lib/tapioca/commands/dsl_generate.rb#10
|
971
|
-
sig { override.void }
|
972
|
-
def execute; end
|
973
|
-
end
|
974
|
-
|
975
|
-
# source://tapioca//lib/tapioca/commands/dsl_verify.rb#6
|
976
|
-
class Tapioca::Commands::DslVerify < ::Tapioca::Commands::AbstractDsl
|
977
|
-
private
|
978
|
-
|
979
|
-
# source://tapioca//lib/tapioca/commands/dsl_verify.rb#10
|
980
|
-
sig { override.void }
|
981
|
-
def execute; end
|
982
|
-
end
|
983
|
-
|
984
701
|
# source://tapioca//lib/tapioca/commands/gem_generate.rb#6
|
985
702
|
class Tapioca::Commands::GemGenerate < ::Tapioca::Commands::AbstractGem
|
986
703
|
private
|
@@ -1012,49 +729,6 @@ class Tapioca::Commands::GemVerify < ::Tapioca::Commands::AbstractGem
|
|
1012
729
|
def perform_sync_verification; end
|
1013
730
|
end
|
1014
731
|
|
1015
|
-
# source://tapioca//lib/tapioca/commands/require.rb#6
|
1016
|
-
class Tapioca::Commands::Require < ::Tapioca::Commands::CommandWithoutTracker
|
1017
|
-
# source://tapioca//lib/tapioca/commands/require.rb#13
|
1018
|
-
sig { params(requires_path: ::String, sorbet_config_path: ::String).void }
|
1019
|
-
def initialize(requires_path:, sorbet_config_path:); end
|
1020
|
-
|
1021
|
-
private
|
1022
|
-
|
1023
|
-
# source://tapioca//lib/tapioca/commands/require.rb#23
|
1024
|
-
sig { override.void }
|
1025
|
-
def execute; end
|
1026
|
-
end
|
1027
|
-
|
1028
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#6
|
1029
|
-
class Tapioca::Commands::Todo < ::Tapioca::Commands::CommandWithoutTracker
|
1030
|
-
include ::Tapioca::SorbetHelper
|
1031
|
-
|
1032
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#26
|
1033
|
-
sig { params(todo_file: ::String, file_header: T::Boolean).void }
|
1034
|
-
def initialize(todo_file:, file_header:); end
|
1035
|
-
|
1036
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#34
|
1037
|
-
sig { void }
|
1038
|
-
def run_with_deprecation; end
|
1039
|
-
|
1040
|
-
private
|
1041
|
-
|
1042
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#44
|
1043
|
-
sig { override.void }
|
1044
|
-
def execute; end
|
1045
|
-
|
1046
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#68
|
1047
|
-
sig { params(constants: T::Array[::String], command: ::String).returns(::RBI::File) }
|
1048
|
-
def rbi(constants, command:); end
|
1049
|
-
|
1050
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#88
|
1051
|
-
sig { returns(T::Array[::String]) }
|
1052
|
-
def unresolved_constants; end
|
1053
|
-
end
|
1054
|
-
|
1055
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#9
|
1056
|
-
Tapioca::Commands::Todo::DEPRECATION_MESSAGE = T.let(T.unsafe(nil), String)
|
1057
|
-
|
1058
732
|
# source://tapioca//lib/tapioca/helpers/config_helper.rb#5
|
1059
733
|
module Tapioca::ConfigHelper
|
1060
734
|
requires_ancestor { Thor }
|
@@ -1125,7 +799,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|
1125
799
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
1126
800
|
|
1127
801
|
class << self
|
1128
|
-
# source://sorbet-runtime/0.5.
|
802
|
+
# source://sorbet-runtime/0.5.11394/lib/types/struct.rb#13
|
1129
803
|
def inherited(s); end
|
1130
804
|
end
|
1131
805
|
end
|
@@ -1136,7 +810,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|
1136
810
|
const :colors, T::Array[::Symbol]
|
1137
811
|
|
1138
812
|
class << self
|
1139
|
-
# source://sorbet-runtime/0.5.
|
813
|
+
# source://sorbet-runtime/0.5.11394/lib/types/struct.rb#13
|
1140
814
|
def inherited(s); end
|
1141
815
|
end
|
1142
816
|
end
|
@@ -1162,7 +836,7 @@ Tapioca::DEFAULT_POSTREQUIRE_FILE = T.let(T.unsafe(nil), String)
|
|
1162
836
|
# source://tapioca//lib/tapioca.rb#39
|
1163
837
|
Tapioca::DEFAULT_RBI_DIR = T.let(T.unsafe(nil), String)
|
1164
838
|
|
1165
|
-
# source://tapioca//lib/tapioca/rbi_formatter.rb#
|
839
|
+
# source://tapioca//lib/tapioca/rbi_formatter.rb#31
|
1166
840
|
Tapioca::DEFAULT_RBI_FORMATTER = T.let(T.unsafe(nil), Tapioca::RBIFormatter)
|
1167
841
|
|
1168
842
|
# source://tapioca//lib/tapioca.rb#55
|
@@ -1283,7 +957,7 @@ Tapioca::Dsl::Compilers::NAMESPACES = T.let(T.unsafe(nil), Array)
|
|
1283
957
|
|
1284
958
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#6
|
1285
959
|
class Tapioca::Dsl::Pipeline
|
1286
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
960
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#38
|
1287
961
|
sig do
|
1288
962
|
params(
|
1289
963
|
requested_constants: T::Array[::Module],
|
@@ -1291,32 +965,33 @@ class Tapioca::Dsl::Pipeline
|
|
1291
965
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
1292
966
|
excluded_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
1293
967
|
error_handler: T.proc.params(error: ::String).void,
|
968
|
+
skipped_constants: T::Array[::Module],
|
1294
969
|
number_of_workers: T.nilable(::Integer)
|
1295
970
|
).void
|
1296
971
|
end
|
1297
|
-
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
|
972
|
+
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)); end
|
1298
973
|
|
1299
974
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#10
|
1300
975
|
sig { returns(T::Enumerable[T.class_of(Tapioca::Dsl::Compiler)]) }
|
1301
976
|
def active_compilers; end
|
1302
977
|
|
1303
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
978
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#99
|
1304
979
|
sig { params(error: ::String).void }
|
1305
980
|
def add_error(error); end
|
1306
981
|
|
1307
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
982
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#104
|
1308
983
|
sig { params(compiler_name: ::String).returns(T::Boolean) }
|
1309
984
|
def compiler_enabled?(compiler_name); end
|
1310
985
|
|
1311
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
986
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#113
|
1312
987
|
sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
1313
988
|
def compilers; end
|
1314
989
|
|
1315
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
990
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#22
|
1316
991
|
sig { returns(T.proc.params(error: ::String).void) }
|
1317
992
|
def error_handler; end
|
1318
993
|
|
1319
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
994
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#25
|
1320
995
|
sig { returns(T::Array[::String]) }
|
1321
996
|
def errors; end
|
1322
997
|
|
@@ -1328,7 +1003,7 @@ class Tapioca::Dsl::Pipeline
|
|
1328
1003
|
sig { returns(T::Array[::Pathname]) }
|
1329
1004
|
def requested_paths; end
|
1330
1005
|
|
1331
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1006
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#64
|
1332
1007
|
sig do
|
1333
1008
|
type_parameters(:T)
|
1334
1009
|
.params(
|
@@ -1337,17 +1012,21 @@ class Tapioca::Dsl::Pipeline
|
|
1337
1012
|
end
|
1338
1013
|
def run(&blk); end
|
1339
1014
|
|
1015
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#19
|
1016
|
+
sig { returns(T::Array[::Module]) }
|
1017
|
+
def skipped_constants; end
|
1018
|
+
|
1340
1019
|
private
|
1341
1020
|
|
1342
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1021
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#220
|
1343
1022
|
sig { void }
|
1344
1023
|
def abort_if_pending_migrations!; end
|
1345
1024
|
|
1346
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1025
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#165
|
1347
1026
|
sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) }
|
1348
1027
|
def filter_anonymous_and_reloaded_constants(constants); end
|
1349
1028
|
|
1350
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1029
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#130
|
1351
1030
|
sig do
|
1352
1031
|
params(
|
1353
1032
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
@@ -1356,20 +1035,21 @@ class Tapioca::Dsl::Pipeline
|
|
1356
1035
|
end
|
1357
1036
|
def gather_active_compilers(requested_compilers, excluded_compilers); end
|
1358
1037
|
|
1359
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1038
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#144
|
1360
1039
|
sig do
|
1361
1040
|
params(
|
1362
1041
|
requested_constants: T::Array[::Module],
|
1363
|
-
requested_paths: T::Array[::Pathname]
|
1042
|
+
requested_paths: T::Array[::Pathname],
|
1043
|
+
skipped_constants: T::Array[::Module]
|
1364
1044
|
).returns(T::Set[::Module])
|
1365
1045
|
end
|
1366
|
-
def gather_constants(requested_constants, requested_paths); end
|
1046
|
+
def gather_constants(requested_constants, requested_paths, skipped_constants); end
|
1367
1047
|
|
1368
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1048
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#194
|
1369
1049
|
sig { params(constant: ::Module).returns(T.nilable(::RBI::File)) }
|
1370
1050
|
def rbi_for_constant(constant); end
|
1371
1051
|
|
1372
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
1052
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#213
|
1373
1053
|
sig { params(error: ::String).returns(T.noreturn) }
|
1374
1054
|
def report_error(error); end
|
1375
1055
|
end
|
@@ -2227,15 +1907,15 @@ class Tapioca::Gemfile::GemSpec
|
|
2227
1907
|
sig { returns(T::Array[::Gem::Dependency]) }
|
2228
1908
|
def dependencies; end
|
2229
1909
|
|
2230
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1910
|
+
# source://tapioca//lib/tapioca/gemfile.rb#201
|
2231
1911
|
sig { returns(T::Boolean) }
|
2232
1912
|
def export_rbi_files?; end
|
2233
1913
|
|
2234
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1914
|
+
# source://tapioca//lib/tapioca/gemfile.rb#196
|
2235
1915
|
sig { returns(T::Array[::String]) }
|
2236
1916
|
def exported_rbi_files; end
|
2237
1917
|
|
2238
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1918
|
+
# source://tapioca//lib/tapioca/gemfile.rb#206
|
2239
1919
|
sig { returns(::RBI::MergeTree) }
|
2240
1920
|
def exported_rbi_tree; end
|
2241
1921
|
|
@@ -2263,7 +1943,7 @@ class Tapioca::Gemfile::GemSpec
|
|
2263
1943
|
sig { returns(::String) }
|
2264
1944
|
def rbi_file_name; end
|
2265
1945
|
|
2266
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1946
|
+
# source://tapioca//lib/tapioca/gemfile.rb#218
|
2267
1947
|
sig { params(file: ::Pathname).returns(::Pathname) }
|
2268
1948
|
def relative_path_for(file); end
|
2269
1949
|
|
@@ -2274,31 +1954,31 @@ class Tapioca::Gemfile::GemSpec
|
|
2274
1954
|
|
2275
1955
|
private
|
2276
1956
|
|
2277
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1957
|
+
# source://tapioca//lib/tapioca/gemfile.rb#229
|
2278
1958
|
sig { returns(T::Array[::Pathname]) }
|
2279
1959
|
def collect_files; end
|
2280
1960
|
|
2281
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1961
|
+
# source://tapioca//lib/tapioca/gemfile.rb#244
|
2282
1962
|
sig { returns(T.nilable(T::Boolean)) }
|
2283
1963
|
def default_gem?; end
|
2284
1964
|
|
2285
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1965
|
+
# source://tapioca//lib/tapioca/gemfile.rb#303
|
2286
1966
|
sig { returns(T::Boolean) }
|
2287
1967
|
def gem_ignored?; end
|
2288
1968
|
|
2289
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1969
|
+
# source://tapioca//lib/tapioca/gemfile.rb#282
|
2290
1970
|
sig { params(path: ::String).returns(T::Boolean) }
|
2291
1971
|
def has_parent_gemspec?(path); end
|
2292
1972
|
|
2293
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1973
|
+
# source://tapioca//lib/tapioca/gemfile.rb#249
|
2294
1974
|
sig { returns(::Regexp) }
|
2295
1975
|
def require_paths_prefix_matcher; end
|
2296
1976
|
|
2297
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1977
|
+
# source://tapioca//lib/tapioca/gemfile.rb#261
|
2298
1978
|
sig { params(file: ::String).returns(::Pathname) }
|
2299
1979
|
def resolve_to_ruby_lib_dir(file); end
|
2300
1980
|
|
2301
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
1981
|
+
# source://tapioca//lib/tapioca/gemfile.rb#275
|
2302
1982
|
sig { returns(::String) }
|
2303
1983
|
def version_string; end
|
2304
1984
|
|
@@ -2436,16 +2116,16 @@ class Tapioca::Loaders::Loader
|
|
2436
2116
|
# @param engine [T.class_of(Rails::Engine)]
|
2437
2117
|
# @return [Array<String>]
|
2438
2118
|
#
|
2439
|
-
# source://sorbet-runtime/0.5.
|
2119
|
+
# source://sorbet-runtime/0.5.11394/lib/types/private/methods/_methods.rb#257
|
2440
2120
|
def eager_load_paths(*args, **_arg1, &blk); end
|
2441
2121
|
|
2442
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2122
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#188
|
2443
2123
|
sig { void }
|
2444
2124
|
def eager_load_rails_app; end
|
2445
2125
|
|
2446
2126
|
# @return [Array<T.class_of(Rails::Engine)>]
|
2447
2127
|
#
|
2448
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2128
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#167
|
2449
2129
|
def engines; end
|
2450
2130
|
|
2451
2131
|
# source://tapioca//lib/tapioca/loaders/loader.rb#29
|
@@ -2459,11 +2139,11 @@ class Tapioca::Loaders::Loader
|
|
2459
2139
|
end
|
2460
2140
|
def load_bundle(gemfile, initialize_file, require_file, halt_upon_load_error); end
|
2461
2141
|
|
2462
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2142
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#125
|
2463
2143
|
sig { void }
|
2464
2144
|
def load_engines_in_classic_mode; end
|
2465
2145
|
|
2466
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2146
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#103
|
2467
2147
|
sig { void }
|
2468
2148
|
def load_engines_in_zeitwerk_mode; end
|
2469
2149
|
|
@@ -2478,30 +2158,26 @@ class Tapioca::Loaders::Loader
|
|
2478
2158
|
end
|
2479
2159
|
def load_rails_application(environment_load: T.unsafe(nil), eager_load: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
2480
2160
|
|
2481
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2161
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#78
|
2482
2162
|
sig { void }
|
2483
2163
|
def load_rails_engines; end
|
2484
2164
|
|
2485
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2165
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#209
|
2486
2166
|
sig { params(file: T.nilable(::String)).void }
|
2487
2167
|
def require_helper(file); end
|
2488
2168
|
|
2489
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2169
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#92
|
2490
2170
|
def run_initializers; end
|
2491
2171
|
|
2492
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2172
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#181
|
2493
2173
|
sig { params(path: ::String).void }
|
2494
2174
|
def safe_require(path); end
|
2495
2175
|
|
2496
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2497
|
-
sig { void }
|
2498
|
-
def silence_deprecations; end
|
2499
|
-
|
2500
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#152
|
2176
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#150
|
2501
2177
|
sig { params(blk: T.proc.void).void }
|
2502
2178
|
def with_rails_application(&blk); end
|
2503
2179
|
|
2504
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
2180
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#143
|
2505
2181
|
sig { returns(T::Boolean) }
|
2506
2182
|
def zeitwerk_mode?; end
|
2507
2183
|
end
|
@@ -2597,7 +2273,7 @@ end
|
|
2597
2273
|
|
2598
2274
|
# source://tapioca//lib/tapioca/rbi_formatter.rb#5
|
2599
2275
|
class Tapioca::RBIFormatter < ::RBI::Formatter
|
2600
|
-
# source://tapioca//lib/tapioca/rbi_formatter.rb#
|
2276
|
+
# source://tapioca//lib/tapioca/rbi_formatter.rb#24
|
2601
2277
|
sig { params(file: ::RBI::File).void }
|
2602
2278
|
def write_empty_body_comment!(file); end
|
2603
2279
|
|
@@ -2616,6 +2292,10 @@ module Tapioca::RBIHelper
|
|
2616
2292
|
sig { params(type: ::String).returns(::String) }
|
2617
2293
|
def as_nilable_type(type); end
|
2618
2294
|
|
2295
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#100
|
2296
|
+
sig { params(type: ::String).returns(::String) }
|
2297
|
+
def as_non_nilable_type(type); end
|
2298
|
+
|
2619
2299
|
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#72
|
2620
2300
|
sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
|
2621
2301
|
def create_block_param(name, type:); end
|
@@ -2652,11 +2332,11 @@ module Tapioca::RBIHelper
|
|
2652
2332
|
sig { params(sig_string: ::String).returns(::String) }
|
2653
2333
|
def sanitize_signature_types(sig_string); end
|
2654
2334
|
|
2655
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
2335
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#109
|
2656
2336
|
sig { params(name: ::String).returns(T::Boolean) }
|
2657
2337
|
def valid_method_name?(name); end
|
2658
2338
|
|
2659
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
2339
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#123
|
2660
2340
|
sig { params(name: ::String).returns(T::Boolean) }
|
2661
2341
|
def valid_parameter_name?(name); end
|
2662
2342
|
|
@@ -3344,7 +3024,7 @@ module Tapioca::Static::SymbolLoader
|
|
3344
3024
|
|
3345
3025
|
# @return [Array<T.class_of(Rails::Engine)>]
|
3346
3026
|
#
|
3347
|
-
# source://sorbet-runtime/0.5.
|
3027
|
+
# source://sorbet-runtime/0.5.11394/lib/types/private/methods/_methods.rb#257
|
3348
3028
|
def engines(*args, **_arg1, &blk); end
|
3349
3029
|
|
3350
3030
|
# source://tapioca//lib/tapioca/static/symbol_loader.rb#82
|
@@ -3461,23 +3141,20 @@ end
|
|
3461
3141
|
# source://tapioca//lib/tapioca/version.rb#5
|
3462
3142
|
Tapioca::VERSION = T.let(T.unsafe(nil), String)
|
3463
3143
|
|
3464
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#6
|
3465
|
-
module URI
|
3466
|
-
include ::URI::RFC2396_REGEXP
|
3467
|
-
end
|
3468
|
-
|
3469
3144
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#7
|
3470
3145
|
class URI::Source < ::URI::File
|
3471
3146
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#58
|
3472
3147
|
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
|
3473
3148
|
def check_host(v); end
|
3474
3149
|
|
3150
|
+
# source://uri/0.13.0/uri/generic.rb#243
|
3475
3151
|
def gem_name; end
|
3476
3152
|
|
3477
3153
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#25
|
3478
3154
|
sig { returns(T.nilable(::String)) }
|
3479
3155
|
def gem_version; end
|
3480
3156
|
|
3157
|
+
# source://uri/0.13.0/uri/generic.rb#283
|
3481
3158
|
def line_number; end
|
3482
3159
|
|
3483
3160
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#51
|
@@ -3504,5 +3181,3 @@ end
|
|
3504
3181
|
|
3505
3182
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#10
|
3506
3183
|
URI::Source::COMPONENT = T.let(T.unsafe(nil), Array)
|
3507
|
-
|
3508
|
-
class URI::WSS < ::URI::WS; end
|