sorbet-result 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.standard.yml +6 -0
- data/.tool-versions +1 -1
- data/CHANGELOG.md +21 -0
- data/Gemfile +3 -5
- data/Gemfile.lock +79 -64
- data/README.md +25 -2
- data/Rakefile +3 -5
- data/lib/minitest/result_assertions.rb +48 -0
- data/lib/sorbet-result.rb +1 -5
- data/lib/typed/result.rb +199 -7
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +1 -0
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
- 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.5.rbi} +168 -72
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
- data/sorbet/rbi/gems/{minitest@5.18.1.rbi → minitest@5.25.1.rbi} +337 -282
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +1 -0
- data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.26.3.rbi} +38 -20
- data/sorbet/rbi/gems/{parser@3.2.2.3.rbi → parser@3.3.5.1.rbi} +663 -2397
- data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1732 -0
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +37 -36
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +1 -0
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.2.1.rbi} +79 -75
- data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
- data/sorbet/rbi/gems/{regexp_parser@2.8.1.rbi → regexp_parser@2.9.2.rbi} +190 -167
- data/sorbet/rbi/gems/{reline@0.3.5.rbi → reline@0.5.10.rbi} +1 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.33.1.rbi} +1220 -748
- data/sorbet/rbi/gems/rubocop-performance@1.22.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.8.rbi +9 -0
- data/sorbet/rbi/gems/{rubocop@1.52.1.rbi → rubocop@1.66.1.rbi} +6236 -3446
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1 -0
- data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
- data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +9 -0
- data/sorbet/rbi/gems/standard-performance@1.5.0.rbi +9 -0
- data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +53 -0
- data/sorbet/rbi/gems/standard@1.41.1.rbi +926 -0
- data/sorbet/rbi/gems/stringio@3.1.1.rbi +9 -0
- data/sorbet/rbi/gems/{tapioca@0.11.6.rbi → tapioca@0.16.3.rbi} +937 -635
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.2.rbi} +832 -419
- data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.6.0.rbi} +1 -0
- data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +431 -271
- data/sorbet/tapioca/config.yml +3 -12
- data/sorbet/tapioca/require.rb +0 -1
- metadata +37 -47
- data/.rubocop.yml +0 -33
- data/lib/typed/failure.rb +0 -81
- data/lib/typed/success.rb +0 -80
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
- data/sorbet/rbi/gems/irb@1.7.0.rbi +0 -342
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -3008
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -4717
- data/sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi +0 -2528
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -328
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -1043
- data/sorbet/rbi/gems/spoom@1.2.1.rbi +0 -2503
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +0 -986
@@ -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
|
@@ -591,11 +595,11 @@ module Rake::DSL
|
|
591
595
|
#
|
592
596
|
# Example:
|
593
597
|
# desc "Run the Unit Tests"
|
594
|
-
# task test: [:build]
|
598
|
+
# task test: [:build] do
|
595
599
|
# # ... run tests
|
596
600
|
# end
|
597
601
|
#
|
598
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
602
|
+
# source://rake//lib/rake/dsl_definition.rb#166
|
599
603
|
def desc(description); end
|
600
604
|
|
601
605
|
# Declare a set of files tasks to create the given directories on
|
@@ -643,7 +647,7 @@ module Rake::DSL
|
|
643
647
|
# Example:
|
644
648
|
# import ".depend", "my_rules"
|
645
649
|
#
|
646
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
650
|
+
# source://rake//lib/rake/dsl_definition.rb#184
|
647
651
|
def import(*fns); end
|
648
652
|
|
649
653
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -687,7 +691,7 @@ module Rake::DSL
|
|
687
691
|
# Example:
|
688
692
|
# multitask deploy: %w[deploy_gem deploy_rdoc]
|
689
693
|
#
|
690
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
694
|
+
# source://rake//lib/rake/dsl_definition.rb#113
|
691
695
|
def multitask(*args, &block); end
|
692
696
|
|
693
697
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -712,7 +716,7 @@ module Rake::DSL
|
|
712
716
|
# # ...
|
713
717
|
# end
|
714
718
|
#
|
715
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
719
|
+
# source://rake//lib/rake/dsl_definition.rb#136
|
716
720
|
def namespace(name = T.unsafe(nil), &block); end
|
717
721
|
|
718
722
|
# source://rake//lib/rake/file_utils_ext.rb#77
|
@@ -745,20 +749,20 @@ module Rake::DSL
|
|
745
749
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
746
750
|
def rmtree(*args, **options, &block); end
|
747
751
|
|
748
|
-
# source://rake//lib/rake/file_utils.rb#
|
752
|
+
# source://rake//lib/rake/file_utils.rb#98
|
749
753
|
def ruby(*args, **options, &block); end
|
750
754
|
|
751
755
|
# Declare a rule for auto-tasks.
|
752
756
|
#
|
753
757
|
# Example:
|
754
758
|
# rule '.o' => '.c' do |t|
|
755
|
-
# sh 'cc', '-o', t.name, t.source
|
759
|
+
# sh 'cc', '-c', '-o', t.name, t.source
|
756
760
|
# end
|
757
761
|
#
|
758
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
762
|
+
# source://rake//lib/rake/dsl_definition.rb#152
|
759
763
|
def rule(*args, &block); end
|
760
764
|
|
761
|
-
# source://rake//lib/rake/file_utils.rb#
|
765
|
+
# source://rake//lib/rake/file_utils.rb#110
|
762
766
|
def safe_ln(*args, **options); end
|
763
767
|
|
764
768
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -767,7 +771,7 @@ module Rake::DSL
|
|
767
771
|
# source://rake//lib/rake/file_utils.rb#43
|
768
772
|
def sh(*cmd, &block); end
|
769
773
|
|
770
|
-
# source://rake//lib/rake/file_utils.rb#
|
774
|
+
# source://rake//lib/rake/file_utils.rb#126
|
771
775
|
def split_all(path); end
|
772
776
|
|
773
777
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -1580,7 +1584,7 @@ class Rake::FileTask < ::Rake::Task
|
|
1580
1584
|
|
1581
1585
|
# Time stamp for file task.
|
1582
1586
|
#
|
1583
|
-
# source://rake//lib/rake/file_task.rb#
|
1587
|
+
# source://rake//lib/rake/file_task.rb#25
|
1584
1588
|
def timestamp; end
|
1585
1589
|
|
1586
1590
|
private
|
@@ -1589,14 +1593,14 @@ class Rake::FileTask < ::Rake::Task
|
|
1589
1593
|
#
|
1590
1594
|
# @return [Boolean]
|
1591
1595
|
#
|
1592
|
-
# source://rake//lib/rake/file_task.rb#
|
1596
|
+
# source://rake//lib/rake/file_task.rb#36
|
1593
1597
|
def out_of_date?(stamp); end
|
1594
1598
|
|
1595
1599
|
class << self
|
1596
1600
|
# Apply the scope to the task name according to the rules for this kind
|
1597
1601
|
# of task. File based tasks ignore the scope when creating the name.
|
1598
1602
|
#
|
1599
|
-
# source://rake//lib/rake/file_task.rb#
|
1603
|
+
# source://rake//lib/rake/file_task.rb#53
|
1600
1604
|
def scope_name(scope, task_name); end
|
1601
1605
|
end
|
1602
1606
|
end
|
@@ -2854,14 +2858,14 @@ class Rake::ThreadHistoryDisplay
|
|
2854
2858
|
def threads; end
|
2855
2859
|
end
|
2856
2860
|
|
2857
|
-
# source://rake//lib/rake/thread_pool.rb#
|
2861
|
+
# source://rake//lib/rake/thread_pool.rb#8
|
2858
2862
|
class Rake::ThreadPool
|
2859
2863
|
# Creates a ThreadPool object. The +thread_count+ parameter is the size
|
2860
2864
|
# of the pool.
|
2861
2865
|
#
|
2862
2866
|
# @return [ThreadPool] a new instance of ThreadPool
|
2863
2867
|
#
|
2864
|
-
# source://rake//lib/rake/thread_pool.rb#
|
2868
|
+
# source://rake//lib/rake/thread_pool.rb#12
|
2865
2869
|
def initialize(thread_count); end
|
2866
2870
|
|
2867
2871
|
# Creates a future executed by the +ThreadPool+.
|
@@ -2998,7 +3002,7 @@ end
|
|
2998
3002
|
# source://rake//lib/rake/win32.rb#11
|
2999
3003
|
class Rake::Win32::Win32HomeError < ::RuntimeError; end
|
3000
3004
|
|
3001
|
-
# source://rake//lib/rake.rb#
|
3005
|
+
# source://rake//lib/rake.rb#70
|
3002
3006
|
RakeFileUtils = Rake::FileUtilsExt
|
3003
3007
|
|
3004
3008
|
# source://rake//lib/rake/ext/string.rb#4
|