packwerk 2.2.0 → 2.2.1

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