xtj 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,643 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rake/all/rake.rbi
9
+ #
10
+ # rake-10.5.0
11
+ module Rake
12
+ def self.add_rakelib(*files); end
13
+ def self.application; end
14
+ def self.application=(app); end
15
+ def self.each_dir_parent(dir); end
16
+ def self.from_pathname(path); end
17
+ def self.load_rakefile(path); end
18
+ def self.original_dir; end
19
+ def self.suggested_thread_count; end
20
+ extend Rake::FileUtilsExt
21
+ end
22
+ module Rake::Version
23
+ end
24
+ class Module
25
+ def rake_extension(method); end
26
+ end
27
+ class String
28
+ def ext(newext = nil); end
29
+ def pathmap(spec = nil, &block); end
30
+ def pathmap_explode; end
31
+ def pathmap_partial(n); end
32
+ def pathmap_replace(patterns, &block); end
33
+ end
34
+ class Rake::EarlyTime
35
+ def <=>(other); end
36
+ def self.allocate; end
37
+ def self.instance; end
38
+ def self.new(*arg0); end
39
+ def to_s; end
40
+ extend Singleton::SingletonClassMethods
41
+ include Comparable
42
+ include Singleton
43
+ end
44
+ class Rake::LateTime
45
+ def <=>(other); end
46
+ def self.allocate; end
47
+ def self.instance; end
48
+ def self.new(*arg0); end
49
+ def to_s; end
50
+ extend Singleton::SingletonClassMethods
51
+ include Comparable
52
+ include Singleton
53
+ end
54
+ module Rake::AltSystem
55
+ def `(arg0); end
56
+ def backticks(arg0); end
57
+ def self.`(arg0); end
58
+ def self.backticks(arg0); end
59
+ def self.define_module_function(name, &block); end
60
+ def self.system(*arg0); end
61
+ def system(*arg0); end
62
+ end
63
+ module Rake::Win32
64
+ def self.normalize(path); end
65
+ def self.rake_system(*cmd); end
66
+ def self.win32_system_dir; end
67
+ def self.windows?; end
68
+ end
69
+ class Rake::Win32::Win32HomeError < RuntimeError
70
+ end
71
+ class Rake::LinkedList
72
+ def ==(other); end
73
+ def conj(item); end
74
+ def each; end
75
+ def empty?; end
76
+ def head; end
77
+ def initialize(head, tail = nil); end
78
+ def inspect; end
79
+ def self.cons(head, tail); end
80
+ def self.empty; end
81
+ def self.make(*args); end
82
+ def tail; end
83
+ def to_s; end
84
+ include Enumerable
85
+ end
86
+ class Rake::LinkedList::EmptyLinkedList < Rake::LinkedList
87
+ def empty?; end
88
+ def initialize; end
89
+ def self.cons(head, tail); end
90
+ end
91
+ class Rake::CpuCounter
92
+ def count; end
93
+ def count_with_default(default = nil); end
94
+ def self.count; end
95
+ end
96
+ class Rake::Scope < Rake::LinkedList
97
+ def path; end
98
+ def path_with_task_name(task_name); end
99
+ def trim(n); end
100
+ end
101
+ class Rake::Scope::EmptyScope < Rake::LinkedList::EmptyLinkedList
102
+ def path; end
103
+ def path_with_task_name(task_name); end
104
+ end
105
+ class Rake::TaskArgumentError < ArgumentError
106
+ end
107
+ class Rake::RuleRecursionOverflowError < StandardError
108
+ def add_target(target); end
109
+ def initialize(*args); end
110
+ def message; end
111
+ end
112
+ module Rake::TaskManager
113
+ def [](task_name, scopes = nil); end
114
+ def add_location(task); end
115
+ def attempt_rule(task_name, args, extensions, block, level); end
116
+ def clear; end
117
+ def create_rule(*args, &block); end
118
+ def current_scope; end
119
+ def define_task(task_class, *args, &block); end
120
+ def enhance_with_matching_rule(task_name, level = nil); end
121
+ def find_location; end
122
+ def generate_name; end
123
+ def get_description(task); end
124
+ def in_namespace(name); end
125
+ def initialize; end
126
+ def intern(task_class, task_name); end
127
+ def last_comment; end
128
+ def last_description; end
129
+ def last_description=(arg0); end
130
+ def lookup(task_name, initial_scope = nil); end
131
+ def lookup_in_scope(name, scope); end
132
+ def make_sources(task_name, extensions); end
133
+ def resolve_args(args); end
134
+ def resolve_args_with_dependencies(args, hash); end
135
+ def resolve_args_without_dependencies(args); end
136
+ def self.record_task_metadata; end
137
+ def self.record_task_metadata=(arg0); end
138
+ def synthesize_file_task(task_name); end
139
+ def tasks; end
140
+ def tasks_in_scope(scope); end
141
+ def trace_rule(level, message); end
142
+ end
143
+ module Rake::Cloneable
144
+ def initialize_copy(source); end
145
+ end
146
+ module FileUtils
147
+ def create_shell_runner(cmd); end
148
+ def rake_system(*cmd); end
149
+ def ruby(*args, &block); end
150
+ def safe_ln(*args); end
151
+ def set_verbose_option(options); end
152
+ def sh(*cmd, &block); end
153
+ def split_all(path); end
154
+ end
155
+ module Rake::FileUtilsExt
156
+ def cd(*args, &block); end
157
+ def chdir(*args, &block); end
158
+ def chmod(*args, &block); end
159
+ def chmod_R(*args, &block); end
160
+ def chown(*args, &block); end
161
+ def chown_R(*args, &block); end
162
+ def copy(*args, &block); end
163
+ def cp(*args, &block); end
164
+ def cp_lr(*args, &block); end
165
+ def cp_r(*args, &block); end
166
+ def install(*args, &block); end
167
+ def link(*args, &block); end
168
+ def ln(*args, &block); end
169
+ def ln_s(*args, &block); end
170
+ def ln_sf(*args, &block); end
171
+ def makedirs(*args, &block); end
172
+ def mkdir(*args, &block); end
173
+ def mkdir_p(*args, &block); end
174
+ def mkpath(*args, &block); end
175
+ def move(*args, &block); end
176
+ def mv(*args, &block); end
177
+ def nowrite(value = nil); end
178
+ def rake_check_options(options, *optdecl); end
179
+ def rake_merge_option(args, defaults); end
180
+ def rake_output_message(message); end
181
+ def remove(*args, &block); end
182
+ def rm(*args, &block); end
183
+ def rm_f(*args, &block); end
184
+ def rm_r(*args, &block); end
185
+ def rm_rf(*args, &block); end
186
+ def rmdir(*args, &block); end
187
+ def rmtree(*args, &block); end
188
+ def ruby(*args, &block); end
189
+ def safe_unlink(*args, &block); end
190
+ def self.nowrite_flag; end
191
+ def self.nowrite_flag=(arg0); end
192
+ def self.verbose_flag; end
193
+ def self.verbose_flag=(arg0); end
194
+ def sh(*args, &block); end
195
+ def symlink(*args, &block); end
196
+ def touch(*args, &block); end
197
+ def verbose(value = nil); end
198
+ def when_writing(msg = nil); end
199
+ extend Rake::FileUtilsExt
200
+ include FileUtils
201
+ end
202
+ class Rake::FileList
203
+ def &(*args, &block); end
204
+ def *(other); end
205
+ def +(*args, &block); end
206
+ def -(*args, &block); end
207
+ def <<(obj); end
208
+ def <=>(*args, &block); end
209
+ def ==(array); end
210
+ def [](*args, &block); end
211
+ def []=(*args, &block); end
212
+ def add(*filenames); end
213
+ def add_matching(pattern); end
214
+ def all?(*args, &block); end
215
+ def any?(*args, &block); end
216
+ def append(*args, &block); end
217
+ def assoc(*args, &block); end
218
+ def at(*args, &block); end
219
+ def bsearch(*args, &block); end
220
+ def bsearch_index(*args, &block); end
221
+ def chain(*args, &block); end
222
+ def chunk(*args, &block); end
223
+ def chunk_while(*args, &block); end
224
+ def clear(*args, &block); end
225
+ def clear_exclude; end
226
+ def collect!(*args, &block); end
227
+ def collect(*args, &block); end
228
+ def collect_concat(*args, &block); end
229
+ def combination(*args, &block); end
230
+ def compact!(*args, &block); end
231
+ def compact(*args, &block); end
232
+ def concat(*args, &block); end
233
+ def count(*args, &block); end
234
+ def cycle(*args, &block); end
235
+ def delete(*args, &block); end
236
+ def delete_at(*args, &block); end
237
+ def delete_if(*args, &block); end
238
+ def detect(*args, &block); end
239
+ def difference(*args, &block); end
240
+ def dig(*args, &block); end
241
+ def drop(*args, &block); end
242
+ def drop_while(*args, &block); end
243
+ def each(*args, &block); end
244
+ def each_cons(*args, &block); end
245
+ def each_entry(*args, &block); end
246
+ def each_index(*args, &block); end
247
+ def each_slice(*args, &block); end
248
+ def each_with_index(*args, &block); end
249
+ def each_with_object(*args, &block); end
250
+ def egrep(pattern, *options); end
251
+ def empty?(*args, &block); end
252
+ def entries(*args, &block); end
253
+ def exclude(*patterns, &block); end
254
+ def excluded_from_list?(fn); end
255
+ def existing!; end
256
+ def existing; end
257
+ def ext(newext = nil); end
258
+ def fetch(*args, &block); end
259
+ def fill(*args, &block); end
260
+ def filter!(*args, &block); end
261
+ def filter(*args, &block); end
262
+ def find(*args, &block); end
263
+ def find_all(*args, &block); end
264
+ def find_index(*args, &block); end
265
+ def first(*args, &block); end
266
+ def flat_map(*args, &block); end
267
+ def flatten!(*args, &block); end
268
+ def flatten(*args, &block); end
269
+ def grep(*args, &block); end
270
+ def grep_v(*args, &block); end
271
+ def group_by(*args, &block); end
272
+ def gsub!(pat, rep); end
273
+ def gsub(pat, rep); end
274
+ def import(array); end
275
+ def include(*filenames); end
276
+ def include?(*args, &block); end
277
+ def index(*args, &block); end
278
+ def initialize(*patterns); end
279
+ def inject(*args, &block); end
280
+ def insert(*args, &block); end
281
+ def inspect(*args, &block); end
282
+ def is_a?(klass); end
283
+ def join(*args, &block); end
284
+ def keep_if(*args, &block); end
285
+ def kind_of?(klass); end
286
+ def last(*args, &block); end
287
+ def lazy(*args, &block); end
288
+ def length(*args, &block); end
289
+ def map!(*args, &block); end
290
+ def map(*args, &block); end
291
+ def max(*args, &block); end
292
+ def max_by(*args, &block); end
293
+ def member?(*args, &block); end
294
+ def min(*args, &block); end
295
+ def min_by(*args, &block); end
296
+ def minmax(*args, &block); end
297
+ def minmax_by(*args, &block); end
298
+ def none?(*args, &block); end
299
+ def one?(*args, &block); end
300
+ def pack(*args, &block); end
301
+ def partition(&block); end
302
+ def pathmap(spec = nil); end
303
+ def permutation(*args, &block); end
304
+ def pop(*args, &block); end
305
+ def prepend(*args, &block); end
306
+ def product(*args, &block); end
307
+ def push(*args, &block); end
308
+ def rassoc(*args, &block); end
309
+ def reduce(*args, &block); end
310
+ def reject!(*args, &block); end
311
+ def reject(*args, &block); end
312
+ def repeated_combination(*args, &block); end
313
+ def repeated_permutation(*args, &block); end
314
+ def replace(*args, &block); end
315
+ def resolve; end
316
+ def resolve_add(fn); end
317
+ def resolve_exclude; end
318
+ def reverse!(*args, &block); end
319
+ def reverse(*args, &block); end
320
+ def reverse_each(*args, &block); end
321
+ def rindex(*args, &block); end
322
+ def rotate!(*args, &block); end
323
+ def rotate(*args, &block); end
324
+ def sample(*args, &block); end
325
+ def select!(*args, &block); end
326
+ def select(*args, &block); end
327
+ def self.[](*args); end
328
+ def self.glob(pattern, *args); end
329
+ def shelljoin(*args, &block); end
330
+ def shift(*args, &block); end
331
+ def shuffle!(*args, &block); end
332
+ def shuffle(*args, &block); end
333
+ def size(*args, &block); end
334
+ def slice!(*args, &block); end
335
+ def slice(*args, &block); end
336
+ def slice_after(*args, &block); end
337
+ def slice_before(*args, &block); end
338
+ def slice_when(*args, &block); end
339
+ def sort!(*args, &block); end
340
+ def sort(*args, &block); end
341
+ def sort_by!(*args, &block); end
342
+ def sort_by(*args, &block); end
343
+ def sub!(pat, rep); end
344
+ def sub(pat, rep); end
345
+ def sum(*args, &block); end
346
+ def take(*args, &block); end
347
+ def take_while(*args, &block); end
348
+ def to_a; end
349
+ def to_ary; end
350
+ def to_h(*args, &block); end
351
+ def to_s; end
352
+ def to_set(*args, &block); end
353
+ def transpose(*args, &block); end
354
+ def union(*args, &block); end
355
+ def uniq!(*args, &block); end
356
+ def uniq(*args, &block); end
357
+ def unshift(*args, &block); end
358
+ def values_at(*args, &block); end
359
+ def zip(*args, &block); end
360
+ def |(*args, &block); end
361
+ include Rake::Cloneable
362
+ end
363
+ class Rake::Promise
364
+ def chore; end
365
+ def complete?; end
366
+ def discard; end
367
+ def error?; end
368
+ def initialize(args, &block); end
369
+ def recorder; end
370
+ def recorder=(arg0); end
371
+ def result?; end
372
+ def stat(*args); end
373
+ def value; end
374
+ def work; end
375
+ end
376
+ class Rake::ThreadPool
377
+ def __queue__; end
378
+ def future(*args, &block); end
379
+ def gather_history; end
380
+ def history; end
381
+ def initialize(thread_count); end
382
+ def join; end
383
+ def process_queue_item; end
384
+ def safe_thread_count; end
385
+ def start_thread; end
386
+ def stat(event, data = nil); end
387
+ def statistics; end
388
+ end
389
+ module Rake::PrivateReader
390
+ def self.included(base); end
391
+ end
392
+ module Rake::PrivateReader::ClassMethods
393
+ def private_reader(*names); end
394
+ end
395
+ class Rake::ThreadHistoryDisplay
396
+ def initialize(stats); end
397
+ def items; end
398
+ def rename(hash, key, renames); end
399
+ def show; end
400
+ def stats; end
401
+ def threads; end
402
+ extend Rake::PrivateReader::ClassMethods
403
+ include Rake::PrivateReader
404
+ end
405
+ module Rake::TraceOutput
406
+ def trace_on(out, *strings); end
407
+ end
408
+ class Rake::CommandLineOptionError < StandardError
409
+ end
410
+ class Rake::Application
411
+ def add_import(fn); end
412
+ def add_loader(ext, loader); end
413
+ def collect_command_line_tasks(args); end
414
+ def default_task_name; end
415
+ def deprecate(old_usage, new_usage, call_site); end
416
+ def display_error_message(ex); end
417
+ def display_exception_backtrace(ex); end
418
+ def display_exception_details(ex); end
419
+ def display_exception_message_details(ex); end
420
+ def display_prerequisites; end
421
+ def display_tasks_and_comments; end
422
+ def dynamic_width; end
423
+ def dynamic_width_stty; end
424
+ def dynamic_width_tput; end
425
+ def exit_because_of_exception(ex); end
426
+ def find_rakefile_location; end
427
+ def glob(path, &block); end
428
+ def handle_options; end
429
+ def has_cause?(ex); end
430
+ def has_chain?(exception); end
431
+ def have_rakefile; end
432
+ def init(app_name = nil); end
433
+ def initialize; end
434
+ def invoke_task(task_string); end
435
+ def load_imports; end
436
+ def load_rakefile; end
437
+ def name; end
438
+ def options; end
439
+ def original_dir; end
440
+ def parse_task_string(string); end
441
+ def print_rakefile_directory(location); end
442
+ def rake_require(file_name, paths = nil, loaded = nil); end
443
+ def rakefile; end
444
+ def rakefile_location(backtrace = nil); end
445
+ def raw_load_rakefile; end
446
+ def run; end
447
+ def run_with_threads; end
448
+ def select_tasks_to_show(options, show_tasks, value); end
449
+ def select_trace_output(options, trace_option, value); end
450
+ def sort_options(options); end
451
+ def standard_exception_handling; end
452
+ def standard_rake_options; end
453
+ def standard_system_dir; end
454
+ def system_dir; end
455
+ def terminal_columns; end
456
+ def terminal_columns=(arg0); end
457
+ def terminal_width; end
458
+ def thread_pool; end
459
+ def top_level; end
460
+ def top_level_tasks; end
461
+ def trace(*strings); end
462
+ def truncate(string, width); end
463
+ def truncate_output?; end
464
+ def tty_output=(tty_output_state); end
465
+ def tty_output?; end
466
+ def unix?; end
467
+ def windows?; end
468
+ include Rake::TaskManager
469
+ include Rake::TraceOutput
470
+ end
471
+ class Rake::PseudoStatus
472
+ def >>(n); end
473
+ def exited?; end
474
+ def exitstatus; end
475
+ def initialize(code = nil); end
476
+ def stopped?; end
477
+ def to_i; end
478
+ end
479
+ class Rake::TaskArguments
480
+ def [](index); end
481
+ def each(&block); end
482
+ def extras; end
483
+ def has_key?(key); end
484
+ def initialize(names, values, parent = nil); end
485
+ def inspect; end
486
+ def lookup(name); end
487
+ def method_missing(sym, *args); end
488
+ def names; end
489
+ def new_scope(names); end
490
+ def to_a; end
491
+ def to_hash; end
492
+ def to_s; end
493
+ def values_at(*keys); end
494
+ def with_defaults(defaults); end
495
+ include Enumerable
496
+ end
497
+ class Rake::InvocationChain < Rake::LinkedList
498
+ def append(invocation); end
499
+ def member?(invocation); end
500
+ def prefix; end
501
+ def self.append(invocation, chain); end
502
+ def to_s; end
503
+ end
504
+ class Rake::InvocationChain::EmptyInvocationChain < Rake::LinkedList::EmptyLinkedList
505
+ def append(invocation); end
506
+ def member?(obj); end
507
+ def to_s; end
508
+ end
509
+ module Rake::InvocationExceptionMixin
510
+ def chain; end
511
+ def chain=(value); end
512
+ end
513
+ class Rake::Task
514
+ def actions; end
515
+ def add_chain_to(exception, new_chain); end
516
+ def add_comment(comment); end
517
+ def add_description(description); end
518
+ def all_prerequisite_tasks; end
519
+ def application; end
520
+ def application=(arg0); end
521
+ def arg_description; end
522
+ def arg_names; end
523
+ def clear; end
524
+ def clear_actions; end
525
+ def clear_comments; end
526
+ def clear_prerequisites; end
527
+ def collect_prerequisites(seen); end
528
+ def comment; end
529
+ def comment=(comment); end
530
+ def enhance(deps = nil, &block); end
531
+ def execute(args = nil); end
532
+ def first_sentence(string); end
533
+ def format_trace_flags; end
534
+ def full_comment; end
535
+ def initialize(task_name, app); end
536
+ def inspect; end
537
+ def investigation; end
538
+ def invoke(*args); end
539
+ def invoke_prerequisites(task_args, invocation_chain); end
540
+ def invoke_prerequisites_concurrently(task_args, invocation_chain); end
541
+ def invoke_with_call_chain(task_args, invocation_chain); end
542
+ def locations; end
543
+ def lookup_prerequisite(prerequisite_name); end
544
+ def name; end
545
+ def name_with_args; end
546
+ def needed?; end
547
+ def prerequisite_tasks; end
548
+ def prerequisites; end
549
+ def reenable; end
550
+ def scope; end
551
+ def self.[](task_name); end
552
+ def self.clear; end
553
+ def self.create_rule(*args, &block); end
554
+ def self.define_task(*args, &block); end
555
+ def self.scope_name(scope, task_name); end
556
+ def self.task_defined?(task_name); end
557
+ def self.tasks; end
558
+ def set_arg_names(args); end
559
+ def source; end
560
+ def sources; end
561
+ def sources=(arg0); end
562
+ def timestamp; end
563
+ def to_s; end
564
+ def transform_comments(separator, &block); end
565
+ end
566
+ class Rake::FileTask < Rake::Task
567
+ def needed?; end
568
+ def out_of_date?(stamp); end
569
+ def self.scope_name(scope, task_name); end
570
+ def timestamp; end
571
+ end
572
+ class Rake::FileCreationTask < Rake::FileTask
573
+ def needed?; end
574
+ def timestamp; end
575
+ end
576
+ class Rake::MultiTask < Rake::Task
577
+ def invoke_prerequisites(task_args, invocation_chain); end
578
+ end
579
+ module Rake::DSL
580
+ def cd(*args, &block); end
581
+ def chdir(*args, &block); end
582
+ def chmod(*args, &block); end
583
+ def chmod_R(*args, &block); end
584
+ def chown(*args, &block); end
585
+ def chown_R(*args, &block); end
586
+ def copy(*args, &block); end
587
+ def cp(*args, &block); end
588
+ def cp_lr(*args, &block); end
589
+ def cp_r(*args, &block); end
590
+ def desc(description); end
591
+ def directory(*args, &block); end
592
+ def file(*args, &block); end
593
+ def file_create(*args, &block); end
594
+ def import(*fns); end
595
+ def install(*args, &block); end
596
+ def link(*args, &block); end
597
+ def ln(*args, &block); end
598
+ def ln_s(*args, &block); end
599
+ def ln_sf(*args, &block); end
600
+ def makedirs(*args, &block); end
601
+ def mkdir(*args, &block); end
602
+ def mkdir_p(*args, &block); end
603
+ def mkpath(*args, &block); end
604
+ def move(*args, &block); end
605
+ def multitask(*args, &block); end
606
+ def mv(*args, &block); end
607
+ def namespace(name = nil, &block); end
608
+ def nowrite(value = nil); end
609
+ def rake_check_options(options, *optdecl); end
610
+ def rake_merge_option(args, defaults); end
611
+ def rake_output_message(message); end
612
+ def remove(*args, &block); end
613
+ def rm(*args, &block); end
614
+ def rm_f(*args, &block); end
615
+ def rm_r(*args, &block); end
616
+ def rm_rf(*args, &block); end
617
+ def rmdir(*args, &block); end
618
+ def rmtree(*args, &block); end
619
+ def ruby(*args, &block); end
620
+ def rule(*args, &block); end
621
+ def safe_ln(*args); end
622
+ def safe_unlink(*args, &block); end
623
+ def sh(*args, &block); end
624
+ def split_all(path); end
625
+ def symlink(*args, &block); end
626
+ def task(*args, &block); end
627
+ def touch(*args, &block); end
628
+ def verbose(value = nil); end
629
+ def when_writing(msg = nil); end
630
+ include Rake::FileUtilsExt
631
+ end
632
+ class Rake::DefaultLoader
633
+ def load(fn); end
634
+ end
635
+ class Rake::NameSpace
636
+ def [](name); end
637
+ def initialize(task_manager, scope_list); end
638
+ def scope; end
639
+ def tasks; end
640
+ end
641
+ module Rake::Backtrace
642
+ def self.collapse(backtrace); end
643
+ end