checkoff 0.223.0 → 0.226.0

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