sorbet-result 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.standard.yml +6 -0
  4. data/.tool-versions +1 -1
  5. data/CHANGELOG.md +10 -0
  6. data/Gemfile +2 -4
  7. data/Gemfile.lock +75 -55
  8. data/README.md +23 -0
  9. data/Rakefile +3 -5
  10. data/lib/minitest/result_assertions.rb +48 -0
  11. data/lib/sorbet-result.rb +1 -5
  12. data/lib/typed/result.rb +169 -7
  13. data/sorbet/rbi/gems/.gitattributes +1 -0
  14. data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
  15. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +80 -60
  16. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  17. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +239 -0
  18. data/sorbet/rbi/gems/{minitest@5.18.1.rbi → minitest@5.22.2.rbi} +285 -241
  19. data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.24.0.rbi} +8 -1
  20. data/sorbet/rbi/gems/{parser@3.2.2.3.rbi → parser@3.3.0.5.rbi} +438 -2219
  21. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  22. data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
  23. data/sorbet/rbi/gems/psych@5.1.2.rbi +1731 -0
  24. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.7.3.rbi} +35 -39
  25. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +68 -65
  26. data/sorbet/rbi/gems/{rbi@0.0.16.rbi → rbi@0.1.9.rbi} +712 -714
  27. data/sorbet/rbi/gems/{regexp_parser@2.8.1.rbi → regexp_parser@2.9.0.rbi} +187 -165
  28. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +116 -52
  29. data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.30.0.rbi} +77 -77
  30. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +8 -0
  31. data/sorbet/rbi/gems/rubocop-sorbet@0.7.7.rbi +8 -0
  32. data/sorbet/rbi/gems/{rubocop@1.52.1.rbi → rubocop@1.60.2.rbi} +3593 -1700
  33. data/sorbet/rbi/gems/{spoom@1.2.1.rbi → spoom@1.2.4.rbi} +1378 -104
  34. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +8 -0
  35. data/sorbet/rbi/gems/standard-performance@1.3.1.rbi +8 -0
  36. data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +52 -0
  37. data/sorbet/rbi/gems/standard@1.34.0.rbi +850 -0
  38. data/sorbet/rbi/gems/stringio@3.1.0.rbi +8 -0
  39. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23133 -0
  40. data/sorbet/rbi/gems/{tapioca@0.11.6.rbi → tapioca@0.12.0.rbi} +776 -574
  41. data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.0.rbi} +775 -395
  42. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +1 -1
  43. data/sorbet/rbi/gems/yard@0.9.34.rbi +2 -2
  44. data/sorbet/tapioca/config.yml +3 -12
  45. data/sorbet/tapioca/require.rb +0 -1
  46. metadata +41 -34
  47. data/.rubocop.yml +0 -33
  48. data/lib/typed/failure.rb +0 -81
  49. data/lib/typed/success.rb +0 -80
  50. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
  51. data/sorbet/rbi/gems/irb@1.7.0.rbi +0 -342
  52. data/sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi +0 -2528
  53. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -328
  54. data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -1043
  55. data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
  56. data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +0 -986
  57. /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +0 -0
  58. /data/sorbet/rbi/gems/{reline@0.3.5.rbi → reline@0.4.2.rbi} +0 -0
  59. /data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.5.0.rbi} +0 -0
@@ -7,32 +7,32 @@
7
7
  # source://racc//lib/racc/parser.rb#23
8
8
  ParseError = Racc::ParseError
9
9
 
10
- # source://racc//lib/racc/info.rb#16
10
+ # source://racc//lib/racc/info.rb#17
11
11
  Racc::Copyright = T.let(T.unsafe(nil), String)
12
12
 
13
- # source://racc//lib/racc/parser.rb#186
13
+ # source://racc//lib/racc/parser.rb#188
14
14
  class Racc::Parser
15
- # source://racc//lib/racc/parser.rb#281
15
+ # source://racc//lib/racc/parser.rb#283
16
16
  def _racc_do_parse_rb(arg, in_debug); end
17
17
 
18
- # source://racc//lib/racc/parser.rb#481
18
+ # source://racc//lib/racc/parser.rb#483
19
19
  def _racc_do_reduce(arg, act); end
20
20
 
21
21
  # common
22
22
  #
23
- # source://racc//lib/racc/parser.rb#384
23
+ # source://racc//lib/racc/parser.rb#386
24
24
  def _racc_evalact(act, arg); end
25
25
 
26
- # source://racc//lib/racc/parser.rb#234
26
+ # source://racc//lib/racc/parser.rb#236
27
27
  def _racc_init_sysvars; end
28
28
 
29
- # source://racc//lib/racc/parser.rb#222
29
+ # source://racc//lib/racc/parser.rb#224
30
30
  def _racc_setup; end
31
31
 
32
- # source://racc//lib/racc/parser.rb#331
32
+ # source://racc//lib/racc/parser.rb#333
33
33
  def _racc_yyparse_rb(recv, mid, arg, c_debug); end
34
34
 
35
- # source://racc//lib/racc/parser.rb#264
35
+ # source://racc//lib/racc/parser.rb#266
36
36
  def do_parse; end
37
37
 
38
38
  # The method to fetch next token.
@@ -46,7 +46,7 @@ class Racc::Parser
46
46
  #
47
47
  # @raise [NotImplementedError]
48
48
  #
49
- # source://racc//lib/racc/parser.rb#277
49
+ # source://racc//lib/racc/parser.rb#279
50
50
  def next_token; end
51
51
 
52
52
  # This method is called when a parse error is found.
@@ -66,96 +66,92 @@ class Racc::Parser
66
66
  #
67
67
  # @raise [ParseError]
68
68
  #
69
- # source://racc//lib/racc/parser.rb#537
69
+ # source://racc//lib/racc/parser.rb#539
70
70
  def on_error(t, val, vstack); end
71
71
 
72
- # source://racc//lib/racc/parser.rb#586
72
+ # source://racc//lib/racc/parser.rb#588
73
73
  def racc_accept; end
74
74
 
75
- # source://racc//lib/racc/parser.rb#591
75
+ # source://racc//lib/racc/parser.rb#593
76
76
  def racc_e_pop(state, tstack, vstack); end
77
77
 
78
- # source://racc//lib/racc/parser.rb#598
78
+ # source://racc//lib/racc/parser.rb#600
79
79
  def racc_next_state(curstate, state); end
80
80
 
81
- # source://racc//lib/racc/parser.rb#604
81
+ # source://racc//lib/racc/parser.rb#606
82
82
  def racc_print_stacks(t, v); end
83
83
 
84
- # source://racc//lib/racc/parser.rb#613
84
+ # source://racc//lib/racc/parser.rb#615
85
85
  def racc_print_states(s); end
86
86
 
87
87
  # For debugging output
88
88
  #
89
- # source://racc//lib/racc/parser.rb#560
89
+ # source://racc//lib/racc/parser.rb#562
90
90
  def racc_read_token(t, tok, val); end
91
91
 
92
- # source://racc//lib/racc/parser.rb#573
92
+ # source://racc//lib/racc/parser.rb#575
93
93
  def racc_reduce(toks, sim, tstack, vstack); end
94
94
 
95
- # source://racc//lib/racc/parser.rb#567
95
+ # source://racc//lib/racc/parser.rb#569
96
96
  def racc_shift(tok, tstack, vstack); end
97
97
 
98
- # source://racc//lib/racc/parser.rb#620
98
+ # source://racc//lib/racc/parser.rb#622
99
99
  def racc_token2str(tok); end
100
100
 
101
101
  # Convert internal ID of token symbol to the string.
102
102
  #
103
- # source://racc//lib/racc/parser.rb#626
103
+ # source://racc//lib/racc/parser.rb#628
104
104
  def token_to_str(t); end
105
105
 
106
106
  # Exit parser.
107
107
  # Return value is +Symbol_Value_Stack[0]+.
108
108
  #
109
- # source://racc//lib/racc/parser.rb#550
109
+ # source://racc//lib/racc/parser.rb#552
110
110
  def yyaccept; end
111
111
 
112
112
  # Leave error recovering mode.
113
113
  #
114
- # source://racc//lib/racc/parser.rb#555
114
+ # source://racc//lib/racc/parser.rb#557
115
115
  def yyerrok; end
116
116
 
117
117
  # Enter error recovering mode.
118
118
  # This method does not call #on_error.
119
119
  #
120
- # source://racc//lib/racc/parser.rb#544
120
+ # source://racc//lib/racc/parser.rb#546
121
121
  def yyerror; end
122
122
 
123
- # source://racc//lib/racc/parser.rb#326
123
+ # source://racc//lib/racc/parser.rb#328
124
124
  def yyparse(recv, mid); end
125
125
 
126
126
  class << self
127
- # source://racc//lib/racc/parser.rb#218
127
+ # source://racc//lib/racc/parser.rb#220
128
128
  def racc_runtime_type; end
129
129
  end
130
130
  end
131
131
 
132
- # source://racc//lib/racc/parser.rb#207
132
+ # source://racc//lib/racc/parser.rb#209
133
133
  Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
134
134
 
135
- Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
136
-
137
- # source://racc//lib/racc/parser.rb#209
135
+ # source://racc//lib/racc/parser.rb#211
138
136
  Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
139
137
 
140
- Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
141
-
142
- # source://racc//lib/racc/parser.rb#189
138
+ # source://racc//lib/racc/parser.rb#191
143
139
  Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
144
140
 
145
- # source://racc//lib/racc/parser.rb#210
141
+ # source://racc//lib/racc/parser.rb#212
146
142
  Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
147
143
 
148
- # source://racc//lib/racc/parser.rb#188
144
+ # source://racc//lib/racc/parser.rb#190
149
145
  Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
150
146
 
151
- # source://racc//lib/racc/parser.rb#208
147
+ # source://racc//lib/racc/parser.rb#210
152
148
  Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
153
149
 
154
- # source://racc//lib/racc/parser.rb#183
150
+ # source://racc//lib/racc/parser.rb#185
155
151
  Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
156
152
 
157
- # source://racc//lib/racc/info.rb#14
153
+ # source://racc//lib/racc/info.rb#15
158
154
  Racc::VERSION = T.let(T.unsafe(nil), String)
159
155
 
160
- # source://racc//lib/racc/info.rb#15
156
+ # source://racc//lib/racc/info.rb#16
161
157
  Racc::Version = T.let(T.unsafe(nil), String)
@@ -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#100
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#112
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#128
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#86
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#73
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#108
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#777
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#139
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#758
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#772
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#258
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#222
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#206
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#245
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#214
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#229
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#237
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#381
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#298
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#349
265
+ # source://rake//lib/rake/application.rb#373
266
266
  def dynamic_width; end
267
267
 
268
- # source://rake//lib/rake/application.rb#353
268
+ # source://rake//lib/rake/application.rb#377
269
269
  def dynamic_width_stty; end
270
270
 
271
- # source://rake//lib/rake/application.rb#357
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#201
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#678
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#644
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#233
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#274
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#157
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#782
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#102
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#145
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#163
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#690
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#664
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#798
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#695
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#122
375
+ # source://rake//lib/rake/application.rb#144
376
376
  def run_with_threads; end
377
377
 
378
- # source://rake//lib/rake/application.rb#807
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#185
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#402
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#727
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#337
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#150
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#109
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#388
425
+ # source://rake//lib/rake/application.rb#412
426
426
  def trace(*strings); end
427
427
 
428
- # source://rake//lib/rake/application.rb#370
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#293
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#287
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#361
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#366
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#721
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#267
470
+ # source://rake//lib/rake/application.rb#291
471
471
  def has_chain?(exception); end
472
472
 
473
- # source://rake//lib/rake/application.rb#620
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#627
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#393
482
+ # source://rake//lib/rake/application.rb#417
480
483
  def sort_options(options); end
481
484
 
482
- # source://rake//lib/rake/application.rb#744
485
+ # source://rake//lib/rake/application.rb#768
483
486
  def standard_system_dir; end
484
487
  end
485
488
 
@@ -591,7 +594,7 @@ module Rake::DSL
591
594
  #
592
595
  # Example:
593
596
  # desc "Run the Unit Tests"
594
- # task test: [:build]
597
+ # task test: [:build] do
595
598
  # # ... run tests
596
599
  # end
597
600
  #
@@ -745,7 +748,7 @@ module Rake::DSL
745
748
  # source://rake//lib/rake/file_utils_ext.rb#34
746
749
  def rmtree(*args, **options, &block); end
747
750
 
748
- # source://rake//lib/rake/file_utils.rb#100
751
+ # source://rake//lib/rake/file_utils.rb#98
749
752
  def ruby(*args, **options, &block); end
750
753
 
751
754
  # Declare a rule for auto-tasks.
@@ -758,7 +761,7 @@ module Rake::DSL
758
761
  # source://rake//lib/rake/dsl_definition.rb#151
759
762
  def rule(*args, &block); end
760
763
 
761
- # source://rake//lib/rake/file_utils.rb#112
764
+ # source://rake//lib/rake/file_utils.rb#110
762
765
  def safe_ln(*args, **options); end
763
766
 
764
767
  # source://rake//lib/rake/file_utils_ext.rb#34
@@ -767,7 +770,7 @@ module Rake::DSL
767
770
  # source://rake//lib/rake/file_utils.rb#43
768
771
  def sh(*cmd, &block); end
769
772
 
770
- # source://rake//lib/rake/file_utils.rb#128
773
+ # source://rake//lib/rake/file_utils.rb#126
771
774
  def split_all(path); end
772
775
 
773
776
  # source://rake//lib/rake/file_utils_ext.rb#34
@@ -1580,7 +1583,7 @@ class Rake::FileTask < ::Rake::Task
1580
1583
 
1581
1584
  # Time stamp for file task.
1582
1585
  #
1583
- # source://rake//lib/rake/file_task.rb#21
1586
+ # source://rake//lib/rake/file_task.rb#25
1584
1587
  def timestamp; end
1585
1588
 
1586
1589
  private
@@ -1589,14 +1592,14 @@ class Rake::FileTask < ::Rake::Task
1589
1592
  #
1590
1593
  # @return [Boolean]
1591
1594
  #
1592
- # source://rake//lib/rake/file_task.rb#32
1595
+ # source://rake//lib/rake/file_task.rb#36
1593
1596
  def out_of_date?(stamp); end
1594
1597
 
1595
1598
  class << self
1596
1599
  # Apply the scope to the task name according to the rules for this kind
1597
1600
  # of task. File based tasks ignore the scope when creating the name.
1598
1601
  #
1599
- # source://rake//lib/rake/file_task.rb#49
1602
+ # source://rake//lib/rake/file_task.rb#53
1600
1603
  def scope_name(scope, task_name); end
1601
1604
  end
1602
1605
  end
@@ -2854,14 +2857,14 @@ class Rake::ThreadHistoryDisplay
2854
2857
  def threads; end
2855
2858
  end
2856
2859
 
2857
- # source://rake//lib/rake/thread_pool.rb#7
2860
+ # source://rake//lib/rake/thread_pool.rb#8
2858
2861
  class Rake::ThreadPool
2859
2862
  # Creates a ThreadPool object. The +thread_count+ parameter is the size
2860
2863
  # of the pool.
2861
2864
  #
2862
2865
  # @return [ThreadPool] a new instance of ThreadPool
2863
2866
  #
2864
- # source://rake//lib/rake/thread_pool.rb#11
2867
+ # source://rake//lib/rake/thread_pool.rb#12
2865
2868
  def initialize(thread_count); end
2866
2869
 
2867
2870
  # Creates a future executed by the +ThreadPool+.