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