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