openfeature-sdk-sorbet 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +21 -2
- data/Gemfile +1 -1
- data/Gemfile.lock +55 -49
- data/README.md +23 -6
- data/lib/open_feature/client.rb +90 -32
- data/lib/open_feature/client_metadata.rb +1 -0
- data/lib/open_feature/evaluation_context.rb +6 -8
- data/lib/open_feature/evaluation_details.rb +2 -2
- data/lib/open_feature/hook.rb +41 -1
- data/lib/open_feature/hook_context.rb +30 -0
- data/lib/open_feature/hooks.rb +22 -0
- data/lib/open_feature/multiple_source_provider.rb +28 -12
- data/lib/open_feature/no_op_provider.rb +2 -3
- data/lib/open_feature/provider.rb +16 -2
- data/lib/open_feature/provider_status.rb +13 -0
- data/lib/open_feature.rb +9 -2
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +80 -60
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/{minitest@5.18.0.rbi → minitest@5.21.2.rbi} +299 -258
- data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.24.0.rbi} +8 -1
- data/sorbet/rbi/gems/{parser@3.2.2.1.rbi → parser@3.3.0.5.rbi} +438 -2219
- data/sorbet/rbi/gems/prism@0.19.0.rbi +25199 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1731 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +157 -0
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +68 -65
- data/sorbet/rbi/gems/{rbi@0.0.16.rbi → rbi@0.1.6.rbi} +628 -755
- data/sorbet/rbi/gems/{regexp_parser@2.8.0.rbi → regexp_parser@2.9.0.rbi} +203 -180
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +116 -52
- data/sorbet/rbi/gems/{rubocop-ast@1.28.1.rbi → rubocop-ast@1.30.0.rbi} +178 -84
- data/sorbet/rbi/gems/{rubocop-minitest@0.31.0.rbi → rubocop-minitest@0.34.5.rbi} +280 -232
- data/sorbet/rbi/gems/{rubocop-performance@1.17.1.rbi → rubocop-performance@1.20.2.rbi} +397 -172
- data/sorbet/rbi/gems/{rubocop-sorbet@0.7.0.rbi → rubocop-sorbet@0.7.6.rbi} +728 -261
- data/sorbet/rbi/gems/{rubocop@1.51.0.rbi → rubocop@1.60.2.rbi} +4006 -1936
- data/sorbet/rbi/gems/spoom@1.2.1.rbi +17 -56
- data/sorbet/rbi/gems/stringio@3.1.0.rbi +8 -0
- data/sorbet/rbi/gems/{tapioca@0.11.6.rbi → tapioca@0.12.0.rbi} +783 -578
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.0.rbi} +775 -395
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +1 -1
- data/sorbet/rbi/gems/yard@0.9.34.rbi +2 -2
- data/sorbet/rbi/gems/{zeitwerk@2.6.8.rbi → zeitwerk@2.6.12.rbi} +78 -67
- data/sorbet/tapioca/config.yml +2 -2
- data/sorbet/tapioca/require.rb +3 -1
- metadata +36 -31
- data/openfeature-sdk-sorbet.gemspec +0 -35
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
- data/sorbet/rbi/gems/irb@1.6.4.rbi +0 -342
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +0 -4524
- /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.3.rbi → reline@0.4.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.5.0.rbi} +0 -0
@@ -0,0 +1,157 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `racc` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem racc`.
|
6
|
+
|
7
|
+
# source://racc//lib/racc/parser.rb#23
|
8
|
+
ParseError = Racc::ParseError
|
9
|
+
|
10
|
+
# source://racc//lib/racc/info.rb#17
|
11
|
+
Racc::Copyright = T.let(T.unsafe(nil), String)
|
12
|
+
|
13
|
+
# source://racc//lib/racc/parser.rb#188
|
14
|
+
class Racc::Parser
|
15
|
+
# source://racc//lib/racc/parser.rb#283
|
16
|
+
def _racc_do_parse_rb(arg, in_debug); end
|
17
|
+
|
18
|
+
# source://racc//lib/racc/parser.rb#483
|
19
|
+
def _racc_do_reduce(arg, act); end
|
20
|
+
|
21
|
+
# common
|
22
|
+
#
|
23
|
+
# source://racc//lib/racc/parser.rb#386
|
24
|
+
def _racc_evalact(act, arg); end
|
25
|
+
|
26
|
+
# source://racc//lib/racc/parser.rb#236
|
27
|
+
def _racc_init_sysvars; end
|
28
|
+
|
29
|
+
# source://racc//lib/racc/parser.rb#224
|
30
|
+
def _racc_setup; end
|
31
|
+
|
32
|
+
# source://racc//lib/racc/parser.rb#333
|
33
|
+
def _racc_yyparse_rb(recv, mid, arg, c_debug); end
|
34
|
+
|
35
|
+
# source://racc//lib/racc/parser.rb#266
|
36
|
+
def do_parse; end
|
37
|
+
|
38
|
+
# The method to fetch next token.
|
39
|
+
# If you use #do_parse method, you must implement #next_token.
|
40
|
+
#
|
41
|
+
# The format of return value is [TOKEN_SYMBOL, VALUE].
|
42
|
+
# +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
|
43
|
+
# for 'IDENT'. ";" (String) for ';'.
|
44
|
+
#
|
45
|
+
# The final symbol (End of file) must be false.
|
46
|
+
#
|
47
|
+
# @raise [NotImplementedError]
|
48
|
+
#
|
49
|
+
# source://racc//lib/racc/parser.rb#279
|
50
|
+
def next_token; end
|
51
|
+
|
52
|
+
# This method is called when a parse error is found.
|
53
|
+
#
|
54
|
+
# ERROR_TOKEN_ID is an internal ID of token which caused error.
|
55
|
+
# You can get string representation of this ID by calling
|
56
|
+
# #token_to_str.
|
57
|
+
#
|
58
|
+
# ERROR_VALUE is a value of error token.
|
59
|
+
#
|
60
|
+
# value_stack is a stack of symbol values.
|
61
|
+
# DO NOT MODIFY this object.
|
62
|
+
#
|
63
|
+
# This method raises ParseError by default.
|
64
|
+
#
|
65
|
+
# If this method returns, parsers enter "error recovering mode".
|
66
|
+
#
|
67
|
+
# @raise [ParseError]
|
68
|
+
#
|
69
|
+
# source://racc//lib/racc/parser.rb#539
|
70
|
+
def on_error(t, val, vstack); end
|
71
|
+
|
72
|
+
# source://racc//lib/racc/parser.rb#588
|
73
|
+
def racc_accept; end
|
74
|
+
|
75
|
+
# source://racc//lib/racc/parser.rb#593
|
76
|
+
def racc_e_pop(state, tstack, vstack); end
|
77
|
+
|
78
|
+
# source://racc//lib/racc/parser.rb#600
|
79
|
+
def racc_next_state(curstate, state); end
|
80
|
+
|
81
|
+
# source://racc//lib/racc/parser.rb#606
|
82
|
+
def racc_print_stacks(t, v); end
|
83
|
+
|
84
|
+
# source://racc//lib/racc/parser.rb#615
|
85
|
+
def racc_print_states(s); end
|
86
|
+
|
87
|
+
# For debugging output
|
88
|
+
#
|
89
|
+
# source://racc//lib/racc/parser.rb#562
|
90
|
+
def racc_read_token(t, tok, val); end
|
91
|
+
|
92
|
+
# source://racc//lib/racc/parser.rb#575
|
93
|
+
def racc_reduce(toks, sim, tstack, vstack); end
|
94
|
+
|
95
|
+
# source://racc//lib/racc/parser.rb#569
|
96
|
+
def racc_shift(tok, tstack, vstack); end
|
97
|
+
|
98
|
+
# source://racc//lib/racc/parser.rb#622
|
99
|
+
def racc_token2str(tok); end
|
100
|
+
|
101
|
+
# Convert internal ID of token symbol to the string.
|
102
|
+
#
|
103
|
+
# source://racc//lib/racc/parser.rb#628
|
104
|
+
def token_to_str(t); end
|
105
|
+
|
106
|
+
# Exit parser.
|
107
|
+
# Return value is +Symbol_Value_Stack[0]+.
|
108
|
+
#
|
109
|
+
# source://racc//lib/racc/parser.rb#552
|
110
|
+
def yyaccept; end
|
111
|
+
|
112
|
+
# Leave error recovering mode.
|
113
|
+
#
|
114
|
+
# source://racc//lib/racc/parser.rb#557
|
115
|
+
def yyerrok; end
|
116
|
+
|
117
|
+
# Enter error recovering mode.
|
118
|
+
# This method does not call #on_error.
|
119
|
+
#
|
120
|
+
# source://racc//lib/racc/parser.rb#546
|
121
|
+
def yyerror; end
|
122
|
+
|
123
|
+
# source://racc//lib/racc/parser.rb#328
|
124
|
+
def yyparse(recv, mid); end
|
125
|
+
|
126
|
+
class << self
|
127
|
+
# source://racc//lib/racc/parser.rb#220
|
128
|
+
def racc_runtime_type; end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# source://racc//lib/racc/parser.rb#209
|
133
|
+
Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
|
134
|
+
|
135
|
+
# source://racc//lib/racc/parser.rb#211
|
136
|
+
Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
|
137
|
+
|
138
|
+
# source://racc//lib/racc/parser.rb#191
|
139
|
+
Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
|
140
|
+
|
141
|
+
# source://racc//lib/racc/parser.rb#212
|
142
|
+
Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
|
143
|
+
|
144
|
+
# source://racc//lib/racc/parser.rb#190
|
145
|
+
Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
|
146
|
+
|
147
|
+
# source://racc//lib/racc/parser.rb#210
|
148
|
+
Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
|
149
|
+
|
150
|
+
# source://racc//lib/racc/parser.rb#185
|
151
|
+
Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
|
152
|
+
|
153
|
+
# source://racc//lib/racc/info.rb#15
|
154
|
+
Racc::VERSION = T.let(T.unsafe(nil), String)
|
155
|
+
|
156
|
+
# source://racc//lib/racc/info.rb#16
|
157
|
+
Racc::Version = T.let(T.unsafe(nil), String)
|
@@ -22,13 +22,13 @@ module FileUtils
|
|
22
22
|
# Example:
|
23
23
|
# ruby %{-pe '$_.upcase!' <README}
|
24
24
|
#
|
25
|
-
# source://rake//lib/rake/file_utils.rb#
|
25
|
+
# source://rake//lib/rake/file_utils.rb#98
|
26
26
|
def ruby(*args, **options, &block); end
|
27
27
|
|
28
28
|
# Attempt to do a normal file link, but fall back to a copy if the link
|
29
29
|
# fails.
|
30
30
|
#
|
31
|
-
# source://rake//lib/rake/file_utils.rb#
|
31
|
+
# source://rake//lib/rake/file_utils.rb#110
|
32
32
|
def safe_ln(*args, **options); end
|
33
33
|
|
34
34
|
# Run the system command +cmd+. If multiple arguments are given the command
|
@@ -67,7 +67,7 @@ module FileUtils
|
|
67
67
|
# Example:
|
68
68
|
# split_all("a/b/c") => ['a', 'b', 'c']
|
69
69
|
#
|
70
|
-
# source://rake//lib/rake/file_utils.rb#
|
70
|
+
# source://rake//lib/rake/file_utils.rb#126
|
71
71
|
def split_all(path); end
|
72
72
|
|
73
73
|
private
|
@@ -75,14 +75,14 @@ module FileUtils
|
|
75
75
|
# source://rake//lib/rake/file_utils.rb#61
|
76
76
|
def create_shell_runner(cmd); end
|
77
77
|
|
78
|
-
# source://rake//lib/rake/file_utils.rb#
|
78
|
+
# source://rake//lib/rake/file_utils.rb#84
|
79
79
|
def set_verbose_option(options); end
|
80
80
|
|
81
|
-
# source://rake//lib/rake/file_utils.rb#
|
81
|
+
# source://rake//lib/rake/file_utils.rb#71
|
82
82
|
def sh_show_command(cmd); end
|
83
83
|
end
|
84
84
|
|
85
|
-
# source://rake//lib/rake/file_utils.rb#
|
85
|
+
# source://rake//lib/rake/file_utils.rb#106
|
86
86
|
FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
|
87
87
|
|
88
88
|
# Path to the currently running Ruby program
|
@@ -195,13 +195,13 @@ class Rake::Application
|
|
195
195
|
|
196
196
|
# Add a file to the list of files to be imported.
|
197
197
|
#
|
198
|
-
# source://rake//lib/rake/application.rb#
|
198
|
+
# source://rake//lib/rake/application.rb#801
|
199
199
|
def add_import(fn); end
|
200
200
|
|
201
201
|
# Add a loader to handle imported files ending in the extension
|
202
202
|
# +ext+.
|
203
203
|
#
|
204
|
-
# source://rake//lib/rake/application.rb#
|
204
|
+
# source://rake//lib/rake/application.rb#161
|
205
205
|
def add_loader(ext, loader); end
|
206
206
|
|
207
207
|
# Collect the list of tasks on the command line. If no tasks are
|
@@ -213,13 +213,13 @@ class Rake::Application
|
|
213
213
|
# recognised command-line options, which OptionParser.parse will
|
214
214
|
# have taken care of already.
|
215
215
|
#
|
216
|
-
# source://rake//lib/rake/application.rb#
|
216
|
+
# source://rake//lib/rake/application.rb#782
|
217
217
|
def collect_command_line_tasks(args); end
|
218
218
|
|
219
219
|
# Default task name ("default").
|
220
220
|
# (May be overridden by subclasses)
|
221
221
|
#
|
222
|
-
# source://rake//lib/rake/application.rb#
|
222
|
+
# source://rake//lib/rake/application.rb#796
|
223
223
|
def default_task_name; end
|
224
224
|
|
225
225
|
# Warn about deprecated usage.
|
@@ -227,75 +227,75 @@ class Rake::Application
|
|
227
227
|
# Example:
|
228
228
|
# Rake.application.deprecate("import", "Rake.import", caller.first)
|
229
229
|
#
|
230
|
-
# source://rake//lib/rake/application.rb#
|
230
|
+
# source://rake//lib/rake/application.rb#282
|
231
231
|
def deprecate(old_usage, new_usage, call_site); end
|
232
232
|
|
233
|
-
# source://rake//lib/rake/application.rb#
|
233
|
+
# source://rake//lib/rake/application.rb#244
|
234
234
|
def display_cause_details(ex); end
|
235
235
|
|
236
236
|
# Display the error message that caused the exception.
|
237
237
|
#
|
238
|
-
# source://rake//lib/rake/application.rb#
|
238
|
+
# source://rake//lib/rake/application.rb#228
|
239
239
|
def display_error_message(ex); end
|
240
240
|
|
241
|
-
# source://rake//lib/rake/application.rb#
|
241
|
+
# source://rake//lib/rake/application.rb#269
|
242
242
|
def display_exception_backtrace(ex); end
|
243
243
|
|
244
|
-
# source://rake//lib/rake/application.rb#
|
244
|
+
# source://rake//lib/rake/application.rb#236
|
245
245
|
def display_exception_details(ex); end
|
246
246
|
|
247
|
-
# source://rake//lib/rake/application.rb#
|
247
|
+
# source://rake//lib/rake/application.rb#251
|
248
248
|
def display_exception_details_seen; end
|
249
249
|
|
250
|
-
# source://rake//lib/rake/application.rb#
|
250
|
+
# source://rake//lib/rake/application.rb#259
|
251
251
|
def display_exception_message_details(ex); end
|
252
252
|
|
253
253
|
# Display the tasks and prerequisites
|
254
254
|
#
|
255
|
-
# source://rake//lib/rake/application.rb#
|
255
|
+
# source://rake//lib/rake/application.rb#405
|
256
256
|
def display_prerequisites; end
|
257
257
|
|
258
258
|
# Display the tasks and comments.
|
259
259
|
#
|
260
|
-
# source://rake//lib/rake/application.rb#
|
260
|
+
# source://rake//lib/rake/application.rb#322
|
261
261
|
def display_tasks_and_comments; end
|
262
262
|
|
263
263
|
# Calculate the dynamic width of the
|
264
264
|
#
|
265
|
-
# source://rake//lib/rake/application.rb#
|
265
|
+
# source://rake//lib/rake/application.rb#373
|
266
266
|
def dynamic_width; end
|
267
267
|
|
268
|
-
# source://rake//lib/rake/application.rb#
|
268
|
+
# source://rake//lib/rake/application.rb#377
|
269
269
|
def dynamic_width_stty; end
|
270
270
|
|
271
|
-
# source://rake//lib/rake/application.rb#
|
271
|
+
# source://rake//lib/rake/application.rb#381
|
272
272
|
def dynamic_width_tput; end
|
273
273
|
|
274
274
|
# Exit the program because of an unhandled exception.
|
275
275
|
# (may be overridden by subclasses)
|
276
276
|
#
|
277
|
-
# source://rake//lib/rake/application.rb#
|
277
|
+
# source://rake//lib/rake/application.rb#223
|
278
278
|
def exit_because_of_exception(ex); end
|
279
279
|
|
280
|
-
# source://rake//lib/rake/application.rb#
|
280
|
+
# source://rake//lib/rake/application.rb#702
|
281
281
|
def find_rakefile_location; end
|
282
282
|
|
283
283
|
# Read and handle the command line options. Returns the command line
|
284
284
|
# arguments that we didn't understand, which should (in theory) be just
|
285
285
|
# task names and env vars.
|
286
286
|
#
|
287
|
-
# source://rake//lib/rake/application.rb#
|
287
|
+
# source://rake//lib/rake/application.rb#668
|
288
288
|
def handle_options(argv); end
|
289
289
|
|
290
290
|
# @return [Boolean]
|
291
291
|
#
|
292
|
-
# source://rake//lib/rake/application.rb#
|
292
|
+
# source://rake//lib/rake/application.rb#255
|
293
293
|
def has_cause?(ex); end
|
294
294
|
|
295
295
|
# True if one of the files in RAKEFILES is in the current directory.
|
296
296
|
# If a match is found, it is copied into @rakefile.
|
297
297
|
#
|
298
|
-
# source://rake//lib/rake/application.rb#
|
298
|
+
# source://rake//lib/rake/application.rb#298
|
299
299
|
def have_rakefile; end
|
300
300
|
|
301
301
|
# Initialize the command line parameters and app name.
|
@@ -305,17 +305,17 @@ class Rake::Application
|
|
305
305
|
|
306
306
|
# Invokes a task with arguments that are extracted from +task_string+
|
307
307
|
#
|
308
|
-
# source://rake//lib/rake/application.rb#
|
308
|
+
# source://rake//lib/rake/application.rb#179
|
309
309
|
def invoke_task(task_string); end
|
310
310
|
|
311
311
|
# Load the pending list of imported files.
|
312
312
|
#
|
313
|
-
# source://rake//lib/rake/application.rb#
|
313
|
+
# source://rake//lib/rake/application.rb#806
|
314
314
|
def load_imports; end
|
315
315
|
|
316
316
|
# Find the rakefile and then load it and any pending imports.
|
317
317
|
#
|
318
|
-
# source://rake//lib/rake/application.rb#
|
318
|
+
# source://rake//lib/rake/application.rb#124
|
319
319
|
def load_rakefile; end
|
320
320
|
|
321
321
|
# The name of the application (typically 'rake')
|
@@ -325,7 +325,7 @@ class Rake::Application
|
|
325
325
|
|
326
326
|
# Application options from the command line
|
327
327
|
#
|
328
|
-
# source://rake//lib/rake/application.rb#
|
328
|
+
# source://rake//lib/rake/application.rb#167
|
329
329
|
def options; end
|
330
330
|
|
331
331
|
# The original directory where rake was invoked.
|
@@ -333,16 +333,16 @@ class Rake::Application
|
|
333
333
|
# source://rake//lib/rake/application.rb#27
|
334
334
|
def original_dir; end
|
335
335
|
|
336
|
-
# source://rake//lib/rake/application.rb#
|
336
|
+
# source://rake//lib/rake/application.rb#185
|
337
337
|
def parse_task_string(string); end
|
338
338
|
|
339
|
-
# source://rake//lib/rake/application.rb#
|
339
|
+
# source://rake//lib/rake/application.rb#714
|
340
340
|
def print_rakefile_directory(location); end
|
341
341
|
|
342
342
|
# Similar to the regular Ruby +require+ command, but will check
|
343
343
|
# for *.rake files in addition to *.rb files.
|
344
344
|
#
|
345
|
-
# source://rake//lib/rake/application.rb#
|
345
|
+
# source://rake//lib/rake/application.rb#688
|
346
346
|
def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
|
347
347
|
|
348
348
|
# Name of the actual rakefile used.
|
@@ -350,10 +350,10 @@ class Rake::Application
|
|
350
350
|
# source://rake//lib/rake/application.rb#30
|
351
351
|
def rakefile; end
|
352
352
|
|
353
|
-
# source://rake//lib/rake/application.rb#
|
353
|
+
# source://rake//lib/rake/application.rb#822
|
354
354
|
def rakefile_location(backtrace = T.unsafe(nil)); end
|
355
355
|
|
356
|
-
# source://rake//lib/rake/application.rb#
|
356
|
+
# source://rake//lib/rake/application.rb#719
|
357
357
|
def raw_load_rakefile; end
|
358
358
|
|
359
359
|
# Run the Rake application. The run method performs the following
|
@@ -372,26 +372,26 @@ class Rake::Application
|
|
372
372
|
|
373
373
|
# Run the given block with the thread startup and shutdown.
|
374
374
|
#
|
375
|
-
# source://rake//lib/rake/application.rb#
|
375
|
+
# source://rake//lib/rake/application.rb#144
|
376
376
|
def run_with_threads; end
|
377
377
|
|
378
|
-
# source://rake//lib/rake/application.rb#
|
378
|
+
# source://rake//lib/rake/application.rb#831
|
379
379
|
def set_default_options; end
|
380
380
|
|
381
381
|
# Provide standard exception handling for the given block.
|
382
382
|
#
|
383
|
-
# source://rake//lib/rake/application.rb#
|
383
|
+
# source://rake//lib/rake/application.rb#207
|
384
384
|
def standard_exception_handling; end
|
385
385
|
|
386
386
|
# A list of all the standard options used in rake, suitable for
|
387
387
|
# passing to OptionParser.
|
388
388
|
#
|
389
|
-
# source://rake//lib/rake/application.rb#
|
389
|
+
# source://rake//lib/rake/application.rb#426
|
390
390
|
def standard_rake_options; end
|
391
391
|
|
392
392
|
# The directory path containing the system wide rakefiles.
|
393
393
|
#
|
394
|
-
# source://rake//lib/rake/application.rb#
|
394
|
+
# source://rake//lib/rake/application.rb#751
|
395
395
|
def system_dir; end
|
396
396
|
|
397
397
|
# Number of columns on the terminal
|
@@ -404,17 +404,17 @@ class Rake::Application
|
|
404
404
|
# source://rake//lib/rake/application.rb#33
|
405
405
|
def terminal_columns=(_arg0); end
|
406
406
|
|
407
|
-
# source://rake//lib/rake/application.rb#
|
407
|
+
# source://rake//lib/rake/application.rb#361
|
408
408
|
def terminal_width; end
|
409
409
|
|
410
410
|
# Return the thread pool used for multithreaded processing.
|
411
411
|
#
|
412
|
-
# source://rake//lib/rake/application.rb#
|
412
|
+
# source://rake//lib/rake/application.rb#172
|
413
413
|
def thread_pool; end
|
414
414
|
|
415
415
|
# Run the top level tasks of a Rake application.
|
416
416
|
#
|
417
|
-
# source://rake//lib/rake/application.rb#
|
417
|
+
# source://rake//lib/rake/application.rb#131
|
418
418
|
def top_level; end
|
419
419
|
|
420
420
|
# List of the top level task names (task names from the command line).
|
@@ -422,10 +422,10 @@ class Rake::Application
|
|
422
422
|
# source://rake//lib/rake/application.rb#36
|
423
423
|
def top_level_tasks; end
|
424
424
|
|
425
|
-
# source://rake//lib/rake/application.rb#
|
425
|
+
# source://rake//lib/rake/application.rb#412
|
426
426
|
def trace(*strings); end
|
427
427
|
|
428
|
-
# source://rake//lib/rake/application.rb#
|
428
|
+
# source://rake//lib/rake/application.rb#394
|
429
429
|
def truncate(string, width); end
|
430
430
|
|
431
431
|
# We will truncate output if we are outputting to a TTY or if we've been
|
@@ -433,7 +433,7 @@ class Rake::Application
|
|
433
433
|
#
|
434
434
|
# @return [Boolean]
|
435
435
|
#
|
436
|
-
# source://rake//lib/rake/application.rb#
|
436
|
+
# source://rake//lib/rake/application.rb#317
|
437
437
|
def truncate_output?; end
|
438
438
|
|
439
439
|
# Override the detected TTY output state (mostly for testing)
|
@@ -445,41 +445,44 @@ class Rake::Application
|
|
445
445
|
#
|
446
446
|
# @return [Boolean]
|
447
447
|
#
|
448
|
-
# source://rake//lib/rake/application.rb#
|
448
|
+
# source://rake//lib/rake/application.rb#311
|
449
449
|
def tty_output?; end
|
450
450
|
|
451
451
|
# @return [Boolean]
|
452
452
|
#
|
453
|
-
# source://rake//lib/rake/application.rb#
|
453
|
+
# source://rake//lib/rake/application.rb#385
|
454
454
|
def unix?; end
|
455
455
|
|
456
456
|
# @return [Boolean]
|
457
457
|
#
|
458
|
-
# source://rake//lib/rake/application.rb#
|
458
|
+
# source://rake//lib/rake/application.rb#390
|
459
459
|
def windows?; end
|
460
460
|
|
461
461
|
private
|
462
462
|
|
463
|
-
# source://rake//lib/rake/application.rb#
|
463
|
+
# source://rake//lib/rake/application.rb#745
|
464
464
|
def glob(path, &block); end
|
465
465
|
|
466
466
|
# Does the exception have a task invocation chain?
|
467
467
|
#
|
468
468
|
# @return [Boolean]
|
469
469
|
#
|
470
|
-
# source://rake//lib/rake/application.rb#
|
470
|
+
# source://rake//lib/rake/application.rb#291
|
471
471
|
def has_chain?(exception); end
|
472
472
|
|
473
|
-
# source://rake//lib/rake/application.rb#
|
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
|
474
477
|
def select_tasks_to_show(options, show_tasks, value); end
|
475
478
|
|
476
|
-
# source://rake//lib/rake/application.rb#
|
479
|
+
# source://rake//lib/rake/application.rb#651
|
477
480
|
def select_trace_output(options, trace_option, value); end
|
478
481
|
|
479
|
-
# source://rake//lib/rake/application.rb#
|
482
|
+
# source://rake//lib/rake/application.rb#417
|
480
483
|
def sort_options(options); end
|
481
484
|
|
482
|
-
# source://rake//lib/rake/application.rb#
|
485
|
+
# source://rake//lib/rake/application.rb#768
|
483
486
|
def standard_system_dir; end
|
484
487
|
end
|
485
488
|
|
@@ -591,7 +594,7 @@ module Rake::DSL
|
|
591
594
|
#
|
592
595
|
# Example:
|
593
596
|
# desc "Run the Unit Tests"
|
594
|
-
# task test: [:build]
|
597
|
+
# task test: [:build] do
|
595
598
|
# # ... run tests
|
596
599
|
# end
|
597
600
|
#
|
@@ -745,7 +748,7 @@ module Rake::DSL
|
|
745
748
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
746
749
|
def rmtree(*args, **options, &block); end
|
747
750
|
|
748
|
-
# source://rake//lib/rake/file_utils.rb#
|
751
|
+
# source://rake//lib/rake/file_utils.rb#98
|
749
752
|
def ruby(*args, **options, &block); end
|
750
753
|
|
751
754
|
# Declare a rule for auto-tasks.
|
@@ -758,7 +761,7 @@ module Rake::DSL
|
|
758
761
|
# source://rake//lib/rake/dsl_definition.rb#151
|
759
762
|
def rule(*args, &block); end
|
760
763
|
|
761
|
-
# source://rake//lib/rake/file_utils.rb#
|
764
|
+
# source://rake//lib/rake/file_utils.rb#110
|
762
765
|
def safe_ln(*args, **options); end
|
763
766
|
|
764
767
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -767,7 +770,7 @@ module Rake::DSL
|
|
767
770
|
# source://rake//lib/rake/file_utils.rb#43
|
768
771
|
def sh(*cmd, &block); end
|
769
772
|
|
770
|
-
# source://rake//lib/rake/file_utils.rb#
|
773
|
+
# source://rake//lib/rake/file_utils.rb#126
|
771
774
|
def split_all(path); end
|
772
775
|
|
773
776
|
# source://rake//lib/rake/file_utils_ext.rb#34
|
@@ -1580,7 +1583,7 @@ class Rake::FileTask < ::Rake::Task
|
|
1580
1583
|
|
1581
1584
|
# Time stamp for file task.
|
1582
1585
|
#
|
1583
|
-
# source://rake//lib/rake/file_task.rb#
|
1586
|
+
# source://rake//lib/rake/file_task.rb#25
|
1584
1587
|
def timestamp; end
|
1585
1588
|
|
1586
1589
|
private
|
@@ -1589,14 +1592,14 @@ class Rake::FileTask < ::Rake::Task
|
|
1589
1592
|
#
|
1590
1593
|
# @return [Boolean]
|
1591
1594
|
#
|
1592
|
-
# source://rake//lib/rake/file_task.rb#
|
1595
|
+
# source://rake//lib/rake/file_task.rb#36
|
1593
1596
|
def out_of_date?(stamp); end
|
1594
1597
|
|
1595
1598
|
class << self
|
1596
1599
|
# Apply the scope to the task name according to the rules for this kind
|
1597
1600
|
# of task. File based tasks ignore the scope when creating the name.
|
1598
1601
|
#
|
1599
|
-
# source://rake//lib/rake/file_task.rb#
|
1602
|
+
# source://rake//lib/rake/file_task.rb#53
|
1600
1603
|
def scope_name(scope, task_name); end
|
1601
1604
|
end
|
1602
1605
|
end
|
@@ -2854,14 +2857,14 @@ class Rake::ThreadHistoryDisplay
|
|
2854
2857
|
def threads; end
|
2855
2858
|
end
|
2856
2859
|
|
2857
|
-
# source://rake//lib/rake/thread_pool.rb#
|
2860
|
+
# source://rake//lib/rake/thread_pool.rb#8
|
2858
2861
|
class Rake::ThreadPool
|
2859
2862
|
# Creates a ThreadPool object. The +thread_count+ parameter is the size
|
2860
2863
|
# of the pool.
|
2861
2864
|
#
|
2862
2865
|
# @return [ThreadPool] a new instance of ThreadPool
|
2863
2866
|
#
|
2864
|
-
# source://rake//lib/rake/thread_pool.rb#
|
2867
|
+
# source://rake//lib/rake/thread_pool.rb#12
|
2865
2868
|
def initialize(thread_count); end
|
2866
2869
|
|
2867
2870
|
# Creates a future executed by the +ThreadPool+.
|