sorbet-result 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.standard.yml +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +11 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +52 -57
- data/README.md +3 -3
- data/lib/typed/result.rb +32 -2
- data/sorbet/rbi/gems/ast@2.4.2.rbi +1 -0
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +20 -15
- data/sorbet/rbi/gems/io-console@0.7.2.rbi +1 -0
- data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.5.rbi} +148 -72
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +1 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +1 -0
- data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.25.1.rbi} +252 -241
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +1 -0
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
- data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.5.1.rbi} +233 -186
- data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1 -0
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +38 -33
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +1 -0
- data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
- data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
- data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
- data/sorbet/rbi/gems/{reline@0.4.2.rbi → reline@0.5.10.rbi} +1 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.33.1.rbi} +1143 -671
- data/sorbet/rbi/gems/{rubocop-performance@1.20.2.rbi → rubocop-performance@1.22.1.rbi} +1 -0
- data/sorbet/rbi/gems/{rubocop-sorbet@0.7.7.rbi → rubocop-sorbet@0.7.8.rbi} +1 -0
- data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.66.1.rbi} +3312 -2415
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1 -0
- data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.5.0.rbi} +2009 -854
- data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +1 -0
- data/sorbet/rbi/gems/{standard-performance@1.3.1.rbi → standard-performance@1.5.0.rbi} +1 -0
- data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +1 -0
- data/sorbet/rbi/gems/{standard@1.34.0.rbi → standard@1.41.1.rbi} +171 -95
- data/sorbet/rbi/gems/{stringio@3.1.0.rbi → stringio@3.1.1.rbi} +1 -0
- data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.16.3.rbi} +357 -257
- data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.2.rbi} +114 -81
- data/sorbet/rbi/gems/{unicode-display_width@2.5.0.rbi → unicode-display_width@2.6.0.rbi} +1 -0
- data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +430 -270
- metadata +28 -45
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/prism@0.24.0.rbi +0 -31040
- data/sorbet/rbi/gems/rbi@0.1.9.rbi +0 -3006
- data/sorbet/rbi/gems/rexml@3.2.6.rbi +0 -4781
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23133
@@ -4,35 +4,36 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `racc` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem racc`.
|
6
6
|
|
7
|
-
|
7
|
+
|
8
|
+
# source://racc//lib/racc/parser.rb#19
|
8
9
|
ParseError = Racc::ParseError
|
9
10
|
|
10
11
|
# source://racc//lib/racc/info.rb#17
|
11
12
|
Racc::Copyright = T.let(T.unsafe(nil), String)
|
12
13
|
|
13
|
-
# source://racc//lib/racc/parser.rb#
|
14
|
+
# source://racc//lib/racc/parser.rb#184
|
14
15
|
class Racc::Parser
|
15
|
-
# source://racc//lib/racc/parser.rb#
|
16
|
+
# source://racc//lib/racc/parser.rb#279
|
16
17
|
def _racc_do_parse_rb(arg, in_debug); end
|
17
18
|
|
18
|
-
# source://racc//lib/racc/parser.rb#
|
19
|
+
# source://racc//lib/racc/parser.rb#479
|
19
20
|
def _racc_do_reduce(arg, act); end
|
20
21
|
|
21
22
|
# common
|
22
23
|
#
|
23
|
-
# source://racc//lib/racc/parser.rb#
|
24
|
+
# source://racc//lib/racc/parser.rb#382
|
24
25
|
def _racc_evalact(act, arg); end
|
25
26
|
|
26
|
-
# source://racc//lib/racc/parser.rb#
|
27
|
+
# source://racc//lib/racc/parser.rb#232
|
27
28
|
def _racc_init_sysvars; end
|
28
29
|
|
29
|
-
# source://racc//lib/racc/parser.rb#
|
30
|
+
# source://racc//lib/racc/parser.rb#220
|
30
31
|
def _racc_setup; end
|
31
32
|
|
32
|
-
# source://racc//lib/racc/parser.rb#
|
33
|
+
# source://racc//lib/racc/parser.rb#329
|
33
34
|
def _racc_yyparse_rb(recv, mid, arg, c_debug); end
|
34
35
|
|
35
|
-
# source://racc//lib/racc/parser.rb#
|
36
|
+
# source://racc//lib/racc/parser.rb#262
|
36
37
|
def do_parse; end
|
37
38
|
|
38
39
|
# The method to fetch next token.
|
@@ -46,7 +47,7 @@ class Racc::Parser
|
|
46
47
|
#
|
47
48
|
# @raise [NotImplementedError]
|
48
49
|
#
|
49
|
-
# source://racc//lib/racc/parser.rb#
|
50
|
+
# source://racc//lib/racc/parser.rb#275
|
50
51
|
def next_token; end
|
51
52
|
|
52
53
|
# This method is called when a parse error is found.
|
@@ -66,88 +67,92 @@ class Racc::Parser
|
|
66
67
|
#
|
67
68
|
# @raise [ParseError]
|
68
69
|
#
|
69
|
-
# source://racc//lib/racc/parser.rb#
|
70
|
+
# source://racc//lib/racc/parser.rb#535
|
70
71
|
def on_error(t, val, vstack); end
|
71
72
|
|
72
|
-
# source://racc//lib/racc/parser.rb#
|
73
|
+
# source://racc//lib/racc/parser.rb#584
|
73
74
|
def racc_accept; end
|
74
75
|
|
75
|
-
# source://racc//lib/racc/parser.rb#
|
76
|
+
# source://racc//lib/racc/parser.rb#589
|
76
77
|
def racc_e_pop(state, tstack, vstack); end
|
77
78
|
|
78
|
-
# source://racc//lib/racc/parser.rb#
|
79
|
+
# source://racc//lib/racc/parser.rb#596
|
79
80
|
def racc_next_state(curstate, state); end
|
80
81
|
|
81
|
-
# source://racc//lib/racc/parser.rb#
|
82
|
+
# source://racc//lib/racc/parser.rb#602
|
82
83
|
def racc_print_stacks(t, v); end
|
83
84
|
|
84
|
-
# source://racc//lib/racc/parser.rb#
|
85
|
+
# source://racc//lib/racc/parser.rb#611
|
85
86
|
def racc_print_states(s); end
|
86
87
|
|
87
88
|
# For debugging output
|
88
89
|
#
|
89
|
-
# source://racc//lib/racc/parser.rb#
|
90
|
+
# source://racc//lib/racc/parser.rb#558
|
90
91
|
def racc_read_token(t, tok, val); end
|
91
92
|
|
92
|
-
# source://racc//lib/racc/parser.rb#
|
93
|
+
# source://racc//lib/racc/parser.rb#571
|
93
94
|
def racc_reduce(toks, sim, tstack, vstack); end
|
94
95
|
|
95
|
-
# source://racc//lib/racc/parser.rb#
|
96
|
+
# source://racc//lib/racc/parser.rb#565
|
96
97
|
def racc_shift(tok, tstack, vstack); end
|
97
98
|
|
98
|
-
# source://racc//lib/racc/parser.rb#
|
99
|
+
# source://racc//lib/racc/parser.rb#618
|
99
100
|
def racc_token2str(tok); end
|
100
101
|
|
101
102
|
# Convert internal ID of token symbol to the string.
|
102
103
|
#
|
103
|
-
# source://racc//lib/racc/parser.rb#
|
104
|
+
# source://racc//lib/racc/parser.rb#624
|
104
105
|
def token_to_str(t); end
|
105
106
|
|
106
107
|
# Exit parser.
|
107
108
|
# Return value is +Symbol_Value_Stack[0]+.
|
108
109
|
#
|
109
|
-
# source://racc//lib/racc/parser.rb#
|
110
|
+
# source://racc//lib/racc/parser.rb#548
|
110
111
|
def yyaccept; end
|
111
112
|
|
112
113
|
# Leave error recovering mode.
|
113
114
|
#
|
114
|
-
# source://racc//lib/racc/parser.rb#
|
115
|
+
# source://racc//lib/racc/parser.rb#553
|
115
116
|
def yyerrok; end
|
116
117
|
|
117
118
|
# Enter error recovering mode.
|
118
119
|
# This method does not call #on_error.
|
119
120
|
#
|
120
|
-
# source://racc//lib/racc/parser.rb#
|
121
|
+
# source://racc//lib/racc/parser.rb#542
|
121
122
|
def yyerror; end
|
122
123
|
|
123
|
-
# source://racc//lib/racc/parser.rb#
|
124
|
+
# source://racc//lib/racc/parser.rb#324
|
124
125
|
def yyparse(recv, mid); end
|
125
126
|
|
126
127
|
class << self
|
127
|
-
# source://racc//lib/racc/parser.rb#
|
128
|
+
# source://racc//lib/racc/parser.rb#216
|
128
129
|
def racc_runtime_type; end
|
129
130
|
end
|
130
131
|
end
|
131
132
|
|
132
|
-
# source://racc//lib/racc/parser.rb#
|
133
|
+
# source://racc//lib/racc/parser.rb#205
|
133
134
|
Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
|
134
135
|
|
135
|
-
|
136
|
+
Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
|
137
|
+
|
138
|
+
# source://racc//lib/racc/parser.rb#207
|
136
139
|
Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
|
137
140
|
|
138
|
-
|
141
|
+
Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
|
142
|
+
|
143
|
+
# source://racc//lib/racc/parser.rb#187
|
139
144
|
Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
|
140
145
|
|
141
|
-
# source://racc//lib/racc/parser.rb#
|
146
|
+
# source://racc//lib/racc/parser.rb#208
|
142
147
|
Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
|
143
148
|
|
144
|
-
# source://racc//lib/racc/parser.rb#
|
149
|
+
# source://racc//lib/racc/parser.rb#186
|
145
150
|
Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
|
146
151
|
|
147
|
-
# source://racc//lib/racc/parser.rb#
|
152
|
+
# source://racc//lib/racc/parser.rb#206
|
148
153
|
Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
|
149
154
|
|
150
|
-
# source://racc//lib/racc/parser.rb#
|
155
|
+
# source://racc//lib/racc/parser.rb#181
|
151
156
|
Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
|
152
157
|
|
153
158
|
# source://racc//lib/racc/info.rb#15
|
@@ -4,11 +4,12 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `rake` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem rake`.
|
6
6
|
|
7
|
+
|
7
8
|
# :stopdoc:
|
8
9
|
#
|
9
10
|
# Some top level Constants.
|
10
11
|
#
|
11
|
-
# source://rake//lib/rake.rb#
|
12
|
+
# source://rake//lib/rake.rb#69
|
12
13
|
FileList = Rake::FileList
|
13
14
|
|
14
15
|
# --
|
@@ -195,7 +196,7 @@ class Rake::Application
|
|
195
196
|
|
196
197
|
# Add a file to the list of files to be imported.
|
197
198
|
#
|
198
|
-
# source://rake//lib/rake/application.rb#
|
199
|
+
# source://rake//lib/rake/application.rb#807
|
199
200
|
def add_import(fn); end
|
200
201
|
|
201
202
|
# Add a loader to handle imported files ending in the extension
|
@@ -213,13 +214,13 @@ class Rake::Application
|
|
213
214
|
# recognised command-line options, which OptionParser.parse will
|
214
215
|
# have taken care of already.
|
215
216
|
#
|
216
|
-
# source://rake//lib/rake/application.rb#
|
217
|
+
# source://rake//lib/rake/application.rb#788
|
217
218
|
def collect_command_line_tasks(args); end
|
218
219
|
|
219
220
|
# Default task name ("default").
|
220
221
|
# (May be overridden by subclasses)
|
221
222
|
#
|
222
|
-
# source://rake//lib/rake/application.rb#
|
223
|
+
# source://rake//lib/rake/application.rb#802
|
223
224
|
def default_task_name; end
|
224
225
|
|
225
226
|
# Warn about deprecated usage.
|
@@ -227,75 +228,75 @@ class Rake::Application
|
|
227
228
|
# Example:
|
228
229
|
# Rake.application.deprecate("import", "Rake.import", caller.first)
|
229
230
|
#
|
230
|
-
# source://rake//lib/rake/application.rb#
|
231
|
+
# source://rake//lib/rake/application.rb#288
|
231
232
|
def deprecate(old_usage, new_usage, call_site); end
|
232
233
|
|
233
|
-
# source://rake//lib/rake/application.rb#
|
234
|
+
# source://rake//lib/rake/application.rb#250
|
234
235
|
def display_cause_details(ex); end
|
235
236
|
|
236
237
|
# Display the error message that caused the exception.
|
237
238
|
#
|
238
|
-
# source://rake//lib/rake/application.rb#
|
239
|
+
# source://rake//lib/rake/application.rb#234
|
239
240
|
def display_error_message(ex); end
|
240
241
|
|
241
|
-
# source://rake//lib/rake/application.rb#
|
242
|
+
# source://rake//lib/rake/application.rb#275
|
242
243
|
def display_exception_backtrace(ex); end
|
243
244
|
|
244
|
-
# source://rake//lib/rake/application.rb#
|
245
|
+
# source://rake//lib/rake/application.rb#242
|
245
246
|
def display_exception_details(ex); end
|
246
247
|
|
247
|
-
# source://rake//lib/rake/application.rb#
|
248
|
+
# source://rake//lib/rake/application.rb#257
|
248
249
|
def display_exception_details_seen; end
|
249
250
|
|
250
|
-
# source://rake//lib/rake/application.rb#
|
251
|
+
# source://rake//lib/rake/application.rb#265
|
251
252
|
def display_exception_message_details(ex); end
|
252
253
|
|
253
254
|
# Display the tasks and prerequisites
|
254
255
|
#
|
255
|
-
# source://rake//lib/rake/application.rb#
|
256
|
+
# source://rake//lib/rake/application.rb#411
|
256
257
|
def display_prerequisites; end
|
257
258
|
|
258
259
|
# Display the tasks and comments.
|
259
260
|
#
|
260
|
-
# source://rake//lib/rake/application.rb#
|
261
|
+
# source://rake//lib/rake/application.rb#328
|
261
262
|
def display_tasks_and_comments; end
|
262
263
|
|
263
264
|
# Calculate the dynamic width of the
|
264
265
|
#
|
265
|
-
# source://rake//lib/rake/application.rb#
|
266
|
+
# source://rake//lib/rake/application.rb#379
|
266
267
|
def dynamic_width; end
|
267
268
|
|
268
|
-
# source://rake//lib/rake/application.rb#
|
269
|
+
# source://rake//lib/rake/application.rb#383
|
269
270
|
def dynamic_width_stty; end
|
270
271
|
|
271
|
-
# source://rake//lib/rake/application.rb#
|
272
|
+
# source://rake//lib/rake/application.rb#387
|
272
273
|
def dynamic_width_tput; end
|
273
274
|
|
274
275
|
# Exit the program because of an unhandled exception.
|
275
276
|
# (may be overridden by subclasses)
|
276
277
|
#
|
277
|
-
# source://rake//lib/rake/application.rb#
|
278
|
+
# source://rake//lib/rake/application.rb#229
|
278
279
|
def exit_because_of_exception(ex); end
|
279
280
|
|
280
|
-
# source://rake//lib/rake/application.rb#
|
281
|
+
# source://rake//lib/rake/application.rb#708
|
281
282
|
def find_rakefile_location; end
|
282
283
|
|
283
284
|
# Read and handle the command line options. Returns the command line
|
284
285
|
# arguments that we didn't understand, which should (in theory) be just
|
285
286
|
# task names and env vars.
|
286
287
|
#
|
287
|
-
# source://rake//lib/rake/application.rb#
|
288
|
+
# source://rake//lib/rake/application.rb#674
|
288
289
|
def handle_options(argv); end
|
289
290
|
|
290
291
|
# @return [Boolean]
|
291
292
|
#
|
292
|
-
# source://rake//lib/rake/application.rb#
|
293
|
+
# source://rake//lib/rake/application.rb#261
|
293
294
|
def has_cause?(ex); end
|
294
295
|
|
295
296
|
# True if one of the files in RAKEFILES is in the current directory.
|
296
297
|
# If a match is found, it is copied into @rakefile.
|
297
298
|
#
|
298
|
-
# source://rake//lib/rake/application.rb#
|
299
|
+
# source://rake//lib/rake/application.rb#304
|
299
300
|
def have_rakefile; end
|
300
301
|
|
301
302
|
# Initialize the command line parameters and app name.
|
@@ -305,12 +306,12 @@ class Rake::Application
|
|
305
306
|
|
306
307
|
# Invokes a task with arguments that are extracted from +task_string+
|
307
308
|
#
|
308
|
-
# source://rake//lib/rake/application.rb#
|
309
|
+
# source://rake//lib/rake/application.rb#185
|
309
310
|
def invoke_task(task_string); end
|
310
311
|
|
311
312
|
# Load the pending list of imported files.
|
312
313
|
#
|
313
|
-
# source://rake//lib/rake/application.rb#
|
314
|
+
# source://rake//lib/rake/application.rb#812
|
314
315
|
def load_imports; end
|
315
316
|
|
316
317
|
# Find the rakefile and then load it and any pending imports.
|
@@ -333,16 +334,16 @@ class Rake::Application
|
|
333
334
|
# source://rake//lib/rake/application.rb#27
|
334
335
|
def original_dir; end
|
335
336
|
|
336
|
-
# source://rake//lib/rake/application.rb#
|
337
|
+
# source://rake//lib/rake/application.rb#191
|
337
338
|
def parse_task_string(string); end
|
338
339
|
|
339
|
-
# source://rake//lib/rake/application.rb#
|
340
|
+
# source://rake//lib/rake/application.rb#720
|
340
341
|
def print_rakefile_directory(location); end
|
341
342
|
|
342
343
|
# Similar to the regular Ruby +require+ command, but will check
|
343
344
|
# for *.rake files in addition to *.rb files.
|
344
345
|
#
|
345
|
-
# source://rake//lib/rake/application.rb#
|
346
|
+
# source://rake//lib/rake/application.rb#694
|
346
347
|
def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
|
347
348
|
|
348
349
|
# Name of the actual rakefile used.
|
@@ -350,10 +351,10 @@ class Rake::Application
|
|
350
351
|
# source://rake//lib/rake/application.rb#30
|
351
352
|
def rakefile; end
|
352
353
|
|
353
|
-
# source://rake//lib/rake/application.rb#
|
354
|
+
# source://rake//lib/rake/application.rb#828
|
354
355
|
def rakefile_location(backtrace = T.unsafe(nil)); end
|
355
356
|
|
356
|
-
# source://rake//lib/rake/application.rb#
|
357
|
+
# source://rake//lib/rake/application.rb#725
|
357
358
|
def raw_load_rakefile; end
|
358
359
|
|
359
360
|
# Run the Rake application. The run method performs the following
|
@@ -375,23 +376,23 @@ class Rake::Application
|
|
375
376
|
# source://rake//lib/rake/application.rb#144
|
376
377
|
def run_with_threads; end
|
377
378
|
|
378
|
-
# source://rake//lib/rake/application.rb#
|
379
|
+
# source://rake//lib/rake/application.rb#837
|
379
380
|
def set_default_options; end
|
380
381
|
|
381
382
|
# Provide standard exception handling for the given block.
|
382
383
|
#
|
383
|
-
# source://rake//lib/rake/application.rb#
|
384
|
+
# source://rake//lib/rake/application.rb#213
|
384
385
|
def standard_exception_handling; end
|
385
386
|
|
386
387
|
# A list of all the standard options used in rake, suitable for
|
387
388
|
# passing to OptionParser.
|
388
389
|
#
|
389
|
-
# source://rake//lib/rake/application.rb#
|
390
|
+
# source://rake//lib/rake/application.rb#432
|
390
391
|
def standard_rake_options; end
|
391
392
|
|
392
393
|
# The directory path containing the system wide rakefiles.
|
393
394
|
#
|
394
|
-
# source://rake//lib/rake/application.rb#
|
395
|
+
# source://rake//lib/rake/application.rb#757
|
395
396
|
def system_dir; end
|
396
397
|
|
397
398
|
# Number of columns on the terminal
|
@@ -404,12 +405,12 @@ class Rake::Application
|
|
404
405
|
# source://rake//lib/rake/application.rb#33
|
405
406
|
def terminal_columns=(_arg0); end
|
406
407
|
|
407
|
-
# source://rake//lib/rake/application.rb#
|
408
|
+
# source://rake//lib/rake/application.rb#367
|
408
409
|
def terminal_width; end
|
409
410
|
|
410
411
|
# Return the thread pool used for multithreaded processing.
|
411
412
|
#
|
412
|
-
# source://rake//lib/rake/application.rb#
|
413
|
+
# source://rake//lib/rake/application.rb#178
|
413
414
|
def thread_pool; end
|
414
415
|
|
415
416
|
# Run the top level tasks of a Rake application.
|
@@ -422,10 +423,10 @@ class Rake::Application
|
|
422
423
|
# source://rake//lib/rake/application.rb#36
|
423
424
|
def top_level_tasks; end
|
424
425
|
|
425
|
-
# source://rake//lib/rake/application.rb#
|
426
|
+
# source://rake//lib/rake/application.rb#418
|
426
427
|
def trace(*strings); end
|
427
428
|
|
428
|
-
# source://rake//lib/rake/application.rb#
|
429
|
+
# source://rake//lib/rake/application.rb#400
|
429
430
|
def truncate(string, width); end
|
430
431
|
|
431
432
|
# We will truncate output if we are outputting to a TTY or if we've been
|
@@ -433,7 +434,7 @@ class Rake::Application
|
|
433
434
|
#
|
434
435
|
# @return [Boolean]
|
435
436
|
#
|
436
|
-
# source://rake//lib/rake/application.rb#
|
437
|
+
# source://rake//lib/rake/application.rb#323
|
437
438
|
def truncate_output?; end
|
438
439
|
|
439
440
|
# Override the detected TTY output state (mostly for testing)
|
@@ -445,44 +446,44 @@ class Rake::Application
|
|
445
446
|
#
|
446
447
|
# @return [Boolean]
|
447
448
|
#
|
448
|
-
# source://rake//lib/rake/application.rb#
|
449
|
+
# source://rake//lib/rake/application.rb#317
|
449
450
|
def tty_output?; end
|
450
451
|
|
451
452
|
# @return [Boolean]
|
452
453
|
#
|
453
|
-
# source://rake//lib/rake/application.rb#
|
454
|
+
# source://rake//lib/rake/application.rb#391
|
454
455
|
def unix?; end
|
455
456
|
|
456
457
|
# @return [Boolean]
|
457
458
|
#
|
458
|
-
# source://rake//lib/rake/application.rb#
|
459
|
+
# source://rake//lib/rake/application.rb#396
|
459
460
|
def windows?; end
|
460
461
|
|
461
462
|
private
|
462
463
|
|
463
|
-
# source://rake//lib/rake/application.rb#
|
464
|
+
# source://rake//lib/rake/application.rb#751
|
464
465
|
def glob(path, &block); end
|
465
466
|
|
466
467
|
# Does the exception have a task invocation chain?
|
467
468
|
#
|
468
469
|
# @return [Boolean]
|
469
470
|
#
|
470
|
-
# source://rake//lib/rake/application.rb#
|
471
|
+
# source://rake//lib/rake/application.rb#297
|
471
472
|
def has_chain?(exception); end
|
472
473
|
|
473
474
|
# source://rake//lib/rake/application.rb#102
|
474
475
|
def load_debug_at_stop_feature; end
|
475
476
|
|
476
|
-
# source://rake//lib/rake/application.rb#
|
477
|
+
# source://rake//lib/rake/application.rb#650
|
477
478
|
def select_tasks_to_show(options, show_tasks, value); end
|
478
479
|
|
479
|
-
# source://rake//lib/rake/application.rb#
|
480
|
+
# source://rake//lib/rake/application.rb#657
|
480
481
|
def select_trace_output(options, trace_option, value); end
|
481
482
|
|
482
|
-
# source://rake//lib/rake/application.rb#
|
483
|
+
# source://rake//lib/rake/application.rb#423
|
483
484
|
def sort_options(options); end
|
484
485
|
|
485
|
-
# source://rake//lib/rake/application.rb#
|
486
|
+
# source://rake//lib/rake/application.rb#774
|
486
487
|
def standard_system_dir; end
|
487
488
|
end
|
488
489
|
|
@@ -492,7 +493,7 @@ Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
|
|
492
493
|
# source://rake//lib/rake/backtrace.rb#3
|
493
494
|
module Rake::Backtrace
|
494
495
|
class << self
|
495
|
-
# source://rake//lib/rake/backtrace.rb#
|
496
|
+
# source://rake//lib/rake/backtrace.rb#19
|
496
497
|
def collapse(backtrace); end
|
497
498
|
end
|
498
499
|
end
|
@@ -503,7 +504,7 @@ Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array)
|
|
503
504
|
# source://rake//lib/rake/backtrace.rb#12
|
504
505
|
Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String)
|
505
506
|
|
506
|
-
# source://rake//lib/rake/backtrace.rb#
|
507
|
+
# source://rake//lib/rake/backtrace.rb#17
|
507
508
|
Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp)
|
508
509
|
|
509
510
|
# source://rake//lib/rake/backtrace.rb#4
|
@@ -598,7 +599,7 @@ module Rake::DSL
|
|
598
599
|
# # ... run tests
|
599
600
|
# end
|
600
601
|
#
|
601
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
602
|
+
# source://rake//lib/rake/dsl_definition.rb#166
|
602
603
|
def desc(description); end
|
603
604
|
|
604
605
|
# Declare a set of files tasks to create the given directories on
|
@@ -646,7 +647,7 @@ module Rake::DSL
|
|
646
647
|
# Example:
|
647
648
|
# import ".depend", "my_rules"
|
648
649
|
#
|
649
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
650
|
+
# source://rake//lib/rake/dsl_definition.rb#184
|
650
651
|
def import(*fns); end
|
651
652
|
|
652
653
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -690,7 +691,7 @@ module Rake::DSL
|
|
690
691
|
# Example:
|
691
692
|
# multitask deploy: %w[deploy_gem deploy_rdoc]
|
692
693
|
#
|
693
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
694
|
+
# source://rake//lib/rake/dsl_definition.rb#113
|
694
695
|
def multitask(*args, &block); end
|
695
696
|
|
696
697
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -715,7 +716,7 @@ module Rake::DSL
|
|
715
716
|
# # ...
|
716
717
|
# end
|
717
718
|
#
|
718
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
719
|
+
# source://rake//lib/rake/dsl_definition.rb#136
|
719
720
|
def namespace(name = T.unsafe(nil), &block); end
|
720
721
|
|
721
722
|
# source://rake//lib/rake/file_utils_ext.rb#77
|
@@ -755,10 +756,10 @@ module Rake::DSL
|
|
755
756
|
#
|
756
757
|
# Example:
|
757
758
|
# rule '.o' => '.c' do |t|
|
758
|
-
# sh 'cc', '-o', t.name, t.source
|
759
|
+
# sh 'cc', '-c', '-o', t.name, t.source
|
759
760
|
# end
|
760
761
|
#
|
761
|
-
# source://rake//lib/rake/dsl_definition.rb#
|
762
|
+
# source://rake//lib/rake/dsl_definition.rb#152
|
762
763
|
def rule(*args, &block); end
|
763
764
|
|
764
765
|
# source://rake//lib/rake/file_utils.rb#110
|
@@ -3001,7 +3002,7 @@ end
|
|
3001
3002
|
# source://rake//lib/rake/win32.rb#11
|
3002
3003
|
class Rake::Win32::Win32HomeError < ::RuntimeError; end
|
3003
3004
|
|
3004
|
-
# source://rake//lib/rake.rb#
|
3005
|
+
# source://rake//lib/rake.rb#70
|
3005
3006
|
RakeFileUtils = Rake::FileUtilsExt
|
3006
3007
|
|
3007
3008
|
# source://rake//lib/rake/ext/string.rb#4
|