xtj 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +10 -0
- data/.travis.yml +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +57 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/xtj/handlers/xml_handler.rb +47 -0
- data/lib/xtj/tags/xml_tag.rb +29 -0
- data/lib/xtj/version.rb +6 -0
- data/lib/xtj.rb +39 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/rake.rbi +643 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1686 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +387 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +818 -0
- data/sorbet/rbi/gems/rspec-support.rbi +268 -0
- data/sorbet/rbi/gems/rspec.rbi +14 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +2477 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +5274 -0
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8682 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/xtj.gemspec +27 -0
- metadata +115 -0
@@ -0,0 +1,4222 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi sorbet-typed
|
3
|
+
#
|
4
|
+
# If you would like to make changes to this file, great! Please upstream any changes you make here:
|
5
|
+
#
|
6
|
+
# https://github.com/sorbet/sorbet-typed/edit/master/lib/ruby/all/gem.rbi
|
7
|
+
#
|
8
|
+
# typed: strong
|
9
|
+
module Gem
|
10
|
+
ConfigMap = T.let(nil, T.untyped)
|
11
|
+
RbConfigPriorities = T.let(nil, T.untyped)
|
12
|
+
RubyGemsPackageVersion = T.let(nil, T.untyped)
|
13
|
+
RubyGemsVersion = T.let(nil, T.untyped)
|
14
|
+
USE_BUNDLER_FOR_GEMDEPS = T.let(nil, T.untyped)
|
15
|
+
|
16
|
+
def self._deprecated_detect_gemdeps(path = T.unsafe(nil)); end
|
17
|
+
|
18
|
+
def self._deprecated_gunzip(data); end
|
19
|
+
|
20
|
+
def self._deprecated_gzip(data); end
|
21
|
+
|
22
|
+
def self._deprecated_inflate(data); end
|
23
|
+
|
24
|
+
def self.activate_bin_path(name, *args); end
|
25
|
+
|
26
|
+
def self.default_ext_dir_for(base_dir); end
|
27
|
+
|
28
|
+
def self.default_gems_use_full_paths?; end
|
29
|
+
|
30
|
+
def self.default_spec_cache_dir; end
|
31
|
+
|
32
|
+
def self.deflate(data); end
|
33
|
+
|
34
|
+
def self.detect_gemdeps(*args, &block); end
|
35
|
+
|
36
|
+
def self.dir; end
|
37
|
+
|
38
|
+
def self.done_installing(&hook); end
|
39
|
+
|
40
|
+
def self.done_installing_hooks; end
|
41
|
+
|
42
|
+
def self.ensure_default_gem_subdirectories(dir = Gem.dir, mode = nil); end
|
43
|
+
|
44
|
+
def self.ensure_gem_subdirectories(dir = Gem.dir, mode = nil); end
|
45
|
+
|
46
|
+
def self.ensure_subdirectories(dir, mode, subdirs); end
|
47
|
+
|
48
|
+
def self.env_requirement(gem_name); end
|
49
|
+
|
50
|
+
def self.extension_api_version; end
|
51
|
+
|
52
|
+
def self.find_files(glob, check_load_path = true); end
|
53
|
+
|
54
|
+
def self.find_files_from_load_path(glob); end
|
55
|
+
|
56
|
+
def self.find_latest_files(glob, check_load_path = T.unsafe(nil)); end
|
57
|
+
|
58
|
+
def self.find_unresolved_default_spec(path); end
|
59
|
+
|
60
|
+
def self.finish_resolve(*_); end
|
61
|
+
|
62
|
+
def self.gemdeps; end
|
63
|
+
|
64
|
+
def self.gunzip(*args, &block); end
|
65
|
+
|
66
|
+
def self.gzip(*args, &block); end
|
67
|
+
|
68
|
+
def self.host; end
|
69
|
+
|
70
|
+
def self.host=(host); end
|
71
|
+
|
72
|
+
def self.inflate(*args, &block); end
|
73
|
+
|
74
|
+
def self.install(name, version = T.unsafe(nil), *options); end
|
75
|
+
|
76
|
+
def self.install_extension_in_lib; end
|
77
|
+
|
78
|
+
def self.latest_rubygems_version; end
|
79
|
+
|
80
|
+
def self.latest_spec_for(name); end
|
81
|
+
|
82
|
+
def self.latest_version_for(name); end
|
83
|
+
|
84
|
+
def self.load_env_plugins; end
|
85
|
+
|
86
|
+
def self.load_path_insert_index; end
|
87
|
+
|
88
|
+
def self.load_plugin_files(plugins); end
|
89
|
+
|
90
|
+
def self.load_plugins; end
|
91
|
+
|
92
|
+
def self.load_yaml; end
|
93
|
+
|
94
|
+
def self.loaded_specs; end
|
95
|
+
|
96
|
+
def self.location_of_caller(depth = T.unsafe(nil)); end
|
97
|
+
|
98
|
+
def self.marshal_version; end
|
99
|
+
|
100
|
+
def self.needs; end
|
101
|
+
|
102
|
+
def self.operating_system_defaults; end
|
103
|
+
|
104
|
+
def self.path; end
|
105
|
+
|
106
|
+
def self.path_separator; end
|
107
|
+
|
108
|
+
def self.paths; end
|
109
|
+
|
110
|
+
def self.paths=(env); end
|
111
|
+
|
112
|
+
def self.platform_defaults; end
|
113
|
+
|
114
|
+
def self.platforms; end
|
115
|
+
|
116
|
+
def self.platforms=(platforms); end
|
117
|
+
|
118
|
+
def self.post_build(&hook); end
|
119
|
+
|
120
|
+
def self.post_build_hooks; end
|
121
|
+
|
122
|
+
def self.post_install(&hook); end
|
123
|
+
|
124
|
+
def self.post_install_hooks; end
|
125
|
+
|
126
|
+
def self.post_reset(&hook); end
|
127
|
+
|
128
|
+
def self.post_reset_hooks; end
|
129
|
+
|
130
|
+
def self.post_uninstall(&hook); end
|
131
|
+
|
132
|
+
def self.post_uninstall_hooks; end
|
133
|
+
|
134
|
+
def self.pre_install(&hook); end
|
135
|
+
|
136
|
+
def self.pre_install_hooks; end
|
137
|
+
|
138
|
+
def self.pre_reset(&hook); end
|
139
|
+
|
140
|
+
def self.pre_reset_hooks; end
|
141
|
+
|
142
|
+
def self.pre_uninstall(&hook); end
|
143
|
+
|
144
|
+
def self.pre_uninstall_hooks; end
|
145
|
+
|
146
|
+
def self.prefix; end
|
147
|
+
|
148
|
+
def self.read_binary(path); end
|
149
|
+
|
150
|
+
def self.refresh; end
|
151
|
+
|
152
|
+
def self.register_default_spec(spec); end
|
153
|
+
|
154
|
+
def self.remove_unresolved_default_spec(spec); end
|
155
|
+
|
156
|
+
def self.ruby; end
|
157
|
+
|
158
|
+
def self.ruby_api_version; end
|
159
|
+
|
160
|
+
def self.ruby_engine; end
|
161
|
+
|
162
|
+
def self.ruby_version; end
|
163
|
+
|
164
|
+
def self.rubygems_version; end
|
165
|
+
|
166
|
+
def self.sources; end
|
167
|
+
|
168
|
+
def self.sources=(new_sources); end
|
169
|
+
|
170
|
+
def self.spec_cache_dir; end
|
171
|
+
|
172
|
+
def self.suffix_pattern; end
|
173
|
+
|
174
|
+
def self.suffixes; end
|
175
|
+
|
176
|
+
def self.time(msg, width = T.unsafe(nil), display = T.unsafe(nil)); end
|
177
|
+
|
178
|
+
def self.try_activate(path); end
|
179
|
+
|
180
|
+
def self.ui; end
|
181
|
+
|
182
|
+
def self.use_gemdeps(path = T.unsafe(nil)); end
|
183
|
+
|
184
|
+
def self.use_paths(home, *paths); end
|
185
|
+
|
186
|
+
def self.user_dir; end
|
187
|
+
|
188
|
+
def self.user_home; end
|
189
|
+
|
190
|
+
def self.vendor_dir; end
|
191
|
+
|
192
|
+
def self.win_platform?; end
|
193
|
+
|
194
|
+
def self.write_binary(path, data); end
|
195
|
+
|
196
|
+
class AvailableSet
|
197
|
+
include Enumerable
|
198
|
+
Elem = type_member(fixed: T.untyped)
|
199
|
+
|
200
|
+
def <<(o); end
|
201
|
+
|
202
|
+
def add(spec, source); end
|
203
|
+
|
204
|
+
def all_specs; end
|
205
|
+
|
206
|
+
def each(&blk); end
|
207
|
+
|
208
|
+
def each_spec; end
|
209
|
+
|
210
|
+
def empty?; end
|
211
|
+
|
212
|
+
def find_all(req); end
|
213
|
+
|
214
|
+
def inject_into_list(dep_list); end
|
215
|
+
|
216
|
+
def match_platform!; end
|
217
|
+
|
218
|
+
def pick_best!; end
|
219
|
+
|
220
|
+
def prefetch(reqs); end
|
221
|
+
|
222
|
+
def remote; end
|
223
|
+
|
224
|
+
def remote=(remote); end
|
225
|
+
|
226
|
+
def remove_installed!(dep); end
|
227
|
+
|
228
|
+
def set; end
|
229
|
+
|
230
|
+
def size; end
|
231
|
+
|
232
|
+
def sorted; end
|
233
|
+
|
234
|
+
def source_for(spec); end
|
235
|
+
|
236
|
+
def to_request_set(development = T.unsafe(nil)); end
|
237
|
+
|
238
|
+
class Tuple
|
239
|
+
def source; end
|
240
|
+
|
241
|
+
def source=(_); end
|
242
|
+
|
243
|
+
def spec; end
|
244
|
+
|
245
|
+
def spec=(_); end
|
246
|
+
|
247
|
+
def self.[](*_); end
|
248
|
+
|
249
|
+
def self.members; end
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
class BasicSpecification
|
254
|
+
def activated?; end
|
255
|
+
|
256
|
+
def base_dir; end
|
257
|
+
|
258
|
+
def base_dir=(base_dir); end
|
259
|
+
|
260
|
+
def contains_requirable_file?(file); end
|
261
|
+
|
262
|
+
def datadir; end
|
263
|
+
|
264
|
+
def default_gem?; end
|
265
|
+
|
266
|
+
def extension_dir; end
|
267
|
+
|
268
|
+
def extension_dir=(extension_dir); end
|
269
|
+
|
270
|
+
def extensions_dir; end
|
271
|
+
|
272
|
+
def full_gem_path; end
|
273
|
+
|
274
|
+
def full_gem_path=(full_gem_path); end
|
275
|
+
|
276
|
+
def full_name; end
|
277
|
+
|
278
|
+
def full_require_paths; end
|
279
|
+
|
280
|
+
def gem_build_complete_path; end
|
281
|
+
|
282
|
+
def gem_dir; end
|
283
|
+
|
284
|
+
def gems_dir; end
|
285
|
+
|
286
|
+
def ignored=(ignored); end
|
287
|
+
|
288
|
+
def internal_init; end
|
289
|
+
|
290
|
+
def lib_dirs_glob; end
|
291
|
+
|
292
|
+
def loaded_from; end
|
293
|
+
|
294
|
+
def loaded_from=(loaded_from); end
|
295
|
+
|
296
|
+
def matches_for_glob(glob); end
|
297
|
+
|
298
|
+
def name; end
|
299
|
+
|
300
|
+
def platform; end
|
301
|
+
|
302
|
+
def raw_require_paths; end
|
303
|
+
|
304
|
+
def require_paths; end
|
305
|
+
|
306
|
+
def source_paths; end
|
307
|
+
|
308
|
+
def stubbed?; end
|
309
|
+
|
310
|
+
def this; end
|
311
|
+
|
312
|
+
def to_fullpath(path); end
|
313
|
+
|
314
|
+
def to_spec; end
|
315
|
+
|
316
|
+
def version; end
|
317
|
+
|
318
|
+
def self.default_specifications_dir; end
|
319
|
+
end
|
320
|
+
|
321
|
+
module BundlerVersionFinder
|
322
|
+
def self.bundler_version; end
|
323
|
+
|
324
|
+
def self.bundler_version_with_reason; end
|
325
|
+
|
326
|
+
def self.compatible?(spec); end
|
327
|
+
|
328
|
+
def self.filter!(specs); end
|
329
|
+
|
330
|
+
def self.missing_version_message; end
|
331
|
+
end
|
332
|
+
|
333
|
+
class Command
|
334
|
+
include Gem::UserInteraction
|
335
|
+
include Gem::DefaultUserInteraction
|
336
|
+
include Gem::Text
|
337
|
+
HELP = T.let(nil, T.untyped)
|
338
|
+
|
339
|
+
def add_extra_args(args); end
|
340
|
+
|
341
|
+
def add_option(*opts, &handler); end
|
342
|
+
|
343
|
+
def arguments; end
|
344
|
+
|
345
|
+
def begins?(long, short); end
|
346
|
+
|
347
|
+
def command; end
|
348
|
+
|
349
|
+
def defaults; end
|
350
|
+
|
351
|
+
def defaults=(defaults); end
|
352
|
+
|
353
|
+
def defaults_str; end
|
354
|
+
|
355
|
+
def description; end
|
356
|
+
|
357
|
+
def execute; end
|
358
|
+
|
359
|
+
def get_all_gem_names; end
|
360
|
+
|
361
|
+
def get_all_gem_names_and_versions; end
|
362
|
+
|
363
|
+
def get_one_gem_name; end
|
364
|
+
|
365
|
+
def get_one_optional_argument; end
|
366
|
+
|
367
|
+
def handle_options(args); end
|
368
|
+
|
369
|
+
def handles?(args); end
|
370
|
+
|
371
|
+
def initialize(command, summary = T.unsafe(nil), defaults = T.unsafe(nil)); end
|
372
|
+
|
373
|
+
def invoke(*args); end
|
374
|
+
|
375
|
+
def invoke_with_build_args(args, build_args); end
|
376
|
+
|
377
|
+
def merge_options(new_options); end
|
378
|
+
|
379
|
+
def options; end
|
380
|
+
|
381
|
+
def program_name; end
|
382
|
+
|
383
|
+
def program_name=(program_name); end
|
384
|
+
|
385
|
+
def remove_option(name); end
|
386
|
+
|
387
|
+
def show_help; end
|
388
|
+
|
389
|
+
def show_lookup_failure(gem_name, version, errors, domain, required_by = T.unsafe(nil)); end
|
390
|
+
|
391
|
+
def summary; end
|
392
|
+
|
393
|
+
def summary=(summary); end
|
394
|
+
|
395
|
+
def usage; end
|
396
|
+
|
397
|
+
def when_invoked(&block); end
|
398
|
+
|
399
|
+
def self.add_common_option(*args, &handler); end
|
400
|
+
|
401
|
+
def self.add_specific_extra_args(cmd, args); end
|
402
|
+
|
403
|
+
def self.build_args; end
|
404
|
+
|
405
|
+
def self.build_args=(value); end
|
406
|
+
|
407
|
+
def self.common_options; end
|
408
|
+
|
409
|
+
def self.extra_args; end
|
410
|
+
|
411
|
+
def self.extra_args=(value); end
|
412
|
+
|
413
|
+
def self.specific_extra_args(cmd); end
|
414
|
+
|
415
|
+
def self.specific_extra_args_hash; end
|
416
|
+
|
417
|
+
def clean_text(text); end
|
418
|
+
|
419
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
420
|
+
|
421
|
+
def levenshtein_distance(str1, str2); end
|
422
|
+
|
423
|
+
def min3(a, b, c); end
|
424
|
+
|
425
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
426
|
+
|
427
|
+
def ui; end
|
428
|
+
|
429
|
+
def ui=(new_ui); end
|
430
|
+
|
431
|
+
def use_ui(new_ui, &block); end
|
432
|
+
|
433
|
+
def alert(statement, question = T.unsafe(nil)); end
|
434
|
+
|
435
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
436
|
+
|
437
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
438
|
+
|
439
|
+
def ask(question); end
|
440
|
+
|
441
|
+
def ask_for_password(prompt); end
|
442
|
+
|
443
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
444
|
+
|
445
|
+
def choose_from_list(question, list); end
|
446
|
+
|
447
|
+
def say(statement = T.unsafe(nil)); end
|
448
|
+
|
449
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
450
|
+
|
451
|
+
def verbose(msg = T.unsafe(nil)); end
|
452
|
+
end
|
453
|
+
|
454
|
+
module Commands
|
455
|
+
end
|
456
|
+
|
457
|
+
class ConfigFile
|
458
|
+
include Gem::UserInteraction
|
459
|
+
include Gem::DefaultUserInteraction
|
460
|
+
include Gem::Text
|
461
|
+
DEFAULT_BACKTRACE = T.let(nil, T.untyped)
|
462
|
+
DEFAULT_BULK_THRESHOLD = T.let(nil, T.untyped)
|
463
|
+
DEFAULT_CERT_EXPIRATION_LENGTH_DAYS = T.let(nil, T.untyped)
|
464
|
+
DEFAULT_CONCURRENT_DOWNLOADS = T.let(nil, T.untyped)
|
465
|
+
DEFAULT_UPDATE_SOURCES = T.let(nil, T.untyped)
|
466
|
+
DEFAULT_VERBOSITY = T.let(nil, T.untyped)
|
467
|
+
OPERATING_SYSTEM_DEFAULTS = T.let(nil, T.untyped)
|
468
|
+
PLATFORM_DEFAULTS = T.let(nil, T.untyped)
|
469
|
+
SYSTEM_CONFIG_PATH = T.let(nil, T.untyped)
|
470
|
+
SYSTEM_WIDE_CONFIG_FILE = T.let(nil, T.untyped)
|
471
|
+
|
472
|
+
def ==(other); end
|
473
|
+
|
474
|
+
def [](key); end
|
475
|
+
|
476
|
+
def []=(key, value); end
|
477
|
+
|
478
|
+
def api_keys; end
|
479
|
+
|
480
|
+
def args; end
|
481
|
+
|
482
|
+
def backtrace; end
|
483
|
+
|
484
|
+
def backtrace=(backtrace); end
|
485
|
+
|
486
|
+
def bulk_threshold; end
|
487
|
+
|
488
|
+
def bulk_threshold=(bulk_threshold); end
|
489
|
+
|
490
|
+
def cert_expiration_length_days; end
|
491
|
+
|
492
|
+
def cert_expiration_length_days=(cert_expiration_length_days); end
|
493
|
+
|
494
|
+
def check_credentials_permissions; end
|
495
|
+
|
496
|
+
def concurrent_downloads; end
|
497
|
+
|
498
|
+
def concurrent_downloads=(concurrent_downloads); end
|
499
|
+
|
500
|
+
def config_file_name; end
|
501
|
+
|
502
|
+
def credentials_path; end
|
503
|
+
|
504
|
+
def disable_default_gem_server; end
|
505
|
+
|
506
|
+
def disable_default_gem_server=(disable_default_gem_server); end
|
507
|
+
|
508
|
+
def each(&block); end
|
509
|
+
|
510
|
+
def handle_arguments(arg_list); end
|
511
|
+
|
512
|
+
def home; end
|
513
|
+
|
514
|
+
def home=(home); end
|
515
|
+
|
516
|
+
def initialize(args); end
|
517
|
+
|
518
|
+
def load_api_keys; end
|
519
|
+
|
520
|
+
def load_file(filename); end
|
521
|
+
|
522
|
+
def path; end
|
523
|
+
|
524
|
+
def path=(path); end
|
525
|
+
|
526
|
+
def really_verbose; end
|
527
|
+
|
528
|
+
def rubygems_api_key; end
|
529
|
+
|
530
|
+
def rubygems_api_key=(api_key); end
|
531
|
+
|
532
|
+
def set_api_key(host, api_key); end
|
533
|
+
|
534
|
+
def sources; end
|
535
|
+
|
536
|
+
def sources=(sources); end
|
537
|
+
|
538
|
+
def ssl_ca_cert; end
|
539
|
+
|
540
|
+
def ssl_ca_cert=(ssl_ca_cert); end
|
541
|
+
|
542
|
+
def ssl_client_cert; end
|
543
|
+
|
544
|
+
def ssl_verify_mode; end
|
545
|
+
|
546
|
+
def to_yaml; end
|
547
|
+
|
548
|
+
def unset_api_key!; end
|
549
|
+
|
550
|
+
def update_sources; end
|
551
|
+
|
552
|
+
def update_sources=(update_sources); end
|
553
|
+
|
554
|
+
def verbose; end
|
555
|
+
|
556
|
+
def verbose=(verbose); end
|
557
|
+
|
558
|
+
def write; end
|
559
|
+
|
560
|
+
def clean_text(text); end
|
561
|
+
|
562
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
563
|
+
|
564
|
+
def levenshtein_distance(str1, str2); end
|
565
|
+
|
566
|
+
def min3(a, b, c); end
|
567
|
+
|
568
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
569
|
+
|
570
|
+
def ui; end
|
571
|
+
|
572
|
+
def ui=(new_ui); end
|
573
|
+
|
574
|
+
def use_ui(new_ui, &block); end
|
575
|
+
|
576
|
+
def alert(statement, question = T.unsafe(nil)); end
|
577
|
+
|
578
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
579
|
+
|
580
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
581
|
+
|
582
|
+
def ask(question); end
|
583
|
+
|
584
|
+
def ask_for_password(prompt); end
|
585
|
+
|
586
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
587
|
+
|
588
|
+
def choose_from_list(question, list); end
|
589
|
+
|
590
|
+
def say(statement = T.unsafe(nil)); end
|
591
|
+
|
592
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
593
|
+
end
|
594
|
+
|
595
|
+
class ConflictError
|
596
|
+
def conflicts; end
|
597
|
+
|
598
|
+
def initialize(target, conflicts); end
|
599
|
+
|
600
|
+
def target; end
|
601
|
+
end
|
602
|
+
|
603
|
+
class ConsoleUI
|
604
|
+
def initialize; end
|
605
|
+
end
|
606
|
+
|
607
|
+
module DefaultUserInteraction
|
608
|
+
include Gem::Text
|
609
|
+
|
610
|
+
def ui; end
|
611
|
+
|
612
|
+
def ui=(new_ui); end
|
613
|
+
|
614
|
+
def use_ui(new_ui, &block); end
|
615
|
+
|
616
|
+
def self.ui; end
|
617
|
+
|
618
|
+
def self.ui=(new_ui); end
|
619
|
+
|
620
|
+
def self.use_ui(new_ui); end
|
621
|
+
|
622
|
+
def clean_text(text); end
|
623
|
+
|
624
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
625
|
+
|
626
|
+
def levenshtein_distance(str1, str2); end
|
627
|
+
|
628
|
+
def min3(a, b, c); end
|
629
|
+
|
630
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
631
|
+
end
|
632
|
+
|
633
|
+
class Dependency
|
634
|
+
def ==(other); end
|
635
|
+
|
636
|
+
def ===(other); end
|
637
|
+
|
638
|
+
def =~(other); end
|
639
|
+
|
640
|
+
def all_sources; end
|
641
|
+
|
642
|
+
def all_sources=(all_sources); end
|
643
|
+
|
644
|
+
def encode_with(coder); end
|
645
|
+
|
646
|
+
def eql?(other); end
|
647
|
+
|
648
|
+
def groups; end
|
649
|
+
|
650
|
+
def groups=(groups); end
|
651
|
+
|
652
|
+
def initialize(name, *requirements); end
|
653
|
+
|
654
|
+
def latest_version?; end
|
655
|
+
|
656
|
+
def match?(obj, version = T.unsafe(nil), allow_prerelease = T.unsafe(nil)); end
|
657
|
+
|
658
|
+
def matches_spec?(spec); end
|
659
|
+
|
660
|
+
def matching_specs(platform_only = T.unsafe(nil)); end
|
661
|
+
|
662
|
+
def merge(other); end
|
663
|
+
|
664
|
+
def name; end
|
665
|
+
|
666
|
+
def name=(name); end
|
667
|
+
|
668
|
+
def prerelease=(prerelease); end
|
669
|
+
|
670
|
+
def prerelease?; end
|
671
|
+
|
672
|
+
def pretty_print(q); end
|
673
|
+
|
674
|
+
def requirement; end
|
675
|
+
|
676
|
+
def requirements_list; end
|
677
|
+
|
678
|
+
def runtime?; end
|
679
|
+
|
680
|
+
def source; end
|
681
|
+
|
682
|
+
def source=(source); end
|
683
|
+
|
684
|
+
def specific?; end
|
685
|
+
|
686
|
+
def to_lock; end
|
687
|
+
|
688
|
+
def to_spec; end
|
689
|
+
|
690
|
+
def to_specs; end
|
691
|
+
|
692
|
+
def to_yaml_properties; end
|
693
|
+
|
694
|
+
def type; end
|
695
|
+
end
|
696
|
+
|
697
|
+
class DependencyInstaller
|
698
|
+
include Gem::UserInteraction
|
699
|
+
include Gem::DefaultUserInteraction
|
700
|
+
include Gem::Text
|
701
|
+
extend Gem::Deprecate
|
702
|
+
DEFAULT_OPTIONS = T.let(nil, T.untyped)
|
703
|
+
|
704
|
+
def _deprecated_add_found_dependencies(to_do, dependency_list); end
|
705
|
+
|
706
|
+
def _deprecated_gather_dependencies; end
|
707
|
+
|
708
|
+
def add_found_dependencies(*args, &block); end
|
709
|
+
|
710
|
+
def available_set_for(dep_or_name, version); end
|
711
|
+
|
712
|
+
def consider_local?; end
|
713
|
+
|
714
|
+
def consider_remote?; end
|
715
|
+
|
716
|
+
def document; end
|
717
|
+
|
718
|
+
def errors; end
|
719
|
+
|
720
|
+
def find_gems_with_sources(dep, best_only = T.unsafe(nil)); end
|
721
|
+
|
722
|
+
def find_spec_by_name_and_version(gem_name, version = T.unsafe(nil), prerelease = T.unsafe(nil)); end
|
723
|
+
|
724
|
+
def gather_dependencies(*args, &block); end
|
725
|
+
|
726
|
+
def in_background(what); end
|
727
|
+
|
728
|
+
def initialize(options = T.unsafe(nil)); end
|
729
|
+
|
730
|
+
def install(dep_or_name, version = T.unsafe(nil)); end
|
731
|
+
|
732
|
+
def install_development_deps; end
|
733
|
+
|
734
|
+
def installed_gems; end
|
735
|
+
|
736
|
+
def resolve_dependencies(dep_or_name, version); end
|
737
|
+
|
738
|
+
def clean_text(text); end
|
739
|
+
|
740
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
741
|
+
|
742
|
+
def levenshtein_distance(str1, str2); end
|
743
|
+
|
744
|
+
def min3(a, b, c); end
|
745
|
+
|
746
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
747
|
+
|
748
|
+
def ui; end
|
749
|
+
|
750
|
+
def ui=(new_ui); end
|
751
|
+
|
752
|
+
def use_ui(new_ui, &block); end
|
753
|
+
|
754
|
+
def alert(statement, question = T.unsafe(nil)); end
|
755
|
+
|
756
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
757
|
+
|
758
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
759
|
+
|
760
|
+
def ask(question); end
|
761
|
+
|
762
|
+
def ask_for_password(prompt); end
|
763
|
+
|
764
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
765
|
+
|
766
|
+
def choose_from_list(question, list); end
|
767
|
+
|
768
|
+
def say(statement = T.unsafe(nil)); end
|
769
|
+
|
770
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
771
|
+
|
772
|
+
def verbose(msg = T.unsafe(nil)); end
|
773
|
+
end
|
774
|
+
|
775
|
+
class DependencyList
|
776
|
+
include Enumerable
|
777
|
+
include TSort
|
778
|
+
Elem = type_member(fixed: T.untyped)
|
779
|
+
|
780
|
+
def add(*gemspecs); end
|
781
|
+
|
782
|
+
def clear; end
|
783
|
+
|
784
|
+
def dependency_order; end
|
785
|
+
|
786
|
+
def development; end
|
787
|
+
|
788
|
+
def development=(development); end
|
789
|
+
|
790
|
+
def each(&block); end
|
791
|
+
|
792
|
+
def find_name(full_name); end
|
793
|
+
|
794
|
+
def initialize(development = T.unsafe(nil)); end
|
795
|
+
|
796
|
+
def ok?; end
|
797
|
+
|
798
|
+
def ok_to_remove?(full_name, check_dev = T.unsafe(nil)); end
|
799
|
+
|
800
|
+
def remove_by_name(full_name); end
|
801
|
+
|
802
|
+
def remove_specs_unsatisfied_by(dependencies); end
|
803
|
+
|
804
|
+
def spec_predecessors; end
|
805
|
+
|
806
|
+
def specs; end
|
807
|
+
|
808
|
+
def tsort_each_node(&block); end
|
809
|
+
|
810
|
+
def why_not_ok?(quick = T.unsafe(nil)); end
|
811
|
+
|
812
|
+
def self.from_specs; end
|
813
|
+
end
|
814
|
+
|
815
|
+
class DependencyResolutionError
|
816
|
+
def conflict; end
|
817
|
+
|
818
|
+
def conflicting_dependencies; end
|
819
|
+
|
820
|
+
def initialize(conflict); end
|
821
|
+
end
|
822
|
+
|
823
|
+
module Deprecate
|
824
|
+
def self.deprecate(name, repl, year, month); end
|
825
|
+
|
826
|
+
def self.skip; end
|
827
|
+
|
828
|
+
def self.skip=(v); end
|
829
|
+
|
830
|
+
def self.skip_during; end
|
831
|
+
end
|
832
|
+
|
833
|
+
class Exception
|
834
|
+
extend Gem::Deprecate
|
835
|
+
|
836
|
+
def _deprecated_source_exception; end
|
837
|
+
|
838
|
+
def source_exception(*args, &block); end
|
839
|
+
|
840
|
+
def source_exception=(source_exception); end
|
841
|
+
end
|
842
|
+
|
843
|
+
module Ext
|
844
|
+
class BuildError
|
845
|
+
end
|
846
|
+
|
847
|
+
class Builder
|
848
|
+
include Gem::UserInteraction
|
849
|
+
include Gem::DefaultUserInteraction
|
850
|
+
include Gem::Text
|
851
|
+
CHDIR_MONITOR = T.let(nil, T.untyped)
|
852
|
+
CHDIR_MUTEX = T.let(nil, T.untyped)
|
853
|
+
|
854
|
+
def build_args; end
|
855
|
+
|
856
|
+
def build_args=(build_args); end
|
857
|
+
|
858
|
+
def build_error(build_dir, output, backtrace = T.unsafe(nil)); end
|
859
|
+
|
860
|
+
def build_extension(extension, dest_path); end
|
861
|
+
|
862
|
+
def build_extensions; end
|
863
|
+
|
864
|
+
def builder_for(extension); end
|
865
|
+
|
866
|
+
def initialize(spec, build_args = T.unsafe(nil)); end
|
867
|
+
|
868
|
+
def write_gem_make_out(output); end
|
869
|
+
|
870
|
+
def self.class_name; end
|
871
|
+
|
872
|
+
def self.make(dest_path, results); end
|
873
|
+
|
874
|
+
def self.redirector; end
|
875
|
+
|
876
|
+
def self.run(command, results, command_name = T.unsafe(nil)); end
|
877
|
+
|
878
|
+
def clean_text(text); end
|
879
|
+
|
880
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
881
|
+
|
882
|
+
def levenshtein_distance(str1, str2); end
|
883
|
+
|
884
|
+
def min3(a, b, c); end
|
885
|
+
|
886
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
887
|
+
|
888
|
+
def ui; end
|
889
|
+
|
890
|
+
def ui=(new_ui); end
|
891
|
+
|
892
|
+
def use_ui(new_ui, &block); end
|
893
|
+
|
894
|
+
def alert(statement, question = T.unsafe(nil)); end
|
895
|
+
|
896
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
897
|
+
|
898
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
899
|
+
|
900
|
+
def ask(question); end
|
901
|
+
|
902
|
+
def ask_for_password(prompt); end
|
903
|
+
|
904
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
905
|
+
|
906
|
+
def choose_from_list(question, list); end
|
907
|
+
|
908
|
+
def say(statement = T.unsafe(nil)); end
|
909
|
+
|
910
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
911
|
+
|
912
|
+
def verbose(msg = T.unsafe(nil)); end
|
913
|
+
end
|
914
|
+
|
915
|
+
class CmakeBuilder
|
916
|
+
def self.build(extension, dest_path, results, args = T.unsafe(nil), lib_dir = T.unsafe(nil)); end
|
917
|
+
end
|
918
|
+
|
919
|
+
class ConfigureBuilder
|
920
|
+
def self.build(extension, dest_path, results, args = T.unsafe(nil), lib_dir = T.unsafe(nil)); end
|
921
|
+
end
|
922
|
+
|
923
|
+
class ExtConfBuilder
|
924
|
+
def self.build(extension, dest_path, results, args = T.unsafe(nil), lib_dir = T.unsafe(nil)); end
|
925
|
+
|
926
|
+
def self.get_relative_path(path); end
|
927
|
+
end
|
928
|
+
|
929
|
+
class RakeBuilder
|
930
|
+
def self.build(extension, dest_path, results, args = T.unsafe(nil), lib_dir = T.unsafe(nil)); end
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
class FilePermissionError
|
935
|
+
def directory; end
|
936
|
+
|
937
|
+
def initialize(directory); end
|
938
|
+
end
|
939
|
+
|
940
|
+
class FormatException
|
941
|
+
def file_path; end
|
942
|
+
|
943
|
+
def file_path=(file_path); end
|
944
|
+
end
|
945
|
+
|
946
|
+
class GemNotInHomeException
|
947
|
+
def spec; end
|
948
|
+
|
949
|
+
def spec=(spec); end
|
950
|
+
end
|
951
|
+
|
952
|
+
class ImpossibleDependenciesError
|
953
|
+
def build_message; end
|
954
|
+
|
955
|
+
def conflicts; end
|
956
|
+
|
957
|
+
def dependency; end
|
958
|
+
|
959
|
+
def initialize(request, conflicts); end
|
960
|
+
|
961
|
+
def request; end
|
962
|
+
end
|
963
|
+
|
964
|
+
class Installer
|
965
|
+
include Gem::UserInteraction
|
966
|
+
include Gem::DefaultUserInteraction
|
967
|
+
include Gem::Text
|
968
|
+
extend Gem::Deprecate
|
969
|
+
ENV_PATHS = T.let(nil, T.untyped)
|
970
|
+
|
971
|
+
def _deprecated_extension_build_error(build_dir, output, backtrace = T.unsafe(nil)); end
|
972
|
+
|
973
|
+
def app_script_text(bin_file_name); end
|
974
|
+
|
975
|
+
def bin_dir; end
|
976
|
+
|
977
|
+
def build_extensions; end
|
978
|
+
|
979
|
+
def build_root; end
|
980
|
+
|
981
|
+
def check_executable_overwrite(filename); end
|
982
|
+
|
983
|
+
def check_that_user_bin_dir_is_in_path; end
|
984
|
+
|
985
|
+
def default_spec_file; end
|
986
|
+
|
987
|
+
def dir; end
|
988
|
+
|
989
|
+
def ensure_dependencies_met; end
|
990
|
+
|
991
|
+
def ensure_dependency(spec, dependency); end
|
992
|
+
|
993
|
+
def ensure_loadable_spec; end
|
994
|
+
|
995
|
+
def ensure_required_ruby_version_met; end
|
996
|
+
|
997
|
+
def ensure_required_rubygems_version_met; end
|
998
|
+
|
999
|
+
def extension_build_error(*args, &block); end
|
1000
|
+
|
1001
|
+
def extract_bin; end
|
1002
|
+
|
1003
|
+
def extract_files; end
|
1004
|
+
|
1005
|
+
def formatted_program_filename(filename); end
|
1006
|
+
|
1007
|
+
def gem; end
|
1008
|
+
|
1009
|
+
def gem_dir; end
|
1010
|
+
|
1011
|
+
def gem_home; end
|
1012
|
+
|
1013
|
+
def generate_bin; end
|
1014
|
+
|
1015
|
+
def generate_bin_script(filename, bindir); end
|
1016
|
+
|
1017
|
+
def generate_bin_symlink(filename, bindir); end
|
1018
|
+
|
1019
|
+
def generate_windows_script(filename, bindir); end
|
1020
|
+
|
1021
|
+
def initialize(package, options = T.unsafe(nil)); end
|
1022
|
+
|
1023
|
+
def install; end
|
1024
|
+
|
1025
|
+
def installation_satisfies_dependency?(dependency); end
|
1026
|
+
|
1027
|
+
def installed_specs; end
|
1028
|
+
|
1029
|
+
def options; end
|
1030
|
+
|
1031
|
+
def pre_install_checks; end
|
1032
|
+
|
1033
|
+
def process_options; end
|
1034
|
+
|
1035
|
+
def run_post_build_hooks; end
|
1036
|
+
|
1037
|
+
def run_post_install_hooks; end
|
1038
|
+
|
1039
|
+
def run_pre_install_hooks; end
|
1040
|
+
|
1041
|
+
def shebang(bin_file_name); end
|
1042
|
+
|
1043
|
+
def spec; end
|
1044
|
+
|
1045
|
+
def spec_file; end
|
1046
|
+
|
1047
|
+
def unpack(directory); end
|
1048
|
+
|
1049
|
+
def verify_gem_home(unpack = T.unsafe(nil)); end
|
1050
|
+
|
1051
|
+
def verify_spec; end
|
1052
|
+
|
1053
|
+
def windows_stub_script(bindir, bin_file_name); end
|
1054
|
+
|
1055
|
+
def write_build_info_file; end
|
1056
|
+
|
1057
|
+
def write_cache_file; end
|
1058
|
+
|
1059
|
+
def write_default_spec; end
|
1060
|
+
|
1061
|
+
def write_spec; end
|
1062
|
+
|
1063
|
+
def self.at(path, options = T.unsafe(nil)); end
|
1064
|
+
|
1065
|
+
def self.exec_format; end
|
1066
|
+
|
1067
|
+
def self.exec_format=(exec_format); end
|
1068
|
+
|
1069
|
+
def self.for_spec(spec, options = T.unsafe(nil)); end
|
1070
|
+
|
1071
|
+
def self.install_lock; end
|
1072
|
+
|
1073
|
+
def self.path_warning; end
|
1074
|
+
|
1075
|
+
def self.path_warning=(path_warning); end
|
1076
|
+
|
1077
|
+
def clean_text(text); end
|
1078
|
+
|
1079
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
1080
|
+
|
1081
|
+
def levenshtein_distance(str1, str2); end
|
1082
|
+
|
1083
|
+
def min3(a, b, c); end
|
1084
|
+
|
1085
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
1086
|
+
|
1087
|
+
def ui; end
|
1088
|
+
|
1089
|
+
def ui=(new_ui); end
|
1090
|
+
|
1091
|
+
def use_ui(new_ui, &block); end
|
1092
|
+
|
1093
|
+
def alert(statement, question = T.unsafe(nil)); end
|
1094
|
+
|
1095
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
1096
|
+
|
1097
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
1098
|
+
|
1099
|
+
def ask(question); end
|
1100
|
+
|
1101
|
+
def ask_for_password(prompt); end
|
1102
|
+
|
1103
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
1104
|
+
|
1105
|
+
def choose_from_list(question, list); end
|
1106
|
+
|
1107
|
+
def say(statement = T.unsafe(nil)); end
|
1108
|
+
|
1109
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
1110
|
+
|
1111
|
+
def verbose(msg = T.unsafe(nil)); end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
class Licenses
|
1115
|
+
extend Gem::Text
|
1116
|
+
EXCEPTION_IDENTIFIERS = T.let(nil, T.untyped)
|
1117
|
+
LICENSE_IDENTIFIERS = T.let(nil, T.untyped)
|
1118
|
+
NONSTANDARD = T.let(nil, T.untyped)
|
1119
|
+
REGEXP = T.let(nil, T.untyped)
|
1120
|
+
|
1121
|
+
def self.match?(license); end
|
1122
|
+
|
1123
|
+
def self.suggestions(license); end
|
1124
|
+
|
1125
|
+
def self.clean_text(text); end
|
1126
|
+
|
1127
|
+
def self.format_text(text, wrap, indent = T.unsafe(nil)); end
|
1128
|
+
|
1129
|
+
def self.levenshtein_distance(str1, str2); end
|
1130
|
+
|
1131
|
+
def self.min3(a, b, c); end
|
1132
|
+
|
1133
|
+
def self.truncate_text(text, description, max_length = T.unsafe(nil)); end
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
class List
|
1137
|
+
def each(&blk); end
|
1138
|
+
|
1139
|
+
def initialize(value = T.unsafe(nil), tail = T.unsafe(nil)); end
|
1140
|
+
|
1141
|
+
def prepend(value); end
|
1142
|
+
|
1143
|
+
def pretty_print(q); end
|
1144
|
+
|
1145
|
+
def tail; end
|
1146
|
+
|
1147
|
+
def tail=(tail); end
|
1148
|
+
|
1149
|
+
def to_a; end
|
1150
|
+
|
1151
|
+
def value; end
|
1152
|
+
|
1153
|
+
def value=(value); end
|
1154
|
+
|
1155
|
+
def self.prepend(list, value); end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
class LoadError
|
1159
|
+
def name; end
|
1160
|
+
|
1161
|
+
def name=(name); end
|
1162
|
+
|
1163
|
+
def requirement; end
|
1164
|
+
|
1165
|
+
def requirement=(requirement); end
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
class MissingSpecError
|
1169
|
+
def initialize(name, requirement); end
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
class MissingSpecVersionError
|
1173
|
+
def initialize(name, requirement, specs); end
|
1174
|
+
|
1175
|
+
def specs; end
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
class NameTuple
|
1179
|
+
include Comparable
|
1180
|
+
|
1181
|
+
def ==(other); end
|
1182
|
+
|
1183
|
+
def eql?(other); end
|
1184
|
+
|
1185
|
+
def full_name; end
|
1186
|
+
|
1187
|
+
def initialize(name, version, platform = T.unsafe(nil)); end
|
1188
|
+
|
1189
|
+
def match_platform?; end
|
1190
|
+
|
1191
|
+
def name; end
|
1192
|
+
|
1193
|
+
def platform; end
|
1194
|
+
|
1195
|
+
def prerelease?; end
|
1196
|
+
|
1197
|
+
def spec_name; end
|
1198
|
+
|
1199
|
+
def to_a; end
|
1200
|
+
|
1201
|
+
def version; end
|
1202
|
+
|
1203
|
+
def self.from_list(list); end
|
1204
|
+
|
1205
|
+
def self.null; end
|
1206
|
+
|
1207
|
+
def self.to_basic(list); end
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
class Package
|
1211
|
+
include Gem::UserInteraction
|
1212
|
+
include Gem::DefaultUserInteraction
|
1213
|
+
include Gem::Text
|
1214
|
+
|
1215
|
+
def add_checksums(tar); end
|
1216
|
+
|
1217
|
+
def add_contents(tar); end
|
1218
|
+
|
1219
|
+
def add_files(tar); end
|
1220
|
+
|
1221
|
+
def add_metadata(tar); end
|
1222
|
+
|
1223
|
+
def build(skip_validation = T.unsafe(nil), strict_validation = T.unsafe(nil)); end
|
1224
|
+
|
1225
|
+
def build_time; end
|
1226
|
+
|
1227
|
+
def build_time=(build_time); end
|
1228
|
+
|
1229
|
+
def checksums; end
|
1230
|
+
|
1231
|
+
def contents; end
|
1232
|
+
|
1233
|
+
def copy_to(path); end
|
1234
|
+
|
1235
|
+
def data_mode; end
|
1236
|
+
|
1237
|
+
def data_mode=(data_mode); end
|
1238
|
+
|
1239
|
+
def digest(entry); end
|
1240
|
+
|
1241
|
+
def dir_mode; end
|
1242
|
+
|
1243
|
+
def dir_mode=(dir_mode); end
|
1244
|
+
|
1245
|
+
def extract_files(destination_dir, pattern = T.unsafe(nil)); end
|
1246
|
+
|
1247
|
+
def extract_tar_gz(io, destination_dir, pattern = T.unsafe(nil)); end
|
1248
|
+
|
1249
|
+
def file_mode(mode); end
|
1250
|
+
|
1251
|
+
def files; end
|
1252
|
+
|
1253
|
+
def gzip_to(io); end
|
1254
|
+
|
1255
|
+
def initialize(gem, security_policy); end
|
1256
|
+
|
1257
|
+
def install_location(filename, destination_dir); end
|
1258
|
+
|
1259
|
+
def load_spec(entry); end
|
1260
|
+
|
1261
|
+
def mkdir_p_safe(mkdir, mkdir_options, destination_dir, file_name); end
|
1262
|
+
|
1263
|
+
def normalize_path(pathname); end
|
1264
|
+
|
1265
|
+
def open_tar_gz(io); end
|
1266
|
+
|
1267
|
+
def prog_mode; end
|
1268
|
+
|
1269
|
+
def prog_mode=(prog_mode); end
|
1270
|
+
|
1271
|
+
def read_checksums(gem); end
|
1272
|
+
|
1273
|
+
def security_policy; end
|
1274
|
+
|
1275
|
+
def security_policy=(security_policy); end
|
1276
|
+
|
1277
|
+
def setup_signer(signer_options: T.unsafe(nil)); end
|
1278
|
+
|
1279
|
+
def spec; end
|
1280
|
+
|
1281
|
+
def spec=(spec); end
|
1282
|
+
|
1283
|
+
def verify; end
|
1284
|
+
|
1285
|
+
def verify_checksums(digests, checksums); end
|
1286
|
+
|
1287
|
+
def verify_entry(entry); end
|
1288
|
+
|
1289
|
+
def verify_files(gem); end
|
1290
|
+
|
1291
|
+
def verify_gz(entry); end
|
1292
|
+
|
1293
|
+
def self.build(spec, skip_validation = T.unsafe(nil), strict_validation = T.unsafe(nil), file_name = T.unsafe(nil)); end
|
1294
|
+
|
1295
|
+
def self.new(gem, security_policy = T.unsafe(nil)); end
|
1296
|
+
|
1297
|
+
def clean_text(text); end
|
1298
|
+
|
1299
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
1300
|
+
|
1301
|
+
def levenshtein_distance(str1, str2); end
|
1302
|
+
|
1303
|
+
def min3(a, b, c); end
|
1304
|
+
|
1305
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
1306
|
+
|
1307
|
+
def ui; end
|
1308
|
+
|
1309
|
+
def ui=(new_ui); end
|
1310
|
+
|
1311
|
+
def use_ui(new_ui, &block); end
|
1312
|
+
|
1313
|
+
def alert(statement, question = T.unsafe(nil)); end
|
1314
|
+
|
1315
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
1316
|
+
|
1317
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
1318
|
+
|
1319
|
+
def ask(question); end
|
1320
|
+
|
1321
|
+
def ask_for_password(prompt); end
|
1322
|
+
|
1323
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
1324
|
+
|
1325
|
+
def choose_from_list(question, list); end
|
1326
|
+
|
1327
|
+
def say(statement = T.unsafe(nil)); end
|
1328
|
+
|
1329
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
1330
|
+
|
1331
|
+
def verbose(msg = T.unsafe(nil)); end
|
1332
|
+
|
1333
|
+
class DigestIO
|
1334
|
+
def digests; end
|
1335
|
+
|
1336
|
+
def initialize(io, digests); end
|
1337
|
+
|
1338
|
+
def write(data); end
|
1339
|
+
|
1340
|
+
def self.wrap(io, digests); end
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
class Error
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
class FileSource
|
1347
|
+
def initialize(path); end
|
1348
|
+
|
1349
|
+
def path; end
|
1350
|
+
|
1351
|
+
def present?; end
|
1352
|
+
|
1353
|
+
def start; end
|
1354
|
+
|
1355
|
+
def with_read_io(&block); end
|
1356
|
+
|
1357
|
+
def with_write_io(&block); end
|
1358
|
+
end
|
1359
|
+
|
1360
|
+
class FormatError
|
1361
|
+
def initialize(message, source = T.unsafe(nil)); end
|
1362
|
+
|
1363
|
+
def path; end
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
class IOSource
|
1367
|
+
def initialize(io); end
|
1368
|
+
|
1369
|
+
def io; end
|
1370
|
+
|
1371
|
+
def path; end
|
1372
|
+
|
1373
|
+
def present?; end
|
1374
|
+
|
1375
|
+
def start; end
|
1376
|
+
|
1377
|
+
def with_read_io; end
|
1378
|
+
|
1379
|
+
def with_write_io; end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
class NonSeekableIO
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
class Old
|
1386
|
+
def extract_files(destination_dir); end
|
1387
|
+
|
1388
|
+
def file_list(io); end
|
1389
|
+
|
1390
|
+
def read_until_dashes(io); end
|
1391
|
+
|
1392
|
+
def skip_ruby(io); end
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
class PathError
|
1396
|
+
def initialize(destination, destination_dir); end
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
class Source
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
class TarHeader
|
1403
|
+
EMPTY_HEADER = T.let(nil, T.untyped)
|
1404
|
+
FIELDS = T.let(nil, T.untyped)
|
1405
|
+
PACK_FORMAT = T.let(nil, T.untyped)
|
1406
|
+
UNPACK_FORMAT = T.let(nil, T.untyped)
|
1407
|
+
|
1408
|
+
def ==(other); end
|
1409
|
+
|
1410
|
+
def checksum; end
|
1411
|
+
|
1412
|
+
def devmajor; end
|
1413
|
+
|
1414
|
+
def devminor; end
|
1415
|
+
|
1416
|
+
def empty?; end
|
1417
|
+
|
1418
|
+
def gid; end
|
1419
|
+
|
1420
|
+
def gname; end
|
1421
|
+
|
1422
|
+
def initialize(vals); end
|
1423
|
+
|
1424
|
+
def linkname; end
|
1425
|
+
|
1426
|
+
def magic; end
|
1427
|
+
|
1428
|
+
def mode; end
|
1429
|
+
|
1430
|
+
def mtime; end
|
1431
|
+
|
1432
|
+
def name; end
|
1433
|
+
|
1434
|
+
def prefix; end
|
1435
|
+
|
1436
|
+
def size; end
|
1437
|
+
|
1438
|
+
def typeflag; end
|
1439
|
+
|
1440
|
+
def uid; end
|
1441
|
+
|
1442
|
+
def uname; end
|
1443
|
+
|
1444
|
+
def update_checksum; end
|
1445
|
+
|
1446
|
+
def version; end
|
1447
|
+
|
1448
|
+
def self.from(stream); end
|
1449
|
+
|
1450
|
+
def self.strict_oct(str); end
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
class TarInvalidError
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
class TarReader
|
1457
|
+
include Enumerable
|
1458
|
+
Elem = type_member(fixed: T.untyped)
|
1459
|
+
|
1460
|
+
def close; end
|
1461
|
+
|
1462
|
+
def each(&blk); end
|
1463
|
+
|
1464
|
+
def each_entry; end
|
1465
|
+
|
1466
|
+
def initialize(io); end
|
1467
|
+
|
1468
|
+
def rewind; end
|
1469
|
+
|
1470
|
+
def seek(name); end
|
1471
|
+
|
1472
|
+
def self.new(io); end
|
1473
|
+
|
1474
|
+
class Entry
|
1475
|
+
def bytes_read; end
|
1476
|
+
|
1477
|
+
def check_closed; end
|
1478
|
+
|
1479
|
+
def close; end
|
1480
|
+
|
1481
|
+
def closed?; end
|
1482
|
+
|
1483
|
+
def directory?; end
|
1484
|
+
|
1485
|
+
def eof?; end
|
1486
|
+
|
1487
|
+
def file?; end
|
1488
|
+
|
1489
|
+
def full_name; end
|
1490
|
+
|
1491
|
+
def getc; end
|
1492
|
+
|
1493
|
+
def header; end
|
1494
|
+
|
1495
|
+
def initialize(header, io); end
|
1496
|
+
|
1497
|
+
def length; end
|
1498
|
+
|
1499
|
+
def pos; end
|
1500
|
+
|
1501
|
+
def read(len = T.unsafe(nil)); end
|
1502
|
+
|
1503
|
+
def readpartial(maxlen = T.unsafe(nil), outbuf = T.unsafe(nil)); end
|
1504
|
+
|
1505
|
+
def rewind; end
|
1506
|
+
|
1507
|
+
def size; end
|
1508
|
+
|
1509
|
+
def symlink?; end
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
class UnexpectedEOF
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
class TarWriter
|
1517
|
+
def add_file(name, mode); end
|
1518
|
+
|
1519
|
+
def add_file_digest(name, mode, digest_algorithms); end
|
1520
|
+
|
1521
|
+
def add_file_signed(name, mode, signer); end
|
1522
|
+
|
1523
|
+
def add_file_simple(name, mode, size); end
|
1524
|
+
|
1525
|
+
def add_symlink(name, target, mode); end
|
1526
|
+
|
1527
|
+
def check_closed; end
|
1528
|
+
|
1529
|
+
def close; end
|
1530
|
+
|
1531
|
+
def closed?; end
|
1532
|
+
|
1533
|
+
def flush; end
|
1534
|
+
|
1535
|
+
def initialize(io); end
|
1536
|
+
|
1537
|
+
def mkdir(name, mode); end
|
1538
|
+
|
1539
|
+
def split_name(name); end
|
1540
|
+
|
1541
|
+
def self.new(io); end
|
1542
|
+
|
1543
|
+
class BoundedStream
|
1544
|
+
def initialize(io, limit); end
|
1545
|
+
|
1546
|
+
def limit; end
|
1547
|
+
|
1548
|
+
def write(data); end
|
1549
|
+
|
1550
|
+
def written; end
|
1551
|
+
end
|
1552
|
+
|
1553
|
+
class FileOverflow
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
class RestrictedStream
|
1557
|
+
def initialize(io); end
|
1558
|
+
|
1559
|
+
def write(data); end
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
class TooLongFileName
|
1564
|
+
end
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
class PathSupport
|
1568
|
+
def home; end
|
1569
|
+
|
1570
|
+
def initialize(env); end
|
1571
|
+
|
1572
|
+
def path; end
|
1573
|
+
|
1574
|
+
def spec_cache_dir; end
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
class Platform
|
1578
|
+
JAVA = T.let(nil, T.untyped)
|
1579
|
+
MINGW = T.let(nil, T.untyped)
|
1580
|
+
MSWIN = T.let(nil, T.untyped)
|
1581
|
+
MSWIN64 = T.let(nil, T.untyped)
|
1582
|
+
X64_MINGW = T.let(nil, T.untyped)
|
1583
|
+
|
1584
|
+
def ==(other); end
|
1585
|
+
|
1586
|
+
def ===(other); end
|
1587
|
+
|
1588
|
+
def =~(other); end
|
1589
|
+
|
1590
|
+
def cpu; end
|
1591
|
+
|
1592
|
+
def cpu=(cpu); end
|
1593
|
+
|
1594
|
+
def eql?(other); end
|
1595
|
+
|
1596
|
+
def initialize(arch); end
|
1597
|
+
|
1598
|
+
def os; end
|
1599
|
+
|
1600
|
+
def os=(os); end
|
1601
|
+
|
1602
|
+
def to_a; end
|
1603
|
+
|
1604
|
+
def version; end
|
1605
|
+
|
1606
|
+
def version=(version); end
|
1607
|
+
|
1608
|
+
def self.installable?(spec); end
|
1609
|
+
|
1610
|
+
def self.local; end
|
1611
|
+
|
1612
|
+
def self.match(platform); end
|
1613
|
+
|
1614
|
+
def self.new(arch); end
|
1615
|
+
end
|
1616
|
+
|
1617
|
+
class PlatformMismatch
|
1618
|
+
def add_platform(platform); end
|
1619
|
+
|
1620
|
+
def initialize(name, version); end
|
1621
|
+
|
1622
|
+
def name; end
|
1623
|
+
|
1624
|
+
def platforms; end
|
1625
|
+
|
1626
|
+
def version; end
|
1627
|
+
|
1628
|
+
def wordy; end
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
class RemoteFetcher
|
1632
|
+
include Gem::UserInteraction
|
1633
|
+
include Gem::DefaultUserInteraction
|
1634
|
+
include Gem::Text
|
1635
|
+
BASE64_URI_TRANSLATE = T.let(nil, T.untyped)
|
1636
|
+
|
1637
|
+
def cache_update_path(uri, path = T.unsafe(nil), update = T.unsafe(nil)); end
|
1638
|
+
|
1639
|
+
def close_all; end
|
1640
|
+
|
1641
|
+
def correct_for_windows_path(path); end
|
1642
|
+
|
1643
|
+
def download(spec, source_uri, install_dir = T.unsafe(nil)); end
|
1644
|
+
|
1645
|
+
def download_to_cache(dependency); end
|
1646
|
+
|
1647
|
+
def fetch_file(uri, *_); end
|
1648
|
+
|
1649
|
+
def fetch_http(uri, last_modified = T.unsafe(nil), head = T.unsafe(nil), depth = T.unsafe(nil)); end
|
1650
|
+
|
1651
|
+
def fetch_https(uri, last_modified = T.unsafe(nil), head = T.unsafe(nil), depth = T.unsafe(nil)); end
|
1652
|
+
|
1653
|
+
def fetch_path(uri, mtime = T.unsafe(nil), head = T.unsafe(nil)); end
|
1654
|
+
|
1655
|
+
def fetch_s3(uri, mtime = T.unsafe(nil), head = T.unsafe(nil)); end
|
1656
|
+
|
1657
|
+
def fetch_size(uri); end
|
1658
|
+
|
1659
|
+
def headers; end
|
1660
|
+
|
1661
|
+
def headers=(headers); end
|
1662
|
+
|
1663
|
+
def https?(uri); end
|
1664
|
+
|
1665
|
+
def initialize(proxy = T.unsafe(nil), dns = T.unsafe(nil), headers = T.unsafe(nil)); end
|
1666
|
+
|
1667
|
+
def request(uri, request_class, last_modified = T.unsafe(nil)); end
|
1668
|
+
|
1669
|
+
def s3_expiration; end
|
1670
|
+
|
1671
|
+
def sign_s3_url(uri, expiration = T.unsafe(nil)); end
|
1672
|
+
|
1673
|
+
def self.fetcher; end
|
1674
|
+
|
1675
|
+
def clean_text(text); end
|
1676
|
+
|
1677
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
1678
|
+
|
1679
|
+
def levenshtein_distance(str1, str2); end
|
1680
|
+
|
1681
|
+
def min3(a, b, c); end
|
1682
|
+
|
1683
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
1684
|
+
|
1685
|
+
def ui; end
|
1686
|
+
|
1687
|
+
def ui=(new_ui); end
|
1688
|
+
|
1689
|
+
def use_ui(new_ui, &block); end
|
1690
|
+
|
1691
|
+
def alert(statement, question = T.unsafe(nil)); end
|
1692
|
+
|
1693
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
1694
|
+
|
1695
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
1696
|
+
|
1697
|
+
def ask(question); end
|
1698
|
+
|
1699
|
+
def ask_for_password(prompt); end
|
1700
|
+
|
1701
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
1702
|
+
|
1703
|
+
def choose_from_list(question, list); end
|
1704
|
+
|
1705
|
+
def say(statement = T.unsafe(nil)); end
|
1706
|
+
|
1707
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
1708
|
+
|
1709
|
+
def verbose(msg = T.unsafe(nil)); end
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
class Request
|
1713
|
+
include Gem::UserInteraction
|
1714
|
+
include Gem::DefaultUserInteraction
|
1715
|
+
include Gem::Text
|
1716
|
+
extend Gem::UserInteraction
|
1717
|
+
extend Gem::DefaultUserInteraction
|
1718
|
+
extend Gem::Text
|
1719
|
+
|
1720
|
+
def cert_files; end
|
1721
|
+
|
1722
|
+
def connection_for(uri); end
|
1723
|
+
|
1724
|
+
def fetch; end
|
1725
|
+
|
1726
|
+
def initialize(uri, request_class, last_modified, pool); end
|
1727
|
+
|
1728
|
+
def perform_request(request); end
|
1729
|
+
|
1730
|
+
def proxy_uri; end
|
1731
|
+
|
1732
|
+
def reset(connection); end
|
1733
|
+
|
1734
|
+
def user_agent; end
|
1735
|
+
|
1736
|
+
def self.configure_connection_for_https(connection, cert_files); end
|
1737
|
+
|
1738
|
+
def self.create_with_proxy(uri, request_class, last_modified, proxy); end
|
1739
|
+
|
1740
|
+
def self.get_cert_files; end
|
1741
|
+
|
1742
|
+
def self.get_proxy_from_env(scheme = T.unsafe(nil)); end
|
1743
|
+
|
1744
|
+
def self.proxy_uri(proxy); end
|
1745
|
+
|
1746
|
+
def self.verify_certificate(store_context); end
|
1747
|
+
|
1748
|
+
def self.verify_certificate_message(error_number, cert); end
|
1749
|
+
|
1750
|
+
def self.clean_text(text); end
|
1751
|
+
|
1752
|
+
def self.format_text(text, wrap, indent = T.unsafe(nil)); end
|
1753
|
+
|
1754
|
+
def self.levenshtein_distance(str1, str2); end
|
1755
|
+
|
1756
|
+
def self.min3(a, b, c); end
|
1757
|
+
|
1758
|
+
def self.truncate_text(text, description, max_length = T.unsafe(nil)); end
|
1759
|
+
|
1760
|
+
def self.ui; end
|
1761
|
+
|
1762
|
+
def self.ui=(new_ui); end
|
1763
|
+
|
1764
|
+
def self.use_ui(new_ui, &block); end
|
1765
|
+
|
1766
|
+
def self.alert(statement, question = T.unsafe(nil)); end
|
1767
|
+
|
1768
|
+
def self.alert_error(statement, question = T.unsafe(nil)); end
|
1769
|
+
|
1770
|
+
def self.alert_warning(statement, question = T.unsafe(nil)); end
|
1771
|
+
|
1772
|
+
def self.ask(question); end
|
1773
|
+
|
1774
|
+
def self.ask_for_password(prompt); end
|
1775
|
+
|
1776
|
+
def self.ask_yes_no(question, default = T.unsafe(nil)); end
|
1777
|
+
|
1778
|
+
def self.choose_from_list(question, list); end
|
1779
|
+
|
1780
|
+
def self.say(statement = T.unsafe(nil)); end
|
1781
|
+
|
1782
|
+
def self.terminate_interaction(exit_code = T.unsafe(nil)); end
|
1783
|
+
|
1784
|
+
def self.verbose(msg = T.unsafe(nil)); end
|
1785
|
+
|
1786
|
+
def clean_text(text); end
|
1787
|
+
|
1788
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
1789
|
+
|
1790
|
+
def levenshtein_distance(str1, str2); end
|
1791
|
+
|
1792
|
+
def min3(a, b, c); end
|
1793
|
+
|
1794
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
1795
|
+
|
1796
|
+
def ui; end
|
1797
|
+
|
1798
|
+
def ui=(new_ui); end
|
1799
|
+
|
1800
|
+
def use_ui(new_ui, &block); end
|
1801
|
+
|
1802
|
+
def alert(statement, question = T.unsafe(nil)); end
|
1803
|
+
|
1804
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
1805
|
+
|
1806
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
1807
|
+
|
1808
|
+
def ask(question); end
|
1809
|
+
|
1810
|
+
def ask_for_password(prompt); end
|
1811
|
+
|
1812
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
1813
|
+
|
1814
|
+
def choose_from_list(question, list); end
|
1815
|
+
|
1816
|
+
def say(statement = T.unsafe(nil)); end
|
1817
|
+
|
1818
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
1819
|
+
|
1820
|
+
def verbose(msg = T.unsafe(nil)); end
|
1821
|
+
|
1822
|
+
class ConnectionPools
|
1823
|
+
def close_all; end
|
1824
|
+
|
1825
|
+
def initialize(proxy_uri, cert_files); end
|
1826
|
+
|
1827
|
+
def pool_for(uri); end
|
1828
|
+
|
1829
|
+
def self.client; end
|
1830
|
+
|
1831
|
+
def self.client=(client); end
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
class HTTPPool
|
1835
|
+
def cert_files; end
|
1836
|
+
|
1837
|
+
def checkin(connection); end
|
1838
|
+
|
1839
|
+
def checkout; end
|
1840
|
+
|
1841
|
+
def close_all; end
|
1842
|
+
|
1843
|
+
def initialize(http_args, cert_files, proxy_uri); end
|
1844
|
+
|
1845
|
+
def proxy_uri; end
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
class HTTPSPool
|
1849
|
+
end
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
class RequestSet
|
1853
|
+
include TSort
|
1854
|
+
|
1855
|
+
def always_install; end
|
1856
|
+
|
1857
|
+
def always_install=(always_install); end
|
1858
|
+
|
1859
|
+
def dependencies; end
|
1860
|
+
|
1861
|
+
def development; end
|
1862
|
+
|
1863
|
+
def development=(development); end
|
1864
|
+
|
1865
|
+
def development_shallow; end
|
1866
|
+
|
1867
|
+
def development_shallow=(development_shallow); end
|
1868
|
+
|
1869
|
+
def errors; end
|
1870
|
+
|
1871
|
+
def gem(name, *reqs); end
|
1872
|
+
|
1873
|
+
def git_set; end
|
1874
|
+
|
1875
|
+
def ignore_dependencies; end
|
1876
|
+
|
1877
|
+
def ignore_dependencies=(ignore_dependencies); end
|
1878
|
+
|
1879
|
+
def import(deps); end
|
1880
|
+
|
1881
|
+
def initialize(*deps); end
|
1882
|
+
|
1883
|
+
def install(options, &block); end
|
1884
|
+
|
1885
|
+
def install_dir; end
|
1886
|
+
|
1887
|
+
def install_from_gemdeps(options, &block); end
|
1888
|
+
|
1889
|
+
def install_hooks(requests, options); end
|
1890
|
+
|
1891
|
+
def install_into(dir, force = T.unsafe(nil), options = T.unsafe(nil)); end
|
1892
|
+
|
1893
|
+
def load_gemdeps(path, without_groups = T.unsafe(nil), installing = T.unsafe(nil)); end
|
1894
|
+
|
1895
|
+
def prerelease; end
|
1896
|
+
|
1897
|
+
def prerelease=(prerelease); end
|
1898
|
+
|
1899
|
+
def pretty_print(q); end
|
1900
|
+
|
1901
|
+
def remote; end
|
1902
|
+
|
1903
|
+
def remote=(remote); end
|
1904
|
+
|
1905
|
+
def resolve(set = T.unsafe(nil)); end
|
1906
|
+
|
1907
|
+
def resolve_current; end
|
1908
|
+
|
1909
|
+
def resolver; end
|
1910
|
+
|
1911
|
+
def sets; end
|
1912
|
+
|
1913
|
+
def soft_missing; end
|
1914
|
+
|
1915
|
+
def soft_missing=(soft_missing); end
|
1916
|
+
|
1917
|
+
def sorted_requests; end
|
1918
|
+
|
1919
|
+
def source_set; end
|
1920
|
+
|
1921
|
+
def specs; end
|
1922
|
+
|
1923
|
+
def specs_in(dir); end
|
1924
|
+
|
1925
|
+
def tsort_each_node(&block); end
|
1926
|
+
|
1927
|
+
def vendor_set; end
|
1928
|
+
|
1929
|
+
class GemDependencyAPI
|
1930
|
+
ENGINE_MAP = T.let(nil, T.untyped)
|
1931
|
+
PLATFORM_MAP = T.let(nil, T.untyped)
|
1932
|
+
VERSION_MAP = T.let(nil, T.untyped)
|
1933
|
+
WINDOWS = T.let(nil, T.untyped)
|
1934
|
+
|
1935
|
+
def dependencies; end
|
1936
|
+
|
1937
|
+
def find_gemspec(name, path); end
|
1938
|
+
|
1939
|
+
def gem(name, *requirements); end
|
1940
|
+
|
1941
|
+
def gem_deps_file; end
|
1942
|
+
|
1943
|
+
def gem_git_reference(options); end
|
1944
|
+
|
1945
|
+
def gemspec(options = T.unsafe(nil)); end
|
1946
|
+
|
1947
|
+
def git(repository); end
|
1948
|
+
|
1949
|
+
def git_set; end
|
1950
|
+
|
1951
|
+
def git_source(name, &callback); end
|
1952
|
+
|
1953
|
+
def group(*groups); end
|
1954
|
+
|
1955
|
+
def initialize(set, path); end
|
1956
|
+
|
1957
|
+
def installing=(installing); end
|
1958
|
+
|
1959
|
+
def load; end
|
1960
|
+
|
1961
|
+
def platform(*platforms); end
|
1962
|
+
|
1963
|
+
def platforms(*platforms); end
|
1964
|
+
|
1965
|
+
def requires; end
|
1966
|
+
|
1967
|
+
def ruby(version, options = T.unsafe(nil)); end
|
1968
|
+
|
1969
|
+
def source(url); end
|
1970
|
+
|
1971
|
+
def vendor_set; end
|
1972
|
+
|
1973
|
+
def without_groups; end
|
1974
|
+
|
1975
|
+
def without_groups=(without_groups); end
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
class Lockfile
|
1979
|
+
def add_DEPENDENCIES(out); end
|
1980
|
+
|
1981
|
+
def add_GEM(out, spec_groups); end
|
1982
|
+
|
1983
|
+
def add_GIT(out, git_requests); end
|
1984
|
+
|
1985
|
+
def add_PATH(out, path_requests); end
|
1986
|
+
|
1987
|
+
def add_PLATFORMS(out); end
|
1988
|
+
|
1989
|
+
def initialize(request_set, gem_deps_file, dependencies); end
|
1990
|
+
|
1991
|
+
def platforms; end
|
1992
|
+
|
1993
|
+
def relative_path_from(dest, base); end
|
1994
|
+
|
1995
|
+
def spec_groups; end
|
1996
|
+
|
1997
|
+
def write; end
|
1998
|
+
|
1999
|
+
def self.build(request_set, gem_deps_file, dependencies = T.unsafe(nil)); end
|
2000
|
+
|
2001
|
+
def self.requests_to_deps(requests); end
|
2002
|
+
|
2003
|
+
class ParseError
|
2004
|
+
def column; end
|
2005
|
+
|
2006
|
+
def initialize(message, column, line, path); end
|
2007
|
+
|
2008
|
+
def line; end
|
2009
|
+
|
2010
|
+
def path; end
|
2011
|
+
end
|
2012
|
+
|
2013
|
+
class Parser
|
2014
|
+
def get(expected_types = T.unsafe(nil), expected_value = T.unsafe(nil)); end
|
2015
|
+
|
2016
|
+
def initialize(tokenizer, set, platforms, filename = T.unsafe(nil)); end
|
2017
|
+
|
2018
|
+
def parse; end
|
2019
|
+
|
2020
|
+
def parse_DEPENDENCIES; end
|
2021
|
+
|
2022
|
+
def parse_GEM; end
|
2023
|
+
|
2024
|
+
def parse_GIT; end
|
2025
|
+
|
2026
|
+
def parse_PATH; end
|
2027
|
+
|
2028
|
+
def parse_PLATFORMS; end
|
2029
|
+
|
2030
|
+
def parse_dependency(name, op); end
|
2031
|
+
end
|
2032
|
+
|
2033
|
+
class Tokenizer
|
2034
|
+
EOF = T.let(nil, T.untyped)
|
2035
|
+
|
2036
|
+
def empty?; end
|
2037
|
+
|
2038
|
+
def initialize(input, filename = T.unsafe(nil), line = T.unsafe(nil), pos = T.unsafe(nil)); end
|
2039
|
+
|
2040
|
+
def make_parser(set, platforms); end
|
2041
|
+
|
2042
|
+
def next_token; end
|
2043
|
+
|
2044
|
+
def peek; end
|
2045
|
+
|
2046
|
+
def shift; end
|
2047
|
+
|
2048
|
+
def skip(type); end
|
2049
|
+
|
2050
|
+
def to_a; end
|
2051
|
+
|
2052
|
+
def token_pos(byte_offset); end
|
2053
|
+
|
2054
|
+
def unshift(token); end
|
2055
|
+
|
2056
|
+
def self.from_file(file); end
|
2057
|
+
|
2058
|
+
class Token
|
2059
|
+
def column; end
|
2060
|
+
|
2061
|
+
def column=(_); end
|
2062
|
+
|
2063
|
+
def line; end
|
2064
|
+
|
2065
|
+
def line=(_); end
|
2066
|
+
|
2067
|
+
def type; end
|
2068
|
+
|
2069
|
+
def type=(_); end
|
2070
|
+
|
2071
|
+
def value; end
|
2072
|
+
|
2073
|
+
def value=(_); end
|
2074
|
+
|
2075
|
+
def self.[](*_); end
|
2076
|
+
|
2077
|
+
def self.members; end
|
2078
|
+
end
|
2079
|
+
end
|
2080
|
+
end
|
2081
|
+
end
|
2082
|
+
|
2083
|
+
class Requirement
|
2084
|
+
DefaultRequirement = T.let(nil, T.untyped)
|
2085
|
+
|
2086
|
+
def ==(other); end
|
2087
|
+
|
2088
|
+
def ===(version); end
|
2089
|
+
|
2090
|
+
def =~(version); end
|
2091
|
+
|
2092
|
+
def _tilde_requirements; end
|
2093
|
+
|
2094
|
+
def as_list; end
|
2095
|
+
|
2096
|
+
def concat(new); end
|
2097
|
+
|
2098
|
+
def encode_with(coder); end
|
2099
|
+
|
2100
|
+
def exact?; end
|
2101
|
+
|
2102
|
+
def for_lockfile; end
|
2103
|
+
|
2104
|
+
def init_with(coder); end
|
2105
|
+
|
2106
|
+
def initialize(*requirements); end
|
2107
|
+
|
2108
|
+
def marshal_dump; end
|
2109
|
+
|
2110
|
+
def marshal_load(array); end
|
2111
|
+
|
2112
|
+
def none?; end
|
2113
|
+
|
2114
|
+
def prerelease?; end
|
2115
|
+
|
2116
|
+
def pretty_print(q); end
|
2117
|
+
|
2118
|
+
def requirements; end
|
2119
|
+
|
2120
|
+
def satisfied_by?(version); end
|
2121
|
+
|
2122
|
+
def specific?; end
|
2123
|
+
|
2124
|
+
def to_yaml_properties; end
|
2125
|
+
|
2126
|
+
def yaml_initialize(tag, vals); end
|
2127
|
+
|
2128
|
+
def self.create(*inputs); end
|
2129
|
+
|
2130
|
+
def self.default; end
|
2131
|
+
|
2132
|
+
def self.parse(obj); end
|
2133
|
+
|
2134
|
+
def self.source_set; end
|
2135
|
+
end
|
2136
|
+
|
2137
|
+
class Resolver
|
2138
|
+
include Gem::Resolver::Molinillo::UI
|
2139
|
+
include Gem::Resolver::Molinillo::SpecificationProvider
|
2140
|
+
DEBUG_RESOLVER = T.let(nil, T.untyped)
|
2141
|
+
|
2142
|
+
def activation_request(dep, possible); end
|
2143
|
+
|
2144
|
+
def development; end
|
2145
|
+
|
2146
|
+
def development=(development); end
|
2147
|
+
|
2148
|
+
def development_shallow; end
|
2149
|
+
|
2150
|
+
def development_shallow=(development_shallow); end
|
2151
|
+
|
2152
|
+
def explain(stage, *data); end
|
2153
|
+
|
2154
|
+
def explain_list(stage); end
|
2155
|
+
|
2156
|
+
def find_possible(dependency); end
|
2157
|
+
|
2158
|
+
def ignore_dependencies; end
|
2159
|
+
|
2160
|
+
def ignore_dependencies=(ignore_dependencies); end
|
2161
|
+
|
2162
|
+
def initialize(needed, set = T.unsafe(nil)); end
|
2163
|
+
|
2164
|
+
def missing; end
|
2165
|
+
|
2166
|
+
def requests(s, act, reqs = T.unsafe(nil)); end
|
2167
|
+
|
2168
|
+
def resolve; end
|
2169
|
+
|
2170
|
+
def select_local_platforms(specs); end
|
2171
|
+
|
2172
|
+
def skip_gems; end
|
2173
|
+
|
2174
|
+
def skip_gems=(skip_gems); end
|
2175
|
+
|
2176
|
+
def soft_missing; end
|
2177
|
+
|
2178
|
+
def soft_missing=(soft_missing); end
|
2179
|
+
|
2180
|
+
def stats; end
|
2181
|
+
|
2182
|
+
def self.compose_sets(*sets); end
|
2183
|
+
|
2184
|
+
def self.for_current_gems(needed); end
|
2185
|
+
|
2186
|
+
def allow_missing?(dependency); end
|
2187
|
+
|
2188
|
+
def dependencies_for(specification); end
|
2189
|
+
|
2190
|
+
def name_for(dependency); end
|
2191
|
+
|
2192
|
+
def name_for_explicit_dependency_source; end
|
2193
|
+
|
2194
|
+
def name_for_locking_dependency_source; end
|
2195
|
+
|
2196
|
+
def requirement_satisfied_by?(requirement, activated, spec); end
|
2197
|
+
|
2198
|
+
def search_for(dependency); end
|
2199
|
+
|
2200
|
+
def sort_dependencies(dependencies, activated, conflicts); end
|
2201
|
+
|
2202
|
+
def after_resolution; end
|
2203
|
+
|
2204
|
+
def before_resolution; end
|
2205
|
+
|
2206
|
+
def debug(depth = T.unsafe(nil)); end
|
2207
|
+
|
2208
|
+
def debug?; end
|
2209
|
+
|
2210
|
+
def indicate_progress; end
|
2211
|
+
|
2212
|
+
def output; end
|
2213
|
+
|
2214
|
+
def progress_rate; end
|
2215
|
+
|
2216
|
+
class APISet
|
2217
|
+
def dep_uri; end
|
2218
|
+
|
2219
|
+
def initialize(dep_uri = T.unsafe(nil)); end
|
2220
|
+
|
2221
|
+
def prefetch_now; end
|
2222
|
+
|
2223
|
+
def pretty_print(q); end
|
2224
|
+
|
2225
|
+
def source; end
|
2226
|
+
|
2227
|
+
def uri; end
|
2228
|
+
|
2229
|
+
def versions(name); end
|
2230
|
+
end
|
2231
|
+
|
2232
|
+
class APISpecification
|
2233
|
+
def ==(other); end
|
2234
|
+
|
2235
|
+
def initialize(set, api_data); end
|
2236
|
+
|
2237
|
+
def pretty_print(q); end
|
2238
|
+
end
|
2239
|
+
|
2240
|
+
class ActivationRequest
|
2241
|
+
def ==(other); end
|
2242
|
+
|
2243
|
+
def development?; end
|
2244
|
+
|
2245
|
+
def download(path); end
|
2246
|
+
|
2247
|
+
def full_name; end
|
2248
|
+
|
2249
|
+
def full_spec; end
|
2250
|
+
|
2251
|
+
def initialize(spec, request, others_possible = T.unsafe(nil)); end
|
2252
|
+
|
2253
|
+
def installed?; end
|
2254
|
+
|
2255
|
+
def name; end
|
2256
|
+
|
2257
|
+
def others_possible?; end
|
2258
|
+
|
2259
|
+
def parent; end
|
2260
|
+
|
2261
|
+
def pretty_print(q); end
|
2262
|
+
|
2263
|
+
def request; end
|
2264
|
+
|
2265
|
+
def spec; end
|
2266
|
+
|
2267
|
+
def version; end
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
class BestSet
|
2271
|
+
def initialize(sources = T.unsafe(nil)); end
|
2272
|
+
|
2273
|
+
def pick_sets; end
|
2274
|
+
|
2275
|
+
def pretty_print(q); end
|
2276
|
+
|
2277
|
+
def replace_failed_api_set(error); end
|
2278
|
+
end
|
2279
|
+
|
2280
|
+
class ComposedSet
|
2281
|
+
def initialize(*sets); end
|
2282
|
+
|
2283
|
+
def prerelease=(allow_prerelease); end
|
2284
|
+
|
2285
|
+
def remote=(remote); end
|
2286
|
+
|
2287
|
+
def sets; end
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
class Conflict
|
2291
|
+
def ==(other); end
|
2292
|
+
|
2293
|
+
def activated; end
|
2294
|
+
|
2295
|
+
def conflicting_dependencies; end
|
2296
|
+
|
2297
|
+
def dependency; end
|
2298
|
+
|
2299
|
+
def explain; end
|
2300
|
+
|
2301
|
+
def explanation; end
|
2302
|
+
|
2303
|
+
def failed_dep; end
|
2304
|
+
|
2305
|
+
def for_spec?(spec); end
|
2306
|
+
|
2307
|
+
def initialize(dependency, activated, failed_dep = T.unsafe(nil)); end
|
2308
|
+
|
2309
|
+
def pretty_print(q); end
|
2310
|
+
|
2311
|
+
def request_path(current); end
|
2312
|
+
|
2313
|
+
def requester; end
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
class CurrentSet
|
2317
|
+
end
|
2318
|
+
|
2319
|
+
class DependencyRequest
|
2320
|
+
def ==(other); end
|
2321
|
+
|
2322
|
+
def dependency; end
|
2323
|
+
|
2324
|
+
def development?; end
|
2325
|
+
|
2326
|
+
def explicit?; end
|
2327
|
+
|
2328
|
+
def implicit?; end
|
2329
|
+
|
2330
|
+
def initialize(dependency, requester); end
|
2331
|
+
|
2332
|
+
def match?(spec, allow_prerelease = T.unsafe(nil)); end
|
2333
|
+
|
2334
|
+
def matches_spec?(spec); end
|
2335
|
+
|
2336
|
+
def name; end
|
2337
|
+
|
2338
|
+
def pretty_print(q); end
|
2339
|
+
|
2340
|
+
def request_context; end
|
2341
|
+
|
2342
|
+
def requester; end
|
2343
|
+
|
2344
|
+
def requirement; end
|
2345
|
+
|
2346
|
+
def type; end
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
class GitSet
|
2350
|
+
def add_git_gem(name, repository, reference, submodules); end
|
2351
|
+
|
2352
|
+
def add_git_spec(name, version, repository, reference, submodules); end
|
2353
|
+
|
2354
|
+
def need_submodules; end
|
2355
|
+
|
2356
|
+
def pretty_print(q); end
|
2357
|
+
|
2358
|
+
def repositories; end
|
2359
|
+
|
2360
|
+
def root_dir; end
|
2361
|
+
|
2362
|
+
def root_dir=(root_dir); end
|
2363
|
+
|
2364
|
+
def specs; end
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
class GitSpecification
|
2368
|
+
def ==(other); end
|
2369
|
+
|
2370
|
+
def add_dependency(dependency); end
|
2371
|
+
|
2372
|
+
def pretty_print(q); end
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
class IndexSet
|
2376
|
+
def initialize(source = T.unsafe(nil)); end
|
2377
|
+
|
2378
|
+
def pretty_print(q); end
|
2379
|
+
end
|
2380
|
+
|
2381
|
+
class IndexSpecification
|
2382
|
+
def initialize(set, name, version, source, platform); end
|
2383
|
+
|
2384
|
+
def pretty_print(q); end
|
2385
|
+
end
|
2386
|
+
|
2387
|
+
class InstalledSpecification
|
2388
|
+
def ==(other); end
|
2389
|
+
|
2390
|
+
def pretty_print(q); end
|
2391
|
+
end
|
2392
|
+
|
2393
|
+
class InstallerSet
|
2394
|
+
def add_always_install(dependency); end
|
2395
|
+
|
2396
|
+
def add_local(dep_name, spec, source); end
|
2397
|
+
|
2398
|
+
def always_install; end
|
2399
|
+
|
2400
|
+
def consider_local?; end
|
2401
|
+
|
2402
|
+
def consider_remote?; end
|
2403
|
+
|
2404
|
+
def ignore_dependencies; end
|
2405
|
+
|
2406
|
+
def ignore_dependencies=(ignore_dependencies); end
|
2407
|
+
|
2408
|
+
def ignore_installed; end
|
2409
|
+
|
2410
|
+
def ignore_installed=(ignore_installed); end
|
2411
|
+
|
2412
|
+
def initialize(domain); end
|
2413
|
+
|
2414
|
+
def load_spec(name, ver, platform, source); end
|
2415
|
+
|
2416
|
+
def local?(dep_name); end
|
2417
|
+
|
2418
|
+
def prerelease=(allow_prerelease); end
|
2419
|
+
|
2420
|
+
def pretty_print(q); end
|
2421
|
+
|
2422
|
+
def remote=(remote); end
|
2423
|
+
|
2424
|
+
def remote_set; end
|
2425
|
+
end
|
2426
|
+
|
2427
|
+
class LocalSpecification
|
2428
|
+
def pretty_print(q); end
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
class LockSet
|
2432
|
+
def add(name, version, platform); end
|
2433
|
+
|
2434
|
+
def initialize(sources); end
|
2435
|
+
|
2436
|
+
def load_spec(name, version, platform, source); end
|
2437
|
+
|
2438
|
+
def pretty_print(q); end
|
2439
|
+
|
2440
|
+
def specs; end
|
2441
|
+
end
|
2442
|
+
|
2443
|
+
class LockSpecification
|
2444
|
+
def add_dependency(dependency); end
|
2445
|
+
|
2446
|
+
def initialize(set, name, version, sources, platform); end
|
2447
|
+
|
2448
|
+
def pretty_print(q); end
|
2449
|
+
|
2450
|
+
def sources; end
|
2451
|
+
end
|
2452
|
+
|
2453
|
+
module Molinillo
|
2454
|
+
VERSION = T.let(nil, T.untyped)
|
2455
|
+
|
2456
|
+
class CircularDependencyError
|
2457
|
+
def dependencies; end
|
2458
|
+
|
2459
|
+
def initialize(nodes); end
|
2460
|
+
end
|
2461
|
+
|
2462
|
+
module Delegates
|
2463
|
+
module ResolutionState
|
2464
|
+
def activated; end
|
2465
|
+
|
2466
|
+
def conflicts; end
|
2467
|
+
|
2468
|
+
def depth; end
|
2469
|
+
|
2470
|
+
def name; end
|
2471
|
+
|
2472
|
+
def possibilities; end
|
2473
|
+
|
2474
|
+
def requirement; end
|
2475
|
+
|
2476
|
+
def requirements; end
|
2477
|
+
end
|
2478
|
+
|
2479
|
+
module SpecificationProvider
|
2480
|
+
def allow_missing?(dependency); end
|
2481
|
+
|
2482
|
+
def dependencies_for(specification); end
|
2483
|
+
|
2484
|
+
def name_for(dependency); end
|
2485
|
+
|
2486
|
+
def name_for_explicit_dependency_source; end
|
2487
|
+
|
2488
|
+
def name_for_locking_dependency_source; end
|
2489
|
+
|
2490
|
+
def requirement_satisfied_by?(requirement, activated, spec); end
|
2491
|
+
|
2492
|
+
def search_for(dependency); end
|
2493
|
+
|
2494
|
+
def sort_dependencies(dependencies, activated, conflicts); end
|
2495
|
+
end
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
class DependencyGraph
|
2499
|
+
include Enumerable
|
2500
|
+
include TSort
|
2501
|
+
Elem = type_member(fixed: T.untyped)
|
2502
|
+
|
2503
|
+
def ==(other); end
|
2504
|
+
|
2505
|
+
def add_child_vertex(name, payload, parent_names, requirement); end
|
2506
|
+
|
2507
|
+
def add_edge(origin, destination, requirement); end
|
2508
|
+
|
2509
|
+
def add_vertex(name, payload, root = T.unsafe(nil)); end
|
2510
|
+
|
2511
|
+
def delete_edge(edge); end
|
2512
|
+
|
2513
|
+
def detach_vertex_named(name); end
|
2514
|
+
|
2515
|
+
def each(&blk); end
|
2516
|
+
|
2517
|
+
def log; end
|
2518
|
+
|
2519
|
+
def rewind_to(tag); end
|
2520
|
+
|
2521
|
+
def root_vertex_named(name); end
|
2522
|
+
|
2523
|
+
def set_payload(name, payload); end
|
2524
|
+
|
2525
|
+
def tag(tag); end
|
2526
|
+
|
2527
|
+
def to_dot(options = T.unsafe(nil)); end
|
2528
|
+
|
2529
|
+
def tsort_each_child(vertex, &block); end
|
2530
|
+
|
2531
|
+
def vertex_named(name); end
|
2532
|
+
|
2533
|
+
def vertices; end
|
2534
|
+
|
2535
|
+
def self.tsort(vertices); end
|
2536
|
+
|
2537
|
+
class Action
|
2538
|
+
def down(graph); end
|
2539
|
+
|
2540
|
+
def next; end
|
2541
|
+
|
2542
|
+
def next=(_); end
|
2543
|
+
|
2544
|
+
def previous; end
|
2545
|
+
|
2546
|
+
def previous=(previous); end
|
2547
|
+
|
2548
|
+
def up(graph); end
|
2549
|
+
|
2550
|
+
def self.action_name; end
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
class AddEdgeNoCircular
|
2554
|
+
def destination; end
|
2555
|
+
|
2556
|
+
def initialize(origin, destination, requirement); end
|
2557
|
+
|
2558
|
+
def make_edge(graph); end
|
2559
|
+
|
2560
|
+
def origin; end
|
2561
|
+
|
2562
|
+
def requirement; end
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
class AddVertex
|
2566
|
+
def initialize(name, payload, root); end
|
2567
|
+
|
2568
|
+
def name; end
|
2569
|
+
|
2570
|
+
def payload; end
|
2571
|
+
|
2572
|
+
def root; end
|
2573
|
+
end
|
2574
|
+
|
2575
|
+
class DeleteEdge
|
2576
|
+
def destination_name; end
|
2577
|
+
|
2578
|
+
def initialize(origin_name, destination_name, requirement); end
|
2579
|
+
|
2580
|
+
def make_edge(graph); end
|
2581
|
+
|
2582
|
+
def origin_name; end
|
2583
|
+
|
2584
|
+
def requirement; end
|
2585
|
+
end
|
2586
|
+
|
2587
|
+
class DetachVertexNamed
|
2588
|
+
def initialize(name); end
|
2589
|
+
|
2590
|
+
def name; end
|
2591
|
+
end
|
2592
|
+
|
2593
|
+
class Edge
|
2594
|
+
def destination; end
|
2595
|
+
|
2596
|
+
def destination=(_); end
|
2597
|
+
|
2598
|
+
def origin; end
|
2599
|
+
|
2600
|
+
def origin=(_); end
|
2601
|
+
|
2602
|
+
def requirement; end
|
2603
|
+
|
2604
|
+
def requirement=(_); end
|
2605
|
+
|
2606
|
+
def self.[](*_); end
|
2607
|
+
|
2608
|
+
def self.members; end
|
2609
|
+
end
|
2610
|
+
|
2611
|
+
class Log
|
2612
|
+
extend T::Enumerable
|
2613
|
+
Elem = type_member(fixed: T.untyped)
|
2614
|
+
|
2615
|
+
def add_edge_no_circular(graph, origin, destination, requirement); end
|
2616
|
+
|
2617
|
+
def add_vertex(graph, name, payload, root); end
|
2618
|
+
|
2619
|
+
def delete_edge(graph, origin_name, destination_name, requirement); end
|
2620
|
+
|
2621
|
+
def detach_vertex_named(graph, name); end
|
2622
|
+
|
2623
|
+
def each(&blk); end
|
2624
|
+
|
2625
|
+
def pop!(graph); end
|
2626
|
+
|
2627
|
+
def reverse_each; end
|
2628
|
+
|
2629
|
+
def rewind_to(graph, tag); end
|
2630
|
+
|
2631
|
+
def set_payload(graph, name, payload); end
|
2632
|
+
|
2633
|
+
def tag(graph, tag); end
|
2634
|
+
end
|
2635
|
+
|
2636
|
+
class SetPayload
|
2637
|
+
def initialize(name, payload); end
|
2638
|
+
|
2639
|
+
def name; end
|
2640
|
+
|
2641
|
+
def payload; end
|
2642
|
+
end
|
2643
|
+
|
2644
|
+
class Tag
|
2645
|
+
def down(_graph); end
|
2646
|
+
|
2647
|
+
def initialize(tag); end
|
2648
|
+
|
2649
|
+
def tag; end
|
2650
|
+
|
2651
|
+
def up(_graph); end
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
class Vertex
|
2655
|
+
def ==(other); end
|
2656
|
+
|
2657
|
+
def ancestor?(other); end
|
2658
|
+
|
2659
|
+
def descendent?(other); end
|
2660
|
+
|
2661
|
+
def eql?(other); end
|
2662
|
+
|
2663
|
+
def explicit_requirements; end
|
2664
|
+
|
2665
|
+
def incoming_edges; end
|
2666
|
+
|
2667
|
+
def incoming_edges=(incoming_edges); end
|
2668
|
+
|
2669
|
+
def initialize(name, payload); end
|
2670
|
+
|
2671
|
+
def is_reachable_from?(other); end
|
2672
|
+
|
2673
|
+
def name; end
|
2674
|
+
|
2675
|
+
def name=(name); end
|
2676
|
+
|
2677
|
+
def outgoing_edges; end
|
2678
|
+
|
2679
|
+
def outgoing_edges=(outgoing_edges); end
|
2680
|
+
|
2681
|
+
def path_to?(other); end
|
2682
|
+
|
2683
|
+
def payload; end
|
2684
|
+
|
2685
|
+
def payload=(payload); end
|
2686
|
+
|
2687
|
+
def predecessors; end
|
2688
|
+
|
2689
|
+
def recursive_predecessors; end
|
2690
|
+
|
2691
|
+
def recursive_successors; end
|
2692
|
+
|
2693
|
+
def requirements; end
|
2694
|
+
|
2695
|
+
def root; end
|
2696
|
+
|
2697
|
+
def root=(root); end
|
2698
|
+
|
2699
|
+
def root?; end
|
2700
|
+
|
2701
|
+
def shallow_eql?(other); end
|
2702
|
+
|
2703
|
+
def successors; end
|
2704
|
+
end
|
2705
|
+
end
|
2706
|
+
|
2707
|
+
class DependencyState
|
2708
|
+
def pop_possibility_state; end
|
2709
|
+
end
|
2710
|
+
|
2711
|
+
class NoSuchDependencyError
|
2712
|
+
def dependency; end
|
2713
|
+
|
2714
|
+
def dependency=(dependency); end
|
2715
|
+
|
2716
|
+
def initialize(dependency, required_by = T.unsafe(nil)); end
|
2717
|
+
|
2718
|
+
def required_by; end
|
2719
|
+
|
2720
|
+
def required_by=(required_by); end
|
2721
|
+
end
|
2722
|
+
|
2723
|
+
class PossibilityState
|
2724
|
+
end
|
2725
|
+
|
2726
|
+
class ResolutionState
|
2727
|
+
def activated; end
|
2728
|
+
|
2729
|
+
def activated=(_); end
|
2730
|
+
|
2731
|
+
def conflicts; end
|
2732
|
+
|
2733
|
+
def conflicts=(_); end
|
2734
|
+
|
2735
|
+
def depth; end
|
2736
|
+
|
2737
|
+
def depth=(_); end
|
2738
|
+
|
2739
|
+
def name; end
|
2740
|
+
|
2741
|
+
def name=(_); end
|
2742
|
+
|
2743
|
+
def possibilities; end
|
2744
|
+
|
2745
|
+
def possibilities=(_); end
|
2746
|
+
|
2747
|
+
def requirement; end
|
2748
|
+
|
2749
|
+
def requirement=(_); end
|
2750
|
+
|
2751
|
+
def requirements; end
|
2752
|
+
|
2753
|
+
def requirements=(_); end
|
2754
|
+
|
2755
|
+
def self.[](*_); end
|
2756
|
+
|
2757
|
+
def self.empty; end
|
2758
|
+
|
2759
|
+
def self.members; end
|
2760
|
+
end
|
2761
|
+
|
2762
|
+
class Resolver
|
2763
|
+
def initialize(specification_provider, resolver_ui); end
|
2764
|
+
|
2765
|
+
def resolve(requested, base = T.unsafe(nil)); end
|
2766
|
+
|
2767
|
+
def resolver_ui; end
|
2768
|
+
|
2769
|
+
def specification_provider; end
|
2770
|
+
|
2771
|
+
class Resolution
|
2772
|
+
include Gem::Resolver::Molinillo::Delegates::ResolutionState
|
2773
|
+
include Gem::Resolver::Molinillo::Delegates::SpecificationProvider
|
2774
|
+
|
2775
|
+
def base; end
|
2776
|
+
|
2777
|
+
def initialize(specification_provider, resolver_ui, requested, base); end
|
2778
|
+
|
2779
|
+
def iteration_rate=(iteration_rate); end
|
2780
|
+
|
2781
|
+
def original_requested; end
|
2782
|
+
|
2783
|
+
def resolve; end
|
2784
|
+
|
2785
|
+
def resolver_ui; end
|
2786
|
+
|
2787
|
+
def specification_provider; end
|
2788
|
+
|
2789
|
+
def started_at=(started_at); end
|
2790
|
+
|
2791
|
+
def states=(states); end
|
2792
|
+
|
2793
|
+
def allow_missing?(dependency); end
|
2794
|
+
|
2795
|
+
def dependencies_for(specification); end
|
2796
|
+
|
2797
|
+
def name_for(dependency); end
|
2798
|
+
|
2799
|
+
def name_for_explicit_dependency_source; end
|
2800
|
+
|
2801
|
+
def name_for_locking_dependency_source; end
|
2802
|
+
|
2803
|
+
def requirement_satisfied_by?(requirement, activated, spec); end
|
2804
|
+
|
2805
|
+
def search_for(dependency); end
|
2806
|
+
|
2807
|
+
def sort_dependencies(dependencies, activated, conflicts); end
|
2808
|
+
|
2809
|
+
def activated; end
|
2810
|
+
|
2811
|
+
def conflicts; end
|
2812
|
+
|
2813
|
+
def depth; end
|
2814
|
+
|
2815
|
+
def name; end
|
2816
|
+
|
2817
|
+
def possibilities; end
|
2818
|
+
|
2819
|
+
def requirement; end
|
2820
|
+
|
2821
|
+
def requirements; end
|
2822
|
+
|
2823
|
+
class Conflict
|
2824
|
+
def activated_by_name; end
|
2825
|
+
|
2826
|
+
def activated_by_name=(_); end
|
2827
|
+
|
2828
|
+
def existing; end
|
2829
|
+
|
2830
|
+
def existing=(_); end
|
2831
|
+
|
2832
|
+
def locked_requirement; end
|
2833
|
+
|
2834
|
+
def locked_requirement=(_); end
|
2835
|
+
|
2836
|
+
def possibility; end
|
2837
|
+
|
2838
|
+
def possibility=(_); end
|
2839
|
+
|
2840
|
+
def requirement; end
|
2841
|
+
|
2842
|
+
def requirement=(_); end
|
2843
|
+
|
2844
|
+
def requirement_trees; end
|
2845
|
+
|
2846
|
+
def requirement_trees=(_); end
|
2847
|
+
|
2848
|
+
def requirements; end
|
2849
|
+
|
2850
|
+
def requirements=(_); end
|
2851
|
+
|
2852
|
+
def self.[](*_); end
|
2853
|
+
|
2854
|
+
def self.members; end
|
2855
|
+
end
|
2856
|
+
end
|
2857
|
+
end
|
2858
|
+
|
2859
|
+
class ResolverError
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
module SpecificationProvider
|
2863
|
+
def allow_missing?(dependency); end
|
2864
|
+
|
2865
|
+
def dependencies_for(specification); end
|
2866
|
+
|
2867
|
+
def name_for(dependency); end
|
2868
|
+
|
2869
|
+
def name_for_explicit_dependency_source; end
|
2870
|
+
|
2871
|
+
def name_for_locking_dependency_source; end
|
2872
|
+
|
2873
|
+
def requirement_satisfied_by?(requirement, activated, spec); end
|
2874
|
+
|
2875
|
+
def search_for(dependency); end
|
2876
|
+
|
2877
|
+
def sort_dependencies(dependencies, activated, conflicts); end
|
2878
|
+
end
|
2879
|
+
|
2880
|
+
module UI
|
2881
|
+
def after_resolution; end
|
2882
|
+
|
2883
|
+
def before_resolution; end
|
2884
|
+
|
2885
|
+
def debug(depth = T.unsafe(nil)); end
|
2886
|
+
|
2887
|
+
def debug?; end
|
2888
|
+
|
2889
|
+
def indicate_progress; end
|
2890
|
+
|
2891
|
+
def output; end
|
2892
|
+
|
2893
|
+
def progress_rate; end
|
2894
|
+
end
|
2895
|
+
|
2896
|
+
class VersionConflict
|
2897
|
+
def conflicts; end
|
2898
|
+
|
2899
|
+
def initialize(conflicts); end
|
2900
|
+
end
|
2901
|
+
end
|
2902
|
+
|
2903
|
+
class RequirementList
|
2904
|
+
include Enumerable
|
2905
|
+
Elem = type_member(fixed: T.untyped)
|
2906
|
+
|
2907
|
+
def add(req); end
|
2908
|
+
|
2909
|
+
def each(&blk); end
|
2910
|
+
|
2911
|
+
def empty?; end
|
2912
|
+
|
2913
|
+
def next5; end
|
2914
|
+
|
2915
|
+
def remove; end
|
2916
|
+
|
2917
|
+
def size; end
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
class Set
|
2921
|
+
def errors; end
|
2922
|
+
|
2923
|
+
def errors=(errors); end
|
2924
|
+
|
2925
|
+
def find_all(req); end
|
2926
|
+
|
2927
|
+
def prefetch(reqs); end
|
2928
|
+
|
2929
|
+
def prerelease; end
|
2930
|
+
|
2931
|
+
def prerelease=(prerelease); end
|
2932
|
+
|
2933
|
+
def remote; end
|
2934
|
+
|
2935
|
+
def remote=(remote); end
|
2936
|
+
|
2937
|
+
def remote?; end
|
2938
|
+
end
|
2939
|
+
|
2940
|
+
class SourceSet
|
2941
|
+
def add_source_gem(name, source); end
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
class SpecSpecification
|
2945
|
+
def initialize(set, spec, source = T.unsafe(nil)); end
|
2946
|
+
end
|
2947
|
+
|
2948
|
+
class Specification
|
2949
|
+
def dependencies; end
|
2950
|
+
|
2951
|
+
def download(options); end
|
2952
|
+
|
2953
|
+
def fetch_development_dependencies; end
|
2954
|
+
|
2955
|
+
def full_name; end
|
2956
|
+
|
2957
|
+
def install(options = T.unsafe(nil)); end
|
2958
|
+
|
2959
|
+
def installable_platform?; end
|
2960
|
+
|
2961
|
+
def local?; end
|
2962
|
+
|
2963
|
+
def name; end
|
2964
|
+
|
2965
|
+
def platform; end
|
2966
|
+
|
2967
|
+
def set; end
|
2968
|
+
|
2969
|
+
def source; end
|
2970
|
+
|
2971
|
+
def spec; end
|
2972
|
+
|
2973
|
+
def version; end
|
2974
|
+
end
|
2975
|
+
|
2976
|
+
class Stats
|
2977
|
+
PATTERN = T.let(nil, T.untyped)
|
2978
|
+
|
2979
|
+
def backtracking!; end
|
2980
|
+
|
2981
|
+
def display; end
|
2982
|
+
|
2983
|
+
def iteration!; end
|
2984
|
+
|
2985
|
+
def record_depth(stack); end
|
2986
|
+
|
2987
|
+
def record_requirements(reqs); end
|
2988
|
+
|
2989
|
+
def requirement!; end
|
2990
|
+
end
|
2991
|
+
|
2992
|
+
class VendorSet
|
2993
|
+
def add_vendor_gem(name, directory); end
|
2994
|
+
|
2995
|
+
def load_spec(name, version, platform, source); end
|
2996
|
+
|
2997
|
+
def pretty_print(q); end
|
2998
|
+
|
2999
|
+
def specs; end
|
3000
|
+
end
|
3001
|
+
|
3002
|
+
class VendorSpecification
|
3003
|
+
def ==(other); end
|
3004
|
+
end
|
3005
|
+
end
|
3006
|
+
|
3007
|
+
class RuntimeRequirementNotMetError
|
3008
|
+
def suggestion; end
|
3009
|
+
|
3010
|
+
def suggestion=(suggestion); end
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
module Security
|
3014
|
+
AlmostNoSecurity = T.let(nil, T.untyped)
|
3015
|
+
DIGEST_NAME = T.let(nil, T.untyped)
|
3016
|
+
EXTENSIONS = T.let(nil, T.untyped)
|
3017
|
+
HighSecurity = T.let(nil, T.untyped)
|
3018
|
+
KEY_CIPHER = T.let(nil, T.untyped)
|
3019
|
+
KEY_LENGTH = T.let(nil, T.untyped)
|
3020
|
+
LowSecurity = T.let(nil, T.untyped)
|
3021
|
+
MediumSecurity = T.let(nil, T.untyped)
|
3022
|
+
NoSecurity = T.let(nil, T.untyped)
|
3023
|
+
ONE_DAY = T.let(nil, T.untyped)
|
3024
|
+
ONE_YEAR = T.let(nil, T.untyped)
|
3025
|
+
Policies = T.let(nil, T.untyped)
|
3026
|
+
SigningPolicy = T.let(nil, T.untyped)
|
3027
|
+
|
3028
|
+
def self.alt_name_or_x509_entry(certificate, x509_entry); end
|
3029
|
+
|
3030
|
+
def self.create_cert(subject, key, age = T.unsafe(nil), extensions = T.unsafe(nil), serial = T.unsafe(nil)); end
|
3031
|
+
|
3032
|
+
def self.create_cert_email(email, key, age = T.unsafe(nil), extensions = T.unsafe(nil)); end
|
3033
|
+
|
3034
|
+
def self.create_cert_self_signed(subject, key, age = T.unsafe(nil), extensions = T.unsafe(nil), serial = T.unsafe(nil)); end
|
3035
|
+
|
3036
|
+
def self.create_key(length = T.unsafe(nil), algorithm = T.unsafe(nil)); end
|
3037
|
+
|
3038
|
+
def self.email_to_name(email_address); end
|
3039
|
+
|
3040
|
+
def self.re_sign(expired_certificate, private_key, age = T.unsafe(nil), extensions = T.unsafe(nil)); end
|
3041
|
+
|
3042
|
+
def self.reset; end
|
3043
|
+
|
3044
|
+
def self.sign(certificate, signing_key, signing_cert, age = T.unsafe(nil), extensions = T.unsafe(nil), serial = T.unsafe(nil)); end
|
3045
|
+
|
3046
|
+
def self.trust_dir; end
|
3047
|
+
|
3048
|
+
def self.trusted_certificates(&block); end
|
3049
|
+
|
3050
|
+
def self.write(pemmable, path, permissions = T.unsafe(nil), passphrase = T.unsafe(nil), cipher = T.unsafe(nil)); end
|
3051
|
+
|
3052
|
+
class DIGEST_ALGORITHM
|
3053
|
+
def initialize(data = T.unsafe(nil)); end
|
3054
|
+
|
3055
|
+
def self.digest(data); end
|
3056
|
+
|
3057
|
+
def self.hexdigest(data); end
|
3058
|
+
end
|
3059
|
+
|
3060
|
+
class Exception
|
3061
|
+
end
|
3062
|
+
|
3063
|
+
class KEY_ALGORITHM
|
3064
|
+
NO_PADDING = T.let(nil, T.untyped)
|
3065
|
+
PKCS1_OAEP_PADDING = T.let(nil, T.untyped)
|
3066
|
+
PKCS1_PADDING = T.let(nil, T.untyped)
|
3067
|
+
SSLV23_PADDING = T.let(nil, T.untyped)
|
3068
|
+
|
3069
|
+
def d; end
|
3070
|
+
|
3071
|
+
def d=(d); end
|
3072
|
+
|
3073
|
+
def dmp1; end
|
3074
|
+
|
3075
|
+
def dmp1=(dmp1); end
|
3076
|
+
|
3077
|
+
def dmq1; end
|
3078
|
+
|
3079
|
+
def dmq1=(dmq1); end
|
3080
|
+
|
3081
|
+
def e; end
|
3082
|
+
|
3083
|
+
def e=(e); end
|
3084
|
+
|
3085
|
+
def export(*_); end
|
3086
|
+
|
3087
|
+
def initialize(*_); end
|
3088
|
+
|
3089
|
+
def iqmp; end
|
3090
|
+
|
3091
|
+
def iqmp=(iqmp); end
|
3092
|
+
|
3093
|
+
def n; end
|
3094
|
+
|
3095
|
+
def n=(n); end
|
3096
|
+
|
3097
|
+
def p; end
|
3098
|
+
|
3099
|
+
def p=(p); end
|
3100
|
+
|
3101
|
+
def params; end
|
3102
|
+
|
3103
|
+
def private?; end
|
3104
|
+
|
3105
|
+
def private_decrypt(*_); end
|
3106
|
+
|
3107
|
+
def private_encrypt(*_); end
|
3108
|
+
|
3109
|
+
def public?; end
|
3110
|
+
|
3111
|
+
def public_decrypt(*_); end
|
3112
|
+
|
3113
|
+
def public_encrypt(*_); end
|
3114
|
+
|
3115
|
+
def public_key; end
|
3116
|
+
|
3117
|
+
def q; end
|
3118
|
+
|
3119
|
+
def q=(q); end
|
3120
|
+
|
3121
|
+
def set_crt_params(_, _1, _2); end
|
3122
|
+
|
3123
|
+
def set_factors(_, _1); end
|
3124
|
+
|
3125
|
+
def set_key(_, _1, _2); end
|
3126
|
+
|
3127
|
+
def sign_pss(*_); end
|
3128
|
+
|
3129
|
+
def to_der; end
|
3130
|
+
|
3131
|
+
def to_pem(*_); end
|
3132
|
+
|
3133
|
+
def to_s(*_); end
|
3134
|
+
|
3135
|
+
def to_text; end
|
3136
|
+
|
3137
|
+
def verify_pss(*_); end
|
3138
|
+
|
3139
|
+
def self.generate(*_); end
|
3140
|
+
end
|
3141
|
+
|
3142
|
+
class Policy
|
3143
|
+
include Gem::UserInteraction
|
3144
|
+
include Gem::DefaultUserInteraction
|
3145
|
+
include Gem::Text
|
3146
|
+
|
3147
|
+
def check_cert(signer, issuer, time); end
|
3148
|
+
|
3149
|
+
def check_chain(chain, time); end
|
3150
|
+
|
3151
|
+
def check_data(public_key, digest, signature, data); end
|
3152
|
+
|
3153
|
+
def check_key(signer, key); end
|
3154
|
+
|
3155
|
+
def check_root(chain, time); end
|
3156
|
+
|
3157
|
+
def check_trust(chain, digester, trust_dir); end
|
3158
|
+
|
3159
|
+
def initialize(name, policy = T.unsafe(nil), opt = T.unsafe(nil)); end
|
3160
|
+
|
3161
|
+
def name; end
|
3162
|
+
|
3163
|
+
def only_signed; end
|
3164
|
+
|
3165
|
+
def only_signed=(only_signed); end
|
3166
|
+
|
3167
|
+
def only_trusted; end
|
3168
|
+
|
3169
|
+
def only_trusted=(only_trusted); end
|
3170
|
+
|
3171
|
+
def subject(certificate); end
|
3172
|
+
|
3173
|
+
def verify(chain, key = T.unsafe(nil), digests = T.unsafe(nil), signatures = T.unsafe(nil), full_name = T.unsafe(nil)); end
|
3174
|
+
|
3175
|
+
def verify_chain; end
|
3176
|
+
|
3177
|
+
def verify_chain=(verify_chain); end
|
3178
|
+
|
3179
|
+
def verify_data; end
|
3180
|
+
|
3181
|
+
def verify_data=(verify_data); end
|
3182
|
+
|
3183
|
+
def verify_root; end
|
3184
|
+
|
3185
|
+
def verify_root=(verify_root); end
|
3186
|
+
|
3187
|
+
def verify_signatures(spec, digests, signatures); end
|
3188
|
+
|
3189
|
+
def verify_signer; end
|
3190
|
+
|
3191
|
+
def verify_signer=(verify_signer); end
|
3192
|
+
|
3193
|
+
def clean_text(text); end
|
3194
|
+
|
3195
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
3196
|
+
|
3197
|
+
def levenshtein_distance(str1, str2); end
|
3198
|
+
|
3199
|
+
def min3(a, b, c); end
|
3200
|
+
|
3201
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
3202
|
+
|
3203
|
+
def ui; end
|
3204
|
+
|
3205
|
+
def ui=(new_ui); end
|
3206
|
+
|
3207
|
+
def use_ui(new_ui, &block); end
|
3208
|
+
|
3209
|
+
def alert(statement, question = T.unsafe(nil)); end
|
3210
|
+
|
3211
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
3212
|
+
|
3213
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
3214
|
+
|
3215
|
+
def ask(question); end
|
3216
|
+
|
3217
|
+
def ask_for_password(prompt); end
|
3218
|
+
|
3219
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
3220
|
+
|
3221
|
+
def choose_from_list(question, list); end
|
3222
|
+
|
3223
|
+
def say(statement = T.unsafe(nil)); end
|
3224
|
+
|
3225
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
3226
|
+
|
3227
|
+
def verbose(msg = T.unsafe(nil)); end
|
3228
|
+
end
|
3229
|
+
|
3230
|
+
class Signer
|
3231
|
+
include Gem::UserInteraction
|
3232
|
+
include Gem::DefaultUserInteraction
|
3233
|
+
include Gem::Text
|
3234
|
+
DEFAULT_OPTIONS = T.let(nil, T.untyped)
|
3235
|
+
|
3236
|
+
def cert_chain; end
|
3237
|
+
|
3238
|
+
def cert_chain=(cert_chain); end
|
3239
|
+
|
3240
|
+
def digest_algorithm; end
|
3241
|
+
|
3242
|
+
def digest_name; end
|
3243
|
+
|
3244
|
+
def extract_name(cert); end
|
3245
|
+
|
3246
|
+
def initialize(key, cert_chain, passphrase = T.unsafe(nil), options = T.unsafe(nil)); end
|
3247
|
+
|
3248
|
+
def key; end
|
3249
|
+
|
3250
|
+
def key=(key); end
|
3251
|
+
|
3252
|
+
def load_cert_chain; end
|
3253
|
+
|
3254
|
+
def options; end
|
3255
|
+
|
3256
|
+
def re_sign_key(expiration_length: T.unsafe(nil)); end
|
3257
|
+
|
3258
|
+
def sign(data); end
|
3259
|
+
|
3260
|
+
def self.re_sign_cert(expired_cert, expired_cert_path, private_key); end
|
3261
|
+
|
3262
|
+
def clean_text(text); end
|
3263
|
+
|
3264
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
3265
|
+
|
3266
|
+
def levenshtein_distance(str1, str2); end
|
3267
|
+
|
3268
|
+
def min3(a, b, c); end
|
3269
|
+
|
3270
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
3271
|
+
|
3272
|
+
def ui; end
|
3273
|
+
|
3274
|
+
def ui=(new_ui); end
|
3275
|
+
|
3276
|
+
def use_ui(new_ui, &block); end
|
3277
|
+
|
3278
|
+
def alert(statement, question = T.unsafe(nil)); end
|
3279
|
+
|
3280
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
3281
|
+
|
3282
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
3283
|
+
|
3284
|
+
def ask(question); end
|
3285
|
+
|
3286
|
+
def ask_for_password(prompt); end
|
3287
|
+
|
3288
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
3289
|
+
|
3290
|
+
def choose_from_list(question, list); end
|
3291
|
+
|
3292
|
+
def say(statement = T.unsafe(nil)); end
|
3293
|
+
|
3294
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
3295
|
+
|
3296
|
+
def verbose(msg = T.unsafe(nil)); end
|
3297
|
+
end
|
3298
|
+
|
3299
|
+
class TrustDir
|
3300
|
+
DEFAULT_PERMISSIONS = T.let(nil, T.untyped)
|
3301
|
+
|
3302
|
+
def cert_path(certificate); end
|
3303
|
+
|
3304
|
+
def dir; end
|
3305
|
+
|
3306
|
+
def each_certificate; end
|
3307
|
+
|
3308
|
+
def initialize(dir, permissions = T.unsafe(nil)); end
|
3309
|
+
|
3310
|
+
def issuer_of(certificate); end
|
3311
|
+
|
3312
|
+
def load_certificate(certificate_file); end
|
3313
|
+
|
3314
|
+
def name_path(name); end
|
3315
|
+
|
3316
|
+
def trust_cert(certificate); end
|
3317
|
+
|
3318
|
+
def verify; end
|
3319
|
+
end
|
3320
|
+
end
|
3321
|
+
|
3322
|
+
class SilentUI
|
3323
|
+
def initialize; end
|
3324
|
+
end
|
3325
|
+
|
3326
|
+
class Source
|
3327
|
+
include Comparable
|
3328
|
+
FILES = T.let(nil, T.untyped)
|
3329
|
+
|
3330
|
+
def ==(other); end
|
3331
|
+
|
3332
|
+
def cache_dir(uri); end
|
3333
|
+
|
3334
|
+
def dependency_resolver_set; end
|
3335
|
+
|
3336
|
+
def download(spec, dir = T.unsafe(nil)); end
|
3337
|
+
|
3338
|
+
def eql?(other); end
|
3339
|
+
|
3340
|
+
def fetch_spec(name_tuple); end
|
3341
|
+
|
3342
|
+
def initialize(uri); end
|
3343
|
+
|
3344
|
+
def load_specs(type); end
|
3345
|
+
|
3346
|
+
def pretty_print(q); end
|
3347
|
+
|
3348
|
+
def update_cache?; end
|
3349
|
+
|
3350
|
+
def uri; end
|
3351
|
+
|
3352
|
+
class Git
|
3353
|
+
def base_dir; end
|
3354
|
+
|
3355
|
+
def cache; end
|
3356
|
+
|
3357
|
+
def checkout; end
|
3358
|
+
|
3359
|
+
def dir_shortref; end
|
3360
|
+
|
3361
|
+
def download(full_spec, path); end
|
3362
|
+
|
3363
|
+
def initialize(name, repository, reference, submodules = T.unsafe(nil)); end
|
3364
|
+
|
3365
|
+
def install_dir; end
|
3366
|
+
|
3367
|
+
def name; end
|
3368
|
+
|
3369
|
+
def need_submodules; end
|
3370
|
+
|
3371
|
+
def reference; end
|
3372
|
+
|
3373
|
+
def remote; end
|
3374
|
+
|
3375
|
+
def remote=(remote); end
|
3376
|
+
|
3377
|
+
def repo_cache_dir; end
|
3378
|
+
|
3379
|
+
def repository; end
|
3380
|
+
|
3381
|
+
def rev_parse; end
|
3382
|
+
|
3383
|
+
def root_dir; end
|
3384
|
+
|
3385
|
+
def root_dir=(root_dir); end
|
3386
|
+
|
3387
|
+
def specs; end
|
3388
|
+
|
3389
|
+
def uri_hash; end
|
3390
|
+
end
|
3391
|
+
|
3392
|
+
class Installed
|
3393
|
+
def download(spec, path); end
|
3394
|
+
|
3395
|
+
def initialize; end
|
3396
|
+
end
|
3397
|
+
|
3398
|
+
class Local
|
3399
|
+
def download(spec, cache_dir = T.unsafe(nil)); end
|
3400
|
+
|
3401
|
+
def fetch_spec(name); end
|
3402
|
+
|
3403
|
+
def find_gem(gem_name, version = T.unsafe(nil), prerelease = T.unsafe(nil)); end
|
3404
|
+
|
3405
|
+
def initialize; end
|
3406
|
+
end
|
3407
|
+
|
3408
|
+
class Lock
|
3409
|
+
def initialize(source); end
|
3410
|
+
|
3411
|
+
def wrapped; end
|
3412
|
+
end
|
3413
|
+
|
3414
|
+
class SpecificFile
|
3415
|
+
def fetch_spec(name); end
|
3416
|
+
|
3417
|
+
def initialize(file); end
|
3418
|
+
|
3419
|
+
def load_specs(*a); end
|
3420
|
+
|
3421
|
+
def path; end
|
3422
|
+
|
3423
|
+
def spec; end
|
3424
|
+
end
|
3425
|
+
|
3426
|
+
class Vendor
|
3427
|
+
def initialize(path); end
|
3428
|
+
end
|
3429
|
+
end
|
3430
|
+
|
3431
|
+
class SourceFetchProblem
|
3432
|
+
def error; end
|
3433
|
+
|
3434
|
+
def exception; end
|
3435
|
+
|
3436
|
+
def initialize(source, error); end
|
3437
|
+
|
3438
|
+
def source; end
|
3439
|
+
|
3440
|
+
def wordy; end
|
3441
|
+
end
|
3442
|
+
|
3443
|
+
class SourceList
|
3444
|
+
include Enumerable
|
3445
|
+
Elem = type_member(fixed: T.untyped)
|
3446
|
+
|
3447
|
+
def <<(obj); end
|
3448
|
+
|
3449
|
+
def ==(other); end
|
3450
|
+
|
3451
|
+
def clear; end
|
3452
|
+
|
3453
|
+
def delete(source); end
|
3454
|
+
|
3455
|
+
def each(&blk); end
|
3456
|
+
|
3457
|
+
def each_source(&b); end
|
3458
|
+
|
3459
|
+
def empty?; end
|
3460
|
+
|
3461
|
+
def first; end
|
3462
|
+
|
3463
|
+
def include?(other); end
|
3464
|
+
|
3465
|
+
def replace(other); end
|
3466
|
+
|
3467
|
+
def sources; end
|
3468
|
+
|
3469
|
+
def to_a; end
|
3470
|
+
|
3471
|
+
def to_ary; end
|
3472
|
+
|
3473
|
+
def self.from(ary); end
|
3474
|
+
end
|
3475
|
+
|
3476
|
+
class SpecFetcher
|
3477
|
+
include Gem::UserInteraction
|
3478
|
+
include Gem::DefaultUserInteraction
|
3479
|
+
include Gem::Text
|
3480
|
+
|
3481
|
+
def available_specs(type); end
|
3482
|
+
|
3483
|
+
def detect(type = T.unsafe(nil)); end
|
3484
|
+
|
3485
|
+
def initialize(sources = T.unsafe(nil)); end
|
3486
|
+
|
3487
|
+
def latest_specs; end
|
3488
|
+
|
3489
|
+
def prerelease_specs; end
|
3490
|
+
|
3491
|
+
def search_for_dependency(dependency, matching_platform = T.unsafe(nil)); end
|
3492
|
+
|
3493
|
+
def sources; end
|
3494
|
+
|
3495
|
+
def spec_for_dependency(dependency, matching_platform = T.unsafe(nil)); end
|
3496
|
+
|
3497
|
+
def specs; end
|
3498
|
+
|
3499
|
+
def suggest_gems_from_name(gem_name, type = T.unsafe(nil)); end
|
3500
|
+
|
3501
|
+
def tuples_for(source, type, gracefully_ignore = T.unsafe(nil)); end
|
3502
|
+
|
3503
|
+
def self.fetcher; end
|
3504
|
+
|
3505
|
+
def self.fetcher=(fetcher); end
|
3506
|
+
|
3507
|
+
def clean_text(text); end
|
3508
|
+
|
3509
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
3510
|
+
|
3511
|
+
def levenshtein_distance(str1, str2); end
|
3512
|
+
|
3513
|
+
def min3(a, b, c); end
|
3514
|
+
|
3515
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
3516
|
+
|
3517
|
+
def ui; end
|
3518
|
+
|
3519
|
+
def ui=(new_ui); end
|
3520
|
+
|
3521
|
+
def use_ui(new_ui, &block); end
|
3522
|
+
|
3523
|
+
def alert(statement, question = T.unsafe(nil)); end
|
3524
|
+
|
3525
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
3526
|
+
|
3527
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
3528
|
+
|
3529
|
+
def ask(question); end
|
3530
|
+
|
3531
|
+
def ask_for_password(prompt); end
|
3532
|
+
|
3533
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
3534
|
+
|
3535
|
+
def choose_from_list(question, list); end
|
3536
|
+
|
3537
|
+
def say(statement = T.unsafe(nil)); end
|
3538
|
+
|
3539
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
3540
|
+
|
3541
|
+
def verbose(msg = T.unsafe(nil)); end
|
3542
|
+
end
|
3543
|
+
|
3544
|
+
class SpecificGemNotFoundException
|
3545
|
+
def errors; end
|
3546
|
+
|
3547
|
+
def initialize(name, version, errors = T.unsafe(nil)); end
|
3548
|
+
|
3549
|
+
def name; end
|
3550
|
+
|
3551
|
+
def version; end
|
3552
|
+
end
|
3553
|
+
|
3554
|
+
class Specification
|
3555
|
+
include Bundler::MatchPlatform
|
3556
|
+
include Bundler::GemHelpers
|
3557
|
+
extend Gem::Deprecate
|
3558
|
+
DateLike = T.let(nil, T.untyped)
|
3559
|
+
DateTimeFormat = T.let(nil, T.untyped)
|
3560
|
+
INITIALIZE_CODE_FOR_DEFAULTS = T.let(nil, T.untyped)
|
3561
|
+
|
3562
|
+
def ==(other); end
|
3563
|
+
|
3564
|
+
def _deprecated_default_executable; end
|
3565
|
+
|
3566
|
+
def _deprecated_default_executable=(_deprecated_default_executable); end
|
3567
|
+
|
3568
|
+
def _deprecated_has_rdoc; end
|
3569
|
+
|
3570
|
+
def _deprecated_has_rdoc=(ignored); end
|
3571
|
+
|
3572
|
+
def _deprecated_has_rdoc?(*args, &block); end
|
3573
|
+
|
3574
|
+
def _dump(limit); end
|
3575
|
+
|
3576
|
+
def abbreviate; end
|
3577
|
+
|
3578
|
+
def activate; end
|
3579
|
+
|
3580
|
+
def activate_dependencies; end
|
3581
|
+
|
3582
|
+
def activated; end
|
3583
|
+
|
3584
|
+
def activated=(activated); end
|
3585
|
+
|
3586
|
+
def add_bindir(executables); end
|
3587
|
+
|
3588
|
+
def add_dependency(gem, *requirements); end
|
3589
|
+
|
3590
|
+
def add_development_dependency(gem, *requirements); end
|
3591
|
+
|
3592
|
+
def add_runtime_dependency(gem, *requirements); end
|
3593
|
+
|
3594
|
+
def add_self_to_load_path; end
|
3595
|
+
|
3596
|
+
def author; end
|
3597
|
+
|
3598
|
+
def author=(o); end
|
3599
|
+
|
3600
|
+
def authors; end
|
3601
|
+
|
3602
|
+
def authors=(value); end
|
3603
|
+
|
3604
|
+
def autorequire; end
|
3605
|
+
|
3606
|
+
def autorequire=(autorequire); end
|
3607
|
+
|
3608
|
+
def bin_dir; end
|
3609
|
+
|
3610
|
+
def bin_file(name); end
|
3611
|
+
|
3612
|
+
def bindir; end
|
3613
|
+
|
3614
|
+
def bindir=(bindir); end
|
3615
|
+
|
3616
|
+
def build_args; end
|
3617
|
+
|
3618
|
+
def build_extensions; end
|
3619
|
+
|
3620
|
+
def build_info_dir; end
|
3621
|
+
|
3622
|
+
def build_info_file; end
|
3623
|
+
|
3624
|
+
def cache_dir; end
|
3625
|
+
|
3626
|
+
def cache_file; end
|
3627
|
+
|
3628
|
+
def cert_chain; end
|
3629
|
+
|
3630
|
+
def cert_chain=(cert_chain); end
|
3631
|
+
|
3632
|
+
def conficts_when_loaded_with?(list_of_specs); end
|
3633
|
+
|
3634
|
+
def conflicts; end
|
3635
|
+
|
3636
|
+
def date; end
|
3637
|
+
|
3638
|
+
def date=(date); end
|
3639
|
+
|
3640
|
+
def default_executable(*args, &block); end
|
3641
|
+
|
3642
|
+
def default_executable=(*args, &block); end
|
3643
|
+
|
3644
|
+
def default_value(name); end
|
3645
|
+
|
3646
|
+
def dependencies; end
|
3647
|
+
|
3648
|
+
def dependent_gems; end
|
3649
|
+
|
3650
|
+
def dependent_specs; end
|
3651
|
+
|
3652
|
+
def description; end
|
3653
|
+
|
3654
|
+
def description=(str); end
|
3655
|
+
|
3656
|
+
def development_dependencies; end
|
3657
|
+
|
3658
|
+
def doc_dir(type = T.unsafe(nil)); end
|
3659
|
+
|
3660
|
+
def email; end
|
3661
|
+
|
3662
|
+
def email=(email); end
|
3663
|
+
|
3664
|
+
def encode_with(coder); end
|
3665
|
+
|
3666
|
+
def eql?(other); end
|
3667
|
+
|
3668
|
+
def executable; end
|
3669
|
+
|
3670
|
+
def executable=(o); end
|
3671
|
+
|
3672
|
+
def executables; end
|
3673
|
+
|
3674
|
+
def executables=(value); end
|
3675
|
+
|
3676
|
+
def extensions; end
|
3677
|
+
|
3678
|
+
def extensions=(extensions); end
|
3679
|
+
|
3680
|
+
def extra_rdoc_files; end
|
3681
|
+
|
3682
|
+
def extra_rdoc_files=(files); end
|
3683
|
+
|
3684
|
+
def file_name; end
|
3685
|
+
|
3686
|
+
def files; end
|
3687
|
+
|
3688
|
+
def files=(files); end
|
3689
|
+
|
3690
|
+
def for_cache; end
|
3691
|
+
|
3692
|
+
def git_version; end
|
3693
|
+
|
3694
|
+
def groups; end
|
3695
|
+
|
3696
|
+
def has_conflicts?; end
|
3697
|
+
|
3698
|
+
def has_rdoc(*args, &block); end
|
3699
|
+
|
3700
|
+
def has_rdoc=(*args, &block); end
|
3701
|
+
|
3702
|
+
def has_rdoc?(*args, &block); end
|
3703
|
+
|
3704
|
+
def has_test_suite?; end
|
3705
|
+
|
3706
|
+
def has_unit_tests?; end
|
3707
|
+
|
3708
|
+
def homepage; end
|
3709
|
+
|
3710
|
+
def homepage=(homepage); end
|
3711
|
+
|
3712
|
+
def init_with(coder); end
|
3713
|
+
|
3714
|
+
def initialize(name = T.unsafe(nil), version = T.unsafe(nil)); end
|
3715
|
+
|
3716
|
+
def installed_by_version; end
|
3717
|
+
|
3718
|
+
def installed_by_version=(version); end
|
3719
|
+
|
3720
|
+
def keep_only_files_and_directories; end
|
3721
|
+
|
3722
|
+
def lib_files; end
|
3723
|
+
|
3724
|
+
def license; end
|
3725
|
+
|
3726
|
+
def license=(o); end
|
3727
|
+
|
3728
|
+
def licenses; end
|
3729
|
+
|
3730
|
+
def licenses=(licenses); end
|
3731
|
+
|
3732
|
+
def load_paths; end
|
3733
|
+
|
3734
|
+
def location; end
|
3735
|
+
|
3736
|
+
def location=(location); end
|
3737
|
+
|
3738
|
+
def mark_version; end
|
3739
|
+
|
3740
|
+
def metadata; end
|
3741
|
+
|
3742
|
+
def metadata=(metadata); end
|
3743
|
+
|
3744
|
+
def method_missing(sym, *a, &b); end
|
3745
|
+
|
3746
|
+
def missing_extensions?; end
|
3747
|
+
|
3748
|
+
def name=(name); end
|
3749
|
+
|
3750
|
+
def name_tuple; end
|
3751
|
+
|
3752
|
+
def nondevelopment_dependencies; end
|
3753
|
+
|
3754
|
+
def normalize; end
|
3755
|
+
|
3756
|
+
def original_name; end
|
3757
|
+
|
3758
|
+
def original_platform; end
|
3759
|
+
|
3760
|
+
def original_platform=(original_platform); end
|
3761
|
+
|
3762
|
+
def platform=(platform); end
|
3763
|
+
|
3764
|
+
def post_install_message; end
|
3765
|
+
|
3766
|
+
def post_install_message=(post_install_message); end
|
3767
|
+
|
3768
|
+
def pretty_print(q); end
|
3769
|
+
|
3770
|
+
def raise_if_conflicts; end
|
3771
|
+
|
3772
|
+
def rdoc_options; end
|
3773
|
+
|
3774
|
+
def rdoc_options=(options); end
|
3775
|
+
|
3776
|
+
def relative_loaded_from; end
|
3777
|
+
|
3778
|
+
def relative_loaded_from=(relative_loaded_from); end
|
3779
|
+
|
3780
|
+
def remote; end
|
3781
|
+
|
3782
|
+
def remote=(remote); end
|
3783
|
+
|
3784
|
+
def require_path; end
|
3785
|
+
|
3786
|
+
def require_path=(path); end
|
3787
|
+
|
3788
|
+
def require_paths=(val); end
|
3789
|
+
|
3790
|
+
def required_ruby_version; end
|
3791
|
+
|
3792
|
+
def required_ruby_version=(req); end
|
3793
|
+
|
3794
|
+
def required_rubygems_version; end
|
3795
|
+
|
3796
|
+
def required_rubygems_version=(req); end
|
3797
|
+
|
3798
|
+
def requirements; end
|
3799
|
+
|
3800
|
+
def requirements=(req); end
|
3801
|
+
|
3802
|
+
def reset_nil_attributes_to_default; end
|
3803
|
+
|
3804
|
+
def rg_extension_dir; end
|
3805
|
+
|
3806
|
+
def rg_full_gem_path; end
|
3807
|
+
|
3808
|
+
def rg_loaded_from; end
|
3809
|
+
|
3810
|
+
def ri_dir; end
|
3811
|
+
|
3812
|
+
def rubyforge_project=(rubyforge_project); end
|
3813
|
+
|
3814
|
+
def rubygems_version; end
|
3815
|
+
|
3816
|
+
def rubygems_version=(rubygems_version); end
|
3817
|
+
|
3818
|
+
def runtime_dependencies; end
|
3819
|
+
|
3820
|
+
def sanitize; end
|
3821
|
+
|
3822
|
+
def sanitize_string(string); end
|
3823
|
+
|
3824
|
+
def satisfies_requirement?(dependency); end
|
3825
|
+
|
3826
|
+
def signing_key; end
|
3827
|
+
|
3828
|
+
def signing_key=(signing_key); end
|
3829
|
+
|
3830
|
+
def sort_obj; end
|
3831
|
+
|
3832
|
+
def source; end
|
3833
|
+
|
3834
|
+
def source=(source); end
|
3835
|
+
|
3836
|
+
def spec_dir; end
|
3837
|
+
|
3838
|
+
def spec_file; end
|
3839
|
+
|
3840
|
+
def spec_name; end
|
3841
|
+
|
3842
|
+
def specification_version; end
|
3843
|
+
|
3844
|
+
def specification_version=(specification_version); end
|
3845
|
+
|
3846
|
+
def summary; end
|
3847
|
+
|
3848
|
+
def summary=(str); end
|
3849
|
+
|
3850
|
+
def test_file; end
|
3851
|
+
|
3852
|
+
def test_file=(file); end
|
3853
|
+
|
3854
|
+
def test_files; end
|
3855
|
+
|
3856
|
+
def test_files=(files); end
|
3857
|
+
|
3858
|
+
def to_gemfile(path = T.unsafe(nil)); end
|
3859
|
+
|
3860
|
+
def to_ruby; end
|
3861
|
+
|
3862
|
+
def to_ruby_for_cache; end
|
3863
|
+
|
3864
|
+
def to_yaml(opts = T.unsafe(nil)); end
|
3865
|
+
|
3866
|
+
def traverse(trail = T.unsafe(nil), visited = T.unsafe(nil), &block); end
|
3867
|
+
|
3868
|
+
def validate(packaging = T.unsafe(nil), strict = T.unsafe(nil)); end
|
3869
|
+
|
3870
|
+
def validate_dependencies; end
|
3871
|
+
|
3872
|
+
def validate_metadata; end
|
3873
|
+
|
3874
|
+
def validate_permissions; end
|
3875
|
+
|
3876
|
+
def version=(version); end
|
3877
|
+
|
3878
|
+
def yaml_initialize(tag, vals); end
|
3879
|
+
|
3880
|
+
def self._all; end
|
3881
|
+
|
3882
|
+
def self._clear_load_cache; end
|
3883
|
+
|
3884
|
+
def self._latest_specs(specs, prerelease = T.unsafe(nil)); end
|
3885
|
+
|
3886
|
+
def self._load(str); end
|
3887
|
+
|
3888
|
+
def self._resort!(specs); end
|
3889
|
+
|
3890
|
+
def self.add_spec(spec); end
|
3891
|
+
|
3892
|
+
def self.add_specs(*specs); end
|
3893
|
+
|
3894
|
+
def self.all; end
|
3895
|
+
|
3896
|
+
def self.all=(specs); end
|
3897
|
+
|
3898
|
+
def self.all_names; end
|
3899
|
+
|
3900
|
+
def self.array_attributes; end
|
3901
|
+
|
3902
|
+
def self.attribute_names; end
|
3903
|
+
|
3904
|
+
def self.dirs; end
|
3905
|
+
|
3906
|
+
def self.dirs=(dirs); end
|
3907
|
+
|
3908
|
+
def self.each(&blk); end
|
3909
|
+
|
3910
|
+
def self.each_gemspec(dirs); end
|
3911
|
+
|
3912
|
+
def self.each_spec(dirs); end
|
3913
|
+
|
3914
|
+
def self.find_active_stub_by_path(path); end
|
3915
|
+
|
3916
|
+
def self.find_all_by_full_name(full_name); end
|
3917
|
+
|
3918
|
+
def self.find_all_by_name(name, *requirements); end
|
3919
|
+
|
3920
|
+
def self.find_by_name(name, *requirements); end
|
3921
|
+
|
3922
|
+
def self.find_by_path(path); end
|
3923
|
+
|
3924
|
+
def self.find_in_unresolved(path); end
|
3925
|
+
|
3926
|
+
def self.find_in_unresolved_tree(path); end
|
3927
|
+
|
3928
|
+
def self.find_inactive_by_path(path); end
|
3929
|
+
|
3930
|
+
def self.from_yaml(input); end
|
3931
|
+
|
3932
|
+
def self.latest_specs(prerelease = T.unsafe(nil)); end
|
3933
|
+
|
3934
|
+
def self.load(file); end
|
3935
|
+
|
3936
|
+
def self.load_defaults; end
|
3937
|
+
|
3938
|
+
def self.non_nil_attributes; end
|
3939
|
+
|
3940
|
+
def self.normalize_yaml_input(input); end
|
3941
|
+
|
3942
|
+
def self.outdated; end
|
3943
|
+
|
3944
|
+
def self.outdated_and_latest_version; end
|
3945
|
+
|
3946
|
+
def self.remove_spec(spec); end
|
3947
|
+
|
3948
|
+
def self.required_attribute?(name); end
|
3949
|
+
|
3950
|
+
def self.required_attributes; end
|
3951
|
+
|
3952
|
+
def self.reset; end
|
3953
|
+
|
3954
|
+
def self.stubs; end
|
3955
|
+
|
3956
|
+
def self.stubs_for(name); end
|
3957
|
+
|
3958
|
+
def self.unresolved_deps; end
|
3959
|
+
end
|
3960
|
+
|
3961
|
+
class SpecificationPolicy
|
3962
|
+
HOMEPAGE_URI_PATTERN = T.let(nil, T.untyped)
|
3963
|
+
LAZY = T.let(nil, T.untyped)
|
3964
|
+
LAZY_PATTERN = T.let(nil, T.untyped)
|
3965
|
+
METADATA_LINK_KEYS = T.let(nil, T.untyped)
|
3966
|
+
SPECIAL_CHARACTERS = T.let(nil, T.untyped)
|
3967
|
+
VALID_NAME_PATTERN = T.let(nil, T.untyped)
|
3968
|
+
VALID_URI_PATTERN = T.let(nil, T.untyped)
|
3969
|
+
|
3970
|
+
def initialize(specification); end
|
3971
|
+
|
3972
|
+
def packaging; end
|
3973
|
+
|
3974
|
+
def packaging=(packaging); end
|
3975
|
+
|
3976
|
+
def validate(strict = T.unsafe(nil)); end
|
3977
|
+
|
3978
|
+
def validate_dependencies; end
|
3979
|
+
|
3980
|
+
def validate_metadata; end
|
3981
|
+
|
3982
|
+
def validate_permissions; end
|
3983
|
+
end
|
3984
|
+
|
3985
|
+
class StreamUI
|
3986
|
+
extend Gem::Deprecate
|
3987
|
+
|
3988
|
+
def _deprecated_debug(statement); end
|
3989
|
+
|
3990
|
+
def _gets_noecho; end
|
3991
|
+
|
3992
|
+
def alert(statement, question = T.unsafe(nil)); end
|
3993
|
+
|
3994
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
3995
|
+
|
3996
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
3997
|
+
|
3998
|
+
def ask(question); end
|
3999
|
+
|
4000
|
+
def ask_for_password(question); end
|
4001
|
+
|
4002
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
4003
|
+
|
4004
|
+
def backtrace(exception); end
|
4005
|
+
|
4006
|
+
def choose_from_list(question, list); end
|
4007
|
+
|
4008
|
+
def close; end
|
4009
|
+
|
4010
|
+
def debug(*args, &block); end
|
4011
|
+
|
4012
|
+
def download_reporter(*args); end
|
4013
|
+
|
4014
|
+
def errs; end
|
4015
|
+
|
4016
|
+
def initialize(in_stream, out_stream, err_stream = T.unsafe(nil), usetty = T.unsafe(nil)); end
|
4017
|
+
|
4018
|
+
def ins; end
|
4019
|
+
|
4020
|
+
def outs; end
|
4021
|
+
|
4022
|
+
def progress_reporter(*args); end
|
4023
|
+
|
4024
|
+
def require_io_console; end
|
4025
|
+
|
4026
|
+
def say(statement = T.unsafe(nil)); end
|
4027
|
+
|
4028
|
+
def terminate_interaction(status = T.unsafe(nil)); end
|
4029
|
+
|
4030
|
+
def tty?; end
|
4031
|
+
end
|
4032
|
+
|
4033
|
+
class StubSpecification
|
4034
|
+
def build_extensions; end
|
4035
|
+
|
4036
|
+
def extensions; end
|
4037
|
+
|
4038
|
+
def initialize(filename, base_dir, gems_dir, default_gem); end
|
4039
|
+
|
4040
|
+
def missing_extensions?; end
|
4041
|
+
|
4042
|
+
def valid?; end
|
4043
|
+
|
4044
|
+
def self.default_gemspec_stub(filename, base_dir, gems_dir); end
|
4045
|
+
|
4046
|
+
def self.gemspec_stub(filename, base_dir, gems_dir); end
|
4047
|
+
|
4048
|
+
class StubLine
|
4049
|
+
def extensions; end
|
4050
|
+
|
4051
|
+
def full_name; end
|
4052
|
+
|
4053
|
+
def initialize(data, extensions); end
|
4054
|
+
|
4055
|
+
def name; end
|
4056
|
+
|
4057
|
+
def platform; end
|
4058
|
+
|
4059
|
+
def require_paths; end
|
4060
|
+
|
4061
|
+
def version; end
|
4062
|
+
end
|
4063
|
+
end
|
4064
|
+
|
4065
|
+
class SystemExitException
|
4066
|
+
def exit_code; end
|
4067
|
+
|
4068
|
+
def exit_code=(exit_code); end
|
4069
|
+
|
4070
|
+
def initialize(exit_code); end
|
4071
|
+
end
|
4072
|
+
|
4073
|
+
module Text
|
4074
|
+
def clean_text(text); end
|
4075
|
+
|
4076
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
4077
|
+
|
4078
|
+
def levenshtein_distance(str1, str2); end
|
4079
|
+
|
4080
|
+
def min3(a, b, c); end
|
4081
|
+
|
4082
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
4083
|
+
end
|
4084
|
+
|
4085
|
+
class UninstallError
|
4086
|
+
def spec; end
|
4087
|
+
|
4088
|
+
def spec=(spec); end
|
4089
|
+
end
|
4090
|
+
|
4091
|
+
class UnsatisfiableDependencyError
|
4092
|
+
def dependency; end
|
4093
|
+
|
4094
|
+
def errors; end
|
4095
|
+
|
4096
|
+
def errors=(errors); end
|
4097
|
+
|
4098
|
+
def initialize(dep, platform_mismatch = T.unsafe(nil)); end
|
4099
|
+
|
4100
|
+
def name; end
|
4101
|
+
|
4102
|
+
def version; end
|
4103
|
+
end
|
4104
|
+
|
4105
|
+
class UriFormatter
|
4106
|
+
def escape; end
|
4107
|
+
|
4108
|
+
def initialize(uri); end
|
4109
|
+
|
4110
|
+
def normalize; end
|
4111
|
+
|
4112
|
+
def unescape; end
|
4113
|
+
|
4114
|
+
def uri; end
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
module UserInteraction
|
4118
|
+
include Gem::DefaultUserInteraction
|
4119
|
+
include Gem::Text
|
4120
|
+
|
4121
|
+
def alert(statement, question = T.unsafe(nil)); end
|
4122
|
+
|
4123
|
+
def alert_error(statement, question = T.unsafe(nil)); end
|
4124
|
+
|
4125
|
+
def alert_warning(statement, question = T.unsafe(nil)); end
|
4126
|
+
|
4127
|
+
def ask(question); end
|
4128
|
+
|
4129
|
+
def ask_for_password(prompt); end
|
4130
|
+
|
4131
|
+
def ask_yes_no(question, default = T.unsafe(nil)); end
|
4132
|
+
|
4133
|
+
def choose_from_list(question, list); end
|
4134
|
+
|
4135
|
+
def say(statement = T.unsafe(nil)); end
|
4136
|
+
|
4137
|
+
def terminate_interaction(exit_code = T.unsafe(nil)); end
|
4138
|
+
|
4139
|
+
def verbose(msg = T.unsafe(nil)); end
|
4140
|
+
|
4141
|
+
def clean_text(text); end
|
4142
|
+
|
4143
|
+
def format_text(text, wrap, indent = T.unsafe(nil)); end
|
4144
|
+
|
4145
|
+
def levenshtein_distance(str1, str2); end
|
4146
|
+
|
4147
|
+
def min3(a, b, c); end
|
4148
|
+
|
4149
|
+
def truncate_text(text, description, max_length = T.unsafe(nil)); end
|
4150
|
+
|
4151
|
+
def ui; end
|
4152
|
+
|
4153
|
+
def ui=(new_ui); end
|
4154
|
+
|
4155
|
+
def use_ui(new_ui, &block); end
|
4156
|
+
end
|
4157
|
+
|
4158
|
+
module Util
|
4159
|
+
def self.glob_files_in_dir(glob, base_path); end
|
4160
|
+
|
4161
|
+
def self.gunzip(data); end
|
4162
|
+
|
4163
|
+
def self.gzip(data); end
|
4164
|
+
|
4165
|
+
def self.inflate(data); end
|
4166
|
+
|
4167
|
+
def self.popen(*command); end
|
4168
|
+
|
4169
|
+
def self.silent_system(*command); end
|
4170
|
+
|
4171
|
+
def self.traverse_parents(directory, &block); end
|
4172
|
+
end
|
4173
|
+
|
4174
|
+
class Version
|
4175
|
+
def _segments; end
|
4176
|
+
|
4177
|
+
def _split_segments; end
|
4178
|
+
|
4179
|
+
def _version; end
|
4180
|
+
|
4181
|
+
def approximate_recommendation; end
|
4182
|
+
|
4183
|
+
def bump; end
|
4184
|
+
|
4185
|
+
def canonical_segments; end
|
4186
|
+
|
4187
|
+
def encode_with(coder); end
|
4188
|
+
|
4189
|
+
def eql?(other); end
|
4190
|
+
|
4191
|
+
def init_with(coder); end
|
4192
|
+
|
4193
|
+
def marshal_dump; end
|
4194
|
+
|
4195
|
+
def marshal_load(array); end
|
4196
|
+
|
4197
|
+
def prerelease?; end
|
4198
|
+
|
4199
|
+
def pretty_print(q); end
|
4200
|
+
|
4201
|
+
def release; end
|
4202
|
+
|
4203
|
+
def segments; end
|
4204
|
+
|
4205
|
+
def to_yaml_properties; end
|
4206
|
+
|
4207
|
+
def version; end
|
4208
|
+
|
4209
|
+
def yaml_initialize(tag, map); end
|
4210
|
+
|
4211
|
+
def self.correct?(version); end
|
4212
|
+
|
4213
|
+
def self.create(input); end
|
4214
|
+
|
4215
|
+
def self.new(version); end
|
4216
|
+
end
|
4217
|
+
end
|
4218
|
+
|
4219
|
+
Gem::UnsatisfiableDepedencyError = Gem::UnsatisfiableDependencyError
|
4220
|
+
Gem::Ext::ExtConfBuilder::FileEntry = FileUtils::Entry_
|
4221
|
+
Gem::Version::Requirement = Gem::Requirement
|
4222
|
+
Gem::Resolver::DependencyConflict = Gem::Resolver::Conflict
|