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