mangrove 0.24.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -3
- data/lib/mangrove/result.rb +3 -3
- data/lib/mangrove/version.rb +1 -1
- data/rbi/mangrove.rbi +20 -0
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +83 -63
- data/sorbet/rbi/gems/{prism@0.15.1.rbi → prism@0.18.0.rbi} +8899 -4119
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.7.3.rbi} +35 -35
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +206 -63
- data/sorbet/rbi/gems/{rbi@0.1.3.rbi → rbi@0.1.5.rbi} +25 -25
- data/sorbet/rbi/gems/{rdoc@6.6.0.rbi → rdoc@6.6.1.rbi} +130 -127
- data/sorbet/rbi/gems/{regexp_parser@2.8.2.rbi → regexp_parser@2.8.3.rbi} +37 -37
- data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.30.0.rbi} +249 -225
- data/sorbet/rbi/gems/{rubocop-rspec@2.24.1.rbi → rubocop-rspec@2.25.0.rbi} +39 -33
- data/sorbet/rbi/gems/{rubocop@1.57.1.rbi → rubocop@1.59.0.rbi} +1146 -686
- data/sorbet/rbi/gems/{tapioca@0.11.10.rbi → tapioca@0.11.13.rbi} +65 -65
- metadata +20 -20
- data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
- data/sorbet/rbi/gems/irb@1.9.0.rbi +0 -342
- /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.4.0.rbi → reline@0.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{ruby-lsp@0.12.0.rbi → ruby-lsp@0.13.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{stringio@3.0.9.rbi → stringio@3.1.0.rbi} +0 -0
@@ -22,13 +22,13 @@ module FileUtils
|
|
22
22
|
# Example:
|
23
23
|
# ruby %{-pe '$_.upcase!' <README}
|
24
24
|
#
|
25
|
-
# source://rake//lib/rake/file_utils.rb#
|
25
|
+
# source://rake//lib/rake/file_utils.rb#98
|
26
26
|
def ruby(*args, **options, &block); end
|
27
27
|
|
28
28
|
# Attempt to do a normal file link, but fall back to a copy if the link
|
29
29
|
# fails.
|
30
30
|
#
|
31
|
-
# source://rake//lib/rake/file_utils.rb#
|
31
|
+
# source://rake//lib/rake/file_utils.rb#110
|
32
32
|
def safe_ln(*args, **options); end
|
33
33
|
|
34
34
|
# Run the system command +cmd+. If multiple arguments are given the command
|
@@ -67,7 +67,7 @@ module FileUtils
|
|
67
67
|
# Example:
|
68
68
|
# split_all("a/b/c") => ['a', 'b', 'c']
|
69
69
|
#
|
70
|
-
# source://rake//lib/rake/file_utils.rb#
|
70
|
+
# source://rake//lib/rake/file_utils.rb#126
|
71
71
|
def split_all(path); end
|
72
72
|
|
73
73
|
private
|
@@ -75,14 +75,14 @@ module FileUtils
|
|
75
75
|
# source://rake//lib/rake/file_utils.rb#61
|
76
76
|
def create_shell_runner(cmd); end
|
77
77
|
|
78
|
-
# source://rake//lib/rake/file_utils.rb#
|
78
|
+
# source://rake//lib/rake/file_utils.rb#84
|
79
79
|
def set_verbose_option(options); end
|
80
80
|
|
81
|
-
# source://rake//lib/rake/file_utils.rb#
|
81
|
+
# source://rake//lib/rake/file_utils.rb#71
|
82
82
|
def sh_show_command(cmd); end
|
83
83
|
end
|
84
84
|
|
85
|
-
# source://rake//lib/rake/file_utils.rb#
|
85
|
+
# source://rake//lib/rake/file_utils.rb#106
|
86
86
|
FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
|
87
87
|
|
88
88
|
# Path to the currently running Ruby program
|
@@ -195,13 +195,13 @@ class Rake::Application
|
|
195
195
|
|
196
196
|
# Add a file to the list of files to be imported.
|
197
197
|
#
|
198
|
-
# source://rake//lib/rake/application.rb#
|
198
|
+
# source://rake//lib/rake/application.rb#801
|
199
199
|
def add_import(fn); end
|
200
200
|
|
201
201
|
# Add a loader to handle imported files ending in the extension
|
202
202
|
# +ext+.
|
203
203
|
#
|
204
|
-
# source://rake//lib/rake/application.rb#
|
204
|
+
# source://rake//lib/rake/application.rb#161
|
205
205
|
def add_loader(ext, loader); end
|
206
206
|
|
207
207
|
# Collect the list of tasks on the command line. If no tasks are
|
@@ -213,13 +213,13 @@ class Rake::Application
|
|
213
213
|
# recognised command-line options, which OptionParser.parse will
|
214
214
|
# have taken care of already.
|
215
215
|
#
|
216
|
-
# source://rake//lib/rake/application.rb#
|
216
|
+
# source://rake//lib/rake/application.rb#782
|
217
217
|
def collect_command_line_tasks(args); end
|
218
218
|
|
219
219
|
# Default task name ("default").
|
220
220
|
# (May be overridden by subclasses)
|
221
221
|
#
|
222
|
-
# source://rake//lib/rake/application.rb#
|
222
|
+
# source://rake//lib/rake/application.rb#796
|
223
223
|
def default_task_name; end
|
224
224
|
|
225
225
|
# Warn about deprecated usage.
|
@@ -227,75 +227,75 @@ class Rake::Application
|
|
227
227
|
# Example:
|
228
228
|
# Rake.application.deprecate("import", "Rake.import", caller.first)
|
229
229
|
#
|
230
|
-
# source://rake//lib/rake/application.rb#
|
230
|
+
# source://rake//lib/rake/application.rb#282
|
231
231
|
def deprecate(old_usage, new_usage, call_site); end
|
232
232
|
|
233
|
-
# source://rake//lib/rake/application.rb#
|
233
|
+
# source://rake//lib/rake/application.rb#244
|
234
234
|
def display_cause_details(ex); end
|
235
235
|
|
236
236
|
# Display the error message that caused the exception.
|
237
237
|
#
|
238
|
-
# source://rake//lib/rake/application.rb#
|
238
|
+
# source://rake//lib/rake/application.rb#228
|
239
239
|
def display_error_message(ex); end
|
240
240
|
|
241
|
-
# source://rake//lib/rake/application.rb#
|
241
|
+
# source://rake//lib/rake/application.rb#269
|
242
242
|
def display_exception_backtrace(ex); end
|
243
243
|
|
244
|
-
# source://rake//lib/rake/application.rb#
|
244
|
+
# source://rake//lib/rake/application.rb#236
|
245
245
|
def display_exception_details(ex); end
|
246
246
|
|
247
|
-
# source://rake//lib/rake/application.rb#
|
247
|
+
# source://rake//lib/rake/application.rb#251
|
248
248
|
def display_exception_details_seen; end
|
249
249
|
|
250
|
-
# source://rake//lib/rake/application.rb#
|
250
|
+
# source://rake//lib/rake/application.rb#259
|
251
251
|
def display_exception_message_details(ex); end
|
252
252
|
|
253
253
|
# Display the tasks and prerequisites
|
254
254
|
#
|
255
|
-
# source://rake//lib/rake/application.rb#
|
255
|
+
# source://rake//lib/rake/application.rb#405
|
256
256
|
def display_prerequisites; end
|
257
257
|
|
258
258
|
# Display the tasks and comments.
|
259
259
|
#
|
260
|
-
# source://rake//lib/rake/application.rb#
|
260
|
+
# source://rake//lib/rake/application.rb#322
|
261
261
|
def display_tasks_and_comments; end
|
262
262
|
|
263
263
|
# Calculate the dynamic width of the
|
264
264
|
#
|
265
|
-
# source://rake//lib/rake/application.rb#
|
265
|
+
# source://rake//lib/rake/application.rb#373
|
266
266
|
def dynamic_width; end
|
267
267
|
|
268
|
-
# source://rake//lib/rake/application.rb#
|
268
|
+
# source://rake//lib/rake/application.rb#377
|
269
269
|
def dynamic_width_stty; end
|
270
270
|
|
271
|
-
# source://rake//lib/rake/application.rb#
|
271
|
+
# source://rake//lib/rake/application.rb#381
|
272
272
|
def dynamic_width_tput; end
|
273
273
|
|
274
274
|
# Exit the program because of an unhandled exception.
|
275
275
|
# (may be overridden by subclasses)
|
276
276
|
#
|
277
|
-
# source://rake//lib/rake/application.rb#
|
277
|
+
# source://rake//lib/rake/application.rb#223
|
278
278
|
def exit_because_of_exception(ex); end
|
279
279
|
|
280
|
-
# source://rake//lib/rake/application.rb#
|
280
|
+
# source://rake//lib/rake/application.rb#702
|
281
281
|
def find_rakefile_location; end
|
282
282
|
|
283
283
|
# Read and handle the command line options. Returns the command line
|
284
284
|
# arguments that we didn't understand, which should (in theory) be just
|
285
285
|
# task names and env vars.
|
286
286
|
#
|
287
|
-
# source://rake//lib/rake/application.rb#
|
287
|
+
# source://rake//lib/rake/application.rb#668
|
288
288
|
def handle_options(argv); end
|
289
289
|
|
290
290
|
# @return [Boolean]
|
291
291
|
#
|
292
|
-
# source://rake//lib/rake/application.rb#
|
292
|
+
# source://rake//lib/rake/application.rb#255
|
293
293
|
def has_cause?(ex); end
|
294
294
|
|
295
295
|
# True if one of the files in RAKEFILES is in the current directory.
|
296
296
|
# If a match is found, it is copied into @rakefile.
|
297
297
|
#
|
298
|
-
# source://rake//lib/rake/application.rb#
|
298
|
+
# source://rake//lib/rake/application.rb#298
|
299
299
|
def have_rakefile; end
|
300
300
|
|
301
301
|
# Initialize the command line parameters and app name.
|
@@ -305,17 +305,17 @@ class Rake::Application
|
|
305
305
|
|
306
306
|
# Invokes a task with arguments that are extracted from +task_string+
|
307
307
|
#
|
308
|
-
# source://rake//lib/rake/application.rb#
|
308
|
+
# source://rake//lib/rake/application.rb#179
|
309
309
|
def invoke_task(task_string); end
|
310
310
|
|
311
311
|
# Load the pending list of imported files.
|
312
312
|
#
|
313
|
-
# source://rake//lib/rake/application.rb#
|
313
|
+
# source://rake//lib/rake/application.rb#806
|
314
314
|
def load_imports; end
|
315
315
|
|
316
316
|
# Find the rakefile and then load it and any pending imports.
|
317
317
|
#
|
318
|
-
# source://rake//lib/rake/application.rb#
|
318
|
+
# source://rake//lib/rake/application.rb#124
|
319
319
|
def load_rakefile; end
|
320
320
|
|
321
321
|
# The name of the application (typically 'rake')
|
@@ -325,7 +325,7 @@ class Rake::Application
|
|
325
325
|
|
326
326
|
# Application options from the command line
|
327
327
|
#
|
328
|
-
# source://rake//lib/rake/application.rb#
|
328
|
+
# source://rake//lib/rake/application.rb#167
|
329
329
|
def options; end
|
330
330
|
|
331
331
|
# The original directory where rake was invoked.
|
@@ -333,16 +333,16 @@ class Rake::Application
|
|
333
333
|
# source://rake//lib/rake/application.rb#27
|
334
334
|
def original_dir; end
|
335
335
|
|
336
|
-
# source://rake//lib/rake/application.rb#
|
336
|
+
# source://rake//lib/rake/application.rb#185
|
337
337
|
def parse_task_string(string); end
|
338
338
|
|
339
|
-
# source://rake//lib/rake/application.rb#
|
339
|
+
# source://rake//lib/rake/application.rb#714
|
340
340
|
def print_rakefile_directory(location); end
|
341
341
|
|
342
342
|
# Similar to the regular Ruby +require+ command, but will check
|
343
343
|
# for *.rake files in addition to *.rb files.
|
344
344
|
#
|
345
|
-
# source://rake//lib/rake/application.rb#
|
345
|
+
# source://rake//lib/rake/application.rb#688
|
346
346
|
def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
|
347
347
|
|
348
348
|
# Name of the actual rakefile used.
|
@@ -350,10 +350,10 @@ class Rake::Application
|
|
350
350
|
# source://rake//lib/rake/application.rb#30
|
351
351
|
def rakefile; end
|
352
352
|
|
353
|
-
# source://rake//lib/rake/application.rb#
|
353
|
+
# source://rake//lib/rake/application.rb#822
|
354
354
|
def rakefile_location(backtrace = T.unsafe(nil)); end
|
355
355
|
|
356
|
-
# source://rake//lib/rake/application.rb#
|
356
|
+
# source://rake//lib/rake/application.rb#719
|
357
357
|
def raw_load_rakefile; end
|
358
358
|
|
359
359
|
# Run the Rake application. The run method performs the following
|
@@ -372,26 +372,26 @@ class Rake::Application
|
|
372
372
|
|
373
373
|
# Run the given block with the thread startup and shutdown.
|
374
374
|
#
|
375
|
-
# source://rake//lib/rake/application.rb#
|
375
|
+
# source://rake//lib/rake/application.rb#144
|
376
376
|
def run_with_threads; end
|
377
377
|
|
378
|
-
# source://rake//lib/rake/application.rb#
|
378
|
+
# source://rake//lib/rake/application.rb#831
|
379
379
|
def set_default_options; end
|
380
380
|
|
381
381
|
# Provide standard exception handling for the given block.
|
382
382
|
#
|
383
|
-
# source://rake//lib/rake/application.rb#
|
383
|
+
# source://rake//lib/rake/application.rb#207
|
384
384
|
def standard_exception_handling; end
|
385
385
|
|
386
386
|
# A list of all the standard options used in rake, suitable for
|
387
387
|
# passing to OptionParser.
|
388
388
|
#
|
389
|
-
# source://rake//lib/rake/application.rb#
|
389
|
+
# source://rake//lib/rake/application.rb#426
|
390
390
|
def standard_rake_options; end
|
391
391
|
|
392
392
|
# The directory path containing the system wide rakefiles.
|
393
393
|
#
|
394
|
-
# source://rake//lib/rake/application.rb#
|
394
|
+
# source://rake//lib/rake/application.rb#751
|
395
395
|
def system_dir; end
|
396
396
|
|
397
397
|
# Number of columns on the terminal
|
@@ -404,17 +404,17 @@ class Rake::Application
|
|
404
404
|
# source://rake//lib/rake/application.rb#33
|
405
405
|
def terminal_columns=(_arg0); end
|
406
406
|
|
407
|
-
# source://rake//lib/rake/application.rb#
|
407
|
+
# source://rake//lib/rake/application.rb#361
|
408
408
|
def terminal_width; end
|
409
409
|
|
410
410
|
# Return the thread pool used for multithreaded processing.
|
411
411
|
#
|
412
|
-
# source://rake//lib/rake/application.rb#
|
412
|
+
# source://rake//lib/rake/application.rb#172
|
413
413
|
def thread_pool; end
|
414
414
|
|
415
415
|
# Run the top level tasks of a Rake application.
|
416
416
|
#
|
417
|
-
# source://rake//lib/rake/application.rb#
|
417
|
+
# source://rake//lib/rake/application.rb#131
|
418
418
|
def top_level; end
|
419
419
|
|
420
420
|
# List of the top level task names (task names from the command line).
|
@@ -422,10 +422,10 @@ class Rake::Application
|
|
422
422
|
# source://rake//lib/rake/application.rb#36
|
423
423
|
def top_level_tasks; end
|
424
424
|
|
425
|
-
# source://rake//lib/rake/application.rb#
|
425
|
+
# source://rake//lib/rake/application.rb#412
|
426
426
|
def trace(*strings); end
|
427
427
|
|
428
|
-
# source://rake//lib/rake/application.rb#
|
428
|
+
# source://rake//lib/rake/application.rb#394
|
429
429
|
def truncate(string, width); end
|
430
430
|
|
431
431
|
# We will truncate output if we are outputting to a TTY or if we've been
|
@@ -433,7 +433,7 @@ class Rake::Application
|
|
433
433
|
#
|
434
434
|
# @return [Boolean]
|
435
435
|
#
|
436
|
-
# source://rake//lib/rake/application.rb#
|
436
|
+
# source://rake//lib/rake/application.rb#317
|
437
437
|
def truncate_output?; end
|
438
438
|
|
439
439
|
# Override the detected TTY output state (mostly for testing)
|
@@ -445,41 +445,44 @@ class Rake::Application
|
|
445
445
|
#
|
446
446
|
# @return [Boolean]
|
447
447
|
#
|
448
|
-
# source://rake//lib/rake/application.rb#
|
448
|
+
# source://rake//lib/rake/application.rb#311
|
449
449
|
def tty_output?; end
|
450
450
|
|
451
451
|
# @return [Boolean]
|
452
452
|
#
|
453
|
-
# source://rake//lib/rake/application.rb#
|
453
|
+
# source://rake//lib/rake/application.rb#385
|
454
454
|
def unix?; end
|
455
455
|
|
456
456
|
# @return [Boolean]
|
457
457
|
#
|
458
|
-
# source://rake//lib/rake/application.rb#
|
458
|
+
# source://rake//lib/rake/application.rb#390
|
459
459
|
def windows?; end
|
460
460
|
|
461
461
|
private
|
462
462
|
|
463
|
-
# source://rake//lib/rake/application.rb#
|
463
|
+
# source://rake//lib/rake/application.rb#745
|
464
464
|
def glob(path, &block); end
|
465
465
|
|
466
466
|
# Does the exception have a task invocation chain?
|
467
467
|
#
|
468
468
|
# @return [Boolean]
|
469
469
|
#
|
470
|
-
# source://rake//lib/rake/application.rb#
|
470
|
+
# source://rake//lib/rake/application.rb#291
|
471
471
|
def has_chain?(exception); end
|
472
472
|
|
473
|
-
# source://rake//lib/rake/application.rb#
|
473
|
+
# source://rake//lib/rake/application.rb#102
|
474
|
+
def load_debug_at_stop_feature; end
|
475
|
+
|
476
|
+
# source://rake//lib/rake/application.rb#644
|
474
477
|
def select_tasks_to_show(options, show_tasks, value); end
|
475
478
|
|
476
|
-
# source://rake//lib/rake/application.rb#
|
479
|
+
# source://rake//lib/rake/application.rb#651
|
477
480
|
def select_trace_output(options, trace_option, value); end
|
478
481
|
|
479
|
-
# source://rake//lib/rake/application.rb#
|
482
|
+
# source://rake//lib/rake/application.rb#417
|
480
483
|
def sort_options(options); end
|
481
484
|
|
482
|
-
# source://rake//lib/rake/application.rb#
|
485
|
+
# source://rake//lib/rake/application.rb#768
|
483
486
|
def standard_system_dir; end
|
484
487
|
end
|
485
488
|
|
@@ -555,13 +558,43 @@ module Rake::DSL
|
|
555
558
|
|
556
559
|
private
|
557
560
|
|
561
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
562
|
+
def cd(*args, **options, &block); end
|
563
|
+
|
564
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
565
|
+
def chdir(*args, **options, &block); end
|
566
|
+
|
567
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
568
|
+
def chmod(*args, **options, &block); end
|
569
|
+
|
570
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
571
|
+
def chmod_R(*args, **options, &block); end
|
572
|
+
|
573
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
574
|
+
def chown(*args, **options, &block); end
|
575
|
+
|
576
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
577
|
+
def chown_R(*args, **options, &block); end
|
578
|
+
|
579
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
580
|
+
def copy(*args, **options, &block); end
|
581
|
+
|
582
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
583
|
+
def cp(*args, **options, &block); end
|
584
|
+
|
585
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
586
|
+
def cp_lr(*args, **options, &block); end
|
587
|
+
|
588
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
589
|
+
def cp_r(*args, **options, &block); end
|
590
|
+
|
558
591
|
# Describes the next rake task. Duplicate descriptions are discarded.
|
559
592
|
# Descriptions are shown with <code>rake -T</code> (up to the first
|
560
593
|
# sentence) and <code>rake -D</code> (the entire description).
|
561
594
|
#
|
562
595
|
# Example:
|
563
596
|
# desc "Run the Unit Tests"
|
564
|
-
# task test: [:build]
|
597
|
+
# task test: [:build] do
|
565
598
|
# # ... run tests
|
566
599
|
# end
|
567
600
|
#
|
@@ -616,6 +649,39 @@ module Rake::DSL
|
|
616
649
|
# source://rake//lib/rake/dsl_definition.rb#183
|
617
650
|
def import(*fns); end
|
618
651
|
|
652
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
653
|
+
def install(*args, **options, &block); end
|
654
|
+
|
655
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
656
|
+
def link(*args, **options, &block); end
|
657
|
+
|
658
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
659
|
+
def ln(*args, **options, &block); end
|
660
|
+
|
661
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
662
|
+
def ln_s(*args, **options, &block); end
|
663
|
+
|
664
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
665
|
+
def ln_sf(*args, **options, &block); end
|
666
|
+
|
667
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
668
|
+
def ln_sr(*args, **options, &block); end
|
669
|
+
|
670
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
671
|
+
def makedirs(*args, **options, &block); end
|
672
|
+
|
673
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
674
|
+
def mkdir(*args, **options, &block); end
|
675
|
+
|
676
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
677
|
+
def mkdir_p(*args, **options, &block); end
|
678
|
+
|
679
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
680
|
+
def mkpath(*args, **options, &block); end
|
681
|
+
|
682
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
683
|
+
def move(*args, **options, &block); end
|
684
|
+
|
619
685
|
# Declare a task that performs its prerequisites in
|
620
686
|
# parallel. Multitasks does *not* guarantee that its prerequisites
|
621
687
|
# will execute in any given order (which is obvious when you think
|
@@ -627,6 +693,9 @@ module Rake::DSL
|
|
627
693
|
# source://rake//lib/rake/dsl_definition.rb#112
|
628
694
|
def multitask(*args, &block); end
|
629
695
|
|
696
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
697
|
+
def mv(*args, **options, &block); end
|
698
|
+
|
630
699
|
# Create a new rake namespace and use it for evaluating the given
|
631
700
|
# block. Returns a NameSpace object that can be used to lookup
|
632
701
|
# tasks defined in the namespace.
|
@@ -649,6 +718,39 @@ module Rake::DSL
|
|
649
718
|
# source://rake//lib/rake/dsl_definition.rb#135
|
650
719
|
def namespace(name = T.unsafe(nil), &block); end
|
651
720
|
|
721
|
+
# source://rake//lib/rake/file_utils_ext.rb#77
|
722
|
+
def nowrite(value = T.unsafe(nil)); end
|
723
|
+
|
724
|
+
# source://rake//lib/rake/file_utils_ext.rb#123
|
725
|
+
def rake_check_options(options, *optdecl); end
|
726
|
+
|
727
|
+
# source://rake//lib/rake/file_utils_ext.rb#116
|
728
|
+
def rake_output_message(message); end
|
729
|
+
|
730
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
731
|
+
def remove(*args, **options, &block); end
|
732
|
+
|
733
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
734
|
+
def rm(*args, **options, &block); end
|
735
|
+
|
736
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
737
|
+
def rm_f(*args, **options, &block); end
|
738
|
+
|
739
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
740
|
+
def rm_r(*args, **options, &block); end
|
741
|
+
|
742
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
743
|
+
def rm_rf(*args, **options, &block); end
|
744
|
+
|
745
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
746
|
+
def rmdir(*args, **options, &block); end
|
747
|
+
|
748
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
749
|
+
def rmtree(*args, **options, &block); end
|
750
|
+
|
751
|
+
# source://rake//lib/rake/file_utils.rb#98
|
752
|
+
def ruby(*args, **options, &block); end
|
753
|
+
|
652
754
|
# Declare a rule for auto-tasks.
|
653
755
|
#
|
654
756
|
# Example:
|
@@ -659,6 +761,21 @@ module Rake::DSL
|
|
659
761
|
# source://rake//lib/rake/dsl_definition.rb#151
|
660
762
|
def rule(*args, &block); end
|
661
763
|
|
764
|
+
# source://rake//lib/rake/file_utils.rb#110
|
765
|
+
def safe_ln(*args, **options); end
|
766
|
+
|
767
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
768
|
+
def safe_unlink(*args, **options, &block); end
|
769
|
+
|
770
|
+
# source://rake//lib/rake/file_utils.rb#43
|
771
|
+
def sh(*cmd, &block); end
|
772
|
+
|
773
|
+
# source://rake//lib/rake/file_utils.rb#126
|
774
|
+
def split_all(path); end
|
775
|
+
|
776
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
777
|
+
def symlink(*args, **options, &block); end
|
778
|
+
|
662
779
|
# :call-seq:
|
663
780
|
# task(task_name)
|
664
781
|
# task(task_name: dependencies)
|
@@ -692,6 +809,15 @@ module Rake::DSL
|
|
692
809
|
#
|
693
810
|
# source://rake//lib/rake/dsl_definition.rb#59
|
694
811
|
def task(*args, &block); end
|
812
|
+
|
813
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
814
|
+
def touch(*args, **options, &block); end
|
815
|
+
|
816
|
+
# source://rake//lib/rake/file_utils_ext.rb#53
|
817
|
+
def verbose(value = T.unsafe(nil)); end
|
818
|
+
|
819
|
+
# source://rake//lib/rake/file_utils_ext.rb#107
|
820
|
+
def when_writing(msg = T.unsafe(nil)); end
|
695
821
|
end
|
696
822
|
|
697
823
|
# Default Rakefile loader used by +import+.
|
@@ -725,6 +851,13 @@ class Rake::EarlyTime
|
|
725
851
|
|
726
852
|
# source://rake//lib/rake/early_time.rb#16
|
727
853
|
def to_s; end
|
854
|
+
|
855
|
+
class << self
|
856
|
+
private
|
857
|
+
|
858
|
+
def allocate; end
|
859
|
+
def new(*_arg0); end
|
860
|
+
end
|
728
861
|
end
|
729
862
|
|
730
863
|
# A FileCreationTask is a file task that when used as a dependency will be
|
@@ -732,7 +865,7 @@ end
|
|
732
865
|
# not re-triggered if any of its dependencies are newer, nor does trigger
|
733
866
|
# any rebuilds of tasks that depend on it whenever it is updated.
|
734
867
|
#
|
735
|
-
# source://rake//lib/rake/file_creation_task.rb#
|
868
|
+
# source://rake//lib/rake/file_creation_task.rb#12
|
736
869
|
class Rake::FileCreationTask < ::Rake::FileTask
|
737
870
|
# Is this file task needed? Yes if it doesn't exist.
|
738
871
|
#
|
@@ -1450,7 +1583,7 @@ class Rake::FileTask < ::Rake::Task
|
|
1450
1583
|
|
1451
1584
|
# Time stamp for file task.
|
1452
1585
|
#
|
1453
|
-
# source://rake//lib/rake/file_task.rb#
|
1586
|
+
# source://rake//lib/rake/file_task.rb#25
|
1454
1587
|
def timestamp; end
|
1455
1588
|
|
1456
1589
|
private
|
@@ -1459,14 +1592,14 @@ class Rake::FileTask < ::Rake::Task
|
|
1459
1592
|
#
|
1460
1593
|
# @return [Boolean]
|
1461
1594
|
#
|
1462
|
-
# source://rake//lib/rake/file_task.rb#
|
1595
|
+
# source://rake//lib/rake/file_task.rb#36
|
1463
1596
|
def out_of_date?(stamp); end
|
1464
1597
|
|
1465
1598
|
class << self
|
1466
1599
|
# Apply the scope to the task name according to the rules for this kind
|
1467
1600
|
# of task. File based tasks ignore the scope when creating the name.
|
1468
1601
|
#
|
1469
|
-
# source://rake//lib/rake/file_task.rb#
|
1602
|
+
# source://rake//lib/rake/file_task.rb#53
|
1470
1603
|
def scope_name(scope, task_name); end
|
1471
1604
|
end
|
1472
1605
|
end
|
@@ -1528,6 +1661,9 @@ module Rake::FileUtilsExt
|
|
1528
1661
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
1529
1662
|
def ln_sf(*args, **options, &block); end
|
1530
1663
|
|
1664
|
+
# source://rake//lib/rake/file_utils_ext.rb#34
|
1665
|
+
def ln_sr(*args, **options, &block); end
|
1666
|
+
|
1531
1667
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
1532
1668
|
def makedirs(*args, **options, &block); end
|
1533
1669
|
|
@@ -1757,6 +1893,13 @@ class Rake::LateTime
|
|
1757
1893
|
|
1758
1894
|
# source://rake//lib/rake/late_time.rb#12
|
1759
1895
|
def to_s; end
|
1896
|
+
|
1897
|
+
class << self
|
1898
|
+
private
|
1899
|
+
|
1900
|
+
def allocate; end
|
1901
|
+
def new(*_arg0); end
|
1902
|
+
end
|
1760
1903
|
end
|
1761
1904
|
|
1762
1905
|
# Polylithic linked list structure used to implement several data
|
@@ -2714,14 +2857,14 @@ class Rake::ThreadHistoryDisplay
|
|
2714
2857
|
def threads; end
|
2715
2858
|
end
|
2716
2859
|
|
2717
|
-
# source://rake//lib/rake/thread_pool.rb#
|
2860
|
+
# source://rake//lib/rake/thread_pool.rb#8
|
2718
2861
|
class Rake::ThreadPool
|
2719
2862
|
# Creates a ThreadPool object. The +thread_count+ parameter is the size
|
2720
2863
|
# of the pool.
|
2721
2864
|
#
|
2722
2865
|
# @return [ThreadPool] a new instance of ThreadPool
|
2723
2866
|
#
|
2724
|
-
# source://rake//lib/rake/thread_pool.rb#
|
2867
|
+
# source://rake//lib/rake/thread_pool.rb#12
|
2725
2868
|
def initialize(thread_count); end
|
2726
2869
|
|
2727
2870
|
# Creates a future executed by the +ThreadPool+.
|