workos 4.1.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +37 -0
  3. data/.github/workflows/release.yml +43 -0
  4. data/.rubocop.yml +8 -1
  5. data/Gemfile.lock +22 -69
  6. data/lib/workos/audit_log_export.rb +8 -31
  7. data/lib/workos/audit_logs.rb +0 -26
  8. data/lib/workos/authentication_factor_and_challenge.rb +0 -3
  9. data/lib/workos/authentication_response.rb +3 -6
  10. data/lib/workos/challenge.rb +9 -28
  11. data/lib/workos/client.rb +0 -41
  12. data/lib/workos/configuration.rb +0 -1
  13. data/lib/workos/connection.rb +11 -35
  14. data/lib/workos/directory.rb +10 -37
  15. data/lib/workos/directory_group.rb +9 -36
  16. data/lib/workos/directory_sync.rb +0 -21
  17. data/lib/workos/directory_user.rb +17 -51
  18. data/lib/workos/errors.rb +0 -16
  19. data/lib/workos/event.rb +5 -26
  20. data/lib/workos/events.rb +0 -7
  21. data/lib/workos/factor.rb +9 -28
  22. data/lib/workos/hash_provider.rb +0 -1
  23. data/lib/workos/impersonator.rb +0 -3
  24. data/lib/workos/invitation.rb +12 -37
  25. data/lib/workos/mfa.rb +0 -42
  26. data/lib/workos/organization.rb +8 -31
  27. data/lib/workos/organization_membership.rb +8 -27
  28. data/lib/workos/organizations.rb +0 -26
  29. data/lib/workos/passwordless.rb +0 -14
  30. data/lib/workos/portal.rb +1 -13
  31. data/lib/workos/profile.rb +12 -39
  32. data/lib/workos/profile_and_token.rb +1 -4
  33. data/lib/workos/refresh_authentication_response.rb +2 -5
  34. data/lib/workos/sso.rb +1 -43
  35. data/lib/workos/types/intent.rb +16 -0
  36. data/lib/workos/types/list_struct.rb +8 -5
  37. data/lib/workos/types/passwordless_session_struct.rb +10 -9
  38. data/lib/workos/types/provider.rb +15 -0
  39. data/lib/workos/types.rb +5 -23
  40. data/lib/workos/user.rb +10 -31
  41. data/lib/workos/user_and_token.rb +1 -4
  42. data/lib/workos/user_management.rb +36 -244
  43. data/lib/workos/user_response.rb +0 -3
  44. data/lib/workos/verify_challenge.rb +4 -18
  45. data/lib/workos/version.rb +1 -2
  46. data/lib/workos/webhook.rb +5 -26
  47. data/lib/workos/webhooks.rb +1 -38
  48. data/lib/workos.rb +0 -2
  49. data/spec/lib/workos/audit_logs_spec.rb +2 -3
  50. data/spec/lib/workos/configuration_spec.rb +0 -1
  51. data/spec/lib/workos/directory_sync_spec.rb +0 -1
  52. data/spec/lib/workos/directory_user_spec.rb +0 -1
  53. data/spec/lib/workos/event_spec.rb +0 -1
  54. data/spec/lib/workos/mfa_spec.rb +0 -1
  55. data/spec/lib/workos/organizations_spec.rb +0 -1
  56. data/spec/lib/workos/passwordless_spec.rb +0 -1
  57. data/spec/lib/workos/portal_spec.rb +0 -1
  58. data/spec/lib/workos/sso_spec.rb +0 -1
  59. data/spec/lib/workos/user_management_spec.rb +29 -1
  60. data/spec/lib/workos/webhooks_spec.rb +0 -1
  61. data/spec/spec_helper.rb +0 -9
  62. data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/not_found.yml +80 -0
  63. data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/valid.yml +76 -0
  64. data/spec/support/shared_examples/client_spec.rb +0 -1
  65. data/workos.gemspec +1 -6
  66. metadata +15 -129
  67. data/.semaphore/rubygems.yml +0 -24
  68. data/.semaphore/semaphore.yml +0 -51
  69. data/bin/tapioca +0 -29
  70. data/codecov.yml +0 -12
  71. data/devbox.json +0 -18
  72. data/devbox.lock +0 -11
  73. data/lib/workos/types/audit_log_export_struct.rb +0 -17
  74. data/lib/workos/types/challenge_struct.rb +0 -18
  75. data/lib/workos/types/connection_struct.rb +0 -20
  76. data/lib/workos/types/directory_group_struct.rb +0 -19
  77. data/lib/workos/types/directory_struct.rb +0 -19
  78. data/lib/workos/types/directory_user_struct.rb +0 -26
  79. data/lib/workos/types/event_struct.rb +0 -15
  80. data/lib/workos/types/factor_struct.rb +0 -18
  81. data/lib/workos/types/intent_enum.rb +0 -17
  82. data/lib/workos/types/invitation_struct.rb +0 -20
  83. data/lib/workos/types/magic_auth_challenge_struct.rb +0 -12
  84. data/lib/workos/types/organization_membership_struct.rb +0 -16
  85. data/lib/workos/types/organization_struct.rb +0 -17
  86. data/lib/workos/types/profile_struct.rb +0 -21
  87. data/lib/workos/types/provider_enum.rb +0 -16
  88. data/lib/workos/types/user_struct.rb +0 -18
  89. data/lib/workos/types/verify_challenge_struct.rb +0 -13
  90. data/lib/workos/types/webhook_struct.rb +0 -15
  91. data/sorbet/config +0 -2
  92. data/sorbet/rbi/gems/addressable@2.8.0.rbi +0 -290
  93. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  94. data/sorbet/rbi/gems/codecov@0.2.12.rbi +0 -55
  95. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  96. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -57
  97. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  98. data/sorbet/rbi/gems/docile@1.3.5.rbi +0 -54
  99. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -82
  100. data/sorbet/rbi/gems/json@2.5.1.rbi +0 -109
  101. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  102. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  103. data/sorbet/rbi/gems/parser@3.0.1.0.rbi +0 -1187
  104. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -8
  105. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +0 -146
  106. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  107. data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -807
  108. data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -2118
  109. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1117
  110. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -709
  111. data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +0 -2467
  112. data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +0 -1569
  113. data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +0 -1493
  114. data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +0 -511
  115. data/sorbet/rbi/gems/rspec@3.9.0.rbi +0 -38
  116. data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -1881
  117. data/sorbet/rbi/gems/rubocop@0.93.1.rbi +0 -11497
  118. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  119. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  120. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  121. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +0 -8
  122. data/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -1549
  123. data/sorbet/rbi/gems/tapioca@0.7.3.rbi +0 -1718
  124. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -844
  125. data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +0 -22
  126. data/sorbet/rbi/gems/unparser@0.6.2.rbi +0 -8
  127. data/sorbet/rbi/gems/vcr@5.0.0.rbi +0 -699
  128. data/sorbet/rbi/gems/webmock@3.12.2.rbi +0 -662
  129. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +0 -268
  130. data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -4048
  131. data/sorbet/tapioca/config.yml +0 -13
  132. data/sorbet/tapioca/require.rb +0 -4
@@ -1,807 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `rake` gem.
5
- # Please instead update this file by running `bin/tapioca gem rake`.
6
-
7
- FileList = Rake::FileList
8
-
9
- module FileUtils
10
- include ::FileUtils::StreamUtils_
11
- extend ::FileUtils::StreamUtils_
12
-
13
- def ruby(*args, **options, &block); end
14
- def safe_ln(*args, **options); end
15
- def sh(*cmd, &block); end
16
- def split_all(path); end
17
-
18
- private
19
-
20
- def create_shell_runner(cmd); end
21
- def set_verbose_option(options); end
22
- def sh_show_command(cmd); end
23
- end
24
-
25
- FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
26
- FileUtils::RUBY = T.let(T.unsafe(nil), String)
27
-
28
- class Module
29
- def rake_extension(method); end
30
- end
31
-
32
- module Rake
33
- extend ::FileUtils::StreamUtils_
34
- extend ::FileUtils
35
- extend ::Rake::FileUtilsExt
36
-
37
- class << self
38
- def add_rakelib(*files); end
39
- def application; end
40
- def application=(app); end
41
- def each_dir_parent(dir); end
42
- def from_pathname(path); end
43
- def load_rakefile(path); end
44
- def original_dir; end
45
- def suggested_thread_count; end
46
- def with_application(block_application = T.unsafe(nil)); end
47
- end
48
- end
49
-
50
- class Rake::Application
51
- include ::Rake::TaskManager
52
- include ::Rake::TraceOutput
53
-
54
- def initialize; end
55
-
56
- def add_import(fn); end
57
- def add_loader(ext, loader); end
58
- def collect_command_line_tasks(args); end
59
- def default_task_name; end
60
- def deprecate(old_usage, new_usage, call_site); end
61
- def display_cause_details(ex); end
62
- def display_error_message(ex); end
63
- def display_exception_backtrace(ex); end
64
- def display_exception_details(ex); end
65
- def display_exception_details_seen; end
66
- def display_exception_message_details(ex); end
67
- def display_prerequisites; end
68
- def display_tasks_and_comments; end
69
- def dynamic_width; end
70
- def dynamic_width_stty; end
71
- def dynamic_width_tput; end
72
- def exit_because_of_exception(ex); end
73
- def find_rakefile_location; end
74
- def handle_options(argv); end
75
- def has_cause?(ex); end
76
- def have_rakefile; end
77
- def init(app_name = T.unsafe(nil), argv = T.unsafe(nil)); end
78
- def invoke_task(task_string); end
79
- def load_imports; end
80
- def load_rakefile; end
81
- def name; end
82
- def options; end
83
- def original_dir; end
84
- def parse_task_string(string); end
85
- def print_rakefile_directory(location); end
86
- def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
87
- def rakefile; end
88
- def rakefile_location(backtrace = T.unsafe(nil)); end
89
- def raw_load_rakefile; end
90
- def run(argv = T.unsafe(nil)); end
91
- def run_with_threads; end
92
- def set_default_options; end
93
- def standard_exception_handling; end
94
- def standard_rake_options; end
95
- def system_dir; end
96
- def terminal_columns; end
97
- def terminal_columns=(_arg0); end
98
- def terminal_width; end
99
- def thread_pool; end
100
- def top_level; end
101
- def top_level_tasks; end
102
- def trace(*strings); end
103
- def truncate(string, width); end
104
- def truncate_output?; end
105
- def tty_output=(_arg0); end
106
- def tty_output?; end
107
- def unix?; end
108
- def windows?; end
109
-
110
- private
111
-
112
- def glob(path, &block); end
113
- def has_chain?(exception); end
114
- def select_tasks_to_show(options, show_tasks, value); end
115
- def select_trace_output(options, trace_option, value); end
116
- def sort_options(options); end
117
- def standard_system_dir; end
118
- end
119
-
120
- Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
121
-
122
- module Rake::Backtrace
123
- class << self
124
- def collapse(backtrace); end
125
- end
126
- end
127
-
128
- Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array)
129
- Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String)
130
- Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp)
131
- Rake::Backtrace::SYS_KEYS = T.let(T.unsafe(nil), Array)
132
- Rake::Backtrace::SYS_PATHS = T.let(T.unsafe(nil), Array)
133
-
134
- module Rake::Cloneable
135
- private
136
-
137
- def initialize_copy(source); end
138
- end
139
-
140
- class Rake::CommandLineOptionError < ::StandardError; end
141
-
142
- class Rake::CpuCounter
143
- def count; end
144
- def count_with_default(default = T.unsafe(nil)); end
145
-
146
- class << self
147
- def count; end
148
- end
149
- end
150
-
151
- module Rake::DSL
152
- include ::FileUtils::StreamUtils_
153
- include ::FileUtils
154
- include ::Rake::FileUtilsExt
155
-
156
- private
157
-
158
- def desc(description); end
159
- def directory(*args, &block); end
160
- def file(*args, &block); end
161
- def file_create(*args, &block); end
162
- def import(*fns); end
163
- def multitask(*args, &block); end
164
- def namespace(name = T.unsafe(nil), &block); end
165
- def rule(*args, &block); end
166
- def task(*args, &block); end
167
- end
168
-
169
- class Rake::DefaultLoader
170
- def load(fn); end
171
- end
172
-
173
- Rake::EARLY = T.let(T.unsafe(nil), Rake::EarlyTime)
174
- Rake::EMPTY_TASK_ARGS = T.let(T.unsafe(nil), Rake::TaskArguments)
175
-
176
- class Rake::EarlyTime
177
- include ::Comparable
178
- include ::Singleton
179
- extend ::Singleton::SingletonClassMethods
180
-
181
- def <=>(other); end
182
- def to_s; end
183
- end
184
-
185
- class Rake::FileCreationTask < ::Rake::FileTask
186
- def needed?; end
187
- def timestamp; end
188
- end
189
-
190
- class Rake::FileList
191
- include ::Rake::Cloneable
192
-
193
- def initialize(*patterns); end
194
-
195
- def &(*args, &block); end
196
- def *(other); end
197
- def +(*args, &block); end
198
- def -(*args, &block); end
199
- def <<(obj); end
200
- def <=>(*args, &block); end
201
- def ==(array); end
202
- def [](*args, &block); end
203
- def []=(*args, &block); end
204
- def add(*filenames); end
205
- def all?(*args, &block); end
206
- def any?(*args, &block); end
207
- def append(*args, &block); end
208
- def assoc(*args, &block); end
209
- def at(*args, &block); end
210
- def bsearch(*args, &block); end
211
- def bsearch_index(*args, &block); end
212
- def chain(*args, &block); end
213
- def chunk(*args, &block); end
214
- def chunk_while(*args, &block); end
215
- def clear(*args, &block); end
216
- def clear_exclude; end
217
- def collect(*args, &block); end
218
- def collect!(*args, &block); end
219
- def collect_concat(*args, &block); end
220
- def combination(*args, &block); end
221
- def compact(*args, &block); end
222
- def compact!(*args, &block); end
223
- def concat(*args, &block); end
224
- def count(*args, &block); end
225
- def cycle(*args, &block); end
226
- def deconstruct(*args, &block); end
227
- def delete(*args, &block); end
228
- def delete_at(*args, &block); end
229
- def delete_if(*args, &block); end
230
- def detect(*args, &block); end
231
- def difference(*args, &block); end
232
- def dig(*args, &block); end
233
- def drop(*args, &block); end
234
- def drop_while(*args, &block); end
235
- def each(*args, &block); end
236
- def each_cons(*args, &block); end
237
- def each_entry(*args, &block); end
238
- def each_index(*args, &block); end
239
- def each_slice(*args, &block); end
240
- def each_with_index(*args, &block); end
241
- def each_with_object(*args, &block); end
242
- def egrep(pattern, *options); end
243
- def empty?(*args, &block); end
244
- def entries(*args, &block); end
245
- def exclude(*patterns, &block); end
246
- def excluded_from_list?(fn); end
247
- def existing; end
248
- def existing!; end
249
- def ext(newext = T.unsafe(nil)); end
250
- def fetch(*args, &block); end
251
- def fill(*args, &block); end
252
- def filter(*args, &block); end
253
- def filter!(*args, &block); end
254
- def filter_map(*args, &block); end
255
- def find(*args, &block); end
256
- def find_all(*args, &block); end
257
- def find_index(*args, &block); end
258
- def first(*args, &block); end
259
- def flat_map(*args, &block); end
260
- def flatten(*args, &block); end
261
- def flatten!(*args, &block); end
262
- def grep(*args, &block); end
263
- def grep_v(*args, &block); end
264
- def group_by(*args, &block); end
265
- def gsub(pat, rep); end
266
- def gsub!(pat, rep); end
267
- def import(array); end
268
- def include(*filenames); end
269
- def include?(*args, &block); end
270
- def index(*args, &block); end
271
- def inject(*args, &block); end
272
- def insert(*args, &block); end
273
- def inspect(*args, &block); end
274
- def intersect?(*args, &block); end
275
- def intersection(*args, &block); end
276
- def is_a?(klass); end
277
- def join(*args, &block); end
278
- def keep_if(*args, &block); end
279
- def kind_of?(klass); end
280
- def last(*args, &block); end
281
- def lazy(*args, &block); end
282
- def length(*args, &block); end
283
- def map(*args, &block); end
284
- def map!(*args, &block); end
285
- def max(*args, &block); end
286
- def max_by(*args, &block); end
287
- def member?(*args, &block); end
288
- def min(*args, &block); end
289
- def min_by(*args, &block); end
290
- def minmax(*args, &block); end
291
- def minmax_by(*args, &block); end
292
- def none?(*args, &block); end
293
- def one?(*args, &block); end
294
- def pack(*args, &block); end
295
- def partition(&block); end
296
- def pathmap(spec = T.unsafe(nil), &block); end
297
- def permutation(*args, &block); end
298
- def place(*args, &block); end
299
- def pop(*args, &block); end
300
- def prepend(*args, &block); end
301
- def product(*args, &block); end
302
- def push(*args, &block); end
303
- def rassoc(*args, &block); end
304
- def reduce(*args, &block); end
305
- def reject(*args, &block); end
306
- def reject!(*args, &block); end
307
- def repeated_combination(*args, &block); end
308
- def repeated_permutation(*args, &block); end
309
- def replace(*args, &block); end
310
- def resolve; end
311
- def reverse(*args, &block); end
312
- def reverse!(*args, &block); end
313
- def reverse_each(*args, &block); end
314
- def rindex(*args, &block); end
315
- def rotate(*args, &block); end
316
- def rotate!(*args, &block); end
317
- def sample(*args, &block); end
318
- def select(*args, &block); end
319
- def select!(*args, &block); end
320
- def shelljoin(*args, &block); end
321
- def shift(*args, &block); end
322
- def shuffle(*args, &block); end
323
- def shuffle!(*args, &block); end
324
- def size(*args, &block); end
325
- def slice(*args, &block); end
326
- def slice!(*args, &block); end
327
- def slice_after(*args, &block); end
328
- def slice_before(*args, &block); end
329
- def slice_when(*args, &block); end
330
- def sort(*args, &block); end
331
- def sort!(*args, &block); end
332
- def sort_by(*args, &block); end
333
- def sort_by!(*args, &block); end
334
- def sub(pat, rep); end
335
- def sub!(pat, rep); end
336
- def sum(*args, &block); end
337
- def take(*args, &block); end
338
- def take_while(*args, &block); end
339
- def tally(*args, &block); end
340
- def to_a; end
341
- def to_ary; end
342
- def to_h(*args, &block); end
343
- def to_s; end
344
- def to_set(*args, &block); end
345
- def transpose(*args, &block); end
346
- def union(*args, &block); end
347
- def uniq(*args, &block); end
348
- def uniq!(*args, &block); end
349
- def unshift(*args, &block); end
350
- def values_at(*args, &block); end
351
- def zip(*args, &block); end
352
- def |(*args, &block); end
353
-
354
- private
355
-
356
- def add_matching(pattern); end
357
- def resolve_add(fn); end
358
- def resolve_exclude; end
359
-
360
- class << self
361
- def [](*args); end
362
- def glob(pattern, *args); end
363
- end
364
- end
365
-
366
- Rake::FileList::ARRAY_METHODS = T.let(T.unsafe(nil), Array)
367
- Rake::FileList::DEFAULT_IGNORE_PATTERNS = T.let(T.unsafe(nil), Array)
368
- Rake::FileList::DEFAULT_IGNORE_PROCS = T.let(T.unsafe(nil), Array)
369
- Rake::FileList::DELEGATING_METHODS = T.let(T.unsafe(nil), Array)
370
- Rake::FileList::GLOB_PATTERN = T.let(T.unsafe(nil), Regexp)
371
- Rake::FileList::MUST_DEFINE = T.let(T.unsafe(nil), Array)
372
- Rake::FileList::MUST_NOT_DEFINE = T.let(T.unsafe(nil), Array)
373
- Rake::FileList::SPECIAL_RETURN = T.let(T.unsafe(nil), Array)
374
-
375
- class Rake::FileTask < ::Rake::Task
376
- def needed?; end
377
- def timestamp; end
378
-
379
- private
380
-
381
- def out_of_date?(stamp); end
382
-
383
- class << self
384
- def scope_name(scope, task_name); end
385
- end
386
- end
387
-
388
- module Rake::FileUtilsExt
389
- include ::FileUtils::StreamUtils_
390
- include ::FileUtils
391
- extend ::FileUtils::StreamUtils_
392
- extend ::FileUtils
393
- extend ::Rake::FileUtilsExt
394
-
395
- def cd(*args, **options, &block); end
396
- def chdir(*args, **options, &block); end
397
- def chmod(*args, **options, &block); end
398
- def chmod_R(*args, **options, &block); end
399
- def chown(*args, **options, &block); end
400
- def chown_R(*args, **options, &block); end
401
- def copy(*args, **options, &block); end
402
- def cp(*args, **options, &block); end
403
- def cp_lr(*args, **options, &block); end
404
- def cp_r(*args, **options, &block); end
405
- def install(*args, **options, &block); end
406
- def link(*args, **options, &block); end
407
- def ln(*args, **options, &block); end
408
- def ln_s(*args, **options, &block); end
409
- def ln_sf(*args, **options, &block); end
410
- def makedirs(*args, **options, &block); end
411
- def mkdir(*args, **options, &block); end
412
- def mkdir_p(*args, **options, &block); end
413
- def mkpath(*args, **options, &block); end
414
- def move(*args, **options, &block); end
415
- def mv(*args, **options, &block); end
416
- def nowrite(value = T.unsafe(nil)); end
417
- def rake_check_options(options, *optdecl); end
418
- def rake_output_message(message); end
419
- def remove(*args, **options, &block); end
420
- def rm(*args, **options, &block); end
421
- def rm_f(*args, **options, &block); end
422
- def rm_r(*args, **options, &block); end
423
- def rm_rf(*args, **options, &block); end
424
- def rmdir(*args, **options, &block); end
425
- def rmtree(*args, **options, &block); end
426
- def safe_unlink(*args, **options, &block); end
427
- def symlink(*args, **options, &block); end
428
- def touch(*args, **options, &block); end
429
- def verbose(value = T.unsafe(nil)); end
430
- def when_writing(msg = T.unsafe(nil)); end
431
-
432
- class << self
433
- def nowrite_flag; end
434
- def nowrite_flag=(_arg0); end
435
- def verbose_flag; end
436
- def verbose_flag=(_arg0); end
437
- end
438
- end
439
-
440
- Rake::FileUtilsExt::DEFAULT = T.let(T.unsafe(nil), Object)
441
-
442
- class Rake::InvocationChain < ::Rake::LinkedList
443
- def append(invocation); end
444
- def member?(invocation); end
445
- def to_s; end
446
-
447
- private
448
-
449
- def prefix; end
450
-
451
- class << self
452
- def append(invocation, chain); end
453
- end
454
- end
455
-
456
- Rake::InvocationChain::EMPTY = T.let(T.unsafe(nil), Rake::InvocationChain::EmptyInvocationChain)
457
-
458
- class Rake::InvocationChain::EmptyInvocationChain < ::Rake::LinkedList::EmptyLinkedList
459
- def append(invocation); end
460
- def member?(obj); end
461
- def to_s; end
462
- end
463
-
464
- module Rake::InvocationExceptionMixin
465
- def chain; end
466
- def chain=(value); end
467
- end
468
-
469
- Rake::LATE = T.let(T.unsafe(nil), Rake::LateTime)
470
-
471
- class Rake::LateTime
472
- include ::Comparable
473
- include ::Singleton
474
- extend ::Singleton::SingletonClassMethods
475
-
476
- def <=>(other); end
477
- def to_s; end
478
- end
479
-
480
- class Rake::LinkedList
481
- include ::Enumerable
482
-
483
- def initialize(head, tail = T.unsafe(nil)); end
484
-
485
- def ==(other); end
486
- def conj(item); end
487
- def each; end
488
- def empty?; end
489
- def head; end
490
- def inspect; end
491
- def tail; end
492
- def to_s; end
493
-
494
- class << self
495
- def cons(head, tail); end
496
- def empty; end
497
- def make(*args); end
498
- end
499
- end
500
-
501
- Rake::LinkedList::EMPTY = T.let(T.unsafe(nil), Rake::LinkedList::EmptyLinkedList)
502
-
503
- class Rake::LinkedList::EmptyLinkedList < ::Rake::LinkedList
504
- def initialize; end
505
-
506
- def empty?; end
507
-
508
- class << self
509
- def cons(head, tail); end
510
- end
511
- end
512
-
513
- class Rake::MultiTask < ::Rake::Task
514
- private
515
-
516
- def invoke_prerequisites(task_args, invocation_chain); end
517
- end
518
-
519
- class Rake::NameSpace
520
- def initialize(task_manager, scope_list); end
521
-
522
- def [](name); end
523
- def scope; end
524
- def tasks; end
525
- end
526
-
527
- module Rake::PrivateReader
528
- mixes_in_class_methods ::Rake::PrivateReader::ClassMethods
529
-
530
- class << self
531
- def included(base); end
532
- end
533
- end
534
-
535
- module Rake::PrivateReader::ClassMethods
536
- def private_reader(*names); end
537
- end
538
-
539
- class Rake::Promise
540
- def initialize(args, &block); end
541
-
542
- def recorder; end
543
- def recorder=(_arg0); end
544
- def value; end
545
- def work; end
546
-
547
- private
548
-
549
- def chore; end
550
- def complete?; end
551
- def discard; end
552
- def error?; end
553
- def result?; end
554
- def stat(*args); end
555
- end
556
-
557
- Rake::Promise::NOT_SET = T.let(T.unsafe(nil), Object)
558
-
559
- class Rake::PseudoStatus
560
- def initialize(code = T.unsafe(nil)); end
561
-
562
- def >>(n); end
563
- def exited?; end
564
- def exitstatus; end
565
- def stopped?; end
566
- def to_i; end
567
- end
568
-
569
- Rake::RDocTask = RDoc::Task
570
-
571
- class Rake::RuleRecursionOverflowError < ::StandardError
572
- def initialize(*args); end
573
-
574
- def add_target(target); end
575
- def message; end
576
- end
577
-
578
- class Rake::Scope < ::Rake::LinkedList
579
- def path; end
580
- def path_with_task_name(task_name); end
581
- def trim(n); end
582
- end
583
-
584
- Rake::Scope::EMPTY = T.let(T.unsafe(nil), Rake::Scope::EmptyScope)
585
-
586
- class Rake::Scope::EmptyScope < ::Rake::LinkedList::EmptyLinkedList
587
- def path; end
588
- def path_with_task_name(task_name); end
589
- end
590
-
591
- class Rake::Task
592
- def initialize(task_name, app); end
593
-
594
- def actions; end
595
- def add_description(description); end
596
- def all_prerequisite_tasks; end
597
- def already_invoked; end
598
- def application; end
599
- def application=(_arg0); end
600
- def arg_description; end
601
- def arg_names; end
602
- def clear; end
603
- def clear_actions; end
604
- def clear_args; end
605
- def clear_comments; end
606
- def clear_prerequisites; end
607
- def comment; end
608
- def comment=(comment); end
609
- def enhance(deps = T.unsafe(nil), &block); end
610
- def execute(args = T.unsafe(nil)); end
611
- def full_comment; end
612
- def inspect; end
613
- def investigation; end
614
- def invoke(*args); end
615
- def invoke_prerequisites(task_args, invocation_chain); end
616
- def invoke_prerequisites_concurrently(task_args, invocation_chain); end
617
- def locations; end
618
- def name; end
619
- def name_with_args; end
620
- def needed?; end
621
- def order_only_prerequisites; end
622
- def prereqs; end
623
- def prerequisite_tasks; end
624
- def prerequisites; end
625
- def reenable; end
626
- def scope; end
627
- def set_arg_names(args); end
628
- def source; end
629
- def sources; end
630
- def sources=(_arg0); end
631
- def timestamp; end
632
- def to_s; end
633
- def |(deps); end
634
-
635
- protected
636
-
637
- def collect_prerequisites(seen); end
638
- def invoke_with_call_chain(task_args, invocation_chain); end
639
-
640
- private
641
-
642
- def add_chain_to(exception, new_chain); end
643
- def add_comment(comment); end
644
- def first_sentence(string); end
645
- def format_trace_flags; end
646
- def lookup_prerequisite(prerequisite_name); end
647
- def transform_comments(separator, &block); end
648
-
649
- class << self
650
- def [](task_name); end
651
- def clear; end
652
- def create_rule(*args, &block); end
653
- def define_task(*args, &block); end
654
- def format_deps(deps); end
655
- def scope_name(scope, task_name); end
656
- def task_defined?(task_name); end
657
- def tasks; end
658
- end
659
- end
660
-
661
- class Rake::TaskArgumentError < ::ArgumentError; end
662
-
663
- class Rake::TaskArguments
664
- include ::Enumerable
665
-
666
- def initialize(names, values, parent = T.unsafe(nil)); end
667
-
668
- def [](index); end
669
- def each(&block); end
670
- def extras; end
671
- def fetch(*args, &block); end
672
- def has_key?(key); end
673
- def inspect; end
674
- def key?(key); end
675
- def method_missing(sym, *args); end
676
- def names; end
677
- def new_scope(names); end
678
- def to_a; end
679
- def to_hash; end
680
- def to_s; end
681
- def values_at(*keys); end
682
- def with_defaults(defaults); end
683
-
684
- protected
685
-
686
- def lookup(name); end
687
- end
688
-
689
- class Rake::TaskLib
690
- include ::Rake::Cloneable
691
- include ::FileUtils::StreamUtils_
692
- include ::FileUtils
693
- include ::Rake::FileUtilsExt
694
- include ::Rake::DSL
695
- end
696
-
697
- module Rake::TaskManager
698
- def initialize; end
699
-
700
- def [](task_name, scopes = T.unsafe(nil)); end
701
- def clear; end
702
- def create_rule(*args, &block); end
703
- def current_scope; end
704
- def define_task(task_class, *args, &block); end
705
- def enhance_with_matching_rule(task_name, level = T.unsafe(nil)); end
706
- def generate_did_you_mean_suggestions(task_name); end
707
- def generate_message_for_undefined_task(task_name); end
708
- def in_namespace(name); end
709
- def intern(task_class, task_name); end
710
- def last_description; end
711
- def last_description=(_arg0); end
712
- def lookup(task_name, initial_scope = T.unsafe(nil)); end
713
- def resolve_args(args); end
714
- def synthesize_file_task(task_name); end
715
- def tasks; end
716
- def tasks_in_scope(scope); end
717
-
718
- private
719
-
720
- def add_location(task); end
721
- def attempt_rule(task_name, task_pattern, args, extensions, block, level); end
722
- def find_location; end
723
- def generate_name; end
724
- def get_description(task); end
725
- def lookup_in_scope(name, scope); end
726
- def make_sources(task_name, task_pattern, extensions); end
727
- def resolve_args_with_dependencies(args, hash); end
728
- def resolve_args_without_dependencies(args); end
729
- def trace_rule(level, message); end
730
-
731
- class << self
732
- def record_task_metadata; end
733
- def record_task_metadata=(_arg0); end
734
- end
735
- end
736
-
737
- class Rake::ThreadHistoryDisplay
738
- include ::Rake::PrivateReader
739
- extend ::Rake::PrivateReader::ClassMethods
740
-
741
- def initialize(stats); end
742
-
743
- def show; end
744
-
745
- private
746
-
747
- def items; end
748
- def rename(hash, key, renames); end
749
- def stats; end
750
- def threads; end
751
- end
752
-
753
- class Rake::ThreadPool
754
- def initialize(thread_count); end
755
-
756
- def future(*args, &block); end
757
- def gather_history; end
758
- def history; end
759
- def join; end
760
- def statistics; end
761
-
762
- private
763
-
764
- def __queue__; end
765
- def process_queue_item; end
766
- def safe_thread_count; end
767
- def start_thread; end
768
- def stat(event, data = T.unsafe(nil)); end
769
- end
770
-
771
- module Rake::TraceOutput
772
- def trace_on(out, *strings); end
773
- end
774
-
775
- Rake::VERSION = T.let(T.unsafe(nil), String)
776
- module Rake::Version; end
777
- Rake::Version::BUILD = T.let(T.unsafe(nil), String)
778
- Rake::Version::MAJOR = T.let(T.unsafe(nil), String)
779
- Rake::Version::MINOR = T.let(T.unsafe(nil), String)
780
- Rake::Version::NUMBERS = T.let(T.unsafe(nil), Array)
781
- Rake::Version::OTHER = T.let(T.unsafe(nil), Array)
782
-
783
- module Rake::Win32
784
- class << self
785
- def normalize(path); end
786
- def win32_system_dir; end
787
- def windows?; end
788
- end
789
- end
790
-
791
- class Rake::Win32::Win32HomeError < ::RuntimeError; end
792
- RakeFileUtils = Rake::FileUtilsExt
793
-
794
- class String
795
- include ::Comparable
796
- include ::JSON::Ext::Generator::GeneratorMethods::String
797
- extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
798
-
799
- def ext(newext = T.unsafe(nil)); end
800
- def pathmap(spec = T.unsafe(nil), &block); end
801
-
802
- protected
803
-
804
- def pathmap_explode; end
805
- def pathmap_partial(n); end
806
- def pathmap_replace(patterns, &block); end
807
- end