solargraph 0.56.2 → 0.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/linting.yml +127 -0
  3. data/.github/workflows/plugins.yml +183 -7
  4. data/.github/workflows/rspec.yml +55 -5
  5. data/.github/workflows/typecheck.yml +6 -3
  6. data/.gitignore +5 -0
  7. data/.overcommit.yml +72 -0
  8. data/.rspec +1 -0
  9. data/.rubocop.yml +66 -0
  10. data/.rubocop_todo.yml +1279 -0
  11. data/.yardopts +1 -0
  12. data/CHANGELOG.md +69 -0
  13. data/README.md +8 -4
  14. data/Rakefile +125 -13
  15. data/bin/solargraph +8 -5
  16. data/lib/solargraph/api_map/cache.rb +3 -2
  17. data/lib/solargraph/api_map/constants.rb +279 -0
  18. data/lib/solargraph/api_map/index.rb +49 -31
  19. data/lib/solargraph/api_map/source_to_yard.rb +13 -4
  20. data/lib/solargraph/api_map/store.rb +144 -26
  21. data/lib/solargraph/api_map.rb +217 -245
  22. data/lib/solargraph/bench.rb +1 -0
  23. data/lib/solargraph/complex_type/type_methods.rb +6 -0
  24. data/lib/solargraph/complex_type/unique_type.rb +19 -12
  25. data/lib/solargraph/complex_type.rb +24 -3
  26. data/lib/solargraph/convention/active_support_concern.rb +111 -0
  27. data/lib/solargraph/convention/base.rb +17 -0
  28. data/lib/solargraph/convention/data_definition/data_assignment_node.rb +1 -0
  29. data/lib/solargraph/convention/data_definition/data_definition_node.rb +4 -2
  30. data/lib/solargraph/convention/data_definition.rb +2 -1
  31. data/lib/solargraph/convention/gemspec.rb +1 -1
  32. data/lib/solargraph/convention/struct_definition/struct_assignment_node.rb +1 -0
  33. data/lib/solargraph/convention/struct_definition/struct_definition_node.rb +3 -1
  34. data/lib/solargraph/convention/struct_definition.rb +36 -13
  35. data/lib/solargraph/convention.rb +31 -2
  36. data/lib/solargraph/diagnostics/rubocop.rb +6 -1
  37. data/lib/solargraph/diagnostics/rubocop_helpers.rb +5 -3
  38. data/lib/solargraph/doc_map.rb +44 -13
  39. data/lib/solargraph/environ.rb +9 -2
  40. data/lib/solargraph/equality.rb +1 -0
  41. data/lib/solargraph/gem_pins.rb +21 -11
  42. data/lib/solargraph/language_server/host/dispatch.rb +2 -0
  43. data/lib/solargraph/language_server/host/message_worker.rb +3 -0
  44. data/lib/solargraph/language_server/host.rb +12 -5
  45. data/lib/solargraph/language_server/message/base.rb +2 -1
  46. data/lib/solargraph/language_server/message/extended/check_gem_version.rb +1 -1
  47. data/lib/solargraph/language_server/message/text_document/definition.rb +2 -0
  48. data/lib/solargraph/language_server/message/text_document/formatting.rb +19 -2
  49. data/lib/solargraph/language_server/message/text_document/type_definition.rb +1 -0
  50. data/lib/solargraph/language_server/message/workspace/did_change_workspace_folders.rb +2 -0
  51. data/lib/solargraph/language_server/progress.rb +8 -0
  52. data/lib/solargraph/language_server/request.rb +4 -1
  53. data/lib/solargraph/library.rb +11 -18
  54. data/lib/solargraph/location.rb +3 -0
  55. data/lib/solargraph/logging.rb +11 -2
  56. data/lib/solargraph/page.rb +3 -0
  57. data/lib/solargraph/parser/comment_ripper.rb +8 -1
  58. data/lib/solargraph/parser/flow_sensitive_typing.rb +33 -5
  59. data/lib/solargraph/parser/node_processor/base.rb +1 -1
  60. data/lib/solargraph/parser/node_processor.rb +6 -2
  61. data/lib/solargraph/parser/parser_gem/class_methods.rb +3 -13
  62. data/lib/solargraph/parser/parser_gem/flawed_builder.rb +1 -0
  63. data/lib/solargraph/parser/parser_gem/node_chainer.rb +3 -1
  64. data/lib/solargraph/parser/parser_gem/node_methods.rb +5 -16
  65. data/lib/solargraph/parser/parser_gem/node_processors/and_node.rb +1 -0
  66. data/lib/solargraph/parser/parser_gem/node_processors/block_node.rb +3 -2
  67. data/lib/solargraph/parser/parser_gem/node_processors/if_node.rb +2 -0
  68. data/lib/solargraph/parser/parser_gem/node_processors/masgn_node.rb +3 -0
  69. data/lib/solargraph/parser/parser_gem/node_processors/opasgn_node.rb +64 -8
  70. data/lib/solargraph/parser/parser_gem/node_processors/sclass_node.rb +12 -3
  71. data/lib/solargraph/parser/parser_gem/node_processors/send_node.rb +36 -16
  72. data/lib/solargraph/parser/region.rb +3 -0
  73. data/lib/solargraph/parser/snippet.rb +2 -0
  74. data/lib/solargraph/pin/base.rb +77 -14
  75. data/lib/solargraph/pin/base_variable.rb +6 -5
  76. data/lib/solargraph/pin/block.rb +3 -2
  77. data/lib/solargraph/pin/callable.rb +14 -1
  78. data/lib/solargraph/pin/closure.rb +5 -7
  79. data/lib/solargraph/pin/common.rb +6 -2
  80. data/lib/solargraph/pin/constant.rb +2 -0
  81. data/lib/solargraph/pin/local_variable.rb +1 -2
  82. data/lib/solargraph/pin/method.rb +28 -9
  83. data/lib/solargraph/pin/method_alias.rb +3 -0
  84. data/lib/solargraph/pin/parameter.rb +24 -10
  85. data/lib/solargraph/pin/proxy_type.rb +5 -1
  86. data/lib/solargraph/pin/reference/override.rb +15 -1
  87. data/lib/solargraph/pin/reference/superclass.rb +5 -0
  88. data/lib/solargraph/pin/reference.rb +17 -0
  89. data/lib/solargraph/pin/search.rb +6 -1
  90. data/lib/solargraph/pin/signature.rb +2 -0
  91. data/lib/solargraph/pin/symbol.rb +5 -0
  92. data/lib/solargraph/pin_cache.rb +64 -4
  93. data/lib/solargraph/position.rb +3 -0
  94. data/lib/solargraph/range.rb +5 -0
  95. data/lib/solargraph/rbs_map/conversions.rb +29 -6
  96. data/lib/solargraph/rbs_map/core_fills.rb +18 -0
  97. data/lib/solargraph/rbs_map/core_map.rb +14 -7
  98. data/lib/solargraph/rbs_map.rb +14 -1
  99. data/lib/solargraph/shell.rb +85 -1
  100. data/lib/solargraph/source/chain/call.rb +7 -3
  101. data/lib/solargraph/source/chain/constant.rb +3 -66
  102. data/lib/solargraph/source/chain/if.rb +1 -1
  103. data/lib/solargraph/source/chain/link.rb +11 -2
  104. data/lib/solargraph/source/chain/or.rb +1 -1
  105. data/lib/solargraph/source/chain.rb +11 -2
  106. data/lib/solargraph/source/change.rb +2 -2
  107. data/lib/solargraph/source/cursor.rb +2 -3
  108. data/lib/solargraph/source/source_chainer.rb +1 -1
  109. data/lib/solargraph/source.rb +6 -3
  110. data/lib/solargraph/source_map/clip.rb +18 -26
  111. data/lib/solargraph/source_map/data.rb +4 -0
  112. data/lib/solargraph/source_map/mapper.rb +2 -2
  113. data/lib/solargraph/source_map.rb +28 -16
  114. data/lib/solargraph/type_checker/param_def.rb +2 -0
  115. data/lib/solargraph/type_checker/rules.rb +30 -8
  116. data/lib/solargraph/type_checker.rb +301 -186
  117. data/lib/solargraph/version.rb +1 -1
  118. data/lib/solargraph/workspace/config.rb +21 -5
  119. data/lib/solargraph/workspace/require_paths.rb +97 -0
  120. data/lib/solargraph/workspace.rb +30 -67
  121. data/lib/solargraph/yard_map/mapper/to_method.rb +4 -3
  122. data/lib/solargraph/yard_map/mapper/to_namespace.rb +1 -0
  123. data/lib/solargraph/yard_map/to_method.rb +2 -1
  124. data/lib/solargraph/yardoc.rb +39 -3
  125. data/lib/solargraph.rb +2 -0
  126. data/rbs/fills/bundler/0/bundler.rbs +4271 -0
  127. data/rbs/fills/open3/0/open3.rbs +172 -0
  128. data/rbs/fills/rubygems/0/basic_specification.rbs +326 -0
  129. data/rbs/fills/rubygems/0/errors.rbs +364 -0
  130. data/rbs/fills/rubygems/0/spec_fetcher.rbs +107 -0
  131. data/rbs/fills/rubygems/0/specification.rbs +1753 -0
  132. data/rbs/fills/{tuple.rbs → tuple/tuple.rbs} +2 -3
  133. data/rbs_collection.yaml +4 -4
  134. data/sig/shims/ast/0/node.rbs +5 -0
  135. data/sig/shims/ast/2.4/.rbs_meta.yaml +9 -0
  136. data/sig/shims/ast/2.4/ast.rbs +73 -0
  137. data/sig/shims/parser/3.2.0.1/builders/default.rbs +195 -0
  138. data/sig/shims/parser/3.2.0.1/manifest.yaml +7 -0
  139. data/sig/shims/parser/3.2.0.1/parser.rbs +201 -0
  140. data/sig/shims/parser/3.2.0.1/polyfill.rbs +4 -0
  141. data/sig/shims/thor/1.2.0.1/.rbs_meta.yaml +9 -0
  142. data/sig/shims/thor/1.2.0.1/manifest.yaml +7 -0
  143. data/sig/shims/thor/1.2.0.1/thor.rbs +17 -0
  144. data/solargraph.gemspec +26 -5
  145. metadata +181 -13
  146. data/lib/.rubocop.yml +0 -22
  147. data/lib/solargraph/parser/node_methods.rb +0 -97
@@ -0,0 +1,4271 @@
1
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) provides a
2
+ # consistent environment for Ruby projects by tracking and installing the exact
3
+ # gems and versions that are needed.
4
+ #
5
+ # Since Ruby 2.6, [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html)
6
+ # is a part of Ruby's standard library.
7
+ #
8
+ # Bunder is used by creating *gemfiles* listing all the project dependencies and
9
+ # (optionally) their versions and then using
10
+ #
11
+ # ```ruby
12
+ # require 'bundler/setup'
13
+ # ```
14
+ #
15
+ # or
16
+ # [`Bundler.setup`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html#method-c-setup)
17
+ # to setup environment where only specified gems and their specified versions
18
+ # could be used.
19
+ #
20
+ # See [Bundler website](https://bundler.io/docs.html) for extensive
21
+ # documentation on gemfiles creation and
22
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) usage.
23
+ #
24
+ # As a standard library inside project,
25
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) could be used
26
+ # for introspection of loaded and required modules.
27
+ module Bundler
28
+ def self.app_cache: (?untyped custom_path) -> untyped
29
+
30
+ def self.app_config_path: () -> untyped
31
+
32
+ # Returns absolute location of where binstubs are installed to.
33
+ def self.bin_path: () -> untyped
34
+
35
+ # Returns absolute path of where gems are installed on the filesystem.
36
+ def self.bundle_path: () -> untyped
37
+
38
+ def self.bundler_major_version: () -> untyped
39
+
40
+ # @deprecated Use `unbundled\_env` instead
41
+ def self.clean_env: () -> untyped
42
+
43
+ def self.clean_exec: (*untyped args) -> untyped
44
+
45
+ def self.clean_system: (*untyped args) -> untyped
46
+
47
+ def self.clear_gemspec_cache: () -> untyped
48
+
49
+ def self.configure: () -> untyped
50
+
51
+ def self.configured_bundle_path: () -> untyped
52
+
53
+ # Returns current version of Ruby
54
+ #
55
+ # @return [CurrentRuby] Current version of Ruby
56
+ def self.current_ruby: () -> untyped
57
+
58
+ def self.default_bundle_dir: () -> untyped
59
+
60
+ def self.default_gemfile: () -> untyped
61
+
62
+ def self.default_lockfile: () -> untyped
63
+
64
+ def self.definition: (?(::Hash[String, Boolean | nil] | Boolean | nil) unlock) -> Bundler::Definition
65
+
66
+ def self.environment: () -> untyped
67
+
68
+ def self.feature_flag: () -> untyped
69
+
70
+ def self.frozen_bundle?: () -> untyped
71
+
72
+ def self.git_present?: () -> untyped
73
+
74
+ def self.home: () -> untyped
75
+
76
+ def self.install_path: () -> untyped
77
+
78
+ def self.load: () -> untyped
79
+
80
+ def self.load_gemspec: (untyped file, ?untyped validate) -> untyped
81
+
82
+ def self.load_gemspec_uncached: (untyped file, ?untyped validate) -> untyped
83
+
84
+ def self.load_marshal: (untyped data) -> untyped
85
+
86
+ def self.local_platform: () -> untyped
87
+
88
+ def self.locked_gems: () -> untyped
89
+
90
+ def self.mkdir_p: (untyped path, ?untyped options) -> untyped
91
+
92
+ # @return [Hash] Environment present before
93
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) was activated
94
+ def self.original_env: () -> untyped
95
+
96
+ def self.read_file: (untyped file) -> untyped
97
+
98
+ def self.require: (*untyped groups) -> untyped
99
+
100
+ def self.require_thor_actions: () -> untyped
101
+
102
+ def self.requires_sudo?: () -> untyped
103
+
104
+ def self.reset!: () -> untyped
105
+
106
+ def self.reset_paths!: () -> untyped
107
+
108
+ def self.reset_rubygems!: () -> untyped
109
+
110
+ def self.rm_rf: (untyped path) -> untyped
111
+
112
+ def self.root: () -> untyped
113
+
114
+ def self.ruby_scope: () -> untyped
115
+
116
+ def self.rubygems: () -> untyped
117
+
118
+ def self.settings: () -> untyped
119
+
120
+ def self.setup: (*untyped groups) -> untyped
121
+
122
+ def self.specs_path: () -> untyped
123
+
124
+ def self.sudo: (untyped str) -> untyped
125
+
126
+ def self.system_bindir: () -> untyped
127
+
128
+ def self.tmp: (?untyped name) -> untyped
129
+
130
+ def self.tmp_home_path: (untyped login, untyped warning) -> untyped
131
+
132
+ def self.ui: () -> untyped
133
+
134
+ def self.ui=: (untyped ui) -> untyped
135
+
136
+ def self.use_system_gems?: () -> untyped
137
+
138
+ def self.user_bundle_path: (?untyped dir) -> untyped
139
+
140
+ def self.user_cache: () -> untyped
141
+
142
+ def self.user_home: () -> untyped
143
+
144
+ def self.which: (untyped executable) -> untyped
145
+
146
+ # @deprecated Use `with\_unbundled\_env` instead
147
+ def self.with_clean_env: () { () -> untyped } -> untyped
148
+
149
+ def self.with_unbundled_env: () { () -> untyped } -> untyped
150
+
151
+ # Run block with environment present before
152
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) was activated
153
+ def self.with_original_env: () { () -> untyped } -> untyped
154
+ end
155
+
156
+ Bundler::FREEBSD: untyped
157
+
158
+ Bundler::NULL: untyped
159
+
160
+ Bundler::ORIGINAL_ENV: untyped
161
+
162
+ Bundler::SUDO_MUTEX: untyped
163
+
164
+ Bundler::VERSION: untyped
165
+
166
+ Bundler::WINDOWS: untyped
167
+
168
+ class Bundler::APIResponseMismatchError < Bundler::BundlerError
169
+ def status_code: () -> untyped
170
+ end
171
+
172
+ # Represents metadata from when the
173
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) gem was built.
174
+ module Bundler::BuildMetadata
175
+ # A string representing the date the bundler gem was built.
176
+ def self.built_at: () -> untyped
177
+
178
+ # The SHA for the git commit the bundler gem was built from.
179
+ def self.git_commit_sha: () -> untyped
180
+
181
+ # Whether this is an official release build of
182
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html).
183
+ def self.release?: () -> untyped
184
+
185
+ # A hash representation of the build metadata.
186
+ def self.to_h: () -> untyped
187
+ end
188
+
189
+ class Bundler::BundlerError < StandardError
190
+ def self.all_errors: () -> untyped
191
+
192
+ def self.status_code: (untyped code) -> untyped
193
+ end
194
+
195
+ class Bundler::CurrentRuby
196
+ def jruby?: () -> untyped
197
+
198
+ def jruby_18?: () -> untyped
199
+
200
+ def jruby_19?: () -> untyped
201
+
202
+ def jruby_1?: () -> untyped
203
+
204
+ def jruby_20?: () -> untyped
205
+
206
+ def jruby_21?: () -> untyped
207
+
208
+ def jruby_22?: () -> untyped
209
+
210
+ def jruby_23?: () -> untyped
211
+
212
+ def jruby_24?: () -> untyped
213
+
214
+ def jruby_25?: () -> untyped
215
+
216
+ def jruby_26?: () -> untyped
217
+
218
+ def jruby_27?: () -> untyped
219
+
220
+ def jruby_2?: () -> untyped
221
+
222
+ def maglev?: () -> untyped
223
+
224
+ def maglev_18?: () -> untyped
225
+
226
+ def maglev_19?: () -> untyped
227
+
228
+ def maglev_1?: () -> untyped
229
+
230
+ def maglev_20?: () -> untyped
231
+
232
+ def maglev_21?: () -> untyped
233
+
234
+ def maglev_22?: () -> untyped
235
+
236
+ def maglev_23?: () -> untyped
237
+
238
+ def maglev_24?: () -> untyped
239
+
240
+ def maglev_25?: () -> untyped
241
+
242
+ def maglev_26?: () -> untyped
243
+
244
+ def maglev_27?: () -> untyped
245
+
246
+ def maglev_2?: () -> untyped
247
+
248
+ def mingw?: () -> untyped
249
+
250
+ def mingw_18?: () -> untyped
251
+
252
+ def mingw_19?: () -> untyped
253
+
254
+ def mingw_1?: () -> untyped
255
+
256
+ def mingw_20?: () -> untyped
257
+
258
+ def mingw_21?: () -> untyped
259
+
260
+ def mingw_22?: () -> untyped
261
+
262
+ def mingw_23?: () -> untyped
263
+
264
+ def mingw_24?: () -> untyped
265
+
266
+ def mingw_25?: () -> untyped
267
+
268
+ def mingw_26?: () -> untyped
269
+
270
+ def mingw_27?: () -> untyped
271
+
272
+ def mingw_2?: () -> untyped
273
+
274
+ def mri?: () -> untyped
275
+
276
+ def mri_18?: () -> untyped
277
+
278
+ def mri_19?: () -> untyped
279
+
280
+ def mri_1?: () -> untyped
281
+
282
+ def mri_20?: () -> untyped
283
+
284
+ def mri_21?: () -> untyped
285
+
286
+ def mri_22?: () -> untyped
287
+
288
+ def mri_23?: () -> untyped
289
+
290
+ def mri_24?: () -> untyped
291
+
292
+ def mri_25?: () -> untyped
293
+
294
+ def mri_26?: () -> untyped
295
+
296
+ def mri_27?: () -> untyped
297
+
298
+ def mri_2?: () -> untyped
299
+
300
+ def mswin64?: () -> untyped
301
+
302
+ def mswin64_18?: () -> untyped
303
+
304
+ def mswin64_19?: () -> untyped
305
+
306
+ def mswin64_1?: () -> untyped
307
+
308
+ def mswin64_20?: () -> untyped
309
+
310
+ def mswin64_21?: () -> untyped
311
+
312
+ def mswin64_22?: () -> untyped
313
+
314
+ def mswin64_23?: () -> untyped
315
+
316
+ def mswin64_24?: () -> untyped
317
+
318
+ def mswin64_25?: () -> untyped
319
+
320
+ def mswin64_26?: () -> untyped
321
+
322
+ def mswin64_27?: () -> untyped
323
+
324
+ def mswin64_2?: () -> untyped
325
+
326
+ def mswin?: () -> untyped
327
+
328
+ def mswin_18?: () -> untyped
329
+
330
+ def mswin_19?: () -> untyped
331
+
332
+ def mswin_1?: () -> untyped
333
+
334
+ def mswin_20?: () -> untyped
335
+
336
+ def mswin_21?: () -> untyped
337
+
338
+ def mswin_22?: () -> untyped
339
+
340
+ def mswin_23?: () -> untyped
341
+
342
+ def mswin_24?: () -> untyped
343
+
344
+ def mswin_25?: () -> untyped
345
+
346
+ def mswin_26?: () -> untyped
347
+
348
+ def mswin_27?: () -> untyped
349
+
350
+ def mswin_2?: () -> untyped
351
+
352
+ def on_18?: () -> untyped
353
+
354
+ def on_19?: () -> untyped
355
+
356
+ def on_1?: () -> untyped
357
+
358
+ def on_20?: () -> untyped
359
+
360
+ def on_21?: () -> untyped
361
+
362
+ def on_22?: () -> untyped
363
+
364
+ def on_23?: () -> untyped
365
+
366
+ def on_24?: () -> untyped
367
+
368
+ def on_25?: () -> untyped
369
+
370
+ def on_26?: () -> untyped
371
+
372
+ def on_27?: () -> untyped
373
+
374
+ def on_2?: () -> untyped
375
+
376
+ def rbx?: () -> untyped
377
+
378
+ def rbx_18?: () -> untyped
379
+
380
+ def rbx_19?: () -> untyped
381
+
382
+ def rbx_1?: () -> untyped
383
+
384
+ def rbx_20?: () -> untyped
385
+
386
+ def rbx_21?: () -> untyped
387
+
388
+ def rbx_22?: () -> untyped
389
+
390
+ def rbx_23?: () -> untyped
391
+
392
+ def rbx_24?: () -> untyped
393
+
394
+ def rbx_25?: () -> untyped
395
+
396
+ def rbx_26?: () -> untyped
397
+
398
+ def rbx_27?: () -> untyped
399
+
400
+ def rbx_2?: () -> untyped
401
+
402
+ def ruby?: () -> untyped
403
+
404
+ def ruby_18?: () -> untyped
405
+
406
+ def ruby_19?: () -> untyped
407
+
408
+ def ruby_1?: () -> untyped
409
+
410
+ def ruby_20?: () -> untyped
411
+
412
+ def ruby_21?: () -> untyped
413
+
414
+ def ruby_22?: () -> untyped
415
+
416
+ def ruby_23?: () -> untyped
417
+
418
+ def ruby_24?: () -> untyped
419
+
420
+ def ruby_25?: () -> untyped
421
+
422
+ def ruby_26?: () -> untyped
423
+
424
+ def ruby_27?: () -> untyped
425
+
426
+ def ruby_2?: () -> untyped
427
+
428
+ def truffleruby?: () -> untyped
429
+
430
+ def truffleruby_18?: () -> untyped
431
+
432
+ def truffleruby_19?: () -> untyped
433
+
434
+ def truffleruby_1?: () -> untyped
435
+
436
+ def truffleruby_20?: () -> untyped
437
+
438
+ def truffleruby_21?: () -> untyped
439
+
440
+ def truffleruby_22?: () -> untyped
441
+
442
+ def truffleruby_23?: () -> untyped
443
+
444
+ def truffleruby_24?: () -> untyped
445
+
446
+ def truffleruby_25?: () -> untyped
447
+
448
+ def truffleruby_26?: () -> untyped
449
+
450
+ def truffleruby_27?: () -> untyped
451
+
452
+ def truffleruby_2?: () -> untyped
453
+
454
+ def x64_mingw?: () -> untyped
455
+
456
+ def x64_mingw_18?: () -> untyped
457
+
458
+ def x64_mingw_19?: () -> untyped
459
+
460
+ def x64_mingw_1?: () -> untyped
461
+
462
+ def x64_mingw_20?: () -> untyped
463
+
464
+ def x64_mingw_21?: () -> untyped
465
+
466
+ def x64_mingw_22?: () -> untyped
467
+
468
+ def x64_mingw_23?: () -> untyped
469
+
470
+ def x64_mingw_24?: () -> untyped
471
+
472
+ def x64_mingw_25?: () -> untyped
473
+
474
+ def x64_mingw_26?: () -> untyped
475
+
476
+ def x64_mingw_27?: () -> untyped
477
+
478
+ def x64_mingw_2?: () -> untyped
479
+ end
480
+
481
+ Bundler::CurrentRuby::KNOWN_MAJOR_VERSIONS: untyped
482
+
483
+ Bundler::CurrentRuby::KNOWN_MINOR_VERSIONS: untyped
484
+
485
+ Bundler::CurrentRuby::KNOWN_PLATFORMS: untyped
486
+
487
+ class Bundler::CyclicDependencyError < Bundler::BundlerError
488
+ def status_code: () -> untyped
489
+ end
490
+
491
+ class Bundler::Definition
492
+ include ::Bundler::GemHelpers
493
+
494
+ def add_current_platform: () -> untyped
495
+
496
+ def add_platform: (untyped platform) -> untyped
497
+
498
+ def current_dependencies: () -> untyped
499
+
500
+ def dependencies: () -> Array[::Bundler::Dependency]
501
+
502
+ def ensure_equivalent_gemfile_and_lockfile: (?untyped explicit_flag) -> untyped
503
+
504
+ def find_indexed_specs: (untyped current_spec) -> untyped
505
+
506
+ def find_resolved_spec: (untyped current_spec) -> untyped
507
+
508
+ def gem_version_promoter: () -> untyped
509
+
510
+ def gemfiles: () -> untyped
511
+
512
+ def groups: () -> untyped
513
+
514
+ def has_local_dependencies?: () -> untyped
515
+
516
+ def has_rubygems_remotes?: () -> untyped
517
+
518
+ def index: () -> untyped
519
+
520
+ def initialize: (untyped lockfile, untyped dependencies, untyped sources, untyped unlock, ?untyped ruby_version, ?untyped optional_groups, ?untyped gemfiles) -> void
521
+
522
+ def lock: (untyped file, ?untyped preserve_unknown_sections) -> untyped
523
+
524
+ def locked_bundler_version: () -> untyped
525
+
526
+ def locked_deps: () -> untyped
527
+
528
+ def locked_gems: () -> Bundler::LockfileParser
529
+
530
+ def locked_ruby_version: () -> untyped
531
+
532
+ def locked_ruby_version_object: () -> untyped
533
+
534
+ def lockfile: () -> Pathname
535
+
536
+ def missing_specs: () -> untyped
537
+
538
+ def missing_specs?: () -> untyped
539
+
540
+ def new_platform?: () -> untyped
541
+
542
+ def new_specs: () -> untyped
543
+
544
+ def nothing_changed?: () -> untyped
545
+
546
+ def platforms: () -> untyped
547
+
548
+ def remove_platform: (untyped platform) -> untyped
549
+
550
+ def removed_specs: () -> untyped
551
+
552
+ def requested_specs: () -> untyped
553
+
554
+ def requires: () -> untyped
555
+
556
+ # Resolve all the dependencies specified in Gemfile. It ensures that
557
+ # dependencies that have been already resolved via locked file and are fresh
558
+ # are reused when resolving dependencies
559
+ #
560
+ # @return [SpecSet] resolved dependencies
561
+ def resolve: () -> untyped
562
+
563
+ def resolve_remotely!: () -> untyped
564
+
565
+ def resolve_with_cache!: () -> untyped
566
+
567
+ def ruby_version: () -> untyped
568
+
569
+ def spec_git_paths: () -> untyped
570
+
571
+ # For given dependency list returns a SpecSet with Gemspec of all the required
572
+ # dependencies.
573
+ #
574
+ # ```
575
+ # 1. The method first resolves the dependencies specified in Gemfile
576
+ # 2. After that it tries and fetches gemspec of resolved dependencies
577
+ # ```
578
+ #
579
+ # @return [Bundler::SpecSet]
580
+ def specs: () -> untyped
581
+
582
+ def specs_for: (untyped groups) -> untyped
583
+
584
+ def to_lock: () -> untyped
585
+
586
+ def unlocking?: () -> untyped
587
+
588
+ def validate_platforms!: () -> untyped
589
+
590
+ def validate_ruby!: () -> untyped
591
+
592
+ def validate_runtime!: () -> untyped
593
+
594
+ def self.build: (untyped gemfile, untyped lockfile, untyped unlock) -> untyped
595
+ end
596
+
597
+ class Bundler::DepProxy
598
+ def ==: (untyped other) -> untyped
599
+
600
+ def __platform: () -> untyped
601
+
602
+ def dep: () -> untyped
603
+
604
+ def eql?: (untyped other) -> untyped
605
+
606
+ def hash: () -> untyped
607
+
608
+ def initialize: (untyped dep, untyped platform) -> void
609
+
610
+ def name: () -> String
611
+
612
+ def requirement: () -> untyped
613
+
614
+ def to_s: () -> untyped
615
+
616
+ def type: () -> untyped
617
+ end
618
+
619
+ class Bundler::Dependency < Gem::Dependency
620
+ def autorequire: () -> untyped
621
+
622
+ def current_env?: () -> untyped
623
+
624
+ def current_platform?: () -> untyped
625
+
626
+ def gem_platforms: (untyped valid_platforms) -> untyped
627
+
628
+ def gemfile: () -> untyped
629
+
630
+ def groups: () -> untyped
631
+
632
+ def initialize: (untyped name, untyped version, ?untyped options) { () -> untyped } -> void
633
+
634
+ def platforms: () -> untyped
635
+
636
+ def should_include?: () -> untyped
637
+
638
+ def specific?: () -> untyped
639
+
640
+ def to_lock: () -> untyped
641
+ end
642
+
643
+ Bundler::Dependency::PLATFORM_MAP: untyped
644
+
645
+ Bundler::Dependency::REVERSE_PLATFORM_MAP: untyped
646
+
647
+ class Bundler::DeprecatedError < Bundler::BundlerError
648
+ def status_code: () -> untyped
649
+ end
650
+
651
+ class Bundler::Dsl
652
+ @source: untyped
653
+
654
+ @sources: untyped
655
+
656
+ @git_sources: untyped
657
+
658
+ @dependencies: untyped
659
+
660
+ @groups: untyped
661
+
662
+ @install_conditionals: untyped
663
+
664
+ @optional_groups: untyped
665
+
666
+ @platforms: untyped
667
+
668
+ @env: untyped
669
+
670
+ @ruby_version: untyped
671
+
672
+ @gemspecs: untyped
673
+
674
+ @gemfile: untyped
675
+
676
+ @gemfiles: untyped
677
+
678
+ @valid_keys: untyped
679
+
680
+ include ::Bundler::RubyDsl
681
+
682
+ def self.evaluate: (untyped gemfile, untyped lockfile, untyped unlock) -> untyped
683
+
684
+ VALID_PLATFORMS: untyped
685
+
686
+ VALID_KEYS: ::Array["group" | "groups" | "git" | "path" | "glob" | "name" | "branch" | "ref" | "tag" | "require" | "submodules" | "platform" | "platforms" | "source" | "install_if" | "force_ruby_platform"]
687
+
688
+ GITHUB_PULL_REQUEST_URL: ::Regexp
689
+
690
+ GITLAB_MERGE_REQUEST_URL: ::Regexp
691
+
692
+ attr_reader gemspecs: untyped
693
+
694
+ attr_reader gemfile: untyped
695
+
696
+ attr_accessor dependencies: untyped
697
+
698
+ def initialize: () -> void
699
+
700
+ def eval_gemfile: (untyped gemfile, ?untyped? contents) -> untyped
701
+
702
+ def gemspec: (?path: ::String, ?glob: ::String, ?name: ::String, ?development_group: ::Symbol) -> void
703
+
704
+ def gem: (untyped name, *untyped args) -> void
705
+
706
+ def source: (::String source, ?type: ::Symbol) ?{ (?) -> untyped } -> void
707
+
708
+ def git_source: (untyped name) ?{ (?) -> untyped } -> untyped
709
+
710
+ def path: (untyped path, ?::Hash[untyped, untyped] options) ?{ (?) -> untyped } -> untyped
711
+
712
+ def git: (untyped uri, ?::Hash[untyped, untyped] options) ?{ (?) -> untyped } -> untyped
713
+
714
+ def github: (untyped repo, ?::Hash[untyped, untyped] options) ?{ () -> untyped } -> untyped
715
+
716
+ def to_definition: (untyped lockfile, untyped unlock) -> untyped
717
+
718
+ def group: (*untyped args) { () -> untyped } -> untyped
719
+
720
+ def install_if: (*untyped args) { () -> untyped } -> untyped
721
+
722
+ def platforms: (*untyped platforms) { () -> untyped } -> untyped
723
+
724
+ alias platform platforms
725
+
726
+ def env: (untyped name) { () -> untyped } -> untyped
727
+
728
+ def plugin: (*untyped args) -> nil
729
+
730
+ def method_missing: (untyped name, *untyped args) -> untyped
731
+
732
+ def check_primary_source_safety: () -> untyped
733
+
734
+ private
735
+
736
+ def add_dependency: (untyped name, ?untyped? version, ?::Hash[untyped, untyped] options) -> (nil | untyped)
737
+
738
+ def with_gemfile: (untyped gemfile) { (untyped) -> untyped } -> untyped
739
+
740
+ def add_git_sources: () -> untyped
741
+
742
+ def with_source: (untyped source) ?{ () -> untyped } -> untyped
743
+
744
+ def normalize_hash: (untyped opts) -> untyped
745
+
746
+ def valid_keys: () -> untyped
747
+
748
+ def normalize_options: (untyped name, untyped version, untyped opts) -> untyped
749
+
750
+ def normalize_group_options: (untyped opts, untyped groups) -> untyped
751
+
752
+ def validate_keys: (untyped command, untyped opts, untyped valid_keys) -> (true | untyped)
753
+
754
+ def normalize_source: (untyped source) -> untyped
755
+
756
+ def deprecate_legacy_windows_platforms: (untyped platforms) -> (nil | untyped)
757
+
758
+ def check_path_source_safety: () -> (nil | untyped)
759
+
760
+ def check_rubygems_source_safety: () -> (untyped | nil)
761
+
762
+ def multiple_global_source_warning: () -> untyped
763
+
764
+ class DSLError < GemfileError
765
+ @status_code: untyped
766
+
767
+ @description: untyped
768
+
769
+ @dsl_path: untyped
770
+
771
+ @backtrace: untyped
772
+
773
+ @contents: untyped
774
+
775
+ @to_s: untyped
776
+
777
+ # @return [::String] the description that should be presented to the user.
778
+ #
779
+ attr_reader description: ::String
780
+
781
+ # @return [::String] the path of the dsl file that raised the exception.
782
+ #
783
+ attr_reader dsl_path: ::String
784
+
785
+ # @return [::Exception] the backtrace of the exception raised by the
786
+ # evaluation of the dsl file.
787
+ #
788
+ attr_reader backtrace: ::Exception
789
+
790
+ # @param [::Exception] backtrace @see backtrace
791
+ # @param [::String] dsl_path @see dsl_path
792
+ #
793
+ def initialize: (untyped description, ::String dsl_path, ::Exception backtrace, ?untyped? contents) -> void
794
+
795
+ def status_code: () -> untyped
796
+
797
+ # @return [::String] the contents of the DSL that cause the exception to
798
+ # be raised.
799
+ #
800
+ def contents: () -> ::String
801
+
802
+ # The message of the exception reports the content of podspec for the
803
+ # line that generated the original exception.
804
+ #
805
+ # @example Output
806
+ #
807
+ # Invalid podspec at `RestKit.podspec` - undefined method
808
+ # `exclude_header_search_paths=' for #<Pod::Specification for
809
+ # `RestKit/Network (0.9.3)`>
810
+ #
811
+ # from spec-repos/master/RestKit/0.9.3/RestKit.podspec:36
812
+ # -------------------------------------------
813
+ # # because it would break: #import <CoreData/CoreData.h>
814
+ # > ns.exclude_header_search_paths = 'Code/RestKit.h'
815
+ # end
816
+ # -------------------------------------------
817
+ #
818
+ # @return [::String] the message of the exception.
819
+ #
820
+ def to_s: () -> ::String
821
+
822
+ private
823
+
824
+ def parse_line_number_from_description: () -> ::Array[untyped]
825
+ end
826
+
827
+ def gemfile_root: () -> untyped
828
+ end
829
+
830
+ # used for Creating Specifications from the Gemcutter Endpoint
831
+ class Bundler::EndpointSpecification < Gem::Specification
832
+ def __swap__: (untyped spec) -> untyped
833
+
834
+ def _local_specification: () -> untyped
835
+
836
+ # needed for bundle clean
837
+ def bindir: () -> untyped
838
+
839
+ def checksum: () -> untyped
840
+
841
+ def dependencies: () -> untyped
842
+
843
+ def dependencies=: (untyped dependencies) -> untyped
844
+
845
+ # needed for binstubs
846
+ def executables: () -> untyped
847
+
848
+ # needed for "with native extensions" during install
849
+ def extensions: () -> untyped
850
+
851
+ def fetch_platform: () -> untyped
852
+
853
+ def initialize: (untyped name, untyped version, untyped platform, untyped dependencies, ?untyped metadata) -> void
854
+
855
+ # needed for inline
856
+ def load_paths: () -> untyped
857
+
858
+ def name: () -> untyped
859
+
860
+ def platform: () -> untyped
861
+
862
+ # needed for post\_install\_messages during install
863
+ def post_install_message: () -> untyped
864
+
865
+ def remote: () -> untyped
866
+
867
+ def remote=: (untyped remote) -> untyped
868
+
869
+ # needed for standalone, load required\_paths from local gemspec after the gem
870
+ # is installed
871
+ def require_paths: () -> untyped
872
+
873
+ def required_ruby_version: () -> untyped
874
+
875
+ def required_rubygems_version: () -> untyped
876
+
877
+ def source: () -> untyped
878
+
879
+ def source=: (untyped source) -> untyped
880
+
881
+ def version: () -> String
882
+ end
883
+
884
+ Bundler::EndpointSpecification::Elem: untyped
885
+
886
+ Bundler::EndpointSpecification::ILLFORMED_MESSAGE: untyped
887
+
888
+ class Bundler::EnvironmentPreserver
889
+ # @return [Hash]
890
+ def backup: () -> untyped
891
+
892
+ def initialize: (untyped env, untyped keys) -> void
893
+
894
+ # @return [Hash]
895
+ def restore: () -> untyped
896
+ end
897
+
898
+ Bundler::EnvironmentPreserver::BUNDLER_KEYS: untyped
899
+
900
+ Bundler::EnvironmentPreserver::BUNDLER_PREFIX: untyped
901
+
902
+ Bundler::EnvironmentPreserver::INTENTIONALLY_NIL: untyped
903
+
904
+ class Bundler::FeatureFlag
905
+ def allow_bundler_dependency_conflicts?: () -> untyped
906
+
907
+ def allow_offline_install?: () -> untyped
908
+
909
+ def auto_clean_without_path?: () -> untyped
910
+
911
+ def auto_config_jobs?: () -> untyped
912
+
913
+ def bundler_10_mode?: () -> untyped
914
+
915
+ def bundler_1_mode?: () -> untyped
916
+
917
+ def bundler_2_mode?: () -> untyped
918
+
919
+ def bundler_3_mode?: () -> untyped
920
+
921
+ def bundler_4_mode?: () -> untyped
922
+
923
+ def bundler_5_mode?: () -> untyped
924
+
925
+ def bundler_6_mode?: () -> untyped
926
+
927
+ def bundler_7_mode?: () -> untyped
928
+
929
+ def bundler_8_mode?: () -> untyped
930
+
931
+ def bundler_9_mode?: () -> untyped
932
+
933
+ def cache_all?: () -> untyped
934
+
935
+ def cache_command_is_package?: () -> untyped
936
+
937
+ def console_command?: () -> untyped
938
+
939
+ def default_cli_command: () -> untyped
940
+
941
+ def default_install_uses_path?: () -> untyped
942
+
943
+ def deployment_means_frozen?: () -> untyped
944
+
945
+ def disable_multisource?: () -> untyped
946
+
947
+ def error_on_stderr?: () -> untyped
948
+
949
+ def forget_cli_options?: () -> untyped
950
+
951
+ def global_gem_cache?: () -> untyped
952
+
953
+ def init_gems_rb?: () -> untyped
954
+
955
+ def initialize: (untyped bundler_version) -> void
956
+
957
+ def list_command?: () -> untyped
958
+
959
+ def lockfile_uses_separate_rubygems_sources?: () -> untyped
960
+
961
+ def only_update_to_newer_versions?: () -> untyped
962
+
963
+ def path_relative_to_cwd?: () -> untyped
964
+
965
+ def plugins?: () -> untyped
966
+
967
+ def prefer_gems_rb?: () -> untyped
968
+
969
+ def print_only_version_number?: () -> untyped
970
+
971
+ def setup_makes_kernel_gem_public?: () -> untyped
972
+
973
+ def skip_default_git_sources?: () -> untyped
974
+
975
+ def specific_platform?: () -> untyped
976
+
977
+ def suppress_install_using_messages?: () -> untyped
978
+
979
+ def unlock_source_unlocks_spec?: () -> untyped
980
+
981
+ def update_requires_all_flag?: () -> untyped
982
+
983
+ def use_gem_version_promoter_for_major_updates?: () -> untyped
984
+
985
+ def viz_command?: () -> untyped
986
+ end
987
+
988
+ # # fileutils.rb
989
+ #
990
+ # Copyright (c) 2000-2007 Minero Aoki
991
+ #
992
+ # This program is free software. You can distribute/modify this program under
993
+ # the same terms of ruby.
994
+ #
995
+ # ## module [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html)
996
+ #
997
+ # Namespace for several file utility methods for copying, moving, removing, etc.
998
+ #
999
+ # ### [`Module`](https://docs.ruby-lang.org/en/2.7.0/Module.html) Functions
1000
+ #
1001
+ # ```ruby
1002
+ # require 'bundler/vendor/fileutils/lib/fileutils'
1003
+ #
1004
+ # Bundler::FileUtils.cd(dir, **options)
1005
+ # Bundler::FileUtils.cd(dir, **options) {|dir| block }
1006
+ # Bundler::FileUtils.pwd()
1007
+ # Bundler::FileUtils.mkdir(dir, **options)
1008
+ # Bundler::FileUtils.mkdir(list, **options)
1009
+ # Bundler::FileUtils.mkdir_p(dir, **options)
1010
+ # Bundler::FileUtils.mkdir_p(list, **options)
1011
+ # Bundler::FileUtils.rmdir(dir, **options)
1012
+ # Bundler::FileUtils.rmdir(list, **options)
1013
+ # Bundler::FileUtils.ln(target, link, **options)
1014
+ # Bundler::FileUtils.ln(targets, dir, **options)
1015
+ # Bundler::FileUtils.ln_s(target, link, **options)
1016
+ # Bundler::FileUtils.ln_s(targets, dir, **options)
1017
+ # Bundler::FileUtils.ln_sf(target, link, **options)
1018
+ # Bundler::FileUtils.cp(src, dest, **options)
1019
+ # Bundler::FileUtils.cp(list, dir, **options)
1020
+ # Bundler::FileUtils.cp_r(src, dest, **options)
1021
+ # Bundler::FileUtils.cp_r(list, dir, **options)
1022
+ # Bundler::FileUtils.mv(src, dest, **options)
1023
+ # Bundler::FileUtils.mv(list, dir, **options)
1024
+ # Bundler::FileUtils.rm(list, **options)
1025
+ # Bundler::FileUtils.rm_r(list, **options)
1026
+ # Bundler::FileUtils.rm_rf(list, **options)
1027
+ # Bundler::FileUtils.install(src, dest, **options)
1028
+ # Bundler::FileUtils.chmod(mode, list, **options)
1029
+ # Bundler::FileUtils.chmod_R(mode, list, **options)
1030
+ # Bundler::FileUtils.chown(user, group, list, **options)
1031
+ # Bundler::FileUtils.chown_R(user, group, list, **options)
1032
+ # Bundler::FileUtils.touch(list, **options)
1033
+ # ```
1034
+ #
1035
+ # Possible `options` are:
1036
+ #
1037
+ # `:force`
1038
+ # : forced operation (rewrite files if exist, remove directories if not empty,
1039
+ # etc.);
1040
+ # `:verbose`
1041
+ # : print command to be run, in bash syntax, before performing it;
1042
+ # `:preserve`
1043
+ # : preserve object's group, user and modification time on copying;
1044
+ # `:noop`
1045
+ # : no changes are made (usable in combination with `:verbose` which will
1046
+ # print the command to run)
1047
+ #
1048
+ #
1049
+ # Each method documents the options that it honours. See also
1050
+ # [`::commands`](https://docs.ruby-lang.org/en/2.7.0/FileUtils.html#method-c-commands),
1051
+ # [`::options`](https://docs.ruby-lang.org/en/2.7.0/FileUtils.html#method-c-options)
1052
+ # and
1053
+ # [`::options_of`](https://docs.ruby-lang.org/en/2.7.0/FileUtils.html#method-c-options_of)
1054
+ # methods to introspect which command have which options.
1055
+ #
1056
+ # All methods that have the concept of a "source" file or directory can take
1057
+ # either one file or a list of files in that argument. See the method
1058
+ # documentation for examples.
1059
+ #
1060
+ # There are some 'low level' methods, which do not accept keyword arguments:
1061
+ #
1062
+ # ```ruby
1063
+ # Bundler::FileUtils.copy_entry(src, dest, preserve = false, dereference_root = false, remove_destination = false)
1064
+ # Bundler::FileUtils.copy_file(src, dest, preserve = false, dereference = true)
1065
+ # Bundler::FileUtils.copy_stream(srcstream, deststream)
1066
+ # Bundler::FileUtils.remove_entry(path, force = false)
1067
+ # Bundler::FileUtils.remove_entry_secure(path, force = false)
1068
+ # Bundler::FileUtils.remove_file(path, force = false)
1069
+ # Bundler::FileUtils.compare_file(path_a, path_b)
1070
+ # Bundler::FileUtils.compare_stream(stream_a, stream_b)
1071
+ # Bundler::FileUtils.uptodate?(file, cmp_list)
1072
+ # ```
1073
+ #
1074
+ # ## module [`Bundler::FileUtils::Verbose`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils/Verbose.html)
1075
+ #
1076
+ # This module has all methods of
1077
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html)
1078
+ # module, but it outputs messages before acting. This equates to passing the
1079
+ # `:verbose` flag to methods in
1080
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html).
1081
+ #
1082
+ # ## module [`Bundler::FileUtils::NoWrite`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils/NoWrite.html)
1083
+ #
1084
+ # This module has all methods of
1085
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html)
1086
+ # module, but never changes files/directories. This equates to passing the
1087
+ # `:noop` flag to methods in
1088
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html).
1089
+ #
1090
+ # ## module [`Bundler::FileUtils::DryRun`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils/DryRun.html)
1091
+ #
1092
+ # This module has all methods of
1093
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html)
1094
+ # module, but never changes files/directories. This equates to passing the
1095
+ # `:noop` and `:verbose` flags to methods in
1096
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html).
1097
+ module Bundler::FileUtils
1098
+ include ::Bundler::FileUtils::StreamUtils_
1099
+
1100
+ extend ::Bundler::FileUtils::StreamUtils_
1101
+
1102
+ def self.cd: (untyped dir, ?verbose: untyped verbose) { () -> untyped } -> untyped
1103
+
1104
+ def self.chdir: (untyped dir, ?verbose: untyped verbose) { () -> untyped } -> untyped
1105
+
1106
+ def self.chmod: (untyped mode, untyped list, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1107
+
1108
+ def self.chmod_R: (untyped mode, untyped list, ?noop: untyped noop, ?verbose: untyped verbose, ?force: untyped force) -> untyped
1109
+
1110
+ def self.chown: (untyped user, untyped group, untyped list, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1111
+
1112
+ def self.chown_R: (untyped user, untyped group, untyped list, ?noop: untyped noop, ?verbose: untyped verbose, ?force: untyped force) -> untyped
1113
+
1114
+ def self.cmp: (untyped a, untyped b) -> untyped
1115
+
1116
+ def self.collect_method: (untyped opt) -> untyped
1117
+
1118
+ # Returns an [`Array`](https://docs.ruby-lang.org/en/2.7.0/Array.html) of
1119
+ # names of high-level methods that accept any keyword arguments.
1120
+ #
1121
+ # ```ruby
1122
+ # p Bundler::FileUtils.commands #=> ["chmod", "cp", "cp_r", "install", ...]
1123
+ # ```
1124
+ def self.commands: () -> untyped
1125
+
1126
+ def self.compare_file: (untyped a, untyped b) -> untyped
1127
+
1128
+ def self.compare_stream: (untyped a, untyped b) -> untyped
1129
+
1130
+ def self.copy: (untyped src, untyped dest, ?preserve: untyped preserve, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1131
+
1132
+ def self.copy_entry: (untyped src, untyped dest, ?untyped preserve, ?untyped dereference_root, ?untyped remove_destination) -> untyped
1133
+
1134
+ def self.copy_file: (untyped src, untyped dest, ?untyped preserve, ?untyped dereference) -> untyped
1135
+
1136
+ def self.copy_stream: (untyped src, untyped dest) -> untyped
1137
+
1138
+ def self.cp: (untyped src, untyped dest, ?preserve: untyped preserve, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1139
+
1140
+ def self.cp_r: (untyped src, untyped dest, ?preserve: untyped preserve, ?noop: untyped noop, ?verbose: untyped verbose, ?dereference_root: untyped dereference_root, ?remove_destination: untyped remove_destination) -> untyped
1141
+
1142
+ # Alias for:
1143
+ # [`pwd`](https://docs.ruby-lang.org/en/2.7.0/FileUtils.html#method-i-pwd)
1144
+ def self.getwd: () -> untyped
1145
+
1146
+ def self.have_option?: (untyped mid, untyped opt) -> untyped
1147
+
1148
+ def self.identical?: (untyped a, untyped b) -> untyped
1149
+
1150
+ def self.install: (untyped src, untyped dest, ?mode: untyped mode, ?owner: untyped owner, ?group: untyped group, ?preserve: untyped preserve, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1151
+
1152
+ def self.link: (untyped src, untyped dest, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1153
+
1154
+ def self.ln: (untyped src, untyped dest, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1155
+
1156
+ def self.ln_s: (untyped src, untyped dest, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1157
+
1158
+ def self.ln_sf: (untyped src, untyped dest, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1159
+
1160
+ def self.makedirs: (untyped list, ?mode: untyped mode, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1161
+
1162
+ def self.mkdir: (untyped list, ?mode: untyped mode, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1163
+
1164
+ def self.mkdir_p: (untyped list, ?mode: untyped mode, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1165
+
1166
+ def self.mkpath: (untyped list, ?mode: untyped mode, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1167
+
1168
+ def self.move: (untyped src, untyped dest, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose, ?secure: untyped secure) -> untyped
1169
+
1170
+ def self.mv: (untyped src, untyped dest, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose, ?secure: untyped secure) -> untyped
1171
+
1172
+ # Returns an [`Array`](https://docs.ruby-lang.org/en/2.7.0/Array.html) of
1173
+ # option names.
1174
+ #
1175
+ # ```ruby
1176
+ # p Bundler::FileUtils.options #=> ["noop", "force", "verbose", "preserve", "mode"]
1177
+ # ```
1178
+ def self.options: () -> untyped
1179
+
1180
+ def self.options_of: (untyped mid) -> untyped
1181
+
1182
+ def self.private_module_function: (untyped name) -> untyped
1183
+
1184
+ # Returns the name of the current directory.
1185
+ #
1186
+ # Also aliased as:
1187
+ # [`getwd`](https://docs.ruby-lang.org/en/2.7.0/FileUtils.html#method-c-getwd)
1188
+ def self.pwd: () -> untyped
1189
+
1190
+ def self.remove: (untyped list, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1191
+
1192
+ def self.remove_dir: (untyped path, ?untyped force) -> untyped
1193
+
1194
+ def self.remove_entry: (untyped path, ?untyped force) -> untyped
1195
+
1196
+ def self.remove_entry_secure: (untyped path, ?untyped force) -> untyped
1197
+
1198
+ def self.remove_file: (untyped path, ?untyped force) -> untyped
1199
+
1200
+ def self.rm: (untyped list, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1201
+
1202
+ def self.rm_f: (untyped list, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1203
+
1204
+ def self.rm_r: (untyped list, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose, ?secure: untyped secure) -> untyped
1205
+
1206
+ def self.rm_rf: (untyped list, ?noop: untyped noop, ?verbose: untyped verbose, ?secure: untyped secure) -> untyped
1207
+
1208
+ def self.rmdir: (untyped list, ?parents: untyped parents, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1209
+
1210
+ def self.rmtree: (untyped list, ?noop: untyped noop, ?verbose: untyped verbose, ?secure: untyped secure) -> untyped
1211
+
1212
+ def self.safe_unlink: (untyped list, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1213
+
1214
+ def self.symlink: (untyped src, untyped dest, ?force: untyped force, ?noop: untyped noop, ?verbose: untyped verbose) -> untyped
1215
+
1216
+ def self.touch: (untyped list, ?noop: untyped noop, ?verbose: untyped verbose, ?mtime: untyped mtime, ?nocreate: untyped nocreate) -> untyped
1217
+
1218
+ def self.uptodate?: (untyped new, untyped old_list) -> untyped
1219
+ end
1220
+
1221
+ Bundler::FileUtils::LOW_METHODS: untyped
1222
+
1223
+ Bundler::FileUtils::METHODS: untyped
1224
+
1225
+ Bundler::FileUtils::OPT_TABLE: untyped
1226
+
1227
+ # This module has all methods of
1228
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html)
1229
+ # module, but never changes files/directories, with printing message before
1230
+ # acting. This equates to passing the `:noop` and `:verbose` flag to methods in
1231
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html).
1232
+ module Bundler::FileUtils::DryRun
1233
+ include ::Bundler::FileUtils::LowMethods
1234
+
1235
+ include ::Bundler::FileUtils
1236
+
1237
+ include ::Bundler::FileUtils::StreamUtils_
1238
+
1239
+ extend ::Bundler::FileUtils::DryRun
1240
+
1241
+ extend ::Bundler::FileUtils::LowMethods
1242
+
1243
+ extend ::Bundler::FileUtils
1244
+
1245
+ extend ::Bundler::FileUtils::StreamUtils_
1246
+
1247
+ def self.cd: (*untyped _) -> untyped
1248
+
1249
+ def self.chdir: (*untyped _) -> untyped
1250
+
1251
+ def self.chmod: (*untyped args, **untyped options) -> untyped
1252
+
1253
+ def self.chmod_R: (*untyped args, **untyped options) -> untyped
1254
+
1255
+ def self.chown: (*untyped args, **untyped options) -> untyped
1256
+
1257
+ def self.chown_R: (*untyped args, **untyped options) -> untyped
1258
+
1259
+ def self.cmp: (*untyped _) -> untyped
1260
+
1261
+ def self.compare_file: (*untyped _) -> untyped
1262
+
1263
+ def self.compare_stream: (*untyped _) -> untyped
1264
+
1265
+ def self.copy: (*untyped args, **untyped options) -> untyped
1266
+
1267
+ def self.copy_entry: (*untyped _) -> untyped
1268
+
1269
+ def self.copy_file: (*untyped _) -> untyped
1270
+
1271
+ def self.copy_stream: (*untyped _) -> untyped
1272
+
1273
+ def self.cp: (*untyped args, **untyped options) -> untyped
1274
+
1275
+ def self.cp_r: (*untyped args, **untyped options) -> untyped
1276
+
1277
+ def self.getwd: (*untyped _) -> untyped
1278
+
1279
+ def self.identical?: (*untyped _) -> untyped
1280
+
1281
+ def self.install: (*untyped args, **untyped options) -> untyped
1282
+
1283
+ def self.link: (*untyped args, **untyped options) -> untyped
1284
+
1285
+ def self.ln: (*untyped args, **untyped options) -> untyped
1286
+
1287
+ def self.ln_s: (*untyped args, **untyped options) -> untyped
1288
+
1289
+ def self.ln_sf: (*untyped args, **untyped options) -> untyped
1290
+
1291
+ def self.makedirs: (*untyped args, **untyped options) -> untyped
1292
+
1293
+ def self.mkdir: (*untyped args, **untyped options) -> untyped
1294
+
1295
+ def self.mkdir_p: (*untyped args, **untyped options) -> untyped
1296
+
1297
+ def self.mkpath: (*untyped args, **untyped options) -> untyped
1298
+
1299
+ def self.move: (*untyped args, **untyped options) -> untyped
1300
+
1301
+ def self.mv: (*untyped args, **untyped options) -> untyped
1302
+
1303
+ def self.pwd: (*untyped _) -> untyped
1304
+
1305
+ def self.remove: (*untyped args, **untyped options) -> untyped
1306
+
1307
+ def self.remove_dir: (*untyped _) -> untyped
1308
+
1309
+ def self.remove_entry: (*untyped _) -> untyped
1310
+
1311
+ def self.remove_entry_secure: (*untyped _) -> untyped
1312
+
1313
+ def self.remove_file: (*untyped _) -> untyped
1314
+
1315
+ def self.rm: (*untyped args, **untyped options) -> untyped
1316
+
1317
+ def self.rm_f: (*untyped args, **untyped options) -> untyped
1318
+
1319
+ def self.rm_r: (*untyped args, **untyped options) -> untyped
1320
+
1321
+ def self.rm_rf: (*untyped args, **untyped options) -> untyped
1322
+
1323
+ def self.rmdir: (*untyped args, **untyped options) -> untyped
1324
+
1325
+ def self.rmtree: (*untyped args, **untyped options) -> untyped
1326
+
1327
+ def self.safe_unlink: (*untyped args, **untyped options) -> untyped
1328
+
1329
+ def self.symlink: (*untyped args, **untyped options) -> untyped
1330
+
1331
+ def self.touch: (*untyped args, **untyped options) -> untyped
1332
+
1333
+ def self.uptodate?: (*untyped _) -> untyped
1334
+ end
1335
+
1336
+ class Bundler::FileUtils::Entry_
1337
+ include ::Bundler::FileUtils::StreamUtils_
1338
+
1339
+ def blockdev?: () -> untyped
1340
+
1341
+ def chardev?: () -> untyped
1342
+
1343
+ def chmod: (untyped mode) -> untyped
1344
+
1345
+ def chown: (untyped uid, untyped gid) -> untyped
1346
+
1347
+ def copy: (untyped dest) -> untyped
1348
+
1349
+ def copy_file: (untyped dest) -> untyped
1350
+
1351
+ def copy_metadata: (untyped path) -> untyped
1352
+
1353
+ def dereference?: () -> untyped
1354
+
1355
+ def directory?: () -> untyped
1356
+
1357
+ def door?: () -> untyped
1358
+
1359
+ def entries: () -> untyped
1360
+
1361
+ def exist?: () -> untyped
1362
+
1363
+ def file?: () -> untyped
1364
+
1365
+ def initialize: (untyped a, ?untyped b, ?untyped deref) -> void
1366
+
1367
+ def inspect: () -> untyped
1368
+
1369
+ def lstat: () -> untyped
1370
+
1371
+ def lstat!: () -> untyped
1372
+
1373
+ def path: () -> untyped
1374
+
1375
+ def pipe?: () -> untyped
1376
+
1377
+ def platform_support: () -> untyped
1378
+
1379
+ def postorder_traverse: () -> untyped
1380
+
1381
+ def prefix: () -> untyped
1382
+
1383
+ def preorder_traverse: () -> untyped
1384
+
1385
+ def rel: () -> untyped
1386
+
1387
+ def remove: () -> untyped
1388
+
1389
+ def remove_dir1: () -> untyped
1390
+
1391
+ def remove_file: () -> untyped
1392
+
1393
+ def socket?: () -> untyped
1394
+
1395
+ def stat: () -> untyped
1396
+
1397
+ def stat!: () -> untyped
1398
+
1399
+ def symlink?: () -> untyped
1400
+
1401
+ def traverse: () -> untyped
1402
+
1403
+ def wrap_traverse: (untyped pre, untyped post) -> untyped
1404
+ end
1405
+
1406
+ Bundler::FileUtils::Entry_::DIRECTORY_TERM: untyped
1407
+
1408
+ Bundler::FileUtils::Entry_::SYSCASE: untyped
1409
+
1410
+ Bundler::FileUtils::Entry_::S_IF_DOOR: untyped
1411
+
1412
+ module Bundler::FileUtils::LowMethods
1413
+ end
1414
+
1415
+ # This module has all methods of
1416
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html)
1417
+ # module, but never changes files/directories. This equates to passing the
1418
+ # `:noop` flag to methods in
1419
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html).
1420
+ module Bundler::FileUtils::NoWrite
1421
+ include ::Bundler::FileUtils::LowMethods
1422
+
1423
+ include ::Bundler::FileUtils
1424
+
1425
+ include ::Bundler::FileUtils::StreamUtils_
1426
+
1427
+ extend ::Bundler::FileUtils::NoWrite
1428
+
1429
+ extend ::Bundler::FileUtils::LowMethods
1430
+
1431
+ extend ::Bundler::FileUtils
1432
+
1433
+ extend ::Bundler::FileUtils::StreamUtils_
1434
+
1435
+ def self.cd: (*untyped _) -> untyped
1436
+
1437
+ def self.chdir: (*untyped _) -> untyped
1438
+
1439
+ def self.chmod: (*untyped args, **untyped options) -> untyped
1440
+
1441
+ def self.chmod_R: (*untyped args, **untyped options) -> untyped
1442
+
1443
+ def self.chown: (*untyped args, **untyped options) -> untyped
1444
+
1445
+ def self.chown_R: (*untyped args, **untyped options) -> untyped
1446
+
1447
+ def self.cmp: (*untyped _) -> untyped
1448
+
1449
+ def self.compare_file: (*untyped _) -> untyped
1450
+
1451
+ def self.compare_stream: (*untyped _) -> untyped
1452
+
1453
+ def self.copy: (*untyped args, **untyped options) -> untyped
1454
+
1455
+ def self.copy_entry: (*untyped _) -> untyped
1456
+
1457
+ def self.copy_file: (*untyped _) -> untyped
1458
+
1459
+ def self.copy_stream: (*untyped _) -> untyped
1460
+
1461
+ def self.cp: (*untyped args, **untyped options) -> untyped
1462
+
1463
+ def self.cp_r: (*untyped args, **untyped options) -> untyped
1464
+
1465
+ def self.getwd: (*untyped _) -> untyped
1466
+
1467
+ def self.identical?: (*untyped _) -> untyped
1468
+
1469
+ def self.install: (*untyped args, **untyped options) -> untyped
1470
+
1471
+ def self.link: (*untyped args, **untyped options) -> untyped
1472
+
1473
+ def self.ln: (*untyped args, **untyped options) -> untyped
1474
+
1475
+ def self.ln_s: (*untyped args, **untyped options) -> untyped
1476
+
1477
+ def self.ln_sf: (*untyped args, **untyped options) -> untyped
1478
+
1479
+ def self.makedirs: (*untyped args, **untyped options) -> untyped
1480
+
1481
+ def self.mkdir: (*untyped args, **untyped options) -> untyped
1482
+
1483
+ def self.mkdir_p: (*untyped args, **untyped options) -> untyped
1484
+
1485
+ def self.mkpath: (*untyped args, **untyped options) -> untyped
1486
+
1487
+ def self.move: (*untyped args, **untyped options) -> untyped
1488
+
1489
+ def self.mv: (*untyped args, **untyped options) -> untyped
1490
+
1491
+ def self.pwd: (*untyped _) -> untyped
1492
+
1493
+ def self.remove: (*untyped args, **untyped options) -> untyped
1494
+
1495
+ def self.remove_dir: (*untyped _) -> untyped
1496
+
1497
+ def self.remove_entry: (*untyped _) -> untyped
1498
+
1499
+ def self.remove_entry_secure: (*untyped _) -> untyped
1500
+
1501
+ def self.remove_file: (*untyped _) -> untyped
1502
+
1503
+ def self.rm: (*untyped args, **untyped options) -> untyped
1504
+
1505
+ def self.rm_f: (*untyped args, **untyped options) -> untyped
1506
+
1507
+ def self.rm_r: (*untyped args, **untyped options) -> untyped
1508
+
1509
+ def self.rm_rf: (*untyped args, **untyped options) -> untyped
1510
+
1511
+ def self.rmdir: (*untyped args, **untyped options) -> untyped
1512
+
1513
+ def self.rmtree: (*untyped args, **untyped options) -> untyped
1514
+
1515
+ def self.safe_unlink: (*untyped args, **untyped options) -> untyped
1516
+
1517
+ def self.symlink: (*untyped args, **untyped options) -> untyped
1518
+
1519
+ def self.touch: (*untyped args, **untyped options) -> untyped
1520
+
1521
+ def self.uptodate?: (*untyped _) -> untyped
1522
+ end
1523
+
1524
+ module Bundler::FileUtils::StreamUtils_
1525
+ end
1526
+
1527
+ # This module has all methods of
1528
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html)
1529
+ # module, but it outputs messages before acting. This equates to passing the
1530
+ # `:verbose` flag to methods in
1531
+ # [`Bundler::FileUtils`](https://docs.ruby-lang.org/en/2.7.0/Bundler/FileUtils.html).
1532
+ module Bundler::FileUtils::Verbose
1533
+ include ::Bundler::FileUtils
1534
+
1535
+ include ::Bundler::FileUtils::StreamUtils_
1536
+
1537
+ extend ::Bundler::FileUtils::Verbose
1538
+
1539
+ extend ::Bundler::FileUtils
1540
+
1541
+ extend ::Bundler::FileUtils::StreamUtils_
1542
+
1543
+ def self.cd: (*untyped args, **untyped options) -> untyped
1544
+
1545
+ def self.chdir: (*untyped args, **untyped options) -> untyped
1546
+
1547
+ def self.chmod: (*untyped args, **untyped options) -> untyped
1548
+
1549
+ def self.chmod_R: (*untyped args, **untyped options) -> untyped
1550
+
1551
+ def self.chown: (*untyped args, **untyped options) -> untyped
1552
+
1553
+ def self.chown_R: (*untyped args, **untyped options) -> untyped
1554
+
1555
+ def self.cmp: (untyped a, untyped b) -> untyped
1556
+
1557
+ def self.compare_file: (untyped a, untyped b) -> untyped
1558
+
1559
+ def self.compare_stream: (untyped a, untyped b) -> untyped
1560
+
1561
+ def self.copy: (*untyped args, **untyped options) -> untyped
1562
+
1563
+ def self.copy_entry: (untyped src, untyped dest, ?untyped preserve, ?untyped dereference_root, ?untyped remove_destination) -> untyped
1564
+
1565
+ def self.copy_file: (untyped src, untyped dest, ?untyped preserve, ?untyped dereference) -> untyped
1566
+
1567
+ def self.copy_stream: (untyped src, untyped dest) -> untyped
1568
+
1569
+ def self.cp: (*untyped args, **untyped options) -> untyped
1570
+
1571
+ def self.cp_r: (*untyped args, **untyped options) -> untyped
1572
+
1573
+ def self.getwd: () -> untyped
1574
+
1575
+ def self.identical?: (untyped a, untyped b) -> untyped
1576
+
1577
+ def self.install: (*untyped args, **untyped options) -> untyped
1578
+
1579
+ def self.link: (*untyped args, **untyped options) -> untyped
1580
+
1581
+ def self.ln: (*untyped args, **untyped options) -> untyped
1582
+
1583
+ def self.ln_s: (*untyped args, **untyped options) -> untyped
1584
+
1585
+ def self.ln_sf: (*untyped args, **untyped options) -> untyped
1586
+
1587
+ def self.makedirs: (*untyped args, **untyped options) -> untyped
1588
+
1589
+ def self.mkdir: (*untyped args, **untyped options) -> untyped
1590
+
1591
+ def self.mkdir_p: (*untyped args, **untyped options) -> untyped
1592
+
1593
+ def self.mkpath: (*untyped args, **untyped options) -> untyped
1594
+
1595
+ def self.move: (*untyped args, **untyped options) -> untyped
1596
+
1597
+ def self.mv: (*untyped args, **untyped options) -> untyped
1598
+
1599
+ def self.pwd: () -> untyped
1600
+
1601
+ def self.remove: (*untyped args, **untyped options) -> untyped
1602
+
1603
+ def self.remove_dir: (untyped path, ?untyped force) -> untyped
1604
+
1605
+ def self.remove_entry: (untyped path, ?untyped force) -> untyped
1606
+
1607
+ def self.remove_entry_secure: (untyped path, ?untyped force) -> untyped
1608
+
1609
+ def self.remove_file: (untyped path, ?untyped force) -> untyped
1610
+
1611
+ def self.rm: (*untyped args, **untyped options) -> untyped
1612
+
1613
+ def self.rm_f: (*untyped args, **untyped options) -> untyped
1614
+
1615
+ def self.rm_r: (*untyped args, **untyped options) -> untyped
1616
+
1617
+ def self.rm_rf: (*untyped args, **untyped options) -> untyped
1618
+
1619
+ def self.rmdir: (*untyped args, **untyped options) -> untyped
1620
+
1621
+ def self.rmtree: (*untyped args, **untyped options) -> untyped
1622
+
1623
+ def self.safe_unlink: (*untyped args, **untyped options) -> untyped
1624
+
1625
+ def self.symlink: (*untyped args, **untyped options) -> untyped
1626
+
1627
+ def self.touch: (*untyped args, **untyped options) -> untyped
1628
+
1629
+ def self.uptodate?: (untyped new, untyped old_list) -> untyped
1630
+ end
1631
+
1632
+ class Bundler::GemHelper
1633
+ def allowed_push_host: () -> untyped
1634
+
1635
+ def already_tagged?: () -> untyped
1636
+
1637
+ def base: () -> untyped
1638
+
1639
+ def build_checksum: (?untyped built_gem_path) -> untyped
1640
+
1641
+ def build_gem: () -> untyped
1642
+
1643
+ def built_gem_path: () -> untyped
1644
+
1645
+ def clean?: () -> untyped
1646
+
1647
+ def committed?: () -> untyped
1648
+
1649
+ def current_branch: () -> untyped
1650
+
1651
+ def default_remote: () -> untyped
1652
+
1653
+ def gem_command: () -> untyped
1654
+
1655
+ def gem_key: () -> untyped
1656
+
1657
+ def gem_push?: () -> untyped
1658
+
1659
+ def gem_push_host: () -> untyped
1660
+
1661
+ def gemspec: () -> untyped
1662
+
1663
+ def git_push: (?untyped remote) -> untyped
1664
+
1665
+ def guard_clean: () -> untyped
1666
+
1667
+ def initialize: (?untyped base, ?untyped name) -> void
1668
+
1669
+ def install: () -> untyped
1670
+
1671
+ def install_gem: (?untyped built_gem_path, ?untyped local) -> untyped
1672
+
1673
+ def name: () -> untyped
1674
+
1675
+ def rubygem_push: (untyped path) -> untyped
1676
+
1677
+ def sh: (untyped cmd) { () -> untyped } -> untyped
1678
+
1679
+ def sh_with_input: (untyped cmd) -> untyped
1680
+
1681
+ def sh_with_status: (untyped cmd) { () -> untyped } -> untyped
1682
+
1683
+ def spec_path: () -> untyped
1684
+
1685
+ def tag_prefix=: (untyped tag_prefix) -> untyped
1686
+
1687
+ def tag_version: () -> untyped
1688
+
1689
+ def version: () -> untyped
1690
+
1691
+ def version_tag: () -> untyped
1692
+
1693
+ def self.instance: () -> untyped
1694
+
1695
+ def self.instance=: (untyped instance) -> untyped
1696
+
1697
+ def self.install_tasks: (?untyped opts) -> untyped
1698
+
1699
+ def self.tag_prefix=: (untyped tag_prefix) -> untyped
1700
+
1701
+ def self.gemspec: () { () -> untyped } -> untyped
1702
+ end
1703
+
1704
+ module Bundler::GemHelpers
1705
+ def self.generic: (untyped p) -> untyped
1706
+
1707
+ def self.generic_local_platform: () -> untyped
1708
+
1709
+ def self.platform_specificity_match: (untyped spec_platform, untyped user_platform) -> untyped
1710
+
1711
+ def self.select_best_platform_match: (untyped specs, untyped platform) -> untyped
1712
+ end
1713
+
1714
+ Bundler::GemHelpers::GENERICS: untyped
1715
+
1716
+ Bundler::GemHelpers::GENERIC_CACHE: untyped
1717
+
1718
+ class Bundler::GemHelpers::PlatformMatch < Struct
1719
+ def <=>: (untyped other) -> untyped
1720
+
1721
+ def cpu_match: () -> untyped
1722
+
1723
+ def cpu_match=: (untyped _) -> untyped
1724
+
1725
+ def os_match: () -> untyped
1726
+
1727
+ def os_match=: (untyped _) -> untyped
1728
+
1729
+ def platform_version_match: () -> untyped
1730
+
1731
+ def platform_version_match=: (untyped _) -> untyped
1732
+
1733
+ def self.[]: (*untyped _) -> untyped
1734
+
1735
+ def self.cpu_match: (untyped spec_platform, untyped user_platform) -> untyped
1736
+
1737
+ def self.members: () -> untyped
1738
+
1739
+ def self.new: (*untyped _) -> untyped
1740
+
1741
+ def self.os_match: (untyped spec_platform, untyped user_platform) -> untyped
1742
+
1743
+ def self.platform_version_match: (untyped spec_platform, untyped user_platform) -> untyped
1744
+ end
1745
+
1746
+ Bundler::GemHelpers::PlatformMatch::Elem: untyped
1747
+
1748
+ Bundler::GemHelpers::PlatformMatch::EXACT_MATCH: untyped
1749
+
1750
+ Bundler::GemHelpers::PlatformMatch::WORST_MATCH: untyped
1751
+
1752
+ class Bundler::GemNotFound < Bundler::BundlerError
1753
+ def status_code: () -> untyped
1754
+ end
1755
+
1756
+ class Bundler::GemRequireError < Bundler::BundlerError
1757
+ def initialize: (untyped orig_exception, untyped msg) -> void
1758
+
1759
+ def orig_exception: () -> untyped
1760
+
1761
+ def status_code: () -> untyped
1762
+ end
1763
+
1764
+ class Bundler::GemfileError < Bundler::BundlerError
1765
+ def status_code: () -> untyped
1766
+ end
1767
+
1768
+ class Bundler::GemfileEvalError < Bundler::GemfileError
1769
+ end
1770
+
1771
+ class Bundler::GemfileLockNotFound < Bundler::BundlerError
1772
+ def status_code: () -> untyped
1773
+ end
1774
+
1775
+ class Bundler::GemfileNotFound < Bundler::BundlerError
1776
+ def status_code: () -> untyped
1777
+ end
1778
+
1779
+ class Bundler::GemspecError < Bundler::BundlerError
1780
+ def status_code: () -> untyped
1781
+ end
1782
+
1783
+ class Bundler::GenericSystemCallError < Bundler::BundlerError
1784
+ def initialize: (untyped underlying_error, untyped message) -> void
1785
+
1786
+ def status_code: () -> untyped
1787
+
1788
+ def underlying_error: () -> untyped
1789
+ end
1790
+
1791
+ class Bundler::GitError < Bundler::BundlerError
1792
+ def status_code: () -> untyped
1793
+ end
1794
+
1795
+ class Bundler::HTTPError < Bundler::BundlerError
1796
+ def filter_uri: (untyped uri) -> untyped
1797
+
1798
+ def status_code: () -> untyped
1799
+ end
1800
+
1801
+ # Handles all the fetching with the rubygems server
1802
+ class Bundler::Fetcher
1803
+ end
1804
+
1805
+ # This error is raised if HTTP authentication is required, but not provided.
1806
+ class Bundler::Fetcher::AuthenticationRequiredError < Bundler::HTTPError
1807
+ end
1808
+
1809
+ # This error is raised if HTTP authentication is provided, but incorrect.
1810
+ class Bundler::Fetcher::BadAuthenticationError < Bundler::HTTPError
1811
+ end
1812
+
1813
+ # This is the error raised if
1814
+ # [`OpenSSL`](https://docs.ruby-lang.org/en/2.7.0/OpenSSL.html) fails the cert
1815
+ # verification
1816
+ class Bundler::Fetcher::CertificateFailureError < Bundler::HTTPError
1817
+ end
1818
+
1819
+ # This error is raised if the API returns a 413 (only printed in verbose)
1820
+ class Bundler::Fetcher::FallbackError < Bundler::HTTPError
1821
+ end
1822
+
1823
+ # This error is raised when it looks like the network is down
1824
+ class Bundler::Fetcher::NetworkDownError < Bundler::HTTPError
1825
+ end
1826
+
1827
+ # This is the error raised when a source is HTTPS and
1828
+ # [`OpenSSL`](https://docs.ruby-lang.org/en/2.7.0/OpenSSL.html) didn't load
1829
+ class Bundler::Fetcher::SSLError < Bundler::HTTPError
1830
+ end
1831
+
1832
+ class Bundler::Index[out Elem]
1833
+ include ::Enumerable
1834
+
1835
+ def <<: (untyped spec) -> untyped
1836
+
1837
+ def ==: (untyped other) -> untyped
1838
+
1839
+ def []: (untyped query, ?untyped base) -> untyped
1840
+
1841
+ def add_source: (untyped index) -> untyped
1842
+
1843
+ def all_specs: () -> untyped
1844
+
1845
+ def dependencies_eql?: (untyped spec, untyped other_spec) -> untyped
1846
+
1847
+ def dependency_names: () -> untyped
1848
+
1849
+ def each: () { () -> untyped } -> untyped
1850
+
1851
+ def empty?: () -> untyped
1852
+
1853
+ def initialize: () -> void
1854
+
1855
+ def inspect: () -> untyped
1856
+
1857
+ def local_search: (untyped query, ?untyped base) -> untyped
1858
+
1859
+ def search: (untyped query, ?untyped base) -> untyped
1860
+
1861
+ def search_all: (untyped name) -> untyped
1862
+
1863
+ def size: () -> untyped
1864
+
1865
+ def sort_specs: (untyped specs) -> untyped
1866
+
1867
+ def sources: () -> untyped
1868
+
1869
+ def spec_names: () -> untyped
1870
+
1871
+ def specs: () -> untyped
1872
+
1873
+ # returns a list of the dependencies
1874
+ def unmet_dependency_names: () -> untyped
1875
+
1876
+ def unsorted_search: (untyped query, untyped base) -> untyped
1877
+
1878
+ def use: (untyped other, ?untyped override_dupes) -> untyped
1879
+
1880
+ def self.build: () -> untyped
1881
+
1882
+ def self.sort_specs: (untyped specs) -> untyped
1883
+ end
1884
+
1885
+ Bundler::Index::EMPTY_SEARCH: untyped
1886
+
1887
+ Bundler::Index::NULL: untyped
1888
+
1889
+ Bundler::Index::RUBY: untyped
1890
+
1891
+ class Bundler::InstallError < Bundler::BundlerError
1892
+ def status_code: () -> untyped
1893
+ end
1894
+
1895
+ class Bundler::InstallHookError < Bundler::BundlerError
1896
+ def status_code: () -> untyped
1897
+ end
1898
+
1899
+ class Bundler::InvalidOption < Bundler::BundlerError
1900
+ def status_code: () -> untyped
1901
+ end
1902
+
1903
+ class Bundler::LazySpecification
1904
+ include ::Bundler::MatchPlatform
1905
+
1906
+ include ::Bundler::GemHelpers
1907
+
1908
+ def ==: (untyped other) -> untyped
1909
+
1910
+ def __materialize__: () -> untyped
1911
+
1912
+ def dependencies: () -> untyped
1913
+
1914
+ def full_name: () -> untyped
1915
+
1916
+ def git_version: () -> untyped
1917
+
1918
+ def identifier: () -> untyped
1919
+
1920
+ def initialize: (untyped name, untyped version, untyped platform, ?untyped source) -> void
1921
+
1922
+ def name: () -> String
1923
+
1924
+ def platform: () -> untyped
1925
+
1926
+ def remote: () -> untyped
1927
+
1928
+ def remote=: (untyped remote) -> untyped
1929
+
1930
+ def respond_to?: (*untyped args) -> untyped
1931
+
1932
+ def satisfies?: (untyped dependency) -> untyped
1933
+
1934
+ def source: () -> untyped
1935
+
1936
+ def source=: (untyped source) -> untyped
1937
+
1938
+ def to_lock: () -> untyped
1939
+
1940
+ def to_s: () -> untyped
1941
+
1942
+ def version: () -> String
1943
+ end
1944
+
1945
+ class Bundler::LazySpecification::Identifier < Struct
1946
+ include ::Comparable
1947
+
1948
+ extend ::T::Generic
1949
+
1950
+ def <=>: (untyped other) -> untyped
1951
+
1952
+ def dependencies: () -> untyped
1953
+
1954
+ def dependencies=: (untyped _) -> untyped
1955
+
1956
+ def name: () -> untyped
1957
+
1958
+ def name=: (untyped _) -> untyped
1959
+
1960
+ def platform: () -> untyped
1961
+
1962
+ def platform=: (untyped _) -> untyped
1963
+
1964
+ def platform_string: () -> untyped
1965
+
1966
+ def source: () -> untyped
1967
+
1968
+ def source=: (untyped _) -> untyped
1969
+
1970
+ def version: () -> untyped
1971
+
1972
+ def version=: (untyped _) -> untyped
1973
+
1974
+ def self.[]: (*untyped _) -> untyped
1975
+
1976
+ def self.members: () -> untyped
1977
+
1978
+ def self.new: (*untyped _) -> untyped
1979
+ end
1980
+
1981
+ Bundler::LazySpecification::Identifier::Elem: untyped
1982
+
1983
+ class Bundler::LockfileError < Bundler::BundlerError
1984
+ def status_code: () -> untyped
1985
+ end
1986
+
1987
+ class Bundler::LockfileParser
1988
+ def bundler_version: () -> untyped
1989
+
1990
+ def dependencies: () -> Hash[String, Bundler::Dependency]
1991
+
1992
+ def initialize: (untyped lockfile) -> void
1993
+
1994
+ def platforms: () -> untyped
1995
+
1996
+ def ruby_version: () -> untyped
1997
+
1998
+ def sources: () -> untyped
1999
+
2000
+ def specs: () -> ::Array[::Bundler::LazySpecification]
2001
+
2002
+ def warn_for_outdated_bundler_version: () -> untyped
2003
+
2004
+ def self.sections_in_lockfile: (untyped lockfile_contents) -> untyped
2005
+
2006
+ def self.sections_to_ignore: (?untyped base_version) -> untyped
2007
+
2008
+ def self.unknown_sections_in_lockfile: (untyped lockfile_contents) -> untyped
2009
+ end
2010
+
2011
+ Bundler::LockfileParser::BUNDLED: untyped
2012
+
2013
+ Bundler::LockfileParser::DEPENDENCIES: untyped
2014
+
2015
+ Bundler::LockfileParser::ENVIRONMENT_VERSION_SECTIONS: untyped
2016
+
2017
+ Bundler::LockfileParser::GEM: untyped
2018
+
2019
+ Bundler::LockfileParser::GIT: untyped
2020
+
2021
+ Bundler::LockfileParser::KNOWN_SECTIONS: untyped
2022
+
2023
+ Bundler::LockfileParser::NAME_VERSION: untyped
2024
+
2025
+ Bundler::LockfileParser::OPTIONS: untyped
2026
+
2027
+ Bundler::LockfileParser::PATH: untyped
2028
+
2029
+ Bundler::LockfileParser::PLATFORMS: untyped
2030
+
2031
+ Bundler::LockfileParser::PLUGIN: untyped
2032
+
2033
+ Bundler::LockfileParser::RUBY: untyped
2034
+
2035
+ Bundler::LockfileParser::SECTIONS_BY_VERSION_INTRODUCED: untyped
2036
+
2037
+ Bundler::LockfileParser::SOURCE: untyped
2038
+
2039
+ Bundler::LockfileParser::SPECS: untyped
2040
+
2041
+ Bundler::LockfileParser::TYPES: untyped
2042
+
2043
+ class Bundler::MarshalError < StandardError
2044
+ end
2045
+
2046
+ module Bundler::MatchPlatform
2047
+ include ::Bundler::GemHelpers
2048
+
2049
+ def match_platform: (untyped p) -> untyped
2050
+
2051
+ def self.platforms_match?: (untyped gemspec_platform, untyped local_platform) -> untyped
2052
+ end
2053
+
2054
+ # [`Bundler::Molinillo`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo.html)
2055
+ # is a generic dependency resolution algorithm.
2056
+ module Bundler::Molinillo
2057
+ end
2058
+
2059
+ Bundler::Molinillo::VERSION: untyped
2060
+
2061
+ # An error caused by attempting to fulfil a dependency that was circular
2062
+ #
2063
+ # @note This exception will be thrown iff a {Vertex} is added to a
2064
+ #
2065
+ # ```
2066
+ # {DependencyGraph} that has a {DependencyGraph::Vertex#path_to?} an
2067
+ # existing {DependencyGraph::Vertex}
2068
+ # ```
2069
+ class Bundler::Molinillo::CircularDependencyError < Bundler::Molinillo::ResolverError
2070
+ # [`Set`](https://docs.ruby-lang.org/en/2.7.0/Set.html)<Object>
2071
+ # : the dependencies responsible for causing the error
2072
+ def dependencies: () -> untyped
2073
+
2074
+ def initialize: (untyped vertices) -> void
2075
+ end
2076
+
2077
+ # Hacks needed for old Ruby versions.
2078
+ module Bundler::Molinillo::Compatibility
2079
+ def self.flat_map: (untyped enum) { () -> untyped } -> untyped
2080
+ end
2081
+
2082
+ # @!visibility private
2083
+ module Bundler::Molinillo::Delegates
2084
+ end
2085
+
2086
+ # [`Delegates`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/Delegates.html)
2087
+ # all {Bundler::Molinillo::ResolutionState} methods to a `#state` property.
2088
+ module Bundler::Molinillo::Delegates::ResolutionState
2089
+ # (see Bundler::Molinillo::ResolutionState#activated)
2090
+ def activated: () -> untyped
2091
+
2092
+ # (see Bundler::Molinillo::ResolutionState#conflicts)
2093
+ def conflicts: () -> untyped
2094
+
2095
+ # (see Bundler::Molinillo::ResolutionState#depth)
2096
+ def depth: () -> untyped
2097
+
2098
+ # (see Bundler::Molinillo::ResolutionState#name)
2099
+ def name: () -> untyped
2100
+
2101
+ # (see Bundler::Molinillo::ResolutionState#possibilities)
2102
+ def possibilities: () -> untyped
2103
+
2104
+ # (see Bundler::Molinillo::ResolutionState#requirement)
2105
+ def requirement: () -> untyped
2106
+
2107
+ # (see Bundler::Molinillo::ResolutionState#requirements)
2108
+ def requirements: () -> untyped
2109
+
2110
+ # (see Bundler::Molinillo::ResolutionState#unused\_unwind\_options)
2111
+ def unused_unwind_options: () -> untyped
2112
+ end
2113
+
2114
+ # [`Delegates`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/Delegates.html)
2115
+ # all {Bundler::Molinillo::SpecificationProvider} methods to a
2116
+ # `#specification\_provider` property.
2117
+ module Bundler::Molinillo::Delegates::SpecificationProvider
2118
+ def allow_missing?: (untyped dependency) -> untyped
2119
+
2120
+ def dependencies_for: (untyped specification) -> untyped
2121
+
2122
+ def name_for: (untyped dependency) -> untyped
2123
+
2124
+ # (see
2125
+ # [`Bundler::Molinillo::SpecificationProvider#name_for_explicit_dependency_source`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/SpecificationProvider.html#method-i-name_for_explicit_dependency_source))
2126
+ def name_for_explicit_dependency_source: () -> untyped
2127
+
2128
+ # (see
2129
+ # [`Bundler::Molinillo::SpecificationProvider#name_for_locking_dependency_source`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/SpecificationProvider.html#method-i-name_for_locking_dependency_source))
2130
+ def name_for_locking_dependency_source: () -> untyped
2131
+
2132
+ def requirement_satisfied_by?: (untyped requirement, untyped activated, untyped spec) -> untyped
2133
+
2134
+ def search_for: (untyped dependency) -> untyped
2135
+
2136
+ def sort_dependencies: (untyped dependencies, untyped activated, untyped conflicts) -> untyped
2137
+ end
2138
+
2139
+ # A directed acyclic graph that is tuned to hold named dependencies
2140
+ class Bundler::Molinillo::DependencyGraph[out Elem]
2141
+ include ::TSort
2142
+
2143
+ include ::Enumerable
2144
+
2145
+ def ==: (untyped other) -> untyped
2146
+
2147
+ def add_child_vertex: (untyped name, untyped payload, untyped parent_names, untyped requirement) -> untyped
2148
+
2149
+ def add_edge: (untyped origin, untyped destination, untyped requirement) -> untyped
2150
+
2151
+ def add_vertex: (untyped name, untyped payload, ?untyped root) -> untyped
2152
+
2153
+ def delete_edge: (untyped edge) -> untyped
2154
+
2155
+ def detach_vertex_named: (untyped name) -> untyped
2156
+
2157
+ def each: () { () -> untyped } -> untyped
2158
+
2159
+ def initialize: () -> void
2160
+
2161
+ # @return [String] a string suitable for debugging
2162
+ def inspect: () -> untyped
2163
+
2164
+ # @return [Log] the op log for this graph
2165
+ def log: () -> untyped
2166
+
2167
+ def rewind_to: (untyped tag) -> untyped
2168
+
2169
+ def root_vertex_named: (untyped name) -> untyped
2170
+
2171
+ def set_payload: (untyped name, untyped payload) -> untyped
2172
+
2173
+ def tag: (untyped tag) -> untyped
2174
+
2175
+ def to_dot: (?untyped options) -> untyped
2176
+
2177
+ def tsort_each_child: (untyped vertex) { () -> untyped } -> untyped
2178
+
2179
+ # @!visibility private
2180
+ #
2181
+ # Alias for:
2182
+ # [`each`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/DependencyGraph.html#method-i-each)
2183
+ def tsort_each_node: () -> untyped
2184
+
2185
+ def vertex_named: (untyped name) -> untyped
2186
+
2187
+ # @return [{String => Vertex}] the vertices of the dependency graph, keyed
2188
+ #
2189
+ # ```
2190
+ # by {Vertex#name}
2191
+ # ```
2192
+ def vertices: () -> untyped
2193
+
2194
+ def self.tsort: (untyped vertices) -> untyped
2195
+ end
2196
+
2197
+ # An action that modifies a {DependencyGraph} that is reversible. @abstract
2198
+ class Bundler::Molinillo::DependencyGraph::Action
2199
+ def down: (untyped graph) -> untyped
2200
+
2201
+ # @return [Action,Nil] The next action
2202
+ def next: () -> untyped
2203
+
2204
+ def next=: (untyped _) -> untyped
2205
+
2206
+ # @return [Action,Nil] The previous action
2207
+ def previous: () -> untyped
2208
+
2209
+ def previous=: (untyped previous) -> untyped
2210
+
2211
+ def up: (untyped graph) -> untyped
2212
+
2213
+ # @return [Symbol] The name of the action.
2214
+ def self.action_name: () -> untyped
2215
+ end
2216
+
2217
+ # @!visibility private (see
2218
+ # [`DependencyGraph#add_edge_no_circular`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/DependencyGraph.html#method-i-add_edge_no_circular))
2219
+ class Bundler::Molinillo::DependencyGraph::AddEdgeNoCircular < Bundler::Molinillo::DependencyGraph::Action
2220
+ # @return [String] the name of the destination of the edge
2221
+ def destination: () -> untyped
2222
+
2223
+ def down: (untyped graph) -> untyped
2224
+
2225
+ def initialize: (untyped origin, untyped destination, untyped requirement) -> void
2226
+
2227
+ def make_edge: (untyped graph) -> untyped
2228
+
2229
+ # @return [String] the name of the origin of the edge
2230
+ def origin: () -> untyped
2231
+
2232
+ # @return [Object] the requirement that the edge represents
2233
+ def requirement: () -> untyped
2234
+
2235
+ def up: (untyped graph) -> untyped
2236
+
2237
+ # (see Action.action\_name)
2238
+ def self.action_name: () -> untyped
2239
+ end
2240
+
2241
+ class Bundler::Molinillo::DependencyGraph::AddVertex < Bundler::Molinillo::DependencyGraph::Action
2242
+ def down: (untyped graph) -> untyped
2243
+
2244
+ def initialize: (untyped name, untyped payload, untyped root) -> void
2245
+
2246
+ def name: () -> untyped
2247
+
2248
+ def payload: () -> untyped
2249
+
2250
+ def root: () -> untyped
2251
+
2252
+ def up: (untyped graph) -> untyped
2253
+
2254
+ def self.action_name: () -> untyped
2255
+ end
2256
+
2257
+ # @!visibility private (see
2258
+ # [`DependencyGraph#delete_edge`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/DependencyGraph.html#method-i-delete_edge))
2259
+ class Bundler::Molinillo::DependencyGraph::DeleteEdge < Bundler::Molinillo::DependencyGraph::Action
2260
+ # @return [String] the name of the destination of the edge
2261
+ def destination_name: () -> untyped
2262
+
2263
+ def down: (untyped graph) -> untyped
2264
+
2265
+ def initialize: (untyped origin_name, untyped destination_name, untyped requirement) -> void
2266
+
2267
+ def make_edge: (untyped graph) -> untyped
2268
+
2269
+ # @return [String] the name of the origin of the edge
2270
+ def origin_name: () -> untyped
2271
+
2272
+ # @return [Object] the requirement that the edge represents
2273
+ def requirement: () -> untyped
2274
+
2275
+ def up: (untyped graph) -> untyped
2276
+
2277
+ # (see Action.action\_name)
2278
+ def self.action_name: () -> untyped
2279
+ end
2280
+
2281
+ # @!visibility private @see
2282
+ # [`DependencyGraph#detach_vertex_named`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/DependencyGraph.html#method-i-detach_vertex_named)
2283
+ class Bundler::Molinillo::DependencyGraph::DetachVertexNamed < Bundler::Molinillo::DependencyGraph::Action
2284
+ def down: (untyped graph) -> untyped
2285
+
2286
+ def initialize: (untyped name) -> void
2287
+
2288
+ # @return [String] the name of the vertex to detach
2289
+ def name: () -> untyped
2290
+
2291
+ def up: (untyped graph) -> untyped
2292
+
2293
+ # (see Action#name)
2294
+ def self.action_name: () -> untyped
2295
+ end
2296
+
2297
+ # A directed edge of a {DependencyGraph} @attr [Vertex] origin The origin of the
2298
+ # directed edge @attr [Vertex] destination The destination of the directed edge
2299
+ # @attr [Object] requirement The requirement the directed edge represents
2300
+ class Bundler::Molinillo::DependencyGraph::Edge < Struct
2301
+ def destination: () -> untyped
2302
+
2303
+ def destination=: (untyped _) -> untyped
2304
+
2305
+ def origin: () -> untyped
2306
+
2307
+ def origin=: (untyped _) -> untyped
2308
+
2309
+ def requirement: () -> untyped
2310
+
2311
+ def requirement=: (untyped _) -> untyped
2312
+
2313
+ def self.[]: (*untyped _) -> untyped
2314
+
2315
+ def self.members: () -> untyped
2316
+
2317
+ def self.new: (*untyped _) -> untyped
2318
+ end
2319
+
2320
+ Bundler::Molinillo::DependencyGraph::Edge::Elem: untyped
2321
+
2322
+ # A log for dependency graph actions
2323
+ class Bundler::Molinillo::DependencyGraph::Log
2324
+ extend ::Enumerable
2325
+
2326
+ def add_edge_no_circular: (untyped graph, untyped origin, untyped destination, untyped requirement) -> untyped
2327
+
2328
+ def add_vertex: (untyped graph, untyped name, untyped payload, untyped root) -> untyped
2329
+
2330
+ def delete_edge: (untyped graph, untyped origin_name, untyped destination_name, untyped requirement) -> untyped
2331
+
2332
+ def detach_vertex_named: (untyped graph, untyped name) -> untyped
2333
+
2334
+ def each: () { () -> untyped } -> untyped
2335
+
2336
+ def initialize: () -> void
2337
+
2338
+ def pop!: (untyped graph) -> untyped
2339
+
2340
+ # @!visibility private Enumerates each action in the log in reverse order
2341
+ # @yield [Action]
2342
+ def reverse_each: () -> untyped
2343
+
2344
+ def rewind_to: (untyped graph, untyped tag) -> untyped
2345
+
2346
+ def set_payload: (untyped graph, untyped name, untyped payload) -> untyped
2347
+
2348
+ def tag: (untyped graph, untyped tag) -> untyped
2349
+ end
2350
+
2351
+ Bundler::Molinillo::DependencyGraph::Log::Elem: untyped
2352
+
2353
+ class Bundler::Molinillo::DependencyGraph::SetPayload < Bundler::Molinillo::DependencyGraph::Action
2354
+ def down: (untyped graph) -> untyped
2355
+
2356
+ def initialize: (untyped name, untyped payload) -> void
2357
+
2358
+ def name: () -> untyped
2359
+
2360
+ def payload: () -> untyped
2361
+
2362
+ def up: (untyped graph) -> untyped
2363
+
2364
+ def self.action_name: () -> untyped
2365
+ end
2366
+
2367
+ # @!visibility private @see
2368
+ # [`DependencyGraph#tag`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo/DependencyGraph.html#method-i-tag)
2369
+ class Bundler::Molinillo::DependencyGraph::Tag < Bundler::Molinillo::DependencyGraph::Action
2370
+ def down: (untyped _graph) -> untyped
2371
+
2372
+ def initialize: (untyped tag) -> void
2373
+
2374
+ # @return [Object] An opaque tag
2375
+ def tag: () -> untyped
2376
+
2377
+ def up: (untyped _graph) -> untyped
2378
+
2379
+ # (see Action.action\_name)
2380
+ def self.action_name: () -> untyped
2381
+ end
2382
+
2383
+ # A vertex in a {DependencyGraph} that encapsulates a {#name} and a {#payload}
2384
+ class Bundler::Molinillo::DependencyGraph::Vertex
2385
+ def ==: (untyped other) -> untyped
2386
+
2387
+ def _path_to?: (untyped other, ?untyped visited) -> untyped
2388
+
2389
+ def ancestor?: (untyped other) -> untyped
2390
+
2391
+ def descendent?: (untyped other) -> untyped
2392
+
2393
+ def eql?: (untyped other) -> untyped
2394
+
2395
+ # @return [Array<Object>] the explicit requirements that required
2396
+ #
2397
+ # ```ruby
2398
+ # this vertex
2399
+ # ```
2400
+ def explicit_requirements: () -> untyped
2401
+
2402
+ # @return [Fixnum] a hash for the vertex based upon its {#name}
2403
+ def hash: () -> untyped
2404
+
2405
+ # @return [Array<Edge>] the edges of {#graph} that have `self` as their
2406
+ #
2407
+ # ```
2408
+ # {Edge#destination}
2409
+ # ```
2410
+ def incoming_edges: () -> untyped
2411
+
2412
+ def incoming_edges=: (untyped incoming_edges) -> untyped
2413
+
2414
+ def initialize: (untyped name, untyped payload) -> void
2415
+
2416
+ # @return [String] a string suitable for debugging
2417
+ def inspect: () -> untyped
2418
+
2419
+ def is_reachable_from?: (untyped other) -> untyped
2420
+
2421
+ # @return [String] the name of the vertex
2422
+ def name: () -> untyped
2423
+
2424
+ def name=: (untyped name) -> untyped
2425
+
2426
+ # @return [Array<Edge>] the edges of {#graph} that have `self` as their
2427
+ #
2428
+ # ```
2429
+ # {Edge#origin}
2430
+ # ```
2431
+ def outgoing_edges: () -> untyped
2432
+
2433
+ def outgoing_edges=: (untyped outgoing_edges) -> untyped
2434
+
2435
+ def path_to?: (untyped other) -> untyped
2436
+
2437
+ # @return [Object] the payload the vertex holds
2438
+ def payload: () -> untyped
2439
+
2440
+ def payload=: (untyped payload) -> untyped
2441
+
2442
+ # @return [Array<Vertex>] the vertices of {#graph} that have an edge with
2443
+ #
2444
+ # ```
2445
+ # `self` as their {Edge#destination}
2446
+ # ```
2447
+ def predecessors: () -> untyped
2448
+
2449
+ # @return [Set<Vertex>] the vertices of {#graph} where `self` is a
2450
+ #
2451
+ # ```
2452
+ # {#descendent?}
2453
+ # ```
2454
+ def recursive_predecessors: () -> untyped
2455
+
2456
+ # @return [Set<Vertex>] the vertices of {#graph} where `self` is an
2457
+ #
2458
+ # ```
2459
+ # {#ancestor?}
2460
+ # ```
2461
+ def recursive_successors: () -> untyped
2462
+
2463
+ # @return [Array<Object>] all of the requirements that required
2464
+ #
2465
+ # ```ruby
2466
+ # this vertex
2467
+ # ```
2468
+ def requirements: () -> untyped
2469
+
2470
+ # @return [Boolean] whether the vertex is considered a root vertex
2471
+ def root: () -> untyped
2472
+
2473
+ def root=: (untyped root) -> untyped
2474
+
2475
+ # @return [Boolean] whether the vertex is considered a root vertex
2476
+ def root?: () -> untyped
2477
+
2478
+ def shallow_eql?: (untyped other) -> untyped
2479
+
2480
+ # @return [Array<Vertex>] the vertices of {#graph} that have an edge with
2481
+ #
2482
+ # ```
2483
+ # `self` as their {Edge#origin}
2484
+ # ```
2485
+ def successors: () -> untyped
2486
+ end
2487
+
2488
+ # A state that encapsulates a set of {#requirements} with an {Array} of
2489
+ # possibilities
2490
+ class Bundler::Molinillo::DependencyState < Bundler::Molinillo::ResolutionState
2491
+ # Removes a possibility from `self` @return [PossibilityState] a state with a
2492
+ # single possibility,
2493
+ #
2494
+ # ```ruby
2495
+ # the possibility that was removed from `self`
2496
+ # ```
2497
+ def pop_possibility_state: () -> untyped
2498
+ end
2499
+
2500
+ Bundler::Molinillo::DependencyState::Elem: untyped
2501
+
2502
+ # An error caused by searching for a dependency that is completely unknown, i.e.
2503
+ # has no versions available whatsoever.
2504
+ class Bundler::Molinillo::NoSuchDependencyError < Bundler::Molinillo::ResolverError
2505
+ # @return [Object] the dependency that could not be found
2506
+ def dependency: () -> untyped
2507
+
2508
+ def dependency=: (untyped dependency) -> untyped
2509
+
2510
+ def initialize: (untyped dependency, ?untyped required_by) -> void
2511
+
2512
+ # The error message for the missing dependency, including the specifications
2513
+ # that had this dependency.
2514
+ def message: () -> untyped
2515
+
2516
+ # @return [Array<Object>] the specifications that depended upon {#dependency}
2517
+ def required_by: () -> untyped
2518
+
2519
+ def required_by=: (untyped required_by) -> untyped
2520
+ end
2521
+
2522
+ # A state that encapsulates a single possibility to fulfill the given
2523
+ # {#requirement}
2524
+ class Bundler::Molinillo::PossibilityState < Bundler::Molinillo::ResolutionState
2525
+ end
2526
+
2527
+ Bundler::Molinillo::PossibilityState::Elem: untyped
2528
+
2529
+ class Bundler::Molinillo::ResolutionState < Struct
2530
+ def activated: () -> untyped
2531
+
2532
+ def activated=: (untyped _) -> untyped
2533
+
2534
+ def conflicts: () -> untyped
2535
+
2536
+ def conflicts=: (untyped _) -> untyped
2537
+
2538
+ def depth: () -> untyped
2539
+
2540
+ def depth=: (untyped _) -> untyped
2541
+
2542
+ def name: () -> untyped
2543
+
2544
+ def name=: (untyped _) -> untyped
2545
+
2546
+ def possibilities: () -> untyped
2547
+
2548
+ def possibilities=: (untyped _) -> untyped
2549
+
2550
+ def requirement: () -> untyped
2551
+
2552
+ def requirement=: (untyped _) -> untyped
2553
+
2554
+ def requirements: () -> untyped
2555
+
2556
+ def requirements=: (untyped _) -> untyped
2557
+
2558
+ def unused_unwind_options: () -> untyped
2559
+
2560
+ def unused_unwind_options=: (untyped _) -> untyped
2561
+
2562
+ def self.[]: (*untyped _) -> untyped
2563
+
2564
+ # Returns an empty resolution state @return [ResolutionState] an empty state
2565
+ def self.empty: () -> untyped
2566
+
2567
+ def self.members: () -> untyped
2568
+
2569
+ def self.new: (*untyped _) -> untyped
2570
+ end
2571
+
2572
+ Bundler::Molinillo::ResolutionState::Elem: untyped
2573
+
2574
+ # This class encapsulates a dependency resolver. The resolver is responsible for
2575
+ # determining which set of dependencies to activate, with feedback from the
2576
+ # {#specification\_provider}
2577
+ class Bundler::Molinillo::Resolver
2578
+ def initialize: (untyped specification_provider, untyped resolver_ui) -> void
2579
+
2580
+ def resolve: (untyped requested, ?untyped base) -> untyped
2581
+
2582
+ # @return [UI] the UI module used to communicate back to the user
2583
+ #
2584
+ # ```ruby
2585
+ # during the resolution process
2586
+ # ```
2587
+ def resolver_ui: () -> untyped
2588
+
2589
+ # @return [SpecificationProvider] the specification provider used
2590
+ #
2591
+ # ```
2592
+ # in the resolution process
2593
+ # ```
2594
+ def specification_provider: () -> untyped
2595
+ end
2596
+
2597
+ # A specific resolution from a given {Resolver}
2598
+ class Bundler::Molinillo::Resolver::Resolution
2599
+ include ::Bundler::Molinillo::Delegates::SpecificationProvider
2600
+
2601
+ include ::Bundler::Molinillo::Delegates::ResolutionState
2602
+
2603
+ # @return [DependencyGraph] the base dependency graph to which
2604
+ #
2605
+ # ```ruby
2606
+ # dependencies should be 'locked'
2607
+ # ```
2608
+ def base: () -> untyped
2609
+
2610
+ def initialize: (untyped specification_provider, untyped resolver_ui, untyped requested, untyped base) -> void
2611
+
2612
+ def iteration_rate=: (untyped iteration_rate) -> untyped
2613
+
2614
+ # @return [Array] the dependencies that were explicitly required
2615
+ def original_requested: () -> untyped
2616
+
2617
+ # Resolves the {#original\_requested} dependencies into a full dependency
2618
+ #
2619
+ # ```ruby
2620
+ # graph
2621
+ # ```
2622
+ #
2623
+ # @raise [ResolverError] if successful resolution is impossible @return
2624
+ # [DependencyGraph] the dependency graph of successfully resolved
2625
+ #
2626
+ # ```ruby
2627
+ # dependencies
2628
+ # ```
2629
+ def resolve: () -> untyped
2630
+
2631
+ # @return [UI] the UI that knows how to communicate feedback about the
2632
+ #
2633
+ # ```ruby
2634
+ # resolution process back to the user
2635
+ # ```
2636
+ def resolver_ui: () -> untyped
2637
+
2638
+ # @return [SpecificationProvider] the provider that knows about
2639
+ #
2640
+ # ```
2641
+ # dependencies, requirements, specifications, versions, etc.
2642
+ # ```
2643
+ def specification_provider: () -> untyped
2644
+
2645
+ def started_at=: (untyped started_at) -> untyped
2646
+
2647
+ def states=: (untyped states) -> untyped
2648
+ end
2649
+
2650
+ class Bundler::Molinillo::Resolver::Resolution::Conflict < Struct
2651
+ def activated_by_name: () -> untyped
2652
+
2653
+ def activated_by_name=: (untyped _) -> untyped
2654
+
2655
+ def existing: () -> untyped
2656
+
2657
+ def existing=: (untyped _) -> untyped
2658
+
2659
+ def locked_requirement: () -> untyped
2660
+
2661
+ def locked_requirement=: (untyped _) -> untyped
2662
+
2663
+ # @return [Object] a spec that was unable to be activated due to a conflict
2664
+ def possibility: () -> untyped
2665
+
2666
+ def possibility_set: () -> untyped
2667
+
2668
+ def possibility_set=: (untyped _) -> untyped
2669
+
2670
+ def requirement: () -> untyped
2671
+
2672
+ def requirement=: (untyped _) -> untyped
2673
+
2674
+ def requirement_trees: () -> untyped
2675
+
2676
+ def requirement_trees=: (untyped _) -> untyped
2677
+
2678
+ def requirements: () -> untyped
2679
+
2680
+ def requirements=: (untyped _) -> untyped
2681
+
2682
+ def underlying_error: () -> untyped
2683
+
2684
+ def underlying_error=: (untyped _) -> untyped
2685
+
2686
+ def self.[]: (*untyped _) -> untyped
2687
+
2688
+ def self.members: () -> untyped
2689
+
2690
+ def self.new: (*untyped _) -> untyped
2691
+ end
2692
+
2693
+ Bundler::Molinillo::Resolver::Resolution::Conflict::Elem: untyped
2694
+
2695
+ class Bundler::Molinillo::Resolver::Resolution::PossibilitySet < Struct
2696
+ def dependencies: () -> untyped
2697
+
2698
+ def dependencies=: (untyped _) -> untyped
2699
+
2700
+ # @return [Object] most up-to-date dependency in the possibility set
2701
+ def latest_version: () -> untyped
2702
+
2703
+ def possibilities: () -> untyped
2704
+
2705
+ def possibilities=: (untyped _) -> untyped
2706
+
2707
+ # [`String`](https://docs.ruby-lang.org/en/2.7.0/String.html) representation
2708
+ # of the possibility set, for debugging
2709
+ def to_s: () -> untyped
2710
+
2711
+ def self.[]: (*untyped _) -> untyped
2712
+
2713
+ def self.members: () -> untyped
2714
+
2715
+ def self.new: (*untyped _) -> untyped
2716
+ end
2717
+
2718
+ Bundler::Molinillo::Resolver::Resolution::PossibilitySet::Elem: untyped
2719
+
2720
+ class Bundler::Molinillo::Resolver::Resolution::UnwindDetails < Struct
2721
+ include ::Comparable
2722
+
2723
+ def <=>: (untyped other) -> untyped
2724
+
2725
+ # @return [Array] array of all the requirements that led to the need for
2726
+ #
2727
+ # ```ruby
2728
+ # this unwind
2729
+ # ```
2730
+ def all_requirements: () -> untyped
2731
+
2732
+ def conflicting_requirements: () -> untyped
2733
+
2734
+ def conflicting_requirements=: (untyped _) -> untyped
2735
+
2736
+ def requirement_tree: () -> untyped
2737
+
2738
+ def requirement_tree=: (untyped _) -> untyped
2739
+
2740
+ def requirement_trees: () -> untyped
2741
+
2742
+ def requirement_trees=: (untyped _) -> untyped
2743
+
2744
+ def requirements_unwound_to_instead: () -> untyped
2745
+
2746
+ def requirements_unwound_to_instead=: (untyped _) -> untyped
2747
+
2748
+ # @return [Integer] index of state requirement in reversed requirement tree
2749
+ #
2750
+ # ```ruby
2751
+ # (the conflicting requirement itself will be at position 0)
2752
+ # ```
2753
+ def reversed_requirement_tree_index: () -> untyped
2754
+
2755
+ def state_index: () -> untyped
2756
+
2757
+ def state_index=: (untyped _) -> untyped
2758
+
2759
+ def state_requirement: () -> untyped
2760
+
2761
+ def state_requirement=: (untyped _) -> untyped
2762
+
2763
+ # @return [Array] array of sub-dependencies to avoid when choosing a
2764
+ #
2765
+ # ```
2766
+ # new possibility for the state we've unwound to. Only relevant for
2767
+ # non-primary unwinds
2768
+ # ```
2769
+ def sub_dependencies_to_avoid: () -> untyped
2770
+
2771
+ # @return [Boolean] where the requirement of the state we're unwinding
2772
+ #
2773
+ # ```
2774
+ # to directly caused the conflict. Note: in this case, it is
2775
+ # impossible for the state we're unwinding to to be a parent of
2776
+ # any of the other conflicting requirements (or we would have
2777
+ # circularity)
2778
+ # ```
2779
+ def unwinding_to_primary_requirement?: () -> untyped
2780
+
2781
+ def self.[]: (*untyped _) -> untyped
2782
+
2783
+ def self.members: () -> untyped
2784
+
2785
+ def self.new: (*untyped _) -> untyped
2786
+ end
2787
+
2788
+ Bundler::Molinillo::Resolver::Resolution::UnwindDetails::Elem: untyped
2789
+
2790
+ # An error that occurred during the resolution process
2791
+ class Bundler::Molinillo::ResolverError < StandardError
2792
+ end
2793
+
2794
+ # Provides information about specifications and dependencies to the resolver,
2795
+ # allowing the {Resolver} class to remain generic while still providing power
2796
+ # and flexibility.
2797
+ #
2798
+ # This module contains the methods that users of
2799
+ # [`Bundler::Molinillo`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Molinillo.html)
2800
+ # must to implement, using knowledge of their own model classes.
2801
+ module Bundler::Molinillo::SpecificationProvider
2802
+ def allow_missing?: (untyped dependency) -> untyped
2803
+
2804
+ def dependencies_for: (untyped specification) -> untyped
2805
+
2806
+ def name_for: (untyped dependency) -> untyped
2807
+
2808
+ # @return [String] the name of the source of explicit dependencies, i.e.
2809
+ #
2810
+ # ```
2811
+ # those passed to {Resolver#resolve} directly.
2812
+ # ```
2813
+ def name_for_explicit_dependency_source: () -> untyped
2814
+
2815
+ # @return [String] the name of the source of 'locked' dependencies, i.e.
2816
+ #
2817
+ # ```
2818
+ # those passed to {Resolver#resolve} directly as the `base`
2819
+ # ```
2820
+ def name_for_locking_dependency_source: () -> untyped
2821
+
2822
+ def requirement_satisfied_by?: (untyped requirement, untyped activated, untyped spec) -> untyped
2823
+
2824
+ def search_for: (untyped dependency) -> untyped
2825
+
2826
+ def sort_dependencies: (untyped dependencies, untyped activated, untyped conflicts) -> untyped
2827
+ end
2828
+
2829
+ # Conveys information about the resolution process to a user.
2830
+ module Bundler::Molinillo::UI
2831
+ # Called after resolution ends (either successfully or with an error). By
2832
+ # default, prints a newline.
2833
+ #
2834
+ # @return [void]
2835
+ def after_resolution: () -> untyped
2836
+
2837
+ # Called before resolution begins.
2838
+ #
2839
+ # @return [void]
2840
+ def before_resolution: () -> untyped
2841
+
2842
+ def debug: (?untyped depth) -> untyped
2843
+
2844
+ # Whether or not debug messages should be printed. By default, whether or not
2845
+ # the `MOLINILLO\_DEBUG` environment variable is set.
2846
+ #
2847
+ # @return [Boolean]
2848
+ def debug?: () -> untyped
2849
+
2850
+ # Called roughly every {#progress\_rate}, this method should convey progress
2851
+ # to the user.
2852
+ #
2853
+ # @return [void]
2854
+ def indicate_progress: () -> untyped
2855
+
2856
+ # The {IO} object that should be used to print output. `STDOUT`, by default.
2857
+ #
2858
+ # @return [IO]
2859
+ def output: () -> untyped
2860
+
2861
+ # How often progress should be conveyed to the user via {#indicate\_progress},
2862
+ # in seconds. A third of a second, by default.
2863
+ #
2864
+ # @return [Float]
2865
+ def progress_rate: () -> untyped
2866
+ end
2867
+
2868
+ # An error caused by conflicts in version
2869
+ class Bundler::Molinillo::VersionConflict < Bundler::Molinillo::ResolverError
2870
+ include ::Bundler::Molinillo::Delegates::SpecificationProvider
2871
+
2872
+ # @return [{String => Resolution::Conflict}] the conflicts that caused
2873
+ #
2874
+ # ```ruby
2875
+ # resolution to fail
2876
+ # ```
2877
+ def conflicts: () -> untyped
2878
+
2879
+ def initialize: (untyped conflicts, untyped specification_provider) -> void
2880
+
2881
+ def message_with_trees: (?untyped opts) -> untyped
2882
+
2883
+ # @return [SpecificationProvider] the specification provider used during
2884
+ #
2885
+ # ```ruby
2886
+ # resolution
2887
+ # ```
2888
+ def specification_provider: () -> untyped
2889
+ end
2890
+
2891
+ class Bundler::NoSpaceOnDeviceError < Bundler::PermissionError
2892
+ def message: () -> untyped
2893
+
2894
+ def status_code: () -> untyped
2895
+ end
2896
+
2897
+ class Bundler::OperationNotSupportedError < Bundler::PermissionError
2898
+ def message: () -> untyped
2899
+
2900
+ def status_code: () -> untyped
2901
+ end
2902
+
2903
+ class Bundler::PathError < Bundler::BundlerError
2904
+ def status_code: () -> untyped
2905
+ end
2906
+
2907
+ class Bundler::PermissionError < Bundler::BundlerError
2908
+ def action: () -> untyped
2909
+
2910
+ def initialize: (untyped path, ?untyped permission_type) -> void
2911
+
2912
+ def message: () -> untyped
2913
+
2914
+ def status_code: () -> untyped
2915
+ end
2916
+
2917
+ # This is the interfacing class represents the API that we intend to provide the
2918
+ # plugins to use.
2919
+ #
2920
+ # For plugins to be independent of the
2921
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) internals they
2922
+ # shall limit their interactions to methods of this class only. This will save
2923
+ # them from breaking when some internal change.
2924
+ #
2925
+ # Currently we are delegating the methods defined in
2926
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) class to itself.
2927
+ # So, this class acts as a buffer.
2928
+ #
2929
+ # If there is some change in the
2930
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) class that is
2931
+ # incompatible to its previous behavior or if otherwise desired, we can
2932
+ # reimplement(or implement) the method to preserve compatibility.
2933
+ #
2934
+ # To use this, either the class can inherit this class or use it directly. For
2935
+ # example of both types of use, refer the file `spec/plugins/command.rb`
2936
+ #
2937
+ # To use it without inheriting, you will have to create an object of this to use
2938
+ # the functions (except for declaration functions like command, source, and
2939
+ # hooks).
2940
+ # Manages which plugins are installed and their sources. This also is supposed
2941
+ # to map which plugin does what (currently the features are not implemented so
2942
+ # this class is now a stub class).
2943
+ # Handles the installation of plugin in appropriate directories.
2944
+ #
2945
+ # This class is supposed to be wrapper over the existing gem installation infra
2946
+ # but currently it itself handles everything as the Source's subclasses (e.g.
2947
+ # Source::RubyGems) are heavily dependent on the Gemfile.
2948
+ # SourceList object to be used while parsing the Gemfile, setting the
2949
+ # approptiate options to be used with Source classes for plugin installation
2950
+ module Bundler::Plugin
2951
+ def self.add_command: (untyped command, untyped cls) -> untyped
2952
+
2953
+ def self.add_hook: (untyped event) { () -> untyped } -> untyped
2954
+
2955
+ def self.add_source: (untyped source, untyped cls) -> untyped
2956
+
2957
+ def self.cache: () -> untyped
2958
+
2959
+ def self.command?: (untyped command) -> untyped
2960
+
2961
+ def self.exec_command: (untyped command, untyped args) -> untyped
2962
+
2963
+ def self.gemfile_install: (?untyped gemfile) { () -> untyped } -> untyped
2964
+
2965
+ def self.global_root: () -> untyped
2966
+
2967
+ def self.hook: (untyped event, *untyped args) { () -> untyped } -> untyped
2968
+
2969
+ def self.index: () -> untyped
2970
+
2971
+ def self.install: (untyped names, untyped options) -> untyped
2972
+
2973
+ def self.installed?: (untyped plugin) -> untyped
2974
+
2975
+ def self.local_root: () -> untyped
2976
+
2977
+ def self.reset!: () -> untyped
2978
+
2979
+ def self.root: () -> untyped
2980
+
2981
+ def self.source: (untyped name) -> untyped
2982
+
2983
+ def self.source?: (untyped name) -> untyped
2984
+
2985
+ def self.source_from_lock: (untyped locked_opts) -> untyped
2986
+ end
2987
+
2988
+ Bundler::Plugin::PLUGIN_FILE_NAME: untyped
2989
+
2990
+ class Bundler::Plugin::API
2991
+ # The cache dir to be used by the plugins for storage
2992
+ #
2993
+ # @return [Pathname] path of the cache dir
2994
+ def cache_dir: () -> untyped
2995
+
2996
+ def method_missing: (untyped name, *untyped args) { () -> untyped } -> untyped
2997
+
2998
+ def tmp: (*untyped names) -> untyped
2999
+
3000
+ def self.command: (untyped command, ?untyped cls) -> untyped
3001
+
3002
+ def self.hook: (untyped event) { () -> untyped } -> untyped
3003
+
3004
+ def self.source: (untyped source, ?untyped cls) -> untyped
3005
+ end
3006
+
3007
+ # Dsl to parse the Gemfile looking for plugins to install
3008
+ class Bundler::Plugin::DSL < Bundler::Dsl
3009
+ def _gem: (untyped name, *untyped args) -> untyped
3010
+
3011
+ # This lists the plugins that was added automatically and not specified by the
3012
+ # user.
3013
+ #
3014
+ # When we encounter :type attribute with a source block, we add a plugin by
3015
+ # name bundler-source-<type> to list of plugins to be installed.
3016
+ #
3017
+ # These plugins are optional and are not installed when there is conflict with
3018
+ # any other plugin.
3019
+ def inferred_plugins: () -> untyped
3020
+
3021
+ def plugin: (untyped name, *untyped args) -> untyped
3022
+ end
3023
+
3024
+ module Bundler::Plugin::Events
3025
+ end
3026
+
3027
+ class Bundler::Plugin::Index
3028
+ end
3029
+
3030
+ class Bundler::Plugin::MalformattedPlugin < Bundler::PluginError
3031
+ end
3032
+
3033
+ class Bundler::Plugin::UndefinedCommandError < Bundler::PluginError
3034
+ end
3035
+
3036
+ class Bundler::Plugin::UnknownSourceError < Bundler::PluginError
3037
+ end
3038
+
3039
+ class Bundler::Plugin::DSL::PluginGemfileError < Bundler::PluginError
3040
+ end
3041
+
3042
+ class Bundler::PluginError < Bundler::BundlerError
3043
+ def status_code: () -> untyped
3044
+ end
3045
+
3046
+ class Bundler::ProductionError < Bundler::BundlerError
3047
+ def status_code: () -> untyped
3048
+ end
3049
+
3050
+ # Represents a lazily loaded gem specification, where the full specification is
3051
+ # on the source server in rubygems' "quick" index. The proxy object is to be
3052
+ # seeded with what we're given from the source's abbreviated index - the full
3053
+ # specification will only be fetched when necessary.
3054
+ class Bundler::RemoteSpecification
3055
+ include ::Comparable
3056
+
3057
+ include ::Bundler::MatchPlatform
3058
+
3059
+ include ::Bundler::GemHelpers
3060
+
3061
+ def <=>: (untyped other) -> untyped
3062
+
3063
+ def __swap__: (untyped spec) -> untyped
3064
+
3065
+ def dependencies: () -> untyped
3066
+
3067
+ def dependencies=: (untyped dependencies) -> untyped
3068
+
3069
+ # Needed before installs, since the arch matters then and quick specs don't
3070
+ # bother to include the arch in the platform string
3071
+ def fetch_platform: () -> untyped
3072
+
3073
+ def full_name: () -> untyped
3074
+
3075
+ def git_version: () -> untyped
3076
+
3077
+ def initialize: (untyped name, untyped version, untyped platform, untyped spec_fetcher) -> void
3078
+
3079
+ def name: () -> String
3080
+
3081
+ def platform: () -> untyped
3082
+
3083
+ def remote: () -> untyped
3084
+
3085
+ def remote=: (untyped remote) -> untyped
3086
+
3087
+ def respond_to?: (untyped method, ?untyped include_all) -> untyped
3088
+
3089
+ # Create a delegate used for sorting. This strategy is copied from RubyGems
3090
+ # 2.23 and ensures that Bundler's specifications can be compared and sorted
3091
+ # with RubyGems' own specifications.
3092
+ #
3093
+ # @see #<=> @see
3094
+ # [`Gem::Specification#sort_obj`](https://docs.ruby-lang.org/en/2.7.0/Gem/Specification.html#method-i-sort_obj)
3095
+ #
3096
+ # @return [Array] an object you can use to compare and sort this
3097
+ #
3098
+ # ```ruby
3099
+ # specification against other specifications
3100
+ # ```
3101
+ def sort_obj: () -> untyped
3102
+
3103
+ def source: () -> untyped
3104
+
3105
+ def source=: (untyped source) -> untyped
3106
+
3107
+ def to_s: () -> untyped
3108
+
3109
+ def version: () -> String
3110
+ end
3111
+
3112
+ class Bundler::Resolver
3113
+ include ::Bundler::Molinillo::SpecificationProvider
3114
+
3115
+ include ::Bundler::Molinillo::UI
3116
+
3117
+ def after_resolution: () -> untyped
3118
+
3119
+ def before_resolution: () -> untyped
3120
+
3121
+ def debug: (?untyped depth) -> untyped
3122
+
3123
+ def debug?: () -> untyped
3124
+
3125
+ def dependencies_for: (untyped specification) -> untyped
3126
+
3127
+ def index_for: (untyped dependency) -> untyped
3128
+
3129
+ def indicate_progress: () -> untyped
3130
+
3131
+ def initialize: (untyped index, untyped source_requirements, untyped base, untyped gem_version_promoter, untyped additional_base_requirements, untyped platforms) -> void
3132
+
3133
+ def name_for: (untyped dependency) -> untyped
3134
+
3135
+ def name_for_explicit_dependency_source: () -> untyped
3136
+
3137
+ def name_for_locking_dependency_source: () -> untyped
3138
+
3139
+ def relevant_sources_for_vertex: (untyped vertex) -> untyped
3140
+
3141
+ def requirement_satisfied_by?: (untyped requirement, untyped activated, untyped spec) -> untyped
3142
+
3143
+ def search_for: (untyped dependency) -> untyped
3144
+
3145
+ def sort_dependencies: (untyped dependencies, untyped activated, untyped conflicts) -> untyped
3146
+
3147
+ def start: (untyped requirements) -> untyped
3148
+
3149
+ def self.platform_sort_key: (untyped platform) -> untyped
3150
+
3151
+ def self.resolve: (untyped requirements, untyped index, ?untyped source_requirements, ?untyped base, ?untyped gem_version_promoter, ?untyped additional_base_requirements, ?untyped platforms) -> untyped
3152
+
3153
+ def self.sort_platforms: (untyped platforms) -> untyped
3154
+ end
3155
+
3156
+ class Bundler::Resolver::SpecGroup
3157
+ include ::Bundler::GemHelpers
3158
+
3159
+ def ==: (untyped other) -> untyped
3160
+
3161
+ def activate_platform!: (untyped platform) -> untyped
3162
+
3163
+ def dependencies_for_activated_platforms: () -> untyped
3164
+
3165
+ def eql?: (untyped other) -> untyped
3166
+
3167
+ def for?: (untyped platform) -> untyped
3168
+
3169
+ def hash: () -> untyped
3170
+
3171
+ def ignores_bundler_dependencies: () -> untyped
3172
+
3173
+ def ignores_bundler_dependencies=: (untyped ignores_bundler_dependencies) -> untyped
3174
+
3175
+ def initialize: (untyped all_specs) -> void
3176
+
3177
+ def name: () -> untyped
3178
+
3179
+ def name=: (untyped name) -> untyped
3180
+
3181
+ def source: () -> untyped
3182
+
3183
+ def source=: (untyped source) -> untyped
3184
+
3185
+ def to_s: () -> untyped
3186
+
3187
+ def to_specs: () -> untyped
3188
+
3189
+ def version: () -> untyped
3190
+
3191
+ def version=: (untyped version) -> untyped
3192
+ end
3193
+
3194
+ module Bundler::RubyDsl
3195
+ @ruby_version: untyped
3196
+
3197
+ def ruby: (*::String ruby_version) -> void
3198
+
3199
+ # Support the various file formats found in .ruby-version files.
3200
+ #
3201
+ # 3.2.2
3202
+ # ruby-3.2.2
3203
+ #
3204
+ # Also supports .tool-versions files for asdf. Lines not starting with "ruby" are ignored.
3205
+ #
3206
+ # ruby 2.5.1 # comment is ignored
3207
+ # ruby 2.5.1# close comment and extra spaces doesn't confuse
3208
+ #
3209
+ # Intentionally does not support `3.2.1@gemset` since rvm recommends using .ruby-gemset instead
3210
+ #
3211
+ # Loads the file relative to the dirname of the Gemfile itself.
3212
+ def normalize_ruby_file: (::String filename) -> ::String
3213
+ end
3214
+
3215
+ class Bundler::RubyVersion
3216
+ def ==: (untyped other) -> untyped
3217
+
3218
+ def diff: (untyped other) -> untyped
3219
+
3220
+ def engine: () -> untyped
3221
+
3222
+ def engine_gem_version: () -> untyped
3223
+
3224
+ def engine_versions: () -> untyped
3225
+
3226
+ def exact?: () -> untyped
3227
+
3228
+ def gem_version: () -> untyped
3229
+
3230
+ def host: () -> untyped
3231
+
3232
+ def initialize: (untyped versions, untyped patchlevel, untyped engine, untyped engine_version) -> void
3233
+
3234
+ def patchlevel: () -> untyped
3235
+
3236
+ def single_version_string: () -> untyped
3237
+
3238
+ def to_gem_version_with_patchlevel: () -> untyped
3239
+
3240
+ def to_s: (?untyped versions) -> untyped
3241
+
3242
+ def versions: () -> untyped
3243
+
3244
+ def versions_string: (untyped versions) -> untyped
3245
+
3246
+ def self.from_string: (untyped string) -> untyped
3247
+
3248
+ def self.system: () -> untyped
3249
+ end
3250
+
3251
+ Bundler::RubyVersion::PATTERN: untyped
3252
+
3253
+ class Bundler::RubyVersionMismatch < Bundler::BundlerError
3254
+ def status_code: () -> untyped
3255
+ end
3256
+
3257
+ class Bundler::RubygemsIntegration
3258
+ # This backports base\_dir which replaces installation path RubyGems 1.8+
3259
+ def backport_base_dir: () -> untyped
3260
+
3261
+ def backport_cache_file: () -> untyped
3262
+
3263
+ # This backports the correct segment generation code from RubyGems 1.4+ by
3264
+ # monkeypatching it into the method in RubyGems 1.3.6 and 1.3.7.
3265
+ def backport_segment_generation: () -> untyped
3266
+
3267
+ def backport_spec_file: () -> untyped
3268
+
3269
+ # This backport fixes the marshaling of @segments.
3270
+ def backport_yaml_initialize: () -> untyped
3271
+
3272
+ def bin_path: (untyped gem, untyped bin, untyped ver) -> untyped
3273
+
3274
+ def binstubs_call_gem?: () -> untyped
3275
+
3276
+ def build: (untyped spec, ?untyped skip_validation) -> untyped
3277
+
3278
+ def build_args: () -> untyped
3279
+
3280
+ def build_args=: (untyped args) -> untyped
3281
+
3282
+ def build_gem: (untyped gem_dir, untyped spec) -> untyped
3283
+
3284
+ def clear_paths: () -> untyped
3285
+
3286
+ def config_map: () -> untyped
3287
+
3288
+ def configuration: () -> untyped
3289
+
3290
+ def download_gem: (untyped spec, untyped uri, untyped path) -> untyped
3291
+
3292
+ def ext_lock: () -> untyped
3293
+
3294
+ def fetch_all_remote_specs: (untyped remote) -> untyped
3295
+
3296
+ def fetch_prerelease_specs: () -> untyped
3297
+
3298
+ def fetch_specs: (untyped all, untyped pre) { () -> untyped } -> untyped
3299
+
3300
+ def gem_bindir: () -> untyped
3301
+
3302
+ def gem_cache: () -> untyped
3303
+
3304
+ def gem_dir: () -> untyped
3305
+
3306
+ def gem_from_path: (untyped path, ?untyped policy) -> untyped
3307
+
3308
+ def gem_path: () -> untyped
3309
+
3310
+ def inflate: (untyped obj) -> untyped
3311
+
3312
+ def initialize: () -> void
3313
+
3314
+ def install_with_build_args: (untyped args) -> untyped
3315
+
3316
+ def load_path_insert_index: () -> untyped
3317
+
3318
+ def load_plugin_files: (untyped files) -> untyped
3319
+
3320
+ def load_plugins: () -> untyped
3321
+
3322
+ def loaded_gem_paths: () -> untyped
3323
+
3324
+ def loaded_specs: (untyped name) -> untyped
3325
+
3326
+ def mark_loaded: (untyped spec) -> untyped
3327
+
3328
+ def marshal_spec_dir: () -> untyped
3329
+
3330
+ def method_visibility: (untyped klass, untyped method) -> untyped
3331
+
3332
+ def path: (untyped obj) -> untyped
3333
+
3334
+ def path_separator: () -> untyped
3335
+
3336
+ def platforms: () -> untyped
3337
+
3338
+ def post_reset_hooks: () -> untyped
3339
+
3340
+ def preserve_paths: () -> untyped
3341
+
3342
+ def provides?: (untyped req_str) -> untyped
3343
+
3344
+ def read_binary: (untyped path) -> untyped
3345
+
3346
+ def redefine_method: (untyped klass, untyped method, ?untyped unbound_method) { () -> untyped } -> untyped
3347
+
3348
+ def replace_bin_path: (untyped specs, untyped specs_by_name) -> untyped
3349
+
3350
+ def replace_entrypoints: (untyped specs) -> untyped
3351
+
3352
+ def replace_gem: (untyped specs, untyped specs_by_name) -> untyped
3353
+
3354
+ # Because [`Bundler`](https://docs.ruby-lang.org/en/2.6.0/Bundler.html) has a
3355
+ # static view of what specs are available, we don't refresh, so stub it out.
3356
+ def replace_refresh: () -> untyped
3357
+
3358
+ def repository_subdirectories: () -> untyped
3359
+
3360
+ def reset: () -> untyped
3361
+
3362
+ def reverse_rubygems_kernel_mixin: () -> untyped
3363
+
3364
+ def ruby_engine: () -> untyped
3365
+
3366
+ def security_policies: () -> untyped
3367
+
3368
+ def security_policy_keys: () -> untyped
3369
+
3370
+ def set_installed_by_version: (untyped spec, ?untyped installed_by_version) -> untyped
3371
+
3372
+ def sources: () -> untyped
3373
+
3374
+ def sources=: (untyped val) -> untyped
3375
+
3376
+ def spec_cache_dirs: () -> untyped
3377
+
3378
+ def spec_default_gem?: (untyped spec) -> untyped
3379
+
3380
+ def spec_extension_dir: (untyped spec) -> untyped
3381
+
3382
+ def spec_from_gem: (untyped path, ?untyped policy) -> untyped
3383
+
3384
+ def spec_matches_for_glob: (untyped spec, untyped glob) -> untyped
3385
+
3386
+ def spec_missing_extensions?: (untyped spec, ?untyped default) -> untyped
3387
+
3388
+ def stub_set_spec: (untyped stub, untyped spec) -> untyped
3389
+
3390
+ def stub_source_index: (untyped specs) -> untyped
3391
+
3392
+ def stubs_provide_full_functionality?: () -> untyped
3393
+
3394
+ def suffix_pattern: () -> untyped
3395
+
3396
+ def ui=: (untyped obj) -> untyped
3397
+
3398
+ def undo_replacements: () -> untyped
3399
+
3400
+ def user_home: () -> untyped
3401
+
3402
+ def validate: (untyped spec) -> untyped
3403
+
3404
+ def version: () -> untyped
3405
+
3406
+ def with_build_args: (untyped args) -> untyped
3407
+
3408
+ def self.provides?: (untyped req_str) -> untyped
3409
+
3410
+ def self.version: () -> untyped
3411
+ end
3412
+
3413
+ Bundler::RubygemsIntegration::EXT_LOCK: untyped
3414
+
3415
+ # RubyGems 1.8.0 to 1.8.4
3416
+ class Bundler::RubygemsIntegration::AlmostModern < Bundler::RubygemsIntegration::Modern
3417
+ # RubyGems [>= 1.8.0, < 1.8.5] has a bug that changes
3418
+ # [`Gem.dir`](https://docs.ruby-lang.org/en/2.6.0/Gem.html#method-c-dir)
3419
+ # whenever you call
3420
+ # [`Gem::Installer#install`](https://docs.ruby-lang.org/en/2.6.0/Installer.html#method-i-install)
3421
+ # with an :install\_dir set. We have to change it back for our sudo mode to
3422
+ # work.
3423
+ def preserve_paths: () -> untyped
3424
+ end
3425
+
3426
+ # RubyGems versions 1.3.6 and 1.3.7
3427
+ class Bundler::RubygemsIntegration::Ancient < Bundler::RubygemsIntegration::Legacy
3428
+ def initialize: () -> void
3429
+ end
3430
+
3431
+ # RubyGems 2.0
3432
+ class Bundler::RubygemsIntegration::Future < Bundler::RubygemsIntegration
3433
+ def all_specs: () -> untyped
3434
+
3435
+ def build: (untyped spec, ?untyped skip_validation) -> untyped
3436
+
3437
+ def download_gem: (untyped spec, untyped uri, untyped path) -> untyped
3438
+
3439
+ def fetch_all_remote_specs: (untyped remote) -> untyped
3440
+
3441
+ def fetch_specs: (untyped source, untyped remote, untyped name) -> untyped
3442
+
3443
+ def find_name: (untyped name) -> untyped
3444
+
3445
+ def gem_from_path: (untyped path, ?untyped policy) -> untyped
3446
+
3447
+ def gem_remote_fetcher: () -> untyped
3448
+
3449
+ def install_with_build_args: (untyped args) -> untyped
3450
+
3451
+ def path_separator: () -> untyped
3452
+
3453
+ def repository_subdirectories: () -> untyped
3454
+
3455
+ def stub_rubygems: (untyped specs) -> untyped
3456
+ end
3457
+
3458
+ # RubyGems 1.4 through 1.6
3459
+ class Bundler::RubygemsIntegration::Legacy < Bundler::RubygemsIntegration
3460
+ def all_specs: () -> untyped
3461
+
3462
+ def find_name: (untyped name) -> untyped
3463
+
3464
+ def initialize: () -> void
3465
+
3466
+ def post_reset_hooks: () -> untyped
3467
+
3468
+ def reset: () -> untyped
3469
+
3470
+ def stub_rubygems: (untyped specs) -> untyped
3471
+
3472
+ def validate: (untyped spec) -> untyped
3473
+ end
3474
+
3475
+ # RubyGems 1.8.5-1.8.19
3476
+ class Bundler::RubygemsIntegration::Modern < Bundler::RubygemsIntegration
3477
+ def all_specs: () -> untyped
3478
+
3479
+ def find_name: (untyped name) -> untyped
3480
+
3481
+ def stub_rubygems: (untyped specs) -> untyped
3482
+ end
3483
+
3484
+ # RubyGems 2.1.0
3485
+ class Bundler::RubygemsIntegration::MoreFuture < Bundler::RubygemsIntegration::Future
3486
+ def all_specs: () -> untyped
3487
+
3488
+ # RubyGems-generated binstubs call
3489
+ # [`Kernel#gem`](https://docs.ruby-lang.org/en/2.6.0/Kernel.html#method-i-gem)
3490
+ def binstubs_call_gem?: () -> untyped
3491
+
3492
+ def find_name: (untyped name) -> untyped
3493
+
3494
+ def initialize: () -> void
3495
+
3496
+ # only 2.5.2+ has all of the stub methods we want to use, and since this is a
3497
+ # performance optimization *only*, we'll restrict ourselves to the most recent
3498
+ # RG versions instead of all versions that have stubs
3499
+ def stubs_provide_full_functionality?: () -> untyped
3500
+
3501
+ def use_gemdeps: (untyped gemfile) -> untyped
3502
+ end
3503
+
3504
+ # RubyGems 1.8.20+
3505
+ class Bundler::RubygemsIntegration::MoreModern < Bundler::RubygemsIntegration::Modern
3506
+ def build: (untyped spec, ?untyped skip_validation) -> untyped
3507
+ end
3508
+
3509
+ # RubyGems 1.7
3510
+ class Bundler::RubygemsIntegration::Transitional < Bundler::RubygemsIntegration::Legacy
3511
+ def stub_rubygems: (untyped specs) -> untyped
3512
+
3513
+ def validate: (untyped spec) -> untyped
3514
+ end
3515
+
3516
+ class Bundler::Runtime
3517
+ include ::Bundler::SharedHelpers
3518
+
3519
+ def cache: (?untyped custom_path) -> untyped
3520
+
3521
+ def clean: (?untyped dry_run) -> untyped
3522
+
3523
+ def current_dependencies: () -> untyped
3524
+
3525
+ def dependencies: () -> untyped
3526
+
3527
+ def gems: () -> untyped
3528
+
3529
+ def initialize: (untyped root, untyped definition) -> void
3530
+
3531
+ def lock: (?untyped opts) -> untyped
3532
+
3533
+ def prune_cache: (untyped cache_path) -> untyped
3534
+
3535
+ def requested_specs: () -> untyped
3536
+
3537
+ def require: (*untyped groups) -> untyped
3538
+
3539
+ def requires: () -> untyped
3540
+
3541
+ def setup: (*untyped groups) -> untyped
3542
+
3543
+ def specs: () -> untyped
3544
+ end
3545
+
3546
+ Bundler::Runtime::REQUIRE_ERRORS: untyped
3547
+
3548
+ class Bundler::SecurityError < Bundler::BundlerError
3549
+ def status_code: () -> untyped
3550
+ end
3551
+
3552
+ class Bundler::Settings
3553
+ def []: (untyped name) -> untyped
3554
+
3555
+ def all: () -> untyped
3556
+
3557
+ def allow_sudo?: () -> untyped
3558
+
3559
+ def app_cache_path: () -> untyped
3560
+
3561
+ def credentials_for: (untyped uri) -> untyped
3562
+
3563
+ def gem_mirrors: () -> untyped
3564
+
3565
+ def ignore_config?: () -> untyped
3566
+
3567
+ def initialize: (?untyped root) -> void
3568
+
3569
+ def key_for: (untyped key) -> untyped
3570
+
3571
+ def local_overrides: () -> untyped
3572
+
3573
+ def locations: (untyped key) -> untyped
3574
+
3575
+ def mirror_for: (untyped uri) -> untyped
3576
+
3577
+ # for legacy reasons, in
3578
+ # [`Bundler`](https://docs.ruby-lang.org/en/2.7.0/Bundler.html) 2, we do not
3579
+ # respect :disable\_shared\_gems
3580
+ def path: () -> untyped
3581
+
3582
+ def pretty_values_for: (untyped exposed_key) -> untyped
3583
+
3584
+ def set_command_option: (untyped key, untyped value) -> untyped
3585
+
3586
+ def set_command_option_if_given: (untyped key, untyped value) -> untyped
3587
+
3588
+ def set_global: (untyped key, untyped value) -> untyped
3589
+
3590
+ def set_local: (untyped key, untyped value) -> untyped
3591
+
3592
+ def temporary: (untyped update) -> untyped
3593
+
3594
+ def validate!: () -> untyped
3595
+
3596
+ def self.normalize_uri: (untyped uri) -> untyped
3597
+ end
3598
+
3599
+ Bundler::Settings::ARRAY_KEYS: untyped
3600
+
3601
+ Bundler::Settings::BOOL_KEYS: untyped
3602
+
3603
+ Bundler::Settings::CONFIG_REGEX: untyped
3604
+
3605
+ Bundler::Settings::DEFAULT_CONFIG: untyped
3606
+
3607
+ Bundler::Settings::NORMALIZE_URI_OPTIONS_PATTERN: untyped
3608
+
3609
+ Bundler::Settings::NUMBER_KEYS: untyped
3610
+
3611
+ Bundler::Settings::PER_URI_OPTIONS: untyped
3612
+
3613
+ class Bundler::Settings::Path < Struct
3614
+ def append_ruby_scope: () -> untyped
3615
+
3616
+ def append_ruby_scope=: (untyped _) -> untyped
3617
+
3618
+ def base_path: () -> untyped
3619
+
3620
+ def base_path_relative_to_pwd: () -> untyped
3621
+
3622
+ def default_install_uses_path: () -> untyped
3623
+
3624
+ def default_install_uses_path=: (untyped _) -> untyped
3625
+
3626
+ def explicit_path: () -> untyped
3627
+
3628
+ def explicit_path=: (untyped _) -> untyped
3629
+
3630
+ def path: () -> untyped
3631
+
3632
+ def system_path: () -> untyped
3633
+
3634
+ def system_path=: (untyped _) -> untyped
3635
+
3636
+ def use_system_gems?: () -> untyped
3637
+
3638
+ def validate!: () -> untyped
3639
+
3640
+ def self.[]: (*untyped _) -> untyped
3641
+
3642
+ def self.members: () -> untyped
3643
+
3644
+ def self.new: (*untyped _) -> untyped
3645
+ end
3646
+
3647
+ Bundler::Settings::Path::Elem: untyped
3648
+
3649
+ module Bundler::SharedHelpers
3650
+ extend ::Bundler::SharedHelpers
3651
+
3652
+ def chdir: (untyped dir) { () -> untyped } -> untyped
3653
+
3654
+ def const_get_safely: (untyped constant_name, untyped namespace) -> untyped
3655
+
3656
+ def default_bundle_dir: () -> untyped
3657
+
3658
+ def default_gemfile: () -> untyped
3659
+
3660
+ def default_lockfile: () -> untyped
3661
+
3662
+ def digest: (untyped name) -> untyped
3663
+
3664
+ def ensure_same_dependencies: (untyped spec, untyped old_deps, untyped new_deps) -> untyped
3665
+
3666
+ def filesystem_access: (untyped path, ?untyped action) { () -> untyped } -> untyped
3667
+
3668
+ def in_bundle?: () -> untyped
3669
+
3670
+ def major_deprecation: (untyped major_version, untyped message) -> untyped
3671
+
3672
+ def md5_available?: () -> untyped
3673
+
3674
+ def pretty_dependency: (untyped dep, ?untyped print_source) -> untyped
3675
+
3676
+ def print_major_deprecations!: () -> untyped
3677
+
3678
+ def pwd: () -> untyped
3679
+
3680
+ def root: () -> untyped
3681
+
3682
+ def set_bundle_environment: () -> untyped
3683
+
3684
+ def set_env: (untyped key, untyped value) -> untyped
3685
+
3686
+ def trap: (untyped signal, ?untyped override) { () -> untyped } -> untyped
3687
+
3688
+ def with_clean_git_env: () { () -> untyped } -> untyped
3689
+
3690
+ def write_to_gemfile: (untyped gemfile_path, untyped contents) -> untyped
3691
+ end
3692
+
3693
+ class Bundler::Source
3694
+ def can_lock?: (untyped spec) -> untyped
3695
+
3696
+ def dependency_names: () -> untyped
3697
+
3698
+ def dependency_names=: (untyped dependency_names) -> untyped
3699
+
3700
+ def dependency_names_to_double_check: () -> untyped
3701
+
3702
+ def double_check_for: (*untyped _) -> untyped
3703
+
3704
+ def extension_cache_path: (untyped spec) -> untyped
3705
+
3706
+ def include?: (untyped other) -> untyped
3707
+
3708
+ def inspect: () -> untyped
3709
+
3710
+ def path?: () -> untyped
3711
+
3712
+ def unmet_deps: () -> untyped
3713
+
3714
+ def version_message: (untyped spec) -> untyped
3715
+ end
3716
+
3717
+ class Bundler::Source::Gemspec < Bundler::Source::Path
3718
+ def as_path_source: () -> untyped
3719
+
3720
+ def gemspec: () -> untyped
3721
+
3722
+ def initialize: (untyped options) -> void
3723
+ end
3724
+
3725
+ class Bundler::Source::Git < Bundler::Source::Path
3726
+ def ==: (untyped other) -> untyped
3727
+
3728
+ def allow_git_ops?: () -> untyped
3729
+
3730
+ def app_cache_dirname: () -> untyped
3731
+
3732
+ def branch: () -> untyped
3733
+
3734
+ def cache: (untyped spec, ?untyped custom_path) -> untyped
3735
+
3736
+ # This is the path which is going to contain a cache of the git repository.
3737
+ # When using the same git repository across different projects, this cache
3738
+ # will be shared. When using local git repos, this is set to the local repo.
3739
+ def cache_path: () -> untyped
3740
+
3741
+ def eql?: (untyped other) -> untyped
3742
+
3743
+ def extension_dir_name: () -> untyped
3744
+
3745
+ def hash: () -> untyped
3746
+
3747
+ def initialize: (untyped options) -> void
3748
+
3749
+ def install: (untyped spec, ?untyped options) -> untyped
3750
+
3751
+ # This is the path which is going to contain a specific checkout of the git
3752
+ # repository. When using local git repos, this is set to the local repo.
3753
+ #
3754
+ # Also aliased as:
3755
+ # [`path`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Source/Git.html#method-i-path)
3756
+ def install_path: () -> untyped
3757
+
3758
+ def load_spec_files: () -> untyped
3759
+
3760
+ def local_override!: (untyped path) -> untyped
3761
+
3762
+ def name: () -> untyped
3763
+
3764
+ def options: () -> untyped
3765
+
3766
+ # Alias for:
3767
+ # [`install_path`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Source/Git.html#method-i-install_path)
3768
+ def path: () -> untyped
3769
+
3770
+ def ref: () -> untyped
3771
+
3772
+ def revision: () -> untyped
3773
+
3774
+ def specs: (*untyped _) -> untyped
3775
+
3776
+ def submodules: () -> untyped
3777
+
3778
+ def to_lock: () -> untyped
3779
+
3780
+ def to_s: () -> untyped
3781
+
3782
+ def unlock!: () -> untyped
3783
+
3784
+ def uri: () -> untyped
3785
+
3786
+ def self.from_lock: (untyped options) -> untyped
3787
+ end
3788
+
3789
+ class Bundler::Source::Git::GitCommandError < Bundler::GitError
3790
+ def initialize: (untyped command, ?untyped path, ?untyped extra_info) -> void
3791
+ end
3792
+
3793
+ class Bundler::Source::Git::GitNotAllowedError < Bundler::GitError
3794
+ def initialize: (untyped command) -> void
3795
+ end
3796
+
3797
+ class Bundler::Source::Git::GitNotInstalledError < Bundler::GitError
3798
+ def initialize: () -> void
3799
+ end
3800
+
3801
+ # The
3802
+ # [`GitProxy`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Source/Git/GitProxy.html)
3803
+ # is responsible to interact with git repositories. All actions required by the
3804
+ # [`Git`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Source/Git.html) source is
3805
+ # encapsulated in this object.
3806
+ class Bundler::Source::Git::GitProxy
3807
+ def branch: () -> untyped
3808
+
3809
+ def checkout: () -> untyped
3810
+
3811
+ def contains?: (untyped commit) -> untyped
3812
+
3813
+ def copy_to: (untyped destination, ?untyped submodules) -> untyped
3814
+
3815
+ def full_version: () -> untyped
3816
+
3817
+ def initialize: (untyped path, untyped uri, untyped ref, ?untyped revision, ?untyped git) -> void
3818
+
3819
+ def path: () -> untyped
3820
+
3821
+ def path=: (untyped path) -> untyped
3822
+
3823
+ def ref: () -> untyped
3824
+
3825
+ def ref=: (untyped ref) -> untyped
3826
+
3827
+ def revision: () -> untyped
3828
+
3829
+ def revision=: (untyped revision) -> untyped
3830
+
3831
+ def uri: () -> untyped
3832
+
3833
+ def uri=: (untyped uri) -> untyped
3834
+
3835
+ def version: () -> untyped
3836
+ end
3837
+
3838
+ class Bundler::Source::Git::MissingGitRevisionError < Bundler::GitError
3839
+ def initialize: (untyped ref, untyped repo) -> void
3840
+ end
3841
+
3842
+ class Bundler::Source::Metadata < Bundler::Source
3843
+ def ==: (untyped other) -> untyped
3844
+
3845
+ def cached!: () -> untyped
3846
+
3847
+ def eql?: (untyped other) -> untyped
3848
+
3849
+ def hash: () -> untyped
3850
+
3851
+ def install: (untyped spec, ?untyped _opts) -> untyped
3852
+
3853
+ def options: () -> untyped
3854
+
3855
+ def remote!: () -> untyped
3856
+
3857
+ def specs: () -> untyped
3858
+
3859
+ def to_s: () -> untyped
3860
+
3861
+ def version_message: (untyped spec) -> untyped
3862
+ end
3863
+
3864
+ class Bundler::Source::Path < Bundler::Source
3865
+ def ==: (untyped other) -> untyped
3866
+
3867
+ def app_cache_dirname: () -> untyped
3868
+
3869
+ def cache: (untyped spec, ?untyped custom_path) -> untyped
3870
+
3871
+ def cached!: () -> untyped
3872
+
3873
+ def eql?: (untyped other) -> untyped
3874
+
3875
+ def expanded_original_path: () -> untyped
3876
+
3877
+ def hash: () -> untyped
3878
+
3879
+ def initialize: (untyped options) -> void
3880
+
3881
+ def install: (untyped spec, ?untyped options) -> untyped
3882
+
3883
+ def local_specs: (*untyped _) -> untyped
3884
+
3885
+ def name: () -> untyped
3886
+
3887
+ def name=: (untyped name) -> untyped
3888
+
3889
+ def options: () -> untyped
3890
+
3891
+ def original_path: () -> untyped
3892
+
3893
+ def path: () -> untyped
3894
+
3895
+ def remote!: () -> untyped
3896
+
3897
+ def root: () -> untyped
3898
+
3899
+ def root_path: () -> untyped
3900
+
3901
+ def specs: () -> untyped
3902
+
3903
+ def to_lock: () -> untyped
3904
+
3905
+ def to_s: () -> untyped
3906
+
3907
+ def version: () -> untyped
3908
+
3909
+ def version=: (untyped version) -> untyped
3910
+
3911
+ def self.from_lock: (untyped options) -> untyped
3912
+ end
3913
+
3914
+ Bundler::Source::Path::DEFAULT_GLOB: untyped
3915
+
3916
+ class Bundler::Source::Rubygems < Bundler::Source
3917
+ def ==: (untyped other) -> untyped
3918
+
3919
+ def add_remote: (untyped source) -> untyped
3920
+
3921
+ def api_fetchers: () -> untyped
3922
+
3923
+ def builtin_gem?: (untyped spec) -> untyped
3924
+
3925
+ def cache: (untyped spec, ?untyped custom_path) -> untyped
3926
+
3927
+ def cache_path: () -> untyped
3928
+
3929
+ def cached!: () -> untyped
3930
+
3931
+ def cached_built_in_gem: (untyped spec) -> untyped
3932
+
3933
+ def cached_gem: (untyped spec) -> untyped
3934
+
3935
+ def cached_path: (untyped spec) -> untyped
3936
+
3937
+ def cached_specs: () -> untyped
3938
+
3939
+ def caches: () -> untyped
3940
+
3941
+ def can_lock?: (untyped spec) -> untyped
3942
+
3943
+ def credless_remotes: () -> untyped
3944
+
3945
+ def dependency_names_to_double_check: () -> untyped
3946
+
3947
+ def double_check_for: (untyped unmet_dependency_names) -> untyped
3948
+
3949
+ def eql?: (untyped other) -> untyped
3950
+
3951
+ def equivalent_remotes?: (untyped other_remotes) -> untyped
3952
+
3953
+ def fetch_gem: (untyped spec) -> untyped
3954
+
3955
+ def fetch_names: (untyped fetchers, untyped dependency_names, untyped index, untyped override_dupes) -> untyped
3956
+
3957
+ def fetchers: () -> untyped
3958
+
3959
+ def hash: () -> untyped
3960
+
3961
+ def include?: (untyped o) -> untyped
3962
+
3963
+ def initialize: (?untyped options) -> void
3964
+
3965
+ def install: (untyped spec, ?untyped opts) -> untyped
3966
+
3967
+ def installed?: (untyped spec) -> untyped
3968
+
3969
+ def installed_specs: () -> untyped
3970
+
3971
+ def loaded_from: (untyped spec) -> untyped
3972
+
3973
+ # Alias for:
3974
+ # [`to_s`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Source/Rubygems.html#method-i-to_s)
3975
+ def name: () -> untyped
3976
+
3977
+ def normalize_uri: (untyped uri) -> untyped
3978
+
3979
+ def options: () -> untyped
3980
+
3981
+ def remote!: () -> untyped
3982
+
3983
+ def remote_specs: () -> untyped
3984
+
3985
+ def remotes: () -> untyped
3986
+
3987
+ def remotes_for_spec: (untyped spec) -> untyped
3988
+
3989
+ def remove_auth: (untyped remote) -> untyped
3990
+
3991
+ def replace_remotes: (untyped other_remotes, ?untyped allow_equivalent) -> untyped
3992
+
3993
+ def requires_sudo?: () -> untyped
3994
+
3995
+ def rubygems_dir: () -> untyped
3996
+
3997
+ def specs: () -> untyped
3998
+
3999
+ def suppress_configured_credentials: (untyped remote) -> untyped
4000
+
4001
+ def to_lock: () -> untyped
4002
+
4003
+ # Also aliased as:
4004
+ # [`name`](https://docs.ruby-lang.org/en/2.7.0/Bundler/Source/Rubygems.html#method-i-name)
4005
+ def to_s: () -> untyped
4006
+
4007
+ def unmet_deps: () -> untyped
4008
+
4009
+ def self.from_lock: (untyped options) -> untyped
4010
+ end
4011
+
4012
+ Bundler::Source::Rubygems::API_REQUEST_LIMIT: untyped
4013
+
4014
+ Bundler::Source::Rubygems::API_REQUEST_SIZE: untyped
4015
+
4016
+ class Bundler::SourceList
4017
+ def add_git_source: (?untyped options) -> untyped
4018
+
4019
+ def add_path_source: (?untyped options) -> untyped
4020
+
4021
+ def add_plugin_source: (untyped source, ?untyped options) -> untyped
4022
+
4023
+ def add_rubygems_remote: (untyped uri) -> untyped
4024
+
4025
+ def add_rubygems_source: (?untyped options) -> untyped
4026
+
4027
+ def all_sources: () -> untyped
4028
+
4029
+ def cached!: () -> untyped
4030
+
4031
+ def default_source: () -> untyped
4032
+
4033
+ def get: (untyped source) -> untyped
4034
+
4035
+ def git_sources: () -> untyped
4036
+
4037
+ def global_rubygems_source: () -> untyped
4038
+
4039
+ def global_rubygems_source=: (untyped uri) -> untyped
4040
+
4041
+ def initialize: () -> void
4042
+
4043
+ def lock_sources: () -> untyped
4044
+
4045
+ def metadata_source: () -> untyped
4046
+
4047
+ def path_sources: () -> untyped
4048
+
4049
+ def plugin_sources: () -> untyped
4050
+
4051
+ def remote!: () -> untyped
4052
+
4053
+ def replace_sources!: (untyped replacement_sources) -> untyped
4054
+
4055
+ def rubygems_primary_remotes: () -> untyped
4056
+
4057
+ def rubygems_remotes: () -> untyped
4058
+
4059
+ def rubygems_sources: () -> untyped
4060
+ end
4061
+
4062
+ class Bundler::SpecSet[out Elem]
4063
+ include ::TSort
4064
+
4065
+ include ::Enumerable
4066
+
4067
+ def <<: (*untyped args) { () -> untyped } -> untyped
4068
+
4069
+ def []: (untyped key) -> untyped
4070
+
4071
+ def []=: (untyped key, untyped value) -> untyped
4072
+
4073
+ def add: (*untyped args) { () -> untyped } -> untyped
4074
+
4075
+ def each: (*untyped args) { () -> untyped } -> untyped
4076
+
4077
+ def empty?: (*untyped args) { () -> untyped } -> untyped
4078
+
4079
+ def find_by_name_and_platform: (untyped name, untyped platform) -> untyped
4080
+
4081
+ def for: (untyped dependencies, ?untyped skip, ?untyped check, ?untyped match_current_platform, ?untyped raise_on_missing) -> untyped
4082
+
4083
+ def initialize: (untyped specs) -> void
4084
+
4085
+ def length: (*untyped args) { () -> untyped } -> untyped
4086
+
4087
+ def materialize: (untyped deps, ?untyped missing_specs) -> untyped
4088
+
4089
+ # Materialize for all the specs in the spec set, regardless of what platform
4090
+ # they're for This is in contrast to how for does platform filtering (and
4091
+ # specifically different from how `materialize` calls `for` only for the
4092
+ # current platform) @return [Array<Gem::Specification>]
4093
+ def materialized_for_all_platforms: () -> untyped
4094
+
4095
+ def merge: (untyped set) -> untyped
4096
+
4097
+ def remove: (*untyped args) { () -> untyped } -> untyped
4098
+
4099
+ def size: (*untyped args) { () -> untyped } -> untyped
4100
+
4101
+ def sort!: () -> untyped
4102
+
4103
+ def to_a: () -> untyped
4104
+
4105
+ def to_hash: () -> untyped
4106
+
4107
+ def valid_for?: (untyped deps) -> untyped
4108
+
4109
+ def what_required: (untyped spec) -> untyped
4110
+ end
4111
+
4112
+ class Bundler::StubSpecification < Bundler::RemoteSpecification
4113
+ def activated: () -> untyped
4114
+
4115
+ def activated=: (untyped activated) -> untyped
4116
+
4117
+ def default_gem: () -> untyped
4118
+
4119
+ def default_gem?: () -> bool
4120
+
4121
+ def full_gem_path: () -> untyped
4122
+
4123
+ def full_require_paths: () -> untyped
4124
+
4125
+ def ignored: () -> untyped
4126
+
4127
+ def ignored=: (untyped ignored) -> untyped
4128
+
4129
+ # This is what we do in bundler/rubygems\_ext
4130
+ # [`full_require_paths`](https://docs.ruby-lang.org/en/2.6.0/Bundler/StubSpecification.html#method-i-full_require_paths)
4131
+ # is always implemented in >= 2.2.0
4132
+ def load_paths: () -> untyped
4133
+
4134
+ def loaded_from: () -> untyped
4135
+
4136
+ def matches_for_glob: (untyped glob) -> untyped
4137
+
4138
+ # This is defined directly to avoid having to load every installed spec
4139
+ def missing_extensions?: () -> untyped
4140
+
4141
+ def raw_require_paths: () -> untyped
4142
+
4143
+ def source=: (untyped source) -> untyped
4144
+
4145
+ def stub: () -> untyped
4146
+
4147
+ def stub=: (untyped stub) -> untyped
4148
+
4149
+ def to_yaml: () -> untyped
4150
+
4151
+ def self.from_stub: (untyped stub) -> untyped
4152
+ end
4153
+
4154
+ class Bundler::SudoNotPermittedError < Bundler::BundlerError
4155
+ def status_code: () -> untyped
4156
+ end
4157
+
4158
+ class Bundler::TemporaryResourceError < Bundler::PermissionError
4159
+ def message: () -> untyped
4160
+
4161
+ def status_code: () -> untyped
4162
+ end
4163
+
4164
+ class Bundler::ThreadCreationError < Bundler::BundlerError
4165
+ def status_code: () -> untyped
4166
+ end
4167
+
4168
+ module Bundler::UI
4169
+ end
4170
+
4171
+ class Bundler::UI::RGProxy < Gem::SilentUI
4172
+ def initialize: (untyped ui) -> void
4173
+
4174
+ def say: (untyped message) -> untyped
4175
+ end
4176
+
4177
+ class Bundler::UI::Silent
4178
+ def add_color: (untyped string, untyped color) -> untyped
4179
+
4180
+ def ask: (untyped message) -> untyped
4181
+
4182
+ def confirm: (untyped message, ?untyped newline) -> untyped
4183
+
4184
+ def debug: (untyped message, ?untyped newline) -> untyped
4185
+
4186
+ def debug?: () -> untyped
4187
+
4188
+ def error: (untyped message, ?untyped newline) -> untyped
4189
+
4190
+ def info: (untyped message, ?untyped newline) -> untyped
4191
+
4192
+ def initialize: () -> void
4193
+
4194
+ def level: (?untyped name) -> untyped
4195
+
4196
+ def level=: (untyped name) -> untyped
4197
+
4198
+ def no?: () -> untyped
4199
+
4200
+ def quiet?: () -> untyped
4201
+
4202
+ def shell=: (untyped shell) -> untyped
4203
+
4204
+ def silence: () -> untyped
4205
+
4206
+ def trace: (untyped message, ?untyped newline, ?untyped force) -> untyped
4207
+
4208
+ def unprinted_warnings: () -> untyped
4209
+
4210
+ def warn: (untyped message, ?untyped newline) -> untyped
4211
+
4212
+ def yes?: (untyped msg) -> untyped
4213
+ end
4214
+
4215
+ module Bundler::URICredentialsFilter
4216
+ def self.credential_filtered_string: (untyped str_to_filter, untyped uri) -> untyped
4217
+
4218
+ def self.credential_filtered_uri: (untyped uri_to_anonymize) -> untyped
4219
+ end
4220
+
4221
+ # Internal error, should be rescued
4222
+ class Bundler::VersionConflict < Bundler::BundlerError
4223
+ def conflicts: () -> untyped
4224
+
4225
+ def initialize: (untyped conflicts, ?untyped msg) -> void
4226
+
4227
+ def status_code: () -> untyped
4228
+ end
4229
+
4230
+ class Bundler::VirtualProtocolError < Bundler::BundlerError
4231
+ def message: () -> untyped
4232
+
4233
+ def status_code: () -> untyped
4234
+ end
4235
+
4236
+ # A stub yaml serializer that can handle only hashes and strings (as of now).
4237
+ module Bundler::YAMLSerializer
4238
+ def self.dump: (untyped hash) -> untyped
4239
+
4240
+ def self.load: (untyped str) -> untyped
4241
+ end
4242
+
4243
+ Bundler::YAMLSerializer::ARRAY_REGEX: untyped
4244
+
4245
+ Bundler::YAMLSerializer::HASH_REGEX: untyped
4246
+
4247
+ class Bundler::YamlSyntaxError < Bundler::BundlerError
4248
+ def initialize: (untyped orig_exception, untyped msg) -> void
4249
+
4250
+ def orig_exception: () -> untyped
4251
+
4252
+ def status_code: () -> untyped
4253
+ end
4254
+
4255
+ class Bundler::Installer
4256
+ def self.ambiguous_gems=: (untyped ambiguous_gems) -> untyped
4257
+
4258
+ def self.ambiguous_gems: () -> untyped
4259
+
4260
+ def post_install_messages: () -> untyped
4261
+
4262
+ def self.install: (untyped root, untyped definition, ?untyped options) -> untyped
4263
+
4264
+ def initialize: (untyped root, untyped definition) -> void
4265
+
4266
+ def run: (untyped options) -> void
4267
+
4268
+ def generate_bundler_executable_stubs: (untyped spec, ?untyped options) -> void
4269
+
4270
+ def generate_standalone_bundler_executable_stubs: (untyped spec, ?untyped options) -> void
4271
+ end