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