mootool 0.1.2 → 0.2.2

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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.github/workflows/ci.yml +15 -15
  4. data/.github/workflows/gem-push.yml +26 -26
  5. data/.overcommit.yml +79 -0
  6. data/.rubocop.yml +147 -0
  7. data/.ruby-version +1 -1
  8. data/.run/All Specs.run.xml +46 -0
  9. data/CODE_OF_CONDUCT.md +2 -1
  10. data/Gemfile +14 -11
  11. data/Gemfile.lock +90 -32
  12. data/README.md +12 -6
  13. data/bin/tapioca +27 -0
  14. data/lib/mootool/command.rb +1 -0
  15. data/lib/mootool/controller_base.rb +4 -1
  16. data/lib/mootool/controllers/dwarf.rb +8 -0
  17. data/lib/mootool/controllers/dyld_linker.rb +8 -0
  18. data/lib/mootool/controllers/dyld_shared_cache.rb +8 -0
  19. data/lib/mootool/controllers/fat_binary.rb +8 -0
  20. data/lib/mootool/controllers/kernel_collection.rb +21 -15
  21. data/lib/mootool/controllers/sections.rb +8 -0
  22. data/lib/mootool/core_extensions.rb +26 -0
  23. data/lib/mootool/models/device_tree.rb +85 -0
  24. data/lib/mootool/models/img4.rb +49 -0
  25. data/lib/mootool/models/ipsw.rb +19 -0
  26. data/lib/mootool/version.rb +1 -1
  27. data/lib/mootool/views/sections.full.erb +2 -2
  28. data/lib/mootool.rb +10 -3
  29. data/mootool.gemspec +17 -12
  30. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  31. data/sorbet/rbi/gems/ast@2.4.2.rbi +618 -0
  32. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +447 -0
  33. data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
  34. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1219 -0
  35. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +1007 -0
  36. data/sorbet/rbi/gems/json@2.6.2.rbi +1650 -0
  37. data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
  38. data/sorbet/rbi/gems/netrc@0.11.0.rbi +186 -0
  39. data/sorbet/rbi/gems/overcommit@0.59.1.rbi +2747 -0
  40. data/sorbet/rbi/gems/parallel@1.22.1.rbi +353 -0
  41. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +6198 -0
  42. data/sorbet/rbi/gems/plist@3.6.0.rbi +212 -0
  43. data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
  44. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +452 -0
  45. data/sorbet/rbi/gems/rake@13.0.6.rbi +3587 -0
  46. data/sorbet/rbi/gems/rbi@0.0.15.rbi +3619 -0
  47. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +3927 -0
  48. data/sorbet/rbi/gems/rexml@3.2.5.rbi +5238 -0
  49. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +12834 -0
  50. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +9151 -0
  51. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +6506 -0
  52. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +2040 -0
  53. data/sorbet/rbi/gems/rspec@3.11.0.rbi +120 -0
  54. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +7990 -0
  55. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +413 -0
  56. data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +7604 -0
  57. data/sorbet/rbi/gems/rubocop@1.35.0.rbi +62260 -0
  58. data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +5039 -0
  59. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1445 -0
  60. data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +2868 -0
  61. data/sorbet/rbi/gems/spoom@1.1.12.rbi +2829 -0
  62. data/sorbet/rbi/gems/tapioca@0.9.3.rbi +2151 -0
  63. data/sorbet/rbi/gems/thor@1.2.1.rbi +4532 -0
  64. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +60 -0
  65. data/sorbet/rbi/gems/unparser@0.6.5.rbi +8 -0
  66. data/sorbet/rbi/gems/webrick@1.7.0.rbi +3075 -0
  67. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +458 -0
  68. data/sorbet/rbi/gems/yard@0.9.28.rbi +20844 -0
  69. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +72 -24
  70. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +1697 -385
  71. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +30 -7
  72. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +3 -1
  73. data/sorbet/rbi/todo.rbi +7 -0
  74. data/sorbet/tapioca/config.yml +13 -0
  75. data/sorbet/tapioca/require.rb +4 -0
  76. metadata +90 -10
@@ -0,0 +1,3587 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `rake` gem.
5
+ # Please instead update this file by running `bin/tapioca gem rake`.
6
+
7
+ # :stopdoc:
8
+ #
9
+ # Some top level Constants.
10
+ #
11
+ # source://rake-13.0.6/lib/rake.rb:70
12
+ FileList = Rake::FileList
13
+
14
+ # --
15
+ # This a FileUtils extension that defines several additional commands to be
16
+ # added to the FileUtils utility functions.
17
+ #
18
+ # source://rake-13.0.6/lib/rake/file_utils.rb:8
19
+ module FileUtils
20
+ # Run a Ruby interpreter with the given arguments.
21
+ #
22
+ # Example:
23
+ # ruby %{-pe '$_.upcase!' <README}
24
+ #
25
+ # source://rake-13.0.6/lib/rake/file_utils.rb:100
26
+ def ruby(*args, **options, &block)
27
+ ;
28
+ end
29
+
30
+ # Attempt to do a normal file link, but fall back to a copy if the link
31
+ # fails.
32
+ #
33
+ # source://rake-13.0.6/lib/rake/file_utils.rb:112
34
+ def safe_ln(*args, **options)
35
+ ;
36
+ end
37
+
38
+ # Run the system command +cmd+. If multiple arguments are given the command
39
+ # is run directly (without the shell, same semantics as Kernel::exec and
40
+ # Kernel::system).
41
+ #
42
+ # It is recommended you use the multiple argument form over interpolating
43
+ # user input for both usability and security reasons. With the multiple
44
+ # argument form you can easily process files with spaces or other shell
45
+ # reserved characters in them. With the multiple argument form your rake
46
+ # tasks are not vulnerable to users providing an argument like
47
+ # <code>; rm # -rf /</code>.
48
+ #
49
+ # If a block is given, upon command completion the block is called with an
50
+ # OK flag (true on a zero exit status) and a Process::Status object.
51
+ # Without a block a RuntimeError is raised when the command exits non-zero.
52
+ #
53
+ # Examples:
54
+ #
55
+ # sh 'ls -ltr'
56
+ #
57
+ # sh 'ls', 'file with spaces'
58
+ #
59
+ # # check exit status after command runs
60
+ # sh %{grep pattern file} do |ok, res|
61
+ # if !ok
62
+ # puts "pattern not found (status = #{res.exitstatus})"
63
+ # end
64
+ # end
65
+ #
66
+ # source://rake-13.0.6/lib/rake/file_utils.rb:43
67
+ def sh(*cmd, &block)
68
+ ;
69
+ end
70
+
71
+ # Split a file path into individual directory names.
72
+ #
73
+ # Example:
74
+ # split_all("a/b/c") => ['a', 'b', 'c']
75
+ #
76
+ # source://rake-13.0.6/lib/rake/file_utils.rb:128
77
+ def split_all(path)
78
+ ;
79
+ end
80
+
81
+ private
82
+
83
+ # source://rake-13.0.6/lib/rake/file_utils.rb:61
84
+ def create_shell_runner(cmd)
85
+ ;
86
+ end
87
+
88
+ # source://rake-13.0.6/lib/rake/file_utils.rb:86
89
+ def set_verbose_option(options)
90
+ ;
91
+ end
92
+
93
+ # source://rake-13.0.6/lib/rake/file_utils.rb:73
94
+ def sh_show_command(cmd)
95
+ ;
96
+ end
97
+ end
98
+
99
+ # source://rake-13.0.6/lib/rake/file_utils.rb:108
100
+ FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
101
+
102
+ # Path to the currently running Ruby program
103
+ #
104
+ # source://rake-13.0.6/lib/rake/file_utils.rb:10
105
+ FileUtils::RUBY = T.let(T.unsafe(nil), String)
106
+
107
+ # source://rake-13.0.6/lib/rake/ext/core.rb:2
108
+ class Module
109
+ # Check for an existing method in the current class before extending. If
110
+ # the method already exists, then a warning is printed and the extension is
111
+ # not added. Otherwise the block is yielded and any definitions in the
112
+ # block will take effect.
113
+ #
114
+ # Usage:
115
+ #
116
+ # class String
117
+ # rake_extension("xyz") do
118
+ # def xyz
119
+ # ...
120
+ # end
121
+ # end
122
+ # end
123
+ #
124
+ # source://rake-13.0.6/lib/rake/ext/core.rb:18
125
+ def rake_extension(method)
126
+ ;
127
+ end
128
+ end
129
+
130
+ # source://rake-13.0.6/lib/rake.rb:24
131
+ module Rake
132
+ extend ::FileUtils::StreamUtils_
133
+ extend ::FileUtils
134
+ extend ::Rake::FileUtilsExt
135
+
136
+ class << self
137
+ # Add files to the rakelib list
138
+ #
139
+ # source://rake-13.0.6/lib/rake/rake_module.rb:33
140
+ def add_rakelib(*files)
141
+ ;
142
+ end
143
+
144
+ # Current Rake Application
145
+ #
146
+ # source://rake-13.0.6/lib/rake/rake_module.rb:8
147
+ def application; end
148
+
149
+ # Set the current Rake application object.
150
+ #
151
+ # source://rake-13.0.6/lib/rake/rake_module.rb:13
152
+ def application=(app)
153
+ ;
154
+ end
155
+
156
+ # Yield each file or directory component.
157
+ #
158
+ # source://rake-13.0.6/lib/rake/file_list.rb:418
159
+ def each_dir_parent(dir)
160
+ ;
161
+ end
162
+
163
+ # Convert Pathname and Pathname-like objects to strings;
164
+ # leave everything else alone
165
+ #
166
+ # source://rake-13.0.6/lib/rake/file_list.rb:429
167
+ def from_pathname(path)
168
+ ;
169
+ end
170
+
171
+ # Load a rakefile.
172
+ #
173
+ # source://rake-13.0.6/lib/rake/rake_module.rb:28
174
+ def load_rakefile(path)
175
+ ;
176
+ end
177
+
178
+ # Return the original directory where the Rake application was started.
179
+ #
180
+ # source://rake-13.0.6/lib/rake/rake_module.rb:23
181
+ def original_dir; end
182
+
183
+ # source://rake-13.0.6/lib/rake/rake_module.rb:17
184
+ def suggested_thread_count; end
185
+
186
+ # Make +block_application+ the default rake application inside a block so
187
+ # you can load rakefiles into a different application.
188
+ #
189
+ # This is useful when you want to run rake tasks inside a library without
190
+ # running rake in a sub-shell.
191
+ #
192
+ # Example:
193
+ #
194
+ # Dir.chdir 'other/directory'
195
+ #
196
+ # other_rake = Rake.with_application do |rake|
197
+ # rake.load_rakefile
198
+ # end
199
+ #
200
+ # puts other_rake.tasks
201
+ #
202
+ # source://rake-13.0.6/lib/rake/rake_module.rb:54
203
+ def with_application(block_application = T.unsafe(nil))
204
+ ;
205
+ end
206
+ end
207
+ end
208
+
209
+ # Rake main application object. When invoking +rake+ from the
210
+ # command line, a Rake::Application object is created and run.
211
+ #
212
+ # source://rake-13.0.6/lib/rake/application.rb:19
213
+ class Rake::Application
214
+ include ::Rake::TaskManager
215
+ include ::Rake::TraceOutput
216
+
217
+ # Initialize a Rake::Application object.
218
+ #
219
+ # @return [Application] a new instance of Application
220
+ #
221
+ # source://rake-13.0.6/lib/rake/application.rb:49
222
+ def initialize; end
223
+
224
+ # Add a file to the list of files to be imported.
225
+ #
226
+ # source://rake-13.0.6/lib/rake/application.rb:777
227
+ def add_import(fn)
228
+ ;
229
+ end
230
+
231
+ # Add a loader to handle imported files ending in the extension
232
+ # +ext+.
233
+ #
234
+ # source://rake-13.0.6/lib/rake/application.rb:139
235
+ def add_loader(ext, loader)
236
+ ;
237
+ end
238
+
239
+ # Collect the list of tasks on the command line. If no tasks are
240
+ # given, return a list containing only the default task.
241
+ # Environmental assignments are processed at this time as well.
242
+ #
243
+ # `args` is the list of arguments to peruse to get the list of tasks.
244
+ # It should be the command line that was given to rake, less any
245
+ # recognised command-line options, which OptionParser.parse will
246
+ # have taken care of already.
247
+ #
248
+ # source://rake-13.0.6/lib/rake/application.rb:758
249
+ def collect_command_line_tasks(args)
250
+ ;
251
+ end
252
+
253
+ # Default task name ("default").
254
+ # (May be overridden by subclasses)
255
+ #
256
+ # source://rake-13.0.6/lib/rake/application.rb:772
257
+ def default_task_name; end
258
+
259
+ # Warn about deprecated usage.
260
+ #
261
+ # Example:
262
+ # Rake.application.deprecate("import", "Rake.import", caller.first)
263
+ #
264
+ # source://rake-13.0.6/lib/rake/application.rb:258
265
+ def deprecate(old_usage, new_usage, call_site)
266
+ ;
267
+ end
268
+
269
+ # source://rake-13.0.6/lib/rake/application.rb:222
270
+ def display_cause_details(ex)
271
+ ;
272
+ end
273
+
274
+ # Display the error message that caused the exception.
275
+ #
276
+ # source://rake-13.0.6/lib/rake/application.rb:206
277
+ def display_error_message(ex)
278
+ ;
279
+ end
280
+
281
+ # source://rake-13.0.6/lib/rake/application.rb:245
282
+ def display_exception_backtrace(ex)
283
+ ;
284
+ end
285
+
286
+ # source://rake-13.0.6/lib/rake/application.rb:214
287
+ def display_exception_details(ex)
288
+ ;
289
+ end
290
+
291
+ # source://rake-13.0.6/lib/rake/application.rb:229
292
+ def display_exception_details_seen; end
293
+
294
+ # source://rake-13.0.6/lib/rake/application.rb:237
295
+ def display_exception_message_details(ex)
296
+ ;
297
+ end
298
+
299
+ # Display the tasks and prerequisites
300
+ #
301
+ # source://rake-13.0.6/lib/rake/application.rb:381
302
+ def display_prerequisites; end
303
+
304
+ # Display the tasks and comments.
305
+ #
306
+ # source://rake-13.0.6/lib/rake/application.rb:298
307
+ def display_tasks_and_comments; end
308
+
309
+ # Calculate the dynamic width of the
310
+ #
311
+ # source://rake-13.0.6/lib/rake/application.rb:349
312
+ def dynamic_width; end
313
+
314
+ # source://rake-13.0.6/lib/rake/application.rb:353
315
+ def dynamic_width_stty; end
316
+
317
+ # source://rake-13.0.6/lib/rake/application.rb:357
318
+ def dynamic_width_tput; end
319
+
320
+ # Exit the program because of an unhandled exception.
321
+ # (may be overridden by subclasses)
322
+ #
323
+ # source://rake-13.0.6/lib/rake/application.rb:201
324
+ def exit_because_of_exception(ex)
325
+ ;
326
+ end
327
+
328
+ # source://rake-13.0.6/lib/rake/application.rb:678
329
+ def find_rakefile_location; end
330
+
331
+ # Read and handle the command line options. Returns the command line
332
+ # arguments that we didn't understand, which should (in theory) be just
333
+ # task names and env vars.
334
+ #
335
+ # source://rake-13.0.6/lib/rake/application.rb:644
336
+ def handle_options(argv)
337
+ ;
338
+ end
339
+
340
+ # @return [Boolean]
341
+ #
342
+ # source://rake-13.0.6/lib/rake/application.rb:233
343
+ def has_cause?(ex)
344
+ ;
345
+ end
346
+
347
+ # True if one of the files in RAKEFILES is in the current directory.
348
+ # If a match is found, it is copied into @rakefile.
349
+ #
350
+ # source://rake-13.0.6/lib/rake/application.rb:274
351
+ def have_rakefile; end
352
+
353
+ # Initialize the command line parameters and app name.
354
+ #
355
+ # source://rake-13.0.6/lib/rake/application.rb:88
356
+ def init(app_name = T.unsafe(nil), argv = T.unsafe(nil))
357
+ ;
358
+ end
359
+
360
+ # Invokes a task with arguments that are extracted from +task_string+
361
+ #
362
+ # source://rake-13.0.6/lib/rake/application.rb:157
363
+ def invoke_task(task_string)
364
+ ;
365
+ end
366
+
367
+ # Load the pending list of imported files.
368
+ #
369
+ # source://rake-13.0.6/lib/rake/application.rb:782
370
+ def load_imports; end
371
+
372
+ # Find the rakefile and then load it and any pending imports.
373
+ #
374
+ # source://rake-13.0.6/lib/rake/application.rb:102
375
+ def load_rakefile; end
376
+
377
+ # The name of the application (typically 'rake')
378
+ #
379
+ # source://rake-13.0.6/lib/rake/application.rb:24
380
+ def name; end
381
+
382
+ # Application options from the command line
383
+ #
384
+ # source://rake-13.0.6/lib/rake/application.rb:145
385
+ def options; end
386
+
387
+ # The original directory where rake was invoked.
388
+ #
389
+ # source://rake-13.0.6/lib/rake/application.rb:27
390
+ def original_dir; end
391
+
392
+ # source://rake-13.0.6/lib/rake/application.rb:163
393
+ def parse_task_string(string)
394
+ ;
395
+ end
396
+
397
+ # source://rake-13.0.6/lib/rake/application.rb:690
398
+ def print_rakefile_directory(location)
399
+ ;
400
+ end
401
+
402
+ # Similar to the regular Ruby +require+ command, but will check
403
+ # for *.rake files in addition to *.rb files.
404
+ #
405
+ # source://rake-13.0.6/lib/rake/application.rb:664
406
+ def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil))
407
+ ;
408
+ end
409
+
410
+ # Name of the actual rakefile used.
411
+ #
412
+ # source://rake-13.0.6/lib/rake/application.rb:30
413
+ def rakefile; end
414
+
415
+ # source://rake-13.0.6/lib/rake/application.rb:798
416
+ def rakefile_location(backtrace = T.unsafe(nil))
417
+ ;
418
+ end
419
+
420
+ # source://rake-13.0.6/lib/rake/application.rb:695
421
+ def raw_load_rakefile; end
422
+
423
+ # Run the Rake application. The run method performs the following
424
+ # three steps:
425
+ #
426
+ # * Initialize the command line options (+init+).
427
+ # * Define the tasks (+load_rakefile+).
428
+ # * Run the top level tasks (+top_level+).
429
+ #
430
+ # If you wish to build a custom rake command, you should call
431
+ # +init+ on your application. Then define any tasks. Finally,
432
+ # call +top_level+ to run your top level tasks.
433
+ #
434
+ # source://rake-13.0.6/lib/rake/application.rb:79
435
+ def run(argv = T.unsafe(nil))
436
+ ;
437
+ end
438
+
439
+ # Run the given block with the thread startup and shutdown.
440
+ #
441
+ # source://rake-13.0.6/lib/rake/application.rb:122
442
+ def run_with_threads; end
443
+
444
+ # source://rake-13.0.6/lib/rake/application.rb:807
445
+ def set_default_options; end
446
+
447
+ # Provide standard exception handling for the given block.
448
+ #
449
+ # source://rake-13.0.6/lib/rake/application.rb:185
450
+ def standard_exception_handling; end
451
+
452
+ # A list of all the standard options used in rake, suitable for
453
+ # passing to OptionParser.
454
+ #
455
+ # source://rake-13.0.6/lib/rake/application.rb:402
456
+ def standard_rake_options; end
457
+
458
+ # The directory path containing the system wide rakefiles.
459
+ #
460
+ # source://rake-13.0.6/lib/rake/application.rb:727
461
+ def system_dir; end
462
+
463
+ # Number of columns on the terminal
464
+ #
465
+ # source://rake-13.0.6/lib/rake/application.rb:33
466
+ def terminal_columns; end
467
+
468
+ # Number of columns on the terminal
469
+ #
470
+ # source://rake-13.0.6/lib/rake/application.rb:33
471
+ def terminal_columns=(_arg0)
472
+ ;
473
+ end
474
+
475
+ # source://rake-13.0.6/lib/rake/application.rb:337
476
+ def terminal_width; end
477
+
478
+ # Return the thread pool used for multithreaded processing.
479
+ #
480
+ # source://rake-13.0.6/lib/rake/application.rb:150
481
+ def thread_pool; end
482
+
483
+ # Run the top level tasks of a Rake application.
484
+ #
485
+ # source://rake-13.0.6/lib/rake/application.rb:109
486
+ def top_level; end
487
+
488
+ # List of the top level task names (task names from the command line).
489
+ #
490
+ # source://rake-13.0.6/lib/rake/application.rb:36
491
+ def top_level_tasks; end
492
+
493
+ # source://rake-13.0.6/lib/rake/application.rb:388
494
+ def trace(*strings)
495
+ ;
496
+ end
497
+
498
+ # source://rake-13.0.6/lib/rake/application.rb:370
499
+ def truncate(string, width)
500
+ ;
501
+ end
502
+
503
+ # We will truncate output if we are outputting to a TTY or if we've been
504
+ # given an explicit column width to honor
505
+ #
506
+ # @return [Boolean]
507
+ #
508
+ # source://rake-13.0.6/lib/rake/application.rb:293
509
+ def truncate_output?; end
510
+
511
+ # Override the detected TTY output state (mostly for testing)
512
+ #
513
+ # source://rake-13.0.6/lib/rake/application.rb:39
514
+ def tty_output=(_arg0)
515
+ ;
516
+ end
517
+
518
+ # True if we are outputting to TTY, false otherwise
519
+ #
520
+ # @return [Boolean]
521
+ #
522
+ # source://rake-13.0.6/lib/rake/application.rb:287
523
+ def tty_output?; end
524
+
525
+ # @return [Boolean]
526
+ #
527
+ # source://rake-13.0.6/lib/rake/application.rb:361
528
+ def unix?; end
529
+
530
+ # @return [Boolean]
531
+ #
532
+ # source://rake-13.0.6/lib/rake/application.rb:366
533
+ def windows?; end
534
+
535
+ private
536
+
537
+ # source://rake-13.0.6/lib/rake/application.rb:721
538
+ def glob(path, &block)
539
+ ;
540
+ end
541
+
542
+ # Does the exception have a task invocation chain?
543
+ #
544
+ # @return [Boolean]
545
+ #
546
+ # source://rake-13.0.6/lib/rake/application.rb:267
547
+ def has_chain?(exception)
548
+ ;
549
+ end
550
+
551
+ # source://rake-13.0.6/lib/rake/application.rb:620
552
+ def select_tasks_to_show(options, show_tasks, value)
553
+ ;
554
+ end
555
+
556
+ # source://rake-13.0.6/lib/rake/application.rb:627
557
+ def select_trace_output(options, trace_option, value)
558
+ ;
559
+ end
560
+
561
+ # source://rake-13.0.6/lib/rake/application.rb:393
562
+ def sort_options(options)
563
+ ;
564
+ end
565
+
566
+ # source://rake-13.0.6/lib/rake/application.rb:744
567
+ def standard_system_dir; end
568
+ end
569
+
570
+ # source://rake-13.0.6/lib/rake/application.rb:41
571
+ Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
572
+
573
+ # source://rake-13.0.6/lib/rake/backtrace.rb:3
574
+ module Rake::Backtrace
575
+ class << self
576
+ # source://rake-13.0.6/lib/rake/backtrace.rb:18
577
+ def collapse(backtrace)
578
+ ;
579
+ end
580
+ end
581
+ end
582
+
583
+ # source://rake-13.0.6/lib/rake/backtrace.rb:8
584
+ Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array)
585
+
586
+ # source://rake-13.0.6/lib/rake/backtrace.rb:12
587
+ Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String)
588
+
589
+ # source://rake-13.0.6/lib/rake/backtrace.rb:16
590
+ Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp)
591
+
592
+ # source://rake-13.0.6/lib/rake/backtrace.rb:4
593
+ Rake::Backtrace::SYS_KEYS = T.let(T.unsafe(nil), Array)
594
+
595
+ # source://rake-13.0.6/lib/rake/backtrace.rb:5
596
+ Rake::Backtrace::SYS_PATHS = T.let(T.unsafe(nil), Array)
597
+
598
+ # Mixin for creating easily cloned objects.
599
+ #
600
+ # source://rake-13.0.6/lib/rake/cloneable.rb:6
601
+ module Rake::Cloneable
602
+ private
603
+
604
+ # The hook that is invoked by 'clone' and 'dup' methods.
605
+ #
606
+ # source://rake-13.0.6/lib/rake/cloneable.rb:8
607
+ def initialize_copy(source)
608
+ ;
609
+ end
610
+ end
611
+
612
+ # source://rake-13.0.6/lib/rake/application.rb:13
613
+ class Rake::CommandLineOptionError < ::StandardError; end
614
+
615
+ # Based on a script at:
616
+ # http://stackoverflow.com/questions/891537/ruby-detect-number-of-cpus-installed
617
+ #
618
+ # source://rake-13.0.6/lib/rake/cpu_counter.rb:6
619
+ class Rake::CpuCounter
620
+ # source://rake-13.0.6/lib/rake/cpu_counter.rb:22
621
+ def count; end
622
+
623
+ # source://rake-13.0.6/lib/rake/cpu_counter.rb:11
624
+ def count_with_default(default = T.unsafe(nil))
625
+ ;
626
+ end
627
+
628
+ class << self
629
+ # source://rake-13.0.6/lib/rake/cpu_counter.rb:7
630
+ def count; end
631
+ end
632
+ end
633
+
634
+ # DSL is a module that provides #task, #desc, #namespace, etc. Use this
635
+ # when you'd like to use rake outside the top level scope.
636
+ #
637
+ # For a Rakefile you run from the command line this module is automatically
638
+ # included.
639
+ #
640
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:14
641
+ module Rake::DSL
642
+ include ::FileUtils::StreamUtils_
643
+ include ::FileUtils
644
+ include ::Rake::FileUtilsExt
645
+
646
+ private
647
+
648
+ # Describes the next rake task. Duplicate descriptions are discarded.
649
+ # Descriptions are shown with <code>rake -T</code> (up to the first
650
+ # sentence) and <code>rake -D</code> (the entire description).
651
+ #
652
+ # Example:
653
+ # desc "Run the Unit Tests"
654
+ # task test: [:build]
655
+ # # ... run tests
656
+ # end
657
+ #
658
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:165
659
+ def desc(description)
660
+ ;
661
+ end
662
+
663
+ # Declare a set of files tasks to create the given directories on
664
+ # demand.
665
+ #
666
+ # Example:
667
+ # directory "testdata/doc"
668
+ #
669
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:92
670
+ def directory(*args, &block)
671
+ ;
672
+ end
673
+
674
+ # Declare a file task.
675
+ #
676
+ # Example:
677
+ # file "config.cfg" => ["config.template"] do
678
+ # open("config.cfg", "w") do |outfile|
679
+ # open("config.template") do |infile|
680
+ # while line = infile.gets
681
+ # outfile.puts line
682
+ # end
683
+ # end
684
+ # end
685
+ # end
686
+ #
687
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:76
688
+ def file(*args, &block)
689
+ ;
690
+ end
691
+
692
+ # Declare a file creation task.
693
+ # (Mainly used for the directory command).
694
+ #
695
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:82
696
+ def file_create(*args, &block)
697
+ ;
698
+ end
699
+
700
+ # Import the partial Rakefiles +fn+. Imported files are loaded
701
+ # _after_ the current file is completely loaded. This allows the
702
+ # import statement to appear anywhere in the importing file, and yet
703
+ # allowing the imported files to depend on objects defined in the
704
+ # importing file.
705
+ #
706
+ # A common use of the import statement is to include files
707
+ # containing dependency declarations.
708
+ #
709
+ # See also the --rakelibdir command line option.
710
+ #
711
+ # Example:
712
+ # import ".depend", "my_rules"
713
+ #
714
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:183
715
+ def import(*fns)
716
+ ;
717
+ end
718
+
719
+ # Declare a task that performs its prerequisites in
720
+ # parallel. Multitasks does *not* guarantee that its prerequisites
721
+ # will execute in any given order (which is obvious when you think
722
+ # about it)
723
+ #
724
+ # Example:
725
+ # multitask deploy: %w[deploy_gem deploy_rdoc]
726
+ #
727
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:112
728
+ def multitask(*args, &block)
729
+ ;
730
+ end
731
+
732
+ # Create a new rake namespace and use it for evaluating the given
733
+ # block. Returns a NameSpace object that can be used to lookup
734
+ # tasks defined in the namespace.
735
+ #
736
+ # Example:
737
+ #
738
+ # ns = namespace "nested" do
739
+ # # the "nested:run" task
740
+ # task :run
741
+ # end
742
+ # task_run = ns[:run] # find :run in the given namespace.
743
+ #
744
+ # Tasks can also be defined in a namespace by using a ":" in the task
745
+ # name:
746
+ #
747
+ # task "nested:test" do
748
+ # # ...
749
+ # end
750
+ #
751
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:135
752
+ def namespace(name = T.unsafe(nil), &block)
753
+ ;
754
+ end
755
+
756
+ # Declare a rule for auto-tasks.
757
+ #
758
+ # Example:
759
+ # rule '.o' => '.c' do |t|
760
+ # sh 'cc', '-o', t.name, t.source
761
+ # end
762
+ #
763
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:151
764
+ def rule(*args, &block)
765
+ ;
766
+ end
767
+
768
+ # :call-seq:
769
+ # task(task_name)
770
+ # task(task_name: dependencies)
771
+ # task(task_name, arguments => dependencies)
772
+ #
773
+ # Declare a basic task. The +task_name+ is always the first argument. If
774
+ # the task name contains a ":" it is defined in that namespace.
775
+ #
776
+ # The +dependencies+ may be a single task name or an Array of task names.
777
+ # The +argument+ (a single name) or +arguments+ (an Array of names) define
778
+ # the arguments provided to the task.
779
+ #
780
+ # The task, argument and dependency names may be either symbols or
781
+ # strings.
782
+ #
783
+ # A task with a single dependency:
784
+ #
785
+ # task clobber: %w[clean] do
786
+ # rm_rf "html"
787
+ # end
788
+ #
789
+ # A task with an argument and a dependency:
790
+ #
791
+ # task :package, [:version] => :test do |t, args|
792
+ # # ...
793
+ # end
794
+ #
795
+ # To invoke this task from the command line:
796
+ #
797
+ # $ rake package[1.2.3]
798
+ #
799
+ # source://rake-13.0.6/lib/rake/dsl_definition.rb:59
800
+ def task(*args, &block)
801
+ ;
802
+ end
803
+ end
804
+
805
+ # Default Rakefile loader used by +import+.
806
+ #
807
+ # source://rake-13.0.6/lib/rake/default_loader.rb:5
808
+ class Rake::DefaultLoader
809
+ # Loads a rakefile into the current application from +fn+
810
+ #
811
+ # source://rake-13.0.6/lib/rake/default_loader.rb:10
812
+ def load(fn)
813
+ ;
814
+ end
815
+ end
816
+
817
+ # source://rake-13.0.6/lib/rake/early_time.rb:21
818
+ Rake::EARLY = T.let(T.unsafe(nil), Rake::EarlyTime)
819
+
820
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:108
821
+ Rake::EMPTY_TASK_ARGS = T.let(T.unsafe(nil), Rake::TaskArguments)
822
+
823
+ # EarlyTime is a fake timestamp that occurs _before_ any other time value.
824
+ #
825
+ # source://rake-13.0.6/lib/rake/early_time.rb:5
826
+ class Rake::EarlyTime
827
+ include ::Comparable
828
+ include ::Singleton
829
+ extend ::Singleton::SingletonClassMethods
830
+
831
+ # The EarlyTime always comes before +other+!
832
+ #
833
+ # source://rake-13.0.6/lib/rake/early_time.rb:12
834
+ def <=>(other)
835
+ ;
836
+ end
837
+
838
+ # source://rake-13.0.6/lib/rake/early_time.rb:16
839
+ def to_s; end
840
+ end
841
+
842
+ # A FileCreationTask is a file task that when used as a dependency will be
843
+ # needed if and only if the file has not been created. Once created, it is
844
+ # not re-triggered if any of its dependencies are newer, nor does trigger
845
+ # any rebuilds of tasks that depend on it whenever it is updated.
846
+ #
847
+ # source://rake-13.0.6/lib/rake/file_creation_task.rb:13
848
+ class Rake::FileCreationTask < ::Rake::FileTask
849
+ # Is this file task needed? Yes if it doesn't exist.
850
+ #
851
+ # @return [Boolean]
852
+ #
853
+ # source://rake-13.0.6/lib/rake/file_creation_task.rb:14
854
+ def needed?; end
855
+
856
+ # Time stamp for file creation task. This time stamp is earlier
857
+ # than any other time stamp.
858
+ #
859
+ # source://rake-13.0.6/lib/rake/file_creation_task.rb:20
860
+ def timestamp; end
861
+ end
862
+
863
+ # A FileList is essentially an array with a few helper methods defined to
864
+ # make file manipulation a bit easier.
865
+ #
866
+ # FileLists are lazy. When given a list of glob patterns for possible files
867
+ # to be included in the file list, instead of searching the file structures
868
+ # to find the files, a FileList holds the pattern for latter use.
869
+ #
870
+ # This allows us to define a number of FileList to match any number of
871
+ # files, but only search out the actual files when then FileList itself is
872
+ # actually used. The key is that the first time an element of the
873
+ # FileList/Array is requested, the pending patterns are resolved into a real
874
+ # list of file names.
875
+ #
876
+ # source://rake-13.0.6/lib/rake/file_list.rb:22
877
+ class Rake::FileList
878
+ include ::Rake::Cloneable
879
+
880
+ # Create a file list from the globbable patterns given. If you wish to
881
+ # perform multiple includes or excludes at object build time, use the
882
+ # "yield self" pattern.
883
+ #
884
+ # Example:
885
+ # file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')
886
+ #
887
+ # pkg_files = FileList.new('lib/**/*') do |fl|
888
+ # fl.exclude(/\bCVS\b/)
889
+ # end
890
+ #
891
+ # @return [FileList] a new instance of FileList
892
+ # @yield [_self]
893
+ # @yieldparam _self [Rake::FileList] the object that the method was called on
894
+ #
895
+ # source://rake-13.0.6/lib/rake/file_list.rb:99
896
+ def initialize(*patterns)
897
+ ;
898
+ end
899
+
900
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
901
+ def &(*args, &block)
902
+ ;
903
+ end
904
+
905
+ # Redefine * to return either a string or a new file list.
906
+ #
907
+ # source://rake-13.0.6/lib/rake/file_list.rb:193
908
+ def *(other)
909
+ ;
910
+ end
911
+
912
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
913
+ def +(*args, &block)
914
+ ;
915
+ end
916
+
917
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
918
+ def -(*args, &block)
919
+ ;
920
+ end
921
+
922
+ # source://rake-13.0.6/lib/rake/file_list.rb:203
923
+ def <<(obj)
924
+ ;
925
+ end
926
+
927
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
928
+ def <=>(*args, &block)
929
+ ;
930
+ end
931
+
932
+ # A FileList is equal through array equality.
933
+ #
934
+ # source://rake-13.0.6/lib/rake/file_list.rb:171
935
+ def ==(array)
936
+ ;
937
+ end
938
+
939
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
940
+ def [](*args, &block)
941
+ ;
942
+ end
943
+
944
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
945
+ def []=(*args, &block)
946
+ ;
947
+ end
948
+
949
+ # Add file names defined by glob patterns to the file list. If an array
950
+ # is given, add each element of the array.
951
+ #
952
+ # Example:
953
+ # file_list.include("*.java", "*.cfg")
954
+ # file_list.include %w( math.c lib.h *.o )
955
+ #
956
+ # source://rake-13.0.6/lib/rake/file_list.rb:116
957
+ def add(*filenames)
958
+ ;
959
+ end
960
+
961
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
962
+ def all?(*args, &block)
963
+ ;
964
+ end
965
+
966
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
967
+ def any?(*args, &block)
968
+ ;
969
+ end
970
+
971
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
972
+ def append(*args, &block)
973
+ ;
974
+ end
975
+
976
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
977
+ def assoc(*args, &block)
978
+ ;
979
+ end
980
+
981
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
982
+ def at(*args, &block)
983
+ ;
984
+ end
985
+
986
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
987
+ def bsearch(*args, &block)
988
+ ;
989
+ end
990
+
991
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
992
+ def bsearch_index(*args, &block)
993
+ ;
994
+ end
995
+
996
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
997
+ def chain(*args, &block)
998
+ ;
999
+ end
1000
+
1001
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1002
+ def chunk(*args, &block)
1003
+ ;
1004
+ end
1005
+
1006
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1007
+ def chunk_while(*args, &block)
1008
+ ;
1009
+ end
1010
+
1011
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1012
+ def clear(*args, &block)
1013
+ ;
1014
+ end
1015
+
1016
+ # Clear all the exclude patterns so that we exclude nothing.
1017
+ #
1018
+ # source://rake-13.0.6/lib/rake/file_list.rb:164
1019
+ def clear_exclude; end
1020
+
1021
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1022
+ def collect(*args, &block)
1023
+ ;
1024
+ end
1025
+
1026
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1027
+ def collect!(*args, &block)
1028
+ ;
1029
+ end
1030
+
1031
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1032
+ def collect_concat(*args, &block)
1033
+ ;
1034
+ end
1035
+
1036
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1037
+ def combination(*args, &block)
1038
+ ;
1039
+ end
1040
+
1041
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1042
+ def compact(*args, &block)
1043
+ ;
1044
+ end
1045
+
1046
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1047
+ def compact!(*args, &block)
1048
+ ;
1049
+ end
1050
+
1051
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1052
+ def concat(*args, &block)
1053
+ ;
1054
+ end
1055
+
1056
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1057
+ def count(*args, &block)
1058
+ ;
1059
+ end
1060
+
1061
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1062
+ def cycle(*args, &block)
1063
+ ;
1064
+ end
1065
+
1066
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1067
+ def deconstruct(*args, &block)
1068
+ ;
1069
+ end
1070
+
1071
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1072
+ def delete(*args, &block)
1073
+ ;
1074
+ end
1075
+
1076
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1077
+ def delete_at(*args, &block)
1078
+ ;
1079
+ end
1080
+
1081
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1082
+ def delete_if(*args, &block)
1083
+ ;
1084
+ end
1085
+
1086
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1087
+ def detect(*args, &block)
1088
+ ;
1089
+ end
1090
+
1091
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1092
+ def difference(*args, &block)
1093
+ ;
1094
+ end
1095
+
1096
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1097
+ def dig(*args, &block)
1098
+ ;
1099
+ end
1100
+
1101
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1102
+ def drop(*args, &block)
1103
+ ;
1104
+ end
1105
+
1106
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1107
+ def drop_while(*args, &block)
1108
+ ;
1109
+ end
1110
+
1111
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1112
+ def each(*args, &block)
1113
+ ;
1114
+ end
1115
+
1116
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1117
+ def each_cons(*args, &block)
1118
+ ;
1119
+ end
1120
+
1121
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1122
+ def each_entry(*args, &block)
1123
+ ;
1124
+ end
1125
+
1126
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1127
+ def each_index(*args, &block)
1128
+ ;
1129
+ end
1130
+
1131
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1132
+ def each_slice(*args, &block)
1133
+ ;
1134
+ end
1135
+
1136
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1137
+ def each_with_index(*args, &block)
1138
+ ;
1139
+ end
1140
+
1141
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1142
+ def each_with_object(*args, &block)
1143
+ ;
1144
+ end
1145
+
1146
+ # Grep each of the files in the filelist using the given pattern. If a
1147
+ # block is given, call the block on each matching line, passing the file
1148
+ # name, line number, and the matching line of text. If no block is given,
1149
+ # a standard emacs style file:linenumber:line message will be printed to
1150
+ # standard out. Returns the number of matched items.
1151
+ #
1152
+ # source://rake-13.0.6/lib/rake/file_list.rb:293
1153
+ def egrep(pattern, *options)
1154
+ ;
1155
+ end
1156
+
1157
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1158
+ def empty?(*args, &block)
1159
+ ;
1160
+ end
1161
+
1162
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1163
+ def entries(*args, &block)
1164
+ ;
1165
+ end
1166
+
1167
+ # Register a list of file name patterns that should be excluded from the
1168
+ # list. Patterns may be regular expressions, glob patterns or regular
1169
+ # strings. In addition, a block given to exclude will remove entries that
1170
+ # return true when given to the block.
1171
+ #
1172
+ # Note that glob patterns are expanded against the file system. If a file
1173
+ # is explicitly added to a file list, but does not exist in the file
1174
+ # system, then an glob pattern in the exclude list will not exclude the
1175
+ # file.
1176
+ #
1177
+ # Examples:
1178
+ # FileList['a.c', 'b.c'].exclude("a.c") => ['b.c']
1179
+ # FileList['a.c', 'b.c'].exclude(/^a/) => ['b.c']
1180
+ #
1181
+ # If "a.c" is a file, then ...
1182
+ # FileList['a.c', 'b.c'].exclude("a.*") => ['b.c']
1183
+ #
1184
+ # If "a.c" is not a file, then ...
1185
+ # FileList['a.c', 'b.c'].exclude("a.*") => ['a.c', 'b.c']
1186
+ #
1187
+ # source://rake-13.0.6/lib/rake/file_list.rb:150
1188
+ def exclude(*patterns, &block)
1189
+ ;
1190
+ end
1191
+
1192
+ # Should the given file name be excluded from the list?
1193
+ #
1194
+ # NOTE: This method was formerly named "exclude?", but Rails
1195
+ # introduced an exclude? method as an array method and setup a
1196
+ # conflict with file list. We renamed the method to avoid
1197
+ # confusion. If you were using "FileList#exclude?" in your user
1198
+ # code, you will need to update.
1199
+ #
1200
+ # @return [Boolean]
1201
+ #
1202
+ # source://rake-13.0.6/lib/rake/file_list.rb:364
1203
+ def excluded_from_list?(fn)
1204
+ ;
1205
+ end
1206
+
1207
+ # Return a new file list that only contains file names from the current
1208
+ # file list that exist on the file system.
1209
+ #
1210
+ # source://rake-13.0.6/lib/rake/file_list.rb:320
1211
+ def existing; end
1212
+
1213
+ # Modify the current file list so that it contains only file name that
1214
+ # exist on the file system.
1215
+ #
1216
+ # source://rake-13.0.6/lib/rake/file_list.rb:326
1217
+ def existing!; end
1218
+
1219
+ # Return a new FileList with <tt>String#ext</tt> method applied to
1220
+ # each member of the array.
1221
+ #
1222
+ # This method is a shortcut for:
1223
+ #
1224
+ # array.collect { |item| item.ext(newext) }
1225
+ #
1226
+ # +ext+ is a user added method for the Array class.
1227
+ #
1228
+ # source://rake-13.0.6/lib/rake/file_list.rb:284
1229
+ def ext(newext = T.unsafe(nil))
1230
+ ;
1231
+ end
1232
+
1233
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1234
+ def fetch(*args, &block)
1235
+ ;
1236
+ end
1237
+
1238
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1239
+ def fill(*args, &block)
1240
+ ;
1241
+ end
1242
+
1243
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1244
+ def filter(*args, &block)
1245
+ ;
1246
+ end
1247
+
1248
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1249
+ def filter!(*args, &block)
1250
+ ;
1251
+ end
1252
+
1253
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1254
+ def filter_map(*args, &block)
1255
+ ;
1256
+ end
1257
+
1258
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1259
+ def find(*args, &block)
1260
+ ;
1261
+ end
1262
+
1263
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1264
+ def find_all(*args, &block)
1265
+ ;
1266
+ end
1267
+
1268
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1269
+ def find_index(*args, &block)
1270
+ ;
1271
+ end
1272
+
1273
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1274
+ def first(*args, &block)
1275
+ ;
1276
+ end
1277
+
1278
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1279
+ def flat_map(*args, &block)
1280
+ ;
1281
+ end
1282
+
1283
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1284
+ def flatten(*args, &block)
1285
+ ;
1286
+ end
1287
+
1288
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1289
+ def flatten!(*args, &block)
1290
+ ;
1291
+ end
1292
+
1293
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1294
+ def grep(*args, &block)
1295
+ ;
1296
+ end
1297
+
1298
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1299
+ def grep_v(*args, &block)
1300
+ ;
1301
+ end
1302
+
1303
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1304
+ def group_by(*args, &block)
1305
+ ;
1306
+ end
1307
+
1308
+ # Return a new FileList with the results of running +gsub+ against each
1309
+ # element of the original list.
1310
+ #
1311
+ # Example:
1312
+ # FileList['lib/test/file', 'x/y'].gsub(/\//, "\\")
1313
+ # => ['lib\\test\\file', 'x\\y']
1314
+ #
1315
+ # source://rake-13.0.6/lib/rake/file_list.rb:253
1316
+ def gsub(pat, rep)
1317
+ ;
1318
+ end
1319
+
1320
+ # Same as +gsub+ except that the original file list is modified.
1321
+ #
1322
+ # source://rake-13.0.6/lib/rake/file_list.rb:264
1323
+ def gsub!(pat, rep)
1324
+ ;
1325
+ end
1326
+
1327
+ # source://rake-13.0.6/lib/rake/file_list.rb:391
1328
+ def import(array)
1329
+ ;
1330
+ end
1331
+
1332
+ # Add file names defined by glob patterns to the file list. If an array
1333
+ # is given, add each element of the array.
1334
+ #
1335
+ # Example:
1336
+ # file_list.include("*.java", "*.cfg")
1337
+ # file_list.include %w( math.c lib.h *.o )
1338
+ #
1339
+ # source://rake-13.0.6/lib/rake/file_list.rb:116
1340
+ def include(*filenames)
1341
+ ;
1342
+ end
1343
+
1344
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1345
+ def include?(*args, &block)
1346
+ ;
1347
+ end
1348
+
1349
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1350
+ def index(*args, &block)
1351
+ ;
1352
+ end
1353
+
1354
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1355
+ def inject(*args, &block)
1356
+ ;
1357
+ end
1358
+
1359
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1360
+ def insert(*args, &block)
1361
+ ;
1362
+ end
1363
+
1364
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1365
+ def inspect(*args, &block)
1366
+ ;
1367
+ end
1368
+
1369
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1370
+ def intersect?(*args, &block)
1371
+ ;
1372
+ end
1373
+
1374
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1375
+ def intersection(*args, &block)
1376
+ ;
1377
+ end
1378
+
1379
+ # Lie about our class.
1380
+ #
1381
+ # @return [Boolean]
1382
+ #
1383
+ # source://rake-13.0.6/lib/rake/file_list.rb:187
1384
+ def is_a?(klass)
1385
+ ;
1386
+ end
1387
+
1388
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1389
+ def join(*args, &block)
1390
+ ;
1391
+ end
1392
+
1393
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1394
+ def keep_if(*args, &block)
1395
+ ;
1396
+ end
1397
+
1398
+ # Lie about our class.
1399
+ #
1400
+ # @return [Boolean]
1401
+ #
1402
+ # source://rake-13.0.6/lib/rake/file_list.rb:187
1403
+ def kind_of?(klass)
1404
+ ;
1405
+ end
1406
+
1407
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1408
+ def last(*args, &block)
1409
+ ;
1410
+ end
1411
+
1412
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1413
+ def lazy(*args, &block)
1414
+ ;
1415
+ end
1416
+
1417
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1418
+ def length(*args, &block)
1419
+ ;
1420
+ end
1421
+
1422
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1423
+ def map(*args, &block)
1424
+ ;
1425
+ end
1426
+
1427
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1428
+ def map!(*args, &block)
1429
+ ;
1430
+ end
1431
+
1432
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1433
+ def max(*args, &block)
1434
+ ;
1435
+ end
1436
+
1437
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1438
+ def max_by(*args, &block)
1439
+ ;
1440
+ end
1441
+
1442
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1443
+ def member?(*args, &block)
1444
+ ;
1445
+ end
1446
+
1447
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1448
+ def min(*args, &block)
1449
+ ;
1450
+ end
1451
+
1452
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1453
+ def min_by(*args, &block)
1454
+ ;
1455
+ end
1456
+
1457
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1458
+ def minmax(*args, &block)
1459
+ ;
1460
+ end
1461
+
1462
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1463
+ def minmax_by(*args, &block)
1464
+ ;
1465
+ end
1466
+
1467
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1468
+ def none?(*args, &block)
1469
+ ;
1470
+ end
1471
+
1472
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1473
+ def one?(*args, &block)
1474
+ ;
1475
+ end
1476
+
1477
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1478
+ def pack(*args, &block)
1479
+ ;
1480
+ end
1481
+
1482
+ # FileList version of partition. Needed because the nested arrays should
1483
+ # be FileLists in this version.
1484
+ #
1485
+ # source://rake-13.0.6/lib/rake/file_list.rb:334
1486
+ def partition(&block)
1487
+ ;
1488
+ end
1489
+
1490
+ # Apply the pathmap spec to each of the included file names, returning a
1491
+ # new file list with the modified paths. (See String#pathmap for
1492
+ # details.)
1493
+ #
1494
+ # source://rake-13.0.6/lib/rake/file_list.rb:272
1495
+ def pathmap(spec = T.unsafe(nil), &block)
1496
+ ;
1497
+ end
1498
+
1499
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1500
+ def permutation(*args, &block)
1501
+ ;
1502
+ end
1503
+
1504
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1505
+ def place(*args, &block)
1506
+ ;
1507
+ end
1508
+
1509
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1510
+ def pop(*args, &block)
1511
+ ;
1512
+ end
1513
+
1514
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1515
+ def prepend(*args, &block)
1516
+ ;
1517
+ end
1518
+
1519
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1520
+ def product(*args, &block)
1521
+ ;
1522
+ end
1523
+
1524
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1525
+ def push(*args, &block)
1526
+ ;
1527
+ end
1528
+
1529
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1530
+ def rassoc(*args, &block)
1531
+ ;
1532
+ end
1533
+
1534
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1535
+ def reduce(*args, &block)
1536
+ ;
1537
+ end
1538
+
1539
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1540
+ def reject(*args, &block)
1541
+ ;
1542
+ end
1543
+
1544
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1545
+ def reject!(*args, &block)
1546
+ ;
1547
+ end
1548
+
1549
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1550
+ def repeated_combination(*args, &block)
1551
+ ;
1552
+ end
1553
+
1554
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1555
+ def repeated_permutation(*args, &block)
1556
+ ;
1557
+ end
1558
+
1559
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1560
+ def replace(*args, &block)
1561
+ ;
1562
+ end
1563
+
1564
+ # Resolve all the pending adds now.
1565
+ #
1566
+ # source://rake-13.0.6/lib/rake/file_list.rb:210
1567
+ def resolve; end
1568
+
1569
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1570
+ def reverse(*args, &block)
1571
+ ;
1572
+ end
1573
+
1574
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1575
+ def reverse!(*args, &block)
1576
+ ;
1577
+ end
1578
+
1579
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1580
+ def reverse_each(*args, &block)
1581
+ ;
1582
+ end
1583
+
1584
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1585
+ def rindex(*args, &block)
1586
+ ;
1587
+ end
1588
+
1589
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1590
+ def rotate(*args, &block)
1591
+ ;
1592
+ end
1593
+
1594
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1595
+ def rotate!(*args, &block)
1596
+ ;
1597
+ end
1598
+
1599
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1600
+ def sample(*args, &block)
1601
+ ;
1602
+ end
1603
+
1604
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1605
+ def select(*args, &block)
1606
+ ;
1607
+ end
1608
+
1609
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1610
+ def select!(*args, &block)
1611
+ ;
1612
+ end
1613
+
1614
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1615
+ def shelljoin(*args, &block)
1616
+ ;
1617
+ end
1618
+
1619
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1620
+ def shift(*args, &block)
1621
+ ;
1622
+ end
1623
+
1624
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1625
+ def shuffle(*args, &block)
1626
+ ;
1627
+ end
1628
+
1629
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1630
+ def shuffle!(*args, &block)
1631
+ ;
1632
+ end
1633
+
1634
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1635
+ def size(*args, &block)
1636
+ ;
1637
+ end
1638
+
1639
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1640
+ def slice(*args, &block)
1641
+ ;
1642
+ end
1643
+
1644
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1645
+ def slice!(*args, &block)
1646
+ ;
1647
+ end
1648
+
1649
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1650
+ def slice_after(*args, &block)
1651
+ ;
1652
+ end
1653
+
1654
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1655
+ def slice_before(*args, &block)
1656
+ ;
1657
+ end
1658
+
1659
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1660
+ def slice_when(*args, &block)
1661
+ ;
1662
+ end
1663
+
1664
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1665
+ def sort(*args, &block)
1666
+ ;
1667
+ end
1668
+
1669
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1670
+ def sort!(*args, &block)
1671
+ ;
1672
+ end
1673
+
1674
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1675
+ def sort_by(*args, &block)
1676
+ ;
1677
+ end
1678
+
1679
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1680
+ def sort_by!(*args, &block)
1681
+ ;
1682
+ end
1683
+
1684
+ # Return a new FileList with the results of running +sub+ against each
1685
+ # element of the original list.
1686
+ #
1687
+ # Example:
1688
+ # FileList['a.c', 'b.c'].sub(/\.c$/, '.o') => ['a.o', 'b.o']
1689
+ #
1690
+ # source://rake-13.0.6/lib/rake/file_list.rb:242
1691
+ def sub(pat, rep)
1692
+ ;
1693
+ end
1694
+
1695
+ # Same as +sub+ except that the original file list is modified.
1696
+ #
1697
+ # source://rake-13.0.6/lib/rake/file_list.rb:258
1698
+ def sub!(pat, rep)
1699
+ ;
1700
+ end
1701
+
1702
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1703
+ def sum(*args, &block)
1704
+ ;
1705
+ end
1706
+
1707
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1708
+ def take(*args, &block)
1709
+ ;
1710
+ end
1711
+
1712
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1713
+ def take_while(*args, &block)
1714
+ ;
1715
+ end
1716
+
1717
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1718
+ def tally(*args, &block)
1719
+ ;
1720
+ end
1721
+
1722
+ # Return the internal array object.
1723
+ #
1724
+ # source://rake-13.0.6/lib/rake/file_list.rb:176
1725
+ def to_a; end
1726
+
1727
+ # Return the internal array object.
1728
+ #
1729
+ # source://rake-13.0.6/lib/rake/file_list.rb:182
1730
+ def to_ary; end
1731
+
1732
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1733
+ def to_h(*args, &block)
1734
+ ;
1735
+ end
1736
+
1737
+ # Convert a FileList to a string by joining all elements with a space.
1738
+ #
1739
+ # source://rake-13.0.6/lib/rake/file_list.rb:344
1740
+ def to_s; end
1741
+
1742
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1743
+ def to_set(*args, &block)
1744
+ ;
1745
+ end
1746
+
1747
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1748
+ def transpose(*args, &block)
1749
+ ;
1750
+ end
1751
+
1752
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1753
+ def union(*args, &block)
1754
+ ;
1755
+ end
1756
+
1757
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1758
+ def uniq(*args, &block)
1759
+ ;
1760
+ end
1761
+
1762
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1763
+ def uniq!(*args, &block)
1764
+ ;
1765
+ end
1766
+
1767
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1768
+ def unshift(*args, &block)
1769
+ ;
1770
+ end
1771
+
1772
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1773
+ def values_at(*args, &block)
1774
+ ;
1775
+ end
1776
+
1777
+ # source://rake-13.0.6/lib/rake/file_list.rb:77
1778
+ def zip(*args, &block)
1779
+ ;
1780
+ end
1781
+
1782
+ # source://rake-13.0.6/lib/rake/file_list.rb:68
1783
+ def |(*args, &block)
1784
+ ;
1785
+ end
1786
+
1787
+ private
1788
+
1789
+ # Add matching glob patterns.
1790
+ #
1791
+ # source://rake-13.0.6/lib/rake/file_list.rb:350
1792
+ def add_matching(pattern)
1793
+ ;
1794
+ end
1795
+
1796
+ # source://rake-13.0.6/lib/rake/file_list.rb:220
1797
+ def resolve_add(fn)
1798
+ ;
1799
+ end
1800
+
1801
+ # source://rake-13.0.6/lib/rake/file_list.rb:230
1802
+ def resolve_exclude; end
1803
+
1804
+ class << self
1805
+ # Create a new file list including the files listed. Similar to:
1806
+ #
1807
+ # FileList.new(*args)
1808
+ #
1809
+ # source://rake-13.0.6/lib/rake/file_list.rb:400
1810
+ def [](*args)
1811
+ ;
1812
+ end
1813
+
1814
+ # Get a sorted list of files matching the pattern. This method
1815
+ # should be preferred to Dir[pattern] and Dir.glob(pattern) because
1816
+ # the files returned are guaranteed to be sorted.
1817
+ #
1818
+ # source://rake-13.0.6/lib/rake/file_list.rb:407
1819
+ def glob(pattern, *args)
1820
+ ;
1821
+ end
1822
+ end
1823
+ end
1824
+
1825
+ # List of array methods (that are not in +Object+) that need to be
1826
+ # delegated.
1827
+ #
1828
+ # source://rake-13.0.6/lib/rake/file_list.rb:44
1829
+ Rake::FileList::ARRAY_METHODS = T.let(T.unsafe(nil), Array)
1830
+
1831
+ # source://rake-13.0.6/lib/rake/file_list.rb:381
1832
+ Rake::FileList::DEFAULT_IGNORE_PATTERNS = T.let(T.unsafe(nil), Array)
1833
+
1834
+ # source://rake-13.0.6/lib/rake/file_list.rb:387
1835
+ Rake::FileList::DEFAULT_IGNORE_PROCS = T.let(T.unsafe(nil), Array)
1836
+
1837
+ # source://rake-13.0.6/lib/rake/file_list.rb:61
1838
+ Rake::FileList::DELEGATING_METHODS = T.let(T.unsafe(nil), Array)
1839
+
1840
+ # source://rake-13.0.6/lib/rake/file_list.rb:86
1841
+ Rake::FileList::GLOB_PATTERN = T.let(T.unsafe(nil), Regexp)
1842
+
1843
+ # List of additional methods that must be delegated.
1844
+ #
1845
+ # source://rake-13.0.6/lib/rake/file_list.rb:47
1846
+ Rake::FileList::MUST_DEFINE = T.let(T.unsafe(nil), Array)
1847
+
1848
+ # List of methods that should not be delegated here (we define special
1849
+ # versions of them explicitly below).
1850
+ #
1851
+ # source://rake-13.0.6/lib/rake/file_list.rb:51
1852
+ Rake::FileList::MUST_NOT_DEFINE = T.let(T.unsafe(nil), Array)
1853
+
1854
+ # List of delegated methods that return new array values which need
1855
+ # wrapping.
1856
+ #
1857
+ # source://rake-13.0.6/lib/rake/file_list.rb:55
1858
+ Rake::FileList::SPECIAL_RETURN = T.let(T.unsafe(nil), Array)
1859
+
1860
+ # A FileTask is a task that includes time based dependencies. If any of a
1861
+ # FileTask's prerequisites have a timestamp that is later than the file
1862
+ # represented by this task, then the file must be rebuilt (using the
1863
+ # supplied actions).
1864
+ #
1865
+ # source://rake-13.0.6/lib/rake/file_task.rb:12
1866
+ class Rake::FileTask < ::Rake::Task
1867
+ # Is this file task needed? Yes if it doesn't exist, or if its time stamp
1868
+ # is out of date.
1869
+ #
1870
+ # @return [Boolean]
1871
+ #
1872
+ # source://rake-13.0.6/lib/rake/file_task.rb:16
1873
+ def needed?; end
1874
+
1875
+ # Time stamp for file task.
1876
+ #
1877
+ # source://rake-13.0.6/lib/rake/file_task.rb:21
1878
+ def timestamp; end
1879
+
1880
+ private
1881
+
1882
+ # Are there any prerequisites with a later time than the given time stamp?
1883
+ #
1884
+ # @return [Boolean]
1885
+ #
1886
+ # source://rake-13.0.6/lib/rake/file_task.rb:32
1887
+ def out_of_date?(stamp)
1888
+ ;
1889
+ end
1890
+
1891
+ class << self
1892
+ # Apply the scope to the task name according to the rules for this kind
1893
+ # of task. File based tasks ignore the scope when creating the name.
1894
+ #
1895
+ # source://rake-13.0.6/lib/rake/file_task.rb:49
1896
+ def scope_name(scope, task_name)
1897
+ ;
1898
+ end
1899
+ end
1900
+ end
1901
+
1902
+ # FileUtilsExt provides a custom version of the FileUtils methods
1903
+ # that respond to the <tt>verbose</tt> and <tt>nowrite</tt>
1904
+ # commands.
1905
+ #
1906
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:10
1907
+ module Rake::FileUtilsExt
1908
+ include ::FileUtils::StreamUtils_
1909
+ include ::FileUtils
1910
+ extend ::FileUtils::StreamUtils_
1911
+ extend ::FileUtils
1912
+ extend ::Rake::FileUtilsExt
1913
+
1914
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1915
+ def cd(*args, **options, &block)
1916
+ ;
1917
+ end
1918
+
1919
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1920
+ def chdir(*args, **options, &block)
1921
+ ;
1922
+ end
1923
+
1924
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1925
+ def chmod(*args, **options, &block)
1926
+ ;
1927
+ end
1928
+
1929
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1930
+ def chmod_R(*args, **options, &block)
1931
+ ;
1932
+ end
1933
+
1934
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1935
+ def chown(*args, **options, &block)
1936
+ ;
1937
+ end
1938
+
1939
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1940
+ def chown_R(*args, **options, &block)
1941
+ ;
1942
+ end
1943
+
1944
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1945
+ def copy(*args, **options, &block)
1946
+ ;
1947
+ end
1948
+
1949
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1950
+ def cp(*args, **options, &block)
1951
+ ;
1952
+ end
1953
+
1954
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1955
+ def cp_lr(*args, **options, &block)
1956
+ ;
1957
+ end
1958
+
1959
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1960
+ def cp_r(*args, **options, &block)
1961
+ ;
1962
+ end
1963
+
1964
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1965
+ def install(*args, **options, &block)
1966
+ ;
1967
+ end
1968
+
1969
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1970
+ def link(*args, **options, &block)
1971
+ ;
1972
+ end
1973
+
1974
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1975
+ def ln(*args, **options, &block)
1976
+ ;
1977
+ end
1978
+
1979
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1980
+ def ln_s(*args, **options, &block)
1981
+ ;
1982
+ end
1983
+
1984
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1985
+ def ln_sf(*args, **options, &block)
1986
+ ;
1987
+ end
1988
+
1989
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1990
+ def makedirs(*args, **options, &block)
1991
+ ;
1992
+ end
1993
+
1994
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
1995
+ def mkdir(*args, **options, &block)
1996
+ ;
1997
+ end
1998
+
1999
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2000
+ def mkdir_p(*args, **options, &block)
2001
+ ;
2002
+ end
2003
+
2004
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2005
+ def mkpath(*args, **options, &block)
2006
+ ;
2007
+ end
2008
+
2009
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2010
+ def move(*args, **options, &block)
2011
+ ;
2012
+ end
2013
+
2014
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2015
+ def mv(*args, **options, &block)
2016
+ ;
2017
+ end
2018
+
2019
+ # Get/set the nowrite flag controlling output from the FileUtils
2020
+ # utilities. If verbose is true, then the utility method is
2021
+ # echoed to standard output.
2022
+ #
2023
+ # Examples:
2024
+ # nowrite # return the current value of the
2025
+ # # nowrite flag
2026
+ # nowrite(v) # set the nowrite flag to _v_.
2027
+ # nowrite(v) { code } # Execute code with the nowrite flag set
2028
+ # # temporarily to _v_. Return to the
2029
+ # # original value when code is done.
2030
+ #
2031
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:77
2032
+ def nowrite(value = T.unsafe(nil))
2033
+ ;
2034
+ end
2035
+
2036
+ # Check that the options do not contain options not listed in
2037
+ # +optdecl+. An ArgumentError exception is thrown if non-declared
2038
+ # options are found.
2039
+ #
2040
+ # @raise [ArgumentError]
2041
+ #
2042
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:123
2043
+ def rake_check_options(options, *optdecl)
2044
+ ;
2045
+ end
2046
+
2047
+ # Send the message to the default rake output (which is $stderr).
2048
+ #
2049
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:116
2050
+ def rake_output_message(message)
2051
+ ;
2052
+ end
2053
+
2054
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2055
+ def remove(*args, **options, &block)
2056
+ ;
2057
+ end
2058
+
2059
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2060
+ def rm(*args, **options, &block)
2061
+ ;
2062
+ end
2063
+
2064
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2065
+ def rm_f(*args, **options, &block)
2066
+ ;
2067
+ end
2068
+
2069
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2070
+ def rm_r(*args, **options, &block)
2071
+ ;
2072
+ end
2073
+
2074
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2075
+ def rm_rf(*args, **options, &block)
2076
+ ;
2077
+ end
2078
+
2079
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2080
+ def rmdir(*args, **options, &block)
2081
+ ;
2082
+ end
2083
+
2084
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2085
+ def rmtree(*args, **options, &block)
2086
+ ;
2087
+ end
2088
+
2089
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2090
+ def safe_unlink(*args, **options, &block)
2091
+ ;
2092
+ end
2093
+
2094
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2095
+ def symlink(*args, **options, &block)
2096
+ ;
2097
+ end
2098
+
2099
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:34
2100
+ def touch(*args, **options, &block)
2101
+ ;
2102
+ end
2103
+
2104
+ # Get/set the verbose flag controlling output from the FileUtils
2105
+ # utilities. If verbose is true, then the utility method is
2106
+ # echoed to standard output.
2107
+ #
2108
+ # Examples:
2109
+ # verbose # return the current value of the
2110
+ # # verbose flag
2111
+ # verbose(v) # set the verbose flag to _v_.
2112
+ # verbose(v) { code } # Execute code with the verbose flag set
2113
+ # # temporarily to _v_. Return to the
2114
+ # # original value when code is done.
2115
+ #
2116
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:53
2117
+ def verbose(value = T.unsafe(nil))
2118
+ ;
2119
+ end
2120
+
2121
+ # Use this function to prevent potentially destructive ruby code
2122
+ # from running when the :nowrite flag is set.
2123
+ #
2124
+ # Example:
2125
+ #
2126
+ # when_writing("Building Project") do
2127
+ # project.build
2128
+ # end
2129
+ #
2130
+ # The following code will build the project under normal
2131
+ # conditions. If the nowrite(true) flag is set, then the example
2132
+ # will print:
2133
+ #
2134
+ # DRYRUN: Building Project
2135
+ #
2136
+ # instead of actually building the project.
2137
+ #
2138
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:107
2139
+ def when_writing(msg = T.unsafe(nil))
2140
+ ;
2141
+ end
2142
+
2143
+ class << self
2144
+ # Returns the value of attribute nowrite_flag.
2145
+ #
2146
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:14
2147
+ def nowrite_flag; end
2148
+
2149
+ # Sets the attribute nowrite_flag
2150
+ #
2151
+ # @param value the value to set the attribute nowrite_flag to.
2152
+ #
2153
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:14
2154
+ def nowrite_flag=(_arg0)
2155
+ ;
2156
+ end
2157
+
2158
+ # Returns the value of attribute verbose_flag.
2159
+ #
2160
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:14
2161
+ def verbose_flag; end
2162
+
2163
+ # Sets the attribute verbose_flag
2164
+ #
2165
+ # @param value the value to set the attribute verbose_flag to.
2166
+ #
2167
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:14
2168
+ def verbose_flag=(_arg0)
2169
+ ;
2170
+ end
2171
+ end
2172
+ end
2173
+
2174
+ # source://rake-13.0.6/lib/rake/file_utils_ext.rb:17
2175
+ Rake::FileUtilsExt::DEFAULT = T.let(T.unsafe(nil), Object)
2176
+
2177
+ # InvocationChain tracks the chain of task invocations to detect
2178
+ # circular dependencies.
2179
+ #
2180
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:6
2181
+ class Rake::InvocationChain < ::Rake::LinkedList
2182
+ # Append an invocation to the chain of invocations. It is an error
2183
+ # if the invocation already listed.
2184
+ #
2185
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:15
2186
+ def append(invocation)
2187
+ ;
2188
+ end
2189
+
2190
+ # Is the invocation already in the chain?
2191
+ #
2192
+ # @return [Boolean]
2193
+ #
2194
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:9
2195
+ def member?(invocation)
2196
+ ;
2197
+ end
2198
+
2199
+ # Convert to string, ie: TOP => invocation => invocation
2200
+ #
2201
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:23
2202
+ def to_s; end
2203
+
2204
+ private
2205
+
2206
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:34
2207
+ def prefix; end
2208
+
2209
+ class << self
2210
+ # Class level append.
2211
+ #
2212
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:28
2213
+ def append(invocation, chain)
2214
+ ;
2215
+ end
2216
+ end
2217
+ end
2218
+
2219
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:55
2220
+ Rake::InvocationChain::EMPTY = T.let(T.unsafe(nil), Rake::InvocationChain::EmptyInvocationChain)
2221
+
2222
+ # Null object for an empty chain.
2223
+ #
2224
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:39
2225
+ class Rake::InvocationChain::EmptyInvocationChain < ::Rake::LinkedList::EmptyLinkedList
2226
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:46
2227
+ def append(invocation)
2228
+ ;
2229
+ end
2230
+
2231
+ # @return [Boolean]
2232
+ #
2233
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:42
2234
+ def member?(obj)
2235
+ ;
2236
+ end
2237
+
2238
+ # source://rake-13.0.6/lib/rake/invocation_chain.rb:50
2239
+ def to_s; end
2240
+ end
2241
+
2242
+ # source://rake-13.0.6/lib/rake/invocation_exception_mixin.rb:3
2243
+ module Rake::InvocationExceptionMixin
2244
+ # Return the invocation chain (list of Rake tasks) that were in
2245
+ # effect when this exception was detected by rake. May be null if
2246
+ # no tasks were active.
2247
+ #
2248
+ # source://rake-13.0.6/lib/rake/invocation_exception_mixin.rb:7
2249
+ def chain; end
2250
+
2251
+ # Set the invocation chain in effect when this exception was
2252
+ # detected.
2253
+ #
2254
+ # source://rake-13.0.6/lib/rake/invocation_exception_mixin.rb:13
2255
+ def chain=(value)
2256
+ ;
2257
+ end
2258
+ end
2259
+
2260
+ # source://rake-13.0.6/lib/rake/late_time.rb:17
2261
+ Rake::LATE = T.let(T.unsafe(nil), Rake::LateTime)
2262
+
2263
+ # LateTime is a fake timestamp that occurs _after_ any other time value.
2264
+ #
2265
+ # source://rake-13.0.6/lib/rake/late_time.rb:4
2266
+ class Rake::LateTime
2267
+ include ::Comparable
2268
+ include ::Singleton
2269
+ extend ::Singleton::SingletonClassMethods
2270
+
2271
+ # source://rake-13.0.6/lib/rake/late_time.rb:8
2272
+ def <=>(other)
2273
+ ;
2274
+ end
2275
+
2276
+ # source://rake-13.0.6/lib/rake/late_time.rb:12
2277
+ def to_s; end
2278
+ end
2279
+
2280
+ # Polylithic linked list structure used to implement several data
2281
+ # structures in Rake.
2282
+ #
2283
+ # source://rake-13.0.6/lib/rake/linked_list.rb:6
2284
+ class Rake::LinkedList
2285
+ include ::Enumerable
2286
+
2287
+ # @return [LinkedList] a new instance of LinkedList
2288
+ #
2289
+ # source://rake-13.0.6/lib/rake/linked_list.rb:84
2290
+ def initialize(head, tail = T.unsafe(nil))
2291
+ ;
2292
+ end
2293
+
2294
+ # Lists are structurally equivalent.
2295
+ #
2296
+ # source://rake-13.0.6/lib/rake/linked_list.rb:25
2297
+ def ==(other)
2298
+ ;
2299
+ end
2300
+
2301
+ # Polymorphically add a new element to the head of a list. The
2302
+ # type of head node will be the same list type as the tail.
2303
+ #
2304
+ # source://rake-13.0.6/lib/rake/linked_list.rb:12
2305
+ def conj(item)
2306
+ ;
2307
+ end
2308
+
2309
+ # For each item in the list.
2310
+ #
2311
+ # source://rake-13.0.6/lib/rake/linked_list.rb:48
2312
+ def each; end
2313
+
2314
+ # Is the list empty?
2315
+ # .make guards against a list being empty making any instantiated LinkedList
2316
+ # object not empty by default
2317
+ # You should consider overriding this method if you implement your own .make method
2318
+ #
2319
+ # @return [Boolean]
2320
+ #
2321
+ # source://rake-13.0.6/lib/rake/linked_list.rb:20
2322
+ def empty?; end
2323
+
2324
+ # Returns the value of attribute head.
2325
+ #
2326
+ # source://rake-13.0.6/lib/rake/linked_list.rb:8
2327
+ def head; end
2328
+
2329
+ # Same as +to_s+, but with inspected items.
2330
+ #
2331
+ # source://rake-13.0.6/lib/rake/linked_list.rb:42
2332
+ def inspect; end
2333
+
2334
+ # Returns the value of attribute tail.
2335
+ #
2336
+ # source://rake-13.0.6/lib/rake/linked_list.rb:8
2337
+ def tail; end
2338
+
2339
+ # Convert to string: LL(item, item...)
2340
+ #
2341
+ # source://rake-13.0.6/lib/rake/linked_list.rb:36
2342
+ def to_s; end
2343
+
2344
+ class << self
2345
+ # Cons a new head onto the tail list.
2346
+ #
2347
+ # source://rake-13.0.6/lib/rake/linked_list.rb:73
2348
+ def cons(head, tail)
2349
+ ;
2350
+ end
2351
+
2352
+ # The standard empty list class for the given LinkedList class.
2353
+ #
2354
+ # source://rake-13.0.6/lib/rake/linked_list.rb:78
2355
+ def empty; end
2356
+
2357
+ # Make a list out of the given arguments. This method is
2358
+ # polymorphic
2359
+ #
2360
+ # source://rake-13.0.6/lib/rake/linked_list.rb:59
2361
+ def make(*args)
2362
+ ;
2363
+ end
2364
+ end
2365
+ end
2366
+
2367
+ # source://rake-13.0.6/lib/rake/linked_list.rb:110
2368
+ Rake::LinkedList::EMPTY = T.let(T.unsafe(nil), Rake::LinkedList::EmptyLinkedList)
2369
+
2370
+ # Represent an empty list, using the Null Object Pattern.
2371
+ #
2372
+ # When inheriting from the LinkedList class, you should implement
2373
+ # a type specific Empty class as well. Make sure you set the class
2374
+ # instance variable @parent to the associated list class (this
2375
+ # allows conj, cons and make to work polymorphically).
2376
+ #
2377
+ # source://rake-13.0.6/lib/rake/linked_list.rb:95
2378
+ class Rake::LinkedList::EmptyLinkedList < ::Rake::LinkedList
2379
+ # @return [EmptyLinkedList] a new instance of EmptyLinkedList
2380
+ #
2381
+ # source://rake-13.0.6/lib/rake/linked_list.rb:98
2382
+ def initialize; end
2383
+
2384
+ # @return [Boolean]
2385
+ #
2386
+ # source://rake-13.0.6/lib/rake/linked_list.rb:101
2387
+ def empty?; end
2388
+
2389
+ class << self
2390
+ # source://rake-13.0.6/lib/rake/linked_list.rb:105
2391
+ def cons(head, tail)
2392
+ ;
2393
+ end
2394
+ end
2395
+ end
2396
+
2397
+ # Same as a regular task, but the immediate prerequisites are done in
2398
+ # parallel using Ruby threads.
2399
+ #
2400
+ # source://rake-13.0.6/lib/rake/multi_task.rb:7
2401
+ class Rake::MultiTask < ::Rake::Task
2402
+ private
2403
+
2404
+ # source://rake-13.0.6/lib/rake/multi_task.rb:10
2405
+ def invoke_prerequisites(task_args, invocation_chain)
2406
+ ;
2407
+ end
2408
+ end
2409
+
2410
+ # The NameSpace class will lookup task names in the scope defined by a
2411
+ # +namespace+ command.
2412
+ #
2413
+ # source://rake-13.0.6/lib/rake/name_space.rb:6
2414
+ class Rake::NameSpace
2415
+ # Create a namespace lookup object using the given task manager
2416
+ # and the list of scopes.
2417
+ #
2418
+ # @return [NameSpace] a new instance of NameSpace
2419
+ #
2420
+ # source://rake-13.0.6/lib/rake/name_space.rb:12
2421
+ def initialize(task_manager, scope_list)
2422
+ ;
2423
+ end
2424
+
2425
+ # Lookup a task named +name+ in the namespace.
2426
+ #
2427
+ # source://rake-13.0.6/lib/rake/name_space.rb:20
2428
+ def [](name)
2429
+ ;
2430
+ end
2431
+
2432
+ # The scope of the namespace (a LinkedList)
2433
+ #
2434
+ # source://rake-13.0.6/lib/rake/name_space.rb:27
2435
+ def scope; end
2436
+
2437
+ # Return the list of tasks defined in this and nested namespaces.
2438
+ #
2439
+ # source://rake-13.0.6/lib/rake/name_space.rb:34
2440
+ def tasks; end
2441
+ end
2442
+
2443
+ # Include PrivateReader to use +private_reader+.
2444
+ #
2445
+ # source://rake-13.0.6/lib/rake/private_reader.rb:5
2446
+ module Rake::PrivateReader
2447
+ mixes_in_class_methods ::Rake::PrivateReader::ClassMethods
2448
+
2449
+ class << self
2450
+ # source://rake-13.0.6/lib/rake/private_reader.rb:7
2451
+ def included(base)
2452
+ ;
2453
+ end
2454
+ end
2455
+ end
2456
+
2457
+ # source://rake-13.0.6/lib/rake/private_reader.rb:11
2458
+ module Rake::PrivateReader::ClassMethods
2459
+ # Declare a list of private accessors
2460
+ #
2461
+ # source://rake-13.0.6/lib/rake/private_reader.rb:14
2462
+ def private_reader(*names)
2463
+ ;
2464
+ end
2465
+ end
2466
+
2467
+ # A Promise object represents a promise to do work (a chore) in the
2468
+ # future. The promise is created with a block and a list of
2469
+ # arguments for the block. Calling value will return the value of
2470
+ # the promised chore.
2471
+ #
2472
+ # Used by ThreadPool.
2473
+ #
2474
+ # source://rake-13.0.6/lib/rake/promise.rb:11
2475
+ class Rake::Promise
2476
+ # Create a promise to do the chore specified by the block.
2477
+ #
2478
+ # @return [Promise] a new instance of Promise
2479
+ #
2480
+ # source://rake-13.0.6/lib/rake/promise.rb:17
2481
+ def initialize(args, &block)
2482
+ ;
2483
+ end
2484
+
2485
+ # source://rake-13.0.6/lib/rake/promise.rb:14
2486
+ def recorder; end
2487
+
2488
+ # source://rake-13.0.6/lib/rake/promise.rb:14
2489
+ def recorder=(_arg0)
2490
+ ;
2491
+ end
2492
+
2493
+ # Return the value of this promise.
2494
+ #
2495
+ # If the promised chore is not yet complete, then do the work
2496
+ # synchronously. We will wait.
2497
+ #
2498
+ # source://rake-13.0.6/lib/rake/promise.rb:29
2499
+ def value; end
2500
+
2501
+ # If no one else is working this promise, go ahead and do the chore.
2502
+ #
2503
+ # source://rake-13.0.6/lib/rake/promise.rb:42
2504
+ def work; end
2505
+
2506
+ private
2507
+
2508
+ # Perform the chore promised
2509
+ #
2510
+ # source://rake-13.0.6/lib/rake/promise.rb:57
2511
+ def chore; end
2512
+
2513
+ # Are we done with the promise
2514
+ #
2515
+ # @return [Boolean]
2516
+ #
2517
+ # source://rake-13.0.6/lib/rake/promise.rb:83
2518
+ def complete?; end
2519
+
2520
+ # free up these items for the GC
2521
+ #
2522
+ # source://rake-13.0.6/lib/rake/promise.rb:88
2523
+ def discard; end
2524
+
2525
+ # Did the promise throw an error
2526
+ #
2527
+ # @return [Boolean]
2528
+ #
2529
+ # source://rake-13.0.6/lib/rake/promise.rb:78
2530
+ def error?; end
2531
+
2532
+ # Do we have a result for the promise
2533
+ #
2534
+ # @return [Boolean]
2535
+ #
2536
+ # source://rake-13.0.6/lib/rake/promise.rb:73
2537
+ def result?; end
2538
+
2539
+ # Record execution statistics if there is a recorder
2540
+ #
2541
+ # source://rake-13.0.6/lib/rake/promise.rb:94
2542
+ def stat(*args)
2543
+ ;
2544
+ end
2545
+ end
2546
+
2547
+ # source://rake-13.0.6/lib/rake/promise.rb:12
2548
+ Rake::Promise::NOT_SET = T.let(T.unsafe(nil), Object)
2549
+
2550
+ # Exit status class for times the system just gives us a nil.
2551
+ #
2552
+ # source://rake-13.0.6/lib/rake/pseudo_status.rb:6
2553
+ class Rake::PseudoStatus
2554
+ # @return [PseudoStatus] a new instance of PseudoStatus
2555
+ #
2556
+ # source://rake-13.0.6/lib/rake/pseudo_status.rb:9
2557
+ def initialize(code = T.unsafe(nil))
2558
+ ;
2559
+ end
2560
+
2561
+ # source://rake-13.0.6/lib/rake/pseudo_status.rb:17
2562
+ def >>(n)
2563
+ ;
2564
+ end
2565
+
2566
+ # @return [Boolean]
2567
+ #
2568
+ # source://rake-13.0.6/lib/rake/pseudo_status.rb:25
2569
+ def exited?; end
2570
+
2571
+ # source://rake-13.0.6/lib/rake/pseudo_status.rb:7
2572
+ def exitstatus; end
2573
+
2574
+ # @return [Boolean]
2575
+ #
2576
+ # source://rake-13.0.6/lib/rake/pseudo_status.rb:21
2577
+ def stopped?; end
2578
+
2579
+ # source://rake-13.0.6/lib/rake/pseudo_status.rb:13
2580
+ def to_i; end
2581
+ end
2582
+
2583
+ # source://RUBY_ROOT/rdoc/task.rb:326
2584
+ Rake::RDocTask = RDoc::Task
2585
+
2586
+ # Error indicating a recursion overflow error in task selection.
2587
+ #
2588
+ # source://rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb:5
2589
+ class Rake::RuleRecursionOverflowError < ::StandardError
2590
+ # @return [RuleRecursionOverflowError] a new instance of RuleRecursionOverflowError
2591
+ #
2592
+ # source://rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb:6
2593
+ def initialize(*args)
2594
+ ;
2595
+ end
2596
+
2597
+ # source://rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb:11
2598
+ def add_target(target)
2599
+ ;
2600
+ end
2601
+
2602
+ # source://rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb:15
2603
+ def message; end
2604
+ end
2605
+
2606
+ # source://rake-13.0.6/lib/rake/scope.rb:3
2607
+ class Rake::Scope < ::Rake::LinkedList
2608
+ # Path for the scope.
2609
+ #
2610
+ # source://rake-13.0.6/lib/rake/scope.rb:6
2611
+ def path; end
2612
+
2613
+ # Path for the scope + the named path.
2614
+ #
2615
+ # source://rake-13.0.6/lib/rake/scope.rb:11
2616
+ def path_with_task_name(task_name)
2617
+ ;
2618
+ end
2619
+
2620
+ # Trim +n+ innermost scope levels from the scope. In no case will
2621
+ # this trim beyond the toplevel scope.
2622
+ #
2623
+ # source://rake-13.0.6/lib/rake/scope.rb:17
2624
+ def trim(n)
2625
+ ;
2626
+ end
2627
+ end
2628
+
2629
+ # Singleton null object for an empty scope.
2630
+ #
2631
+ # source://rake-13.0.6/lib/rake/scope.rb:41
2632
+ Rake::Scope::EMPTY = T.let(T.unsafe(nil), Rake::Scope::EmptyScope)
2633
+
2634
+ # Scope lists always end with an EmptyScope object. See Null
2635
+ # Object Pattern)
2636
+ #
2637
+ # source://rake-13.0.6/lib/rake/scope.rb:28
2638
+ class Rake::Scope::EmptyScope < ::Rake::LinkedList::EmptyLinkedList
2639
+ # source://rake-13.0.6/lib/rake/scope.rb:31
2640
+ def path; end
2641
+
2642
+ # source://rake-13.0.6/lib/rake/scope.rb:35
2643
+ def path_with_task_name(task_name)
2644
+ ;
2645
+ end
2646
+ end
2647
+
2648
+ # A Task is the basic unit of work in a Rakefile. Tasks have associated
2649
+ # actions (possibly more than one) and a list of prerequisites. When
2650
+ # invoked, a task will first ensure that all of its prerequisites have an
2651
+ # opportunity to run and then it will execute its own actions.
2652
+ #
2653
+ # Tasks are not usually created directly using the new method, but rather
2654
+ # use the +file+ and +task+ convenience methods.
2655
+ #
2656
+ # source://rake-13.0.6/lib/rake/task.rb:15
2657
+ class Rake::Task
2658
+ # Create a task named +task_name+ with no actions or prerequisites. Use
2659
+ # +enhance+ to add actions and prerequisites.
2660
+ #
2661
+ # @return [Task] a new instance of Task
2662
+ #
2663
+ # source://rake-13.0.6/lib/rake/task.rb:99
2664
+ def initialize(task_name, app)
2665
+ ;
2666
+ end
2667
+
2668
+ # List of actions attached to a task.
2669
+ #
2670
+ # source://rake-13.0.6/lib/rake/task.rb:24
2671
+ def actions; end
2672
+
2673
+ # Add a description to the task. The description can consist of an option
2674
+ # argument list (enclosed brackets) and an optional comment.
2675
+ #
2676
+ # source://rake-13.0.6/lib/rake/task.rb:298
2677
+ def add_description(description)
2678
+ ;
2679
+ end
2680
+
2681
+ # List of all unique prerequisite tasks including prerequisite tasks'
2682
+ # prerequisites.
2683
+ # Includes self when cyclic dependencies are found.
2684
+ #
2685
+ # source://rake-13.0.6/lib/rake/task.rb:77
2686
+ def all_prerequisite_tasks; end
2687
+
2688
+ # Has this task already been invoked? Already invoked tasks
2689
+ # will be skipped unless you reenable them.
2690
+ #
2691
+ # source://rake-13.0.6/lib/rake/task.rb:39
2692
+ def already_invoked; end
2693
+
2694
+ # Application owning this task.
2695
+ #
2696
+ # source://rake-13.0.6/lib/rake/task.rb:27
2697
+ def application; end
2698
+
2699
+ # Application owning this task.
2700
+ #
2701
+ # source://rake-13.0.6/lib/rake/task.rb:27
2702
+ def application=(_arg0)
2703
+ ;
2704
+ end
2705
+
2706
+ # Argument description (nil if none).
2707
+ #
2708
+ # source://rake-13.0.6/lib/rake/task.rb:136
2709
+ def arg_description; end
2710
+
2711
+ # Name of arguments for this task.
2712
+ #
2713
+ # source://rake-13.0.6/lib/rake/task.rb:141
2714
+ def arg_names; end
2715
+
2716
+ # Clear the existing prerequisites, actions, comments, and arguments of a rake task.
2717
+ #
2718
+ # source://rake-13.0.6/lib/rake/task.rb:153
2719
+ def clear; end
2720
+
2721
+ # Clear the existing actions on a rake task.
2722
+ #
2723
+ # source://rake-13.0.6/lib/rake/task.rb:168
2724
+ def clear_actions; end
2725
+
2726
+ # Clear the existing arguments on a rake task.
2727
+ #
2728
+ # source://rake-13.0.6/lib/rake/task.rb:180
2729
+ def clear_args; end
2730
+
2731
+ # Clear the existing comments on a rake task.
2732
+ #
2733
+ # source://rake-13.0.6/lib/rake/task.rb:174
2734
+ def clear_comments; end
2735
+
2736
+ # Clear the existing prerequisites of a rake task.
2737
+ #
2738
+ # source://rake-13.0.6/lib/rake/task.rb:162
2739
+ def clear_prerequisites; end
2740
+
2741
+ # First line (or sentence) of all comments. Multiple comments are
2742
+ # separated by a "/".
2743
+ #
2744
+ # source://rake-13.0.6/lib/rake/task.rb:322
2745
+ def comment; end
2746
+
2747
+ # source://rake-13.0.6/lib/rake/task.rb:304
2748
+ def comment=(comment)
2749
+ ;
2750
+ end
2751
+
2752
+ # Enhance a task with prerequisites or actions. Returns self.
2753
+ #
2754
+ # source://rake-13.0.6/lib/rake/task.rb:115
2755
+ def enhance(deps = T.unsafe(nil), &block)
2756
+ ;
2757
+ end
2758
+
2759
+ # Execute the actions associated with this task.
2760
+ #
2761
+ # source://rake-13.0.6/lib/rake/task.rb:270
2762
+ def execute(args = T.unsafe(nil))
2763
+ ;
2764
+ end
2765
+
2766
+ # Full collection of comments. Multiple comments are separated by
2767
+ # newlines.
2768
+ #
2769
+ # source://rake-13.0.6/lib/rake/task.rb:316
2770
+ def full_comment; end
2771
+
2772
+ # source://rake-13.0.6/lib/rake/task.rb:46
2773
+ def inspect; end
2774
+
2775
+ # Return a string describing the internal state of a task. Useful for
2776
+ # debugging.
2777
+ #
2778
+ # source://rake-13.0.6/lib/rake/task.rb:354
2779
+ def investigation; end
2780
+
2781
+ # Invoke the task if it is needed. Prerequisites are invoked first.
2782
+ #
2783
+ # source://rake-13.0.6/lib/rake/task.rb:186
2784
+ def invoke(*args)
2785
+ ;
2786
+ end
2787
+
2788
+ # Invoke all the prerequisites of a task.
2789
+ #
2790
+ # source://rake-13.0.6/lib/rake/task.rb:237
2791
+ def invoke_prerequisites(task_args, invocation_chain)
2792
+ ;
2793
+ end
2794
+
2795
+ # Invoke all the prerequisites of a task in parallel.
2796
+ #
2797
+ # source://rake-13.0.6/lib/rake/task.rb:249
2798
+ def invoke_prerequisites_concurrently(task_args, invocation_chain)
2799
+ ;
2800
+ end
2801
+
2802
+ # File/Line locations of each of the task definitions for this
2803
+ # task (only valid if the task was defined with the detect
2804
+ # location option set).
2805
+ #
2806
+ # source://rake-13.0.6/lib/rake/task.rb:35
2807
+ def locations; end
2808
+
2809
+ # Name of the task, including any namespace qualifiers.
2810
+ #
2811
+ # source://rake-13.0.6/lib/rake/task.rb:122
2812
+ def name; end
2813
+
2814
+ # Name of task with argument list description.
2815
+ #
2816
+ # source://rake-13.0.6/lib/rake/task.rb:127
2817
+ def name_with_args; end
2818
+
2819
+ # Is this task needed?
2820
+ #
2821
+ # @return [Boolean]
2822
+ #
2823
+ # source://rake-13.0.6/lib/rake/task.rb:286
2824
+ def needed?; end
2825
+
2826
+ # List of order only prerequisites for a task.
2827
+ #
2828
+ # source://rake-13.0.6/lib/rake/task.rb:21
2829
+ def order_only_prerequisites; end
2830
+
2831
+ # List of prerequisites for a task.
2832
+ #
2833
+ # source://rake-13.0.6/lib/rake/task.rb:17
2834
+ def prereqs; end
2835
+
2836
+ # List of prerequisite tasks
2837
+ #
2838
+ # source://rake-13.0.6/lib/rake/task.rb:61
2839
+ def prerequisite_tasks; end
2840
+
2841
+ # List of prerequisites for a task.
2842
+ #
2843
+ # source://rake-13.0.6/lib/rake/task.rb:17
2844
+ def prerequisites; end
2845
+
2846
+ # Reenable the task, allowing its tasks to be executed if the task
2847
+ # is invoked again.
2848
+ #
2849
+ # source://rake-13.0.6/lib/rake/task.rb:147
2850
+ def reenable; end
2851
+
2852
+ # Array of nested namespaces names used for task lookup by this task.
2853
+ #
2854
+ # source://rake-13.0.6/lib/rake/task.rb:30
2855
+ def scope; end
2856
+
2857
+ # Set the names of the arguments for this task. +args+ should be
2858
+ # an array of symbols, one for each argument name.
2859
+ #
2860
+ # source://rake-13.0.6/lib/rake/task.rb:348
2861
+ def set_arg_names(args)
2862
+ ;
2863
+ end
2864
+
2865
+ # First source from a rule (nil if no sources)
2866
+ #
2867
+ # source://rake-13.0.6/lib/rake/task.rb:93
2868
+ def source; end
2869
+
2870
+ # source://rake-13.0.6/lib/rake/task.rb:52
2871
+ def sources; end
2872
+
2873
+ # List of sources for task.
2874
+ #
2875
+ # source://rake-13.0.6/lib/rake/task.rb:51
2876
+ def sources=(_arg0)
2877
+ ;
2878
+ end
2879
+
2880
+ # Timestamp for this task. Basic tasks return the current time for their
2881
+ # time stamp. Other tasks can be more sophisticated.
2882
+ #
2883
+ # source://rake-13.0.6/lib/rake/task.rb:292
2884
+ def timestamp; end
2885
+
2886
+ # Return task name
2887
+ #
2888
+ # source://rake-13.0.6/lib/rake/task.rb:42
2889
+ def to_s; end
2890
+
2891
+ # Add order only dependencies.
2892
+ #
2893
+ # source://rake-13.0.6/lib/rake/task.rb:379
2894
+ def |(deps)
2895
+ ;
2896
+ end
2897
+
2898
+ protected
2899
+
2900
+ # source://rake-13.0.6/lib/rake/task.rb:83
2901
+ def collect_prerequisites(seen)
2902
+ ;
2903
+ end
2904
+
2905
+ # Same as invoke, but explicitly pass a call chain to detect
2906
+ # circular dependencies.
2907
+ #
2908
+ # If multiple tasks depend on this
2909
+ # one in parallel, they will all fail if the first execution of
2910
+ # this task fails.
2911
+ #
2912
+ # source://rake-13.0.6/lib/rake/task.rb:197
2913
+ def invoke_with_call_chain(task_args, invocation_chain)
2914
+ ;
2915
+ end
2916
+
2917
+ private
2918
+
2919
+ # source://rake-13.0.6/lib/rake/task.rb:229
2920
+ def add_chain_to(exception, new_chain)
2921
+ ;
2922
+ end
2923
+
2924
+ # source://rake-13.0.6/lib/rake/task.rb:308
2925
+ def add_comment(comment)
2926
+ ;
2927
+ end
2928
+
2929
+ # Get the first sentence in a string. The sentence is terminated
2930
+ # by the first period, exclamation mark, or the end of the line.
2931
+ # Decimal points do not count as periods.
2932
+ #
2933
+ # source://rake-13.0.6/lib/rake/task.rb:341
2934
+ def first_sentence(string)
2935
+ ;
2936
+ end
2937
+
2938
+ # Format the trace flags for display.
2939
+ #
2940
+ # source://rake-13.0.6/lib/rake/task.rb:261
2941
+ def format_trace_flags; end
2942
+
2943
+ # source://rake-13.0.6/lib/rake/task.rb:65
2944
+ def lookup_prerequisite(prerequisite_name)
2945
+ ;
2946
+ end
2947
+
2948
+ # Transform the list of comments as specified by the block and
2949
+ # join with the separator.
2950
+ #
2951
+ # source://rake-13.0.6/lib/rake/task.rb:328
2952
+ def transform_comments(separator, &block)
2953
+ ;
2954
+ end
2955
+
2956
+ class << self
2957
+ # Return a task with the given name. If the task is not currently
2958
+ # known, try to synthesize one from the defined rules. If no rules are
2959
+ # found, but an existing file matches the task name, assume it is a file
2960
+ # task with no dependencies or actions.
2961
+ #
2962
+ # source://rake-13.0.6/lib/rake/task.rb:404
2963
+ def [](task_name)
2964
+ ;
2965
+ end
2966
+
2967
+ # Clear the task list. This cause rake to immediately forget all the
2968
+ # tasks that have been assigned. (Normally used in the unit tests.)
2969
+ #
2970
+ # source://rake-13.0.6/lib/rake/task.rb:391
2971
+ def clear; end
2972
+
2973
+ # Define a rule for synthesizing tasks.
2974
+ #
2975
+ # source://rake-13.0.6/lib/rake/task.rb:421
2976
+ def create_rule(*args, &block)
2977
+ ;
2978
+ end
2979
+
2980
+ # Define a task given +args+ and an option block. If a rule with the
2981
+ # given name already exists, the prerequisites and actions are added to
2982
+ # the existing task. Returns the defined task.
2983
+ #
2984
+ # source://rake-13.0.6/lib/rake/task.rb:416
2985
+ def define_task(*args, &block)
2986
+ ;
2987
+ end
2988
+
2989
+ # Format dependencies parameter to pass to task.
2990
+ #
2991
+ # source://rake-13.0.6/lib/rake/task.rb:373
2992
+ def format_deps(deps)
2993
+ ;
2994
+ end
2995
+
2996
+ # Apply the scope to the task name according to the rules for
2997
+ # this kind of task. Generic tasks will accept the scope as
2998
+ # part of the name.
2999
+ #
3000
+ # source://rake-13.0.6/lib/rake/task.rb:428
3001
+ def scope_name(scope, task_name)
3002
+ ;
3003
+ end
3004
+
3005
+ # TRUE if the task name is already defined.
3006
+ #
3007
+ # @return [Boolean]
3008
+ #
3009
+ # source://rake-13.0.6/lib/rake/task.rb:409
3010
+ def task_defined?(task_name)
3011
+ ;
3012
+ end
3013
+
3014
+ # List of all defined tasks.
3015
+ #
3016
+ # source://rake-13.0.6/lib/rake/task.rb:396
3017
+ def tasks; end
3018
+ end
3019
+ end
3020
+
3021
+ # Error indicating an ill-formed task declaration.
3022
+ #
3023
+ # source://rake-13.0.6/lib/rake/task_argument_error.rb:5
3024
+ class Rake::TaskArgumentError < ::ArgumentError; end
3025
+
3026
+ # TaskArguments manage the arguments passed to a task.
3027
+ #
3028
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:7
3029
+ class Rake::TaskArguments
3030
+ include ::Enumerable
3031
+
3032
+ # Create a TaskArgument object with a list of argument +names+ and a set
3033
+ # of associated +values+. +parent+ is the parent argument object.
3034
+ #
3035
+ # @return [TaskArguments] a new instance of TaskArguments
3036
+ #
3037
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:15
3038
+ def initialize(names, values, parent = T.unsafe(nil))
3039
+ ;
3040
+ end
3041
+
3042
+ # Find an argument value by name or index.
3043
+ #
3044
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:44
3045
+ def [](index)
3046
+ ;
3047
+ end
3048
+
3049
+ # Enumerates the arguments and their values
3050
+ #
3051
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:56
3052
+ def each(&block)
3053
+ ;
3054
+ end
3055
+
3056
+ # Retrieve the list of values not associated with named arguments
3057
+ #
3058
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:32
3059
+ def extras; end
3060
+
3061
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:93
3062
+ def fetch(*args, &block)
3063
+ ;
3064
+ end
3065
+
3066
+ # Returns true if +key+ is one of the arguments
3067
+ #
3068
+ # @return [Boolean]
3069
+ #
3070
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:88
3071
+ def has_key?(key)
3072
+ ;
3073
+ end
3074
+
3075
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:79
3076
+ def inspect; end
3077
+
3078
+ # Returns true if +key+ is one of the arguments
3079
+ #
3080
+ # @return [Boolean]
3081
+ #
3082
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:88
3083
+ def key?(key)
3084
+ ;
3085
+ end
3086
+
3087
+ # Returns the value of the given argument via method_missing
3088
+ #
3089
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:66
3090
+ def method_missing(sym, *args)
3091
+ ;
3092
+ end
3093
+
3094
+ # Argument names
3095
+ #
3096
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:11
3097
+ def names; end
3098
+
3099
+ # Create a new argument scope using the prerequisite argument
3100
+ # names.
3101
+ #
3102
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:38
3103
+ def new_scope(names)
3104
+ ;
3105
+ end
3106
+
3107
+ # Retrieve the complete array of sequential values
3108
+ #
3109
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:27
3110
+ def to_a; end
3111
+
3112
+ # Returns a Hash of arguments and their values
3113
+ #
3114
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:71
3115
+ def to_hash; end
3116
+
3117
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:75
3118
+ def to_s; end
3119
+
3120
+ # Extracts the argument values at +keys+
3121
+ #
3122
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:61
3123
+ def values_at(*keys)
3124
+ ;
3125
+ end
3126
+
3127
+ # Specify a hash of default values for task arguments. Use the
3128
+ # defaults only if there is no specific value for the given
3129
+ # argument.
3130
+ #
3131
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:51
3132
+ def with_defaults(defaults)
3133
+ ;
3134
+ end
3135
+
3136
+ protected
3137
+
3138
+ # source://rake-13.0.6/lib/rake/task_arguments.rb:99
3139
+ def lookup(name)
3140
+ ;
3141
+ end
3142
+ end
3143
+
3144
+ # Base class for Task Libraries.
3145
+ #
3146
+ # source://rake-13.0.6/lib/rake/tasklib.rb:7
3147
+ class Rake::TaskLib
3148
+ include ::Rake::Cloneable
3149
+ include ::FileUtils::StreamUtils_
3150
+ include ::FileUtils
3151
+ include ::Rake::FileUtilsExt
3152
+ include ::Rake::DSL
3153
+ end
3154
+
3155
+ # The TaskManager module is a mixin for managing tasks.
3156
+ #
3157
+ # source://rake-13.0.6/lib/rake/task_manager.rb:5
3158
+ module Rake::TaskManager
3159
+ # source://rake-13.0.6/lib/rake/task_manager.rb:9
3160
+ def initialize; end
3161
+
3162
+ # Find a matching task for +task_name+.
3163
+ #
3164
+ # source://rake-13.0.6/lib/rake/task_manager.rb:54
3165
+ def [](task_name, scopes = T.unsafe(nil))
3166
+ ;
3167
+ end
3168
+
3169
+ # Clear all tasks in this application.
3170
+ #
3171
+ # source://rake-13.0.6/lib/rake/task_manager.rb:182
3172
+ def clear; end
3173
+
3174
+ # source://rake-13.0.6/lib/rake/task_manager.rb:17
3175
+ def create_rule(*args, &block)
3176
+ ;
3177
+ end
3178
+
3179
+ # Return the list of scope names currently active in the task
3180
+ # manager.
3181
+ #
3182
+ # source://rake-13.0.6/lib/rake/task_manager.rb:222
3183
+ def current_scope; end
3184
+
3185
+ # source://rake-13.0.6/lib/rake/task_manager.rb:23
3186
+ def define_task(task_class, *args, &block)
3187
+ ;
3188
+ end
3189
+
3190
+ # If a rule can be found that matches the task name, enhance the
3191
+ # task with the prerequisites and actions from the rule. Set the
3192
+ # source attribute of the task appropriately for the rule. Return
3193
+ # the enhanced task or nil of no rule was found.
3194
+ #
3195
+ # source://rake-13.0.6/lib/rake/task_manager.rb:151
3196
+ def enhance_with_matching_rule(task_name, level = T.unsafe(nil))
3197
+ ;
3198
+ end
3199
+
3200
+ # source://rake-13.0.6/lib/rake/task_manager.rb:68
3201
+ def generate_did_you_mean_suggestions(task_name)
3202
+ ;
3203
+ end
3204
+
3205
+ # source://rake-13.0.6/lib/rake/task_manager.rb:62
3206
+ def generate_message_for_undefined_task(task_name)
3207
+ ;
3208
+ end
3209
+
3210
+ # Evaluate the block in a nested namespace named +name+. Create
3211
+ # an anonymous namespace if +name+ is nil.
3212
+ #
3213
+ # source://rake-13.0.6/lib/rake/task_manager.rb:228
3214
+ def in_namespace(name)
3215
+ ;
3216
+ end
3217
+
3218
+ # Lookup a task. Return an existing task if found, otherwise
3219
+ # create a task of the current type.
3220
+ #
3221
+ # source://rake-13.0.6/lib/rake/task_manager.rb:49
3222
+ def intern(task_class, task_name)
3223
+ ;
3224
+ end
3225
+
3226
+ # Track the last comment made in the Rakefile.
3227
+ #
3228
+ # source://rake-13.0.6/lib/rake/task_manager.rb:7
3229
+ def last_description; end
3230
+
3231
+ # Track the last comment made in the Rakefile.
3232
+ #
3233
+ # source://rake-13.0.6/lib/rake/task_manager.rb:7
3234
+ def last_description=(_arg0)
3235
+ ;
3236
+ end
3237
+
3238
+ # Lookup a task, using scope and the scope hints in the task name.
3239
+ # This method performs straight lookups without trying to
3240
+ # synthesize file tasks or rules. Special scope names (e.g. '^')
3241
+ # are recognized. If no scope argument is supplied, use the
3242
+ # current scope. Return nil if the task cannot be found.
3243
+ #
3244
+ # source://rake-13.0.6/lib/rake/task_manager.rb:192
3245
+ def lookup(task_name, initial_scope = T.unsafe(nil))
3246
+ ;
3247
+ end
3248
+
3249
+ # Resolve the arguments for a task/rule. Returns a tuple of
3250
+ # [task_name, arg_name_list, prerequisites, order_only_prerequisites].
3251
+ #
3252
+ # source://rake-13.0.6/lib/rake/task_manager.rb:88
3253
+ def resolve_args(args)
3254
+ ;
3255
+ end
3256
+
3257
+ # source://rake-13.0.6/lib/rake/task_manager.rb:81
3258
+ def synthesize_file_task(task_name)
3259
+ ;
3260
+ end
3261
+
3262
+ # List of all defined tasks in this application.
3263
+ #
3264
+ # source://rake-13.0.6/lib/rake/task_manager.rb:168
3265
+ def tasks; end
3266
+
3267
+ # List of all the tasks defined in the given scope (and its
3268
+ # sub-scopes).
3269
+ #
3270
+ # source://rake-13.0.6/lib/rake/task_manager.rb:174
3271
+ def tasks_in_scope(scope)
3272
+ ;
3273
+ end
3274
+
3275
+ private
3276
+
3277
+ # Add a location to the locations field of the given task.
3278
+ #
3279
+ # source://rake-13.0.6/lib/rake/task_manager.rb:241
3280
+ def add_location(task)
3281
+ ;
3282
+ end
3283
+
3284
+ # Attempt to create a rule given the list of prerequisites.
3285
+ #
3286
+ # source://rake-13.0.6/lib/rake/task_manager.rb:271
3287
+ def attempt_rule(task_name, task_pattern, args, extensions, block, level)
3288
+ ;
3289
+ end
3290
+
3291
+ # Find the location that called into the dsl layer.
3292
+ #
3293
+ # source://rake-13.0.6/lib/rake/task_manager.rb:248
3294
+ def find_location; end
3295
+
3296
+ # Generate an anonymous namespace name.
3297
+ #
3298
+ # source://rake-13.0.6/lib/rake/task_manager.rb:259
3299
+ def generate_name; end
3300
+
3301
+ # Return the current description, clearing it in the process.
3302
+ #
3303
+ # source://rake-13.0.6/lib/rake/task_manager.rb:319
3304
+ def get_description(task)
3305
+ ;
3306
+ end
3307
+
3308
+ # Lookup the task name
3309
+ #
3310
+ # source://rake-13.0.6/lib/rake/task_manager.rb:208
3311
+ def lookup_in_scope(name, scope)
3312
+ ;
3313
+ end
3314
+
3315
+ # Make a list of sources from the list of file name extensions /
3316
+ # translation procs.
3317
+ #
3318
+ # source://rake-13.0.6/lib/rake/task_manager.rb:293
3319
+ def make_sources(task_name, task_pattern, extensions)
3320
+ ;
3321
+ end
3322
+
3323
+ # Resolve task arguments for a task or rule when there are
3324
+ # dependencies declared.
3325
+ #
3326
+ # The patterns recognized by this argument resolving function are:
3327
+ #
3328
+ # task :t, order_only: [:e]
3329
+ # task :t => [:d]
3330
+ # task :t => [:d], order_only: [:e]
3331
+ # task :t, [a] => [:d]
3332
+ # task :t, [a] => [:d], order_only: [:e]
3333
+ #
3334
+ # source://rake-13.0.6/lib/rake/task_manager.rb:127
3335
+ def resolve_args_with_dependencies(args, hash)
3336
+ ;
3337
+ end
3338
+
3339
+ # Resolve task arguments for a task or rule when there are no
3340
+ # dependencies declared.
3341
+ #
3342
+ # The patterns recognized by this argument resolving function are:
3343
+ #
3344
+ # task :t
3345
+ # task :t, [:a]
3346
+ #
3347
+ # source://rake-13.0.6/lib/rake/task_manager.rb:105
3348
+ def resolve_args_without_dependencies(args)
3349
+ ;
3350
+ end
3351
+
3352
+ # source://rake-13.0.6/lib/rake/task_manager.rb:265
3353
+ def trace_rule(level, message)
3354
+ ;
3355
+ end
3356
+
3357
+ class << self
3358
+ # source://rake-13.0.6/lib/rake/task_manager.rb:326
3359
+ def record_task_metadata; end
3360
+
3361
+ # source://rake-13.0.6/lib/rake/task_manager.rb:326
3362
+ def record_task_metadata=(_arg0)
3363
+ ;
3364
+ end
3365
+ end
3366
+ end
3367
+
3368
+ # source://rake-13.0.6/lib/rake/thread_history_display.rb:6
3369
+ class Rake::ThreadHistoryDisplay
3370
+ include ::Rake::PrivateReader
3371
+ extend ::Rake::PrivateReader::ClassMethods
3372
+
3373
+ # @return [ThreadHistoryDisplay] a new instance of ThreadHistoryDisplay
3374
+ #
3375
+ # source://rake-13.0.6/lib/rake/thread_history_display.rb:11
3376
+ def initialize(stats)
3377
+ ;
3378
+ end
3379
+
3380
+ # source://rake-13.0.6/lib/rake/thread_history_display.rb:17
3381
+ def show; end
3382
+
3383
+ private
3384
+
3385
+ # source://rake-13.0.6/lib/rake/private_reader.rb:15
3386
+ def items; end
3387
+
3388
+ # source://rake-13.0.6/lib/rake/thread_history_display.rb:35
3389
+ def rename(hash, key, renames)
3390
+ ;
3391
+ end
3392
+
3393
+ # source://rake-13.0.6/lib/rake/private_reader.rb:15
3394
+ def stats; end
3395
+
3396
+ # source://rake-13.0.6/lib/rake/private_reader.rb:15
3397
+ def threads; end
3398
+ end
3399
+
3400
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:7
3401
+ class Rake::ThreadPool
3402
+ # Creates a ThreadPool object. The +thread_count+ parameter is the size
3403
+ # of the pool.
3404
+ #
3405
+ # @return [ThreadPool] a new instance of ThreadPool
3406
+ #
3407
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:11
3408
+ def initialize(thread_count)
3409
+ ;
3410
+ end
3411
+
3412
+ # Creates a future executed by the +ThreadPool+.
3413
+ #
3414
+ # The args are passed to the block when executing (similarly to
3415
+ # Thread#new) The return value is an object representing
3416
+ # a future which has been created and added to the queue in the
3417
+ # pool. Sending #value to the object will sleep the
3418
+ # current thread until the future is finished and will return the
3419
+ # result (or raise an exception thrown from the future)
3420
+ #
3421
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:33
3422
+ def future(*args, &block)
3423
+ ;
3424
+ end
3425
+
3426
+ # Enable the gathering of history events.
3427
+ #
3428
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:68
3429
+ def gather_history; end
3430
+
3431
+ # Return a array of history events for the thread pool.
3432
+ #
3433
+ # History gathering must be enabled to be able to see the events
3434
+ # (see #gather_history). Best to call this when the job is
3435
+ # complete (i.e. after ThreadPool#join is called).
3436
+ #
3437
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:77
3438
+ def history; end
3439
+
3440
+ # Waits until the queue of futures is empty and all threads have exited.
3441
+ #
3442
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:44
3443
+ def join; end
3444
+
3445
+ # Return a hash of always collected statistics for the thread pool.
3446
+ #
3447
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:84
3448
+ def statistics; end
3449
+
3450
+ private
3451
+
3452
+ # for testing only
3453
+ #
3454
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:158
3455
+ def __queue__; end
3456
+
3457
+ # processes one item on the queue. Returns true if there was an
3458
+ # item to process, false if there was no item
3459
+ #
3460
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:95
3461
+ def process_queue_item; end
3462
+
3463
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:111
3464
+ def safe_thread_count; end
3465
+
3466
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:117
3467
+ def start_thread; end
3468
+
3469
+ # source://rake-13.0.6/lib/rake/thread_pool.rb:145
3470
+ def stat(event, data = T.unsafe(nil))
3471
+ ;
3472
+ end
3473
+ end
3474
+
3475
+ # source://rake-13.0.6/lib/rake/trace_output.rb:3
3476
+ module Rake::TraceOutput
3477
+ # Write trace output to output stream +out+.
3478
+ #
3479
+ # The write is done as a single IO call (to print) to lessen the
3480
+ # chance that the trace output is interrupted by other tasks also
3481
+ # producing output.
3482
+ #
3483
+ # source://rake-13.0.6/lib/rake/trace_output.rb:10
3484
+ def trace_on(out, *strings)
3485
+ ;
3486
+ end
3487
+ end
3488
+
3489
+ # source://rake-13.0.6/lib/rake/version.rb:3
3490
+ Rake::VERSION = T.let(T.unsafe(nil), String)
3491
+
3492
+ # source://rake-13.0.6/lib/rake/version.rb:5
3493
+ module Rake::Version
3494
+ ;
3495
+ end
3496
+
3497
+ # source://rake-13.0.6/lib/rake/version.rb:6
3498
+ Rake::Version::BUILD = T.let(T.unsafe(nil), String)
3499
+
3500
+ # source://rake-13.0.6/lib/rake/version.rb:6
3501
+ Rake::Version::MAJOR = T.let(T.unsafe(nil), String)
3502
+
3503
+ # source://rake-13.0.6/lib/rake/version.rb:6
3504
+ Rake::Version::MINOR = T.let(T.unsafe(nil), String)
3505
+
3506
+ # source://rake-13.0.6/lib/rake/version.rb:8
3507
+ Rake::Version::NUMBERS = T.let(T.unsafe(nil), Array)
3508
+
3509
+ # source://rake-13.0.6/lib/rake/version.rb:6
3510
+ Rake::Version::OTHER = T.let(T.unsafe(nil), Array)
3511
+
3512
+ # Win 32 interface methods for Rake. Windows specific functionality
3513
+ # will be placed here to collect that knowledge in one spot.
3514
+ #
3515
+ # source://rake-13.0.6/lib/rake/win32.rb:7
3516
+ module Rake::Win32
3517
+ class << self
3518
+ # Normalize a win32 path so that the slashes are all forward slashes.
3519
+ #
3520
+ # source://rake-13.0.6/lib/rake/win32.rb:45
3521
+ def normalize(path)
3522
+ ;
3523
+ end
3524
+
3525
+ # The standard directory containing system wide rake files on
3526
+ # Win 32 systems. Try the following environment variables (in
3527
+ # order):
3528
+ #
3529
+ # * HOME
3530
+ # * HOMEDRIVE + HOMEPATH
3531
+ # * APPDATA
3532
+ # * USERPROFILE
3533
+ #
3534
+ # If the above are not defined, the return nil.
3535
+ #
3536
+ # @raise [Win32HomeError]
3537
+ #
3538
+ # source://rake-13.0.6/lib/rake/win32.rb:30
3539
+ def win32_system_dir; end
3540
+
3541
+ # True if running on a windows system.
3542
+ #
3543
+ # @return [Boolean]
3544
+ #
3545
+ # source://rake-13.0.6/lib/rake/win32.rb:16
3546
+ def windows?; end
3547
+ end
3548
+ end
3549
+
3550
+ # Error indicating a problem in locating the home directory on a
3551
+ # Win32 system.
3552
+ #
3553
+ # source://rake-13.0.6/lib/rake/win32.rb:11
3554
+ class Rake::Win32::Win32HomeError < ::RuntimeError; end
3555
+
3556
+ # source://rake-13.0.6/lib/rake.rb:71
3557
+ RakeFileUtils = Rake::FileUtilsExt
3558
+
3559
+ # source://rake-13.0.6/lib/rake/ext/string.rb:4
3560
+ class String
3561
+ include ::Comparable
3562
+
3563
+ # source://rake-13.0.6/lib/rake/ext/string.rb:14
3564
+ def ext(newext = T.unsafe(nil))
3565
+ ;
3566
+ end
3567
+
3568
+ # source://rake-13.0.6/lib/rake/ext/string.rb:138
3569
+ def pathmap(spec = T.unsafe(nil), &block)
3570
+ ;
3571
+ end
3572
+
3573
+ protected
3574
+
3575
+ # source://rake-13.0.6/lib/rake/ext/string.rb:27
3576
+ def pathmap_explode; end
3577
+
3578
+ # source://rake-13.0.6/lib/rake/ext/string.rb:41
3579
+ def pathmap_partial(n)
3580
+ ;
3581
+ end
3582
+
3583
+ # source://rake-13.0.6/lib/rake/ext/string.rb:59
3584
+ def pathmap_replace(patterns, &block)
3585
+ ;
3586
+ end
3587
+ end