shotgrid_api_ruby 0.2.0.4 → 0.2.0.6

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