expo_notifier 0.1.0

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