stripe 10.9.0.pre.beta.1 → 10.9.0

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