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