rubygems-update 3.5.5 → 3.6.9

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 (413) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +606 -1
  3. data/CODE_OF_CONDUCT.md +79 -28
  4. data/Manifest.txt +114 -73
  5. data/README.md +16 -11
  6. data/bundler/CHANGELOG.md +506 -6
  7. data/bundler/README.md +2 -2
  8. data/bundler/bundler.gemspec +2 -2
  9. data/bundler/lib/bundler/build_metadata.rb +2 -2
  10. data/bundler/lib/bundler/checksum.rb +22 -12
  11. data/bundler/lib/bundler/cli/add.rb +3 -1
  12. data/bundler/lib/bundler/cli/binstubs.rb +1 -1
  13. data/bundler/lib/bundler/cli/check.rb +3 -3
  14. data/bundler/lib/bundler/cli/console.rb +8 -10
  15. data/bundler/lib/bundler/cli/doctor/diagnose.rb +167 -0
  16. data/bundler/lib/bundler/cli/doctor/ssl.rb +249 -0
  17. data/bundler/lib/bundler/cli/doctor.rb +27 -151
  18. data/bundler/lib/bundler/cli/exec.rb +1 -0
  19. data/bundler/lib/bundler/cli/fund.rb +1 -1
  20. data/bundler/lib/bundler/cli/gem.rb +13 -17
  21. data/bundler/lib/bundler/cli/info.rb +6 -6
  22. data/bundler/lib/bundler/cli/inject.rb +3 -3
  23. data/bundler/lib/bundler/cli/install.rb +14 -5
  24. data/bundler/lib/bundler/cli/issue.rb +3 -3
  25. data/bundler/lib/bundler/cli/lock.rb +32 -11
  26. data/bundler/lib/bundler/cli/outdated.rb +22 -22
  27. data/bundler/lib/bundler/cli/plugin.rb +3 -2
  28. data/bundler/lib/bundler/cli/pristine.rb +1 -1
  29. data/bundler/lib/bundler/cli/show.rb +3 -3
  30. data/bundler/lib/bundler/cli.rb +51 -107
  31. data/bundler/lib/bundler/compact_index_client/cache.rb +48 -73
  32. data/bundler/lib/bundler/compact_index_client/cache_file.rb +0 -5
  33. data/bundler/lib/bundler/compact_index_client/parser.rb +84 -0
  34. data/bundler/lib/bundler/compact_index_client/updater.rb +2 -12
  35. data/bundler/lib/bundler/compact_index_client.rb +51 -80
  36. data/bundler/lib/bundler/constants.rb +8 -1
  37. data/bundler/lib/bundler/current_ruby.rb +23 -33
  38. data/bundler/lib/bundler/definition.rb +485 -313
  39. data/bundler/lib/bundler/dependency.rb +92 -46
  40. data/bundler/lib/bundler/dsl.rb +135 -101
  41. data/bundler/lib/bundler/endpoint_specification.rb +30 -3
  42. data/bundler/lib/bundler/env.rb +1 -1
  43. data/bundler/lib/bundler/environment_preserver.rb +5 -23
  44. data/bundler/lib/bundler/errors.rb +53 -5
  45. data/bundler/lib/bundler/feature_flag.rb +3 -6
  46. data/bundler/lib/bundler/fetcher/compact_index.rb +16 -25
  47. data/bundler/lib/bundler/fetcher/downloader.rb +1 -1
  48. data/bundler/lib/bundler/fetcher.rb +14 -7
  49. data/bundler/lib/bundler/force_platform.rb +0 -2
  50. data/bundler/lib/bundler/friendly_errors.rb +1 -1
  51. data/bundler/lib/bundler/gem_helper.rb +1 -1
  52. data/bundler/lib/bundler/gem_helpers.rb +36 -19
  53. data/bundler/lib/bundler/gem_version_promoter.rb +42 -40
  54. data/bundler/lib/bundler/injector.rb +14 -16
  55. data/bundler/lib/bundler/inline.rb +42 -17
  56. data/bundler/lib/bundler/installer/gem_installer.rb +4 -3
  57. data/bundler/lib/bundler/installer/parallel_installer.rb +3 -2
  58. data/bundler/lib/bundler/installer/standalone.rb +2 -5
  59. data/bundler/lib/bundler/installer.rb +17 -41
  60. data/bundler/lib/bundler/lazy_specification.rb +117 -46
  61. data/bundler/lib/bundler/lockfile_generator.rb +1 -1
  62. data/bundler/lib/bundler/lockfile_parser.rb +18 -7
  63. data/bundler/lib/bundler/man/bundle-add.1 +44 -27
  64. data/bundler/lib/bundler/man/bundle-add.1.ronn +52 -23
  65. data/bundler/lib/bundler/man/bundle-binstubs.1 +9 -6
  66. data/bundler/lib/bundler/man/bundle-binstubs.1.ronn +6 -3
  67. data/bundler/lib/bundler/man/bundle-cache.1 +32 -4
  68. data/bundler/lib/bundler/man/bundle-cache.1.ronn +31 -2
  69. data/bundler/lib/bundler/man/bundle-check.1 +7 -5
  70. data/bundler/lib/bundler/man/bundle-check.1.ronn +7 -2
  71. data/bundler/lib/bundler/man/bundle-clean.1 +3 -3
  72. data/bundler/lib/bundler/man/bundle-config.1 +11 -15
  73. data/bundler/lib/bundler/man/bundle-config.1.ronn +12 -15
  74. data/bundler/lib/bundler/man/bundle-console.1 +4 -6
  75. data/bundler/lib/bundler/man/bundle-console.1.ronn +2 -7
  76. data/bundler/lib/bundler/man/bundle-doctor.1 +4 -4
  77. data/bundler/lib/bundler/man/bundle-doctor.1.ronn +1 -1
  78. data/bundler/lib/bundler/man/bundle-env.1 +9 -0
  79. data/bundler/lib/bundler/man/bundle-env.1.ronn +10 -0
  80. data/bundler/lib/bundler/man/bundle-exec.1 +9 -6
  81. data/bundler/lib/bundler/man/bundle-exec.1.ronn +6 -3
  82. data/bundler/lib/bundler/man/bundle-fund.1 +22 -0
  83. data/bundler/lib/bundler/man/bundle-fund.1.ronn +25 -0
  84. data/bundler/lib/bundler/man/bundle-gem.1 +25 -7
  85. data/bundler/lib/bundler/man/bundle-gem.1.ronn +38 -6
  86. data/bundler/lib/bundler/man/bundle-help.1 +3 -3
  87. data/bundler/lib/bundler/man/bundle-info.1 +7 -4
  88. data/bundler/lib/bundler/man/bundle-info.1.ronn +6 -2
  89. data/bundler/lib/bundler/man/bundle-init.1 +5 -5
  90. data/bundler/lib/bundler/man/bundle-init.1.ronn +3 -2
  91. data/bundler/lib/bundler/man/bundle-inject.1 +12 -4
  92. data/bundler/lib/bundler/man/bundle-inject.1.ronn +9 -1
  93. data/bundler/lib/bundler/man/bundle-install.1 +19 -16
  94. data/bundler/lib/bundler/man/bundle-install.1.ronn +24 -20
  95. data/bundler/lib/bundler/man/bundle-issue.1 +45 -0
  96. data/bundler/lib/bundler/man/bundle-issue.1.ronn +37 -0
  97. data/bundler/lib/bundler/man/bundle-licenses.1 +9 -0
  98. data/bundler/lib/bundler/man/bundle-licenses.1.ronn +10 -0
  99. data/bundler/lib/bundler/man/bundle-list.1 +3 -3
  100. data/bundler/lib/bundler/man/bundle-list.1.ronn +4 -1
  101. data/bundler/lib/bundler/man/bundle-lock.1 +23 -8
  102. data/bundler/lib/bundler/man/bundle-lock.1.ronn +25 -4
  103. data/bundler/lib/bundler/man/bundle-open.1 +4 -4
  104. data/bundler/lib/bundler/man/bundle-open.1.ronn +2 -1
  105. data/bundler/lib/bundler/man/bundle-outdated.1 +10 -7
  106. data/bundler/lib/bundler/man/bundle-outdated.1.ronn +8 -4
  107. data/bundler/lib/bundler/man/bundle-platform.1 +3 -3
  108. data/bundler/lib/bundler/man/bundle-plugin.1 +9 -6
  109. data/bundler/lib/bundler/man/bundle-plugin.1.ronn +7 -3
  110. data/bundler/lib/bundler/man/bundle-pristine.1 +3 -3
  111. data/bundler/lib/bundler/man/bundle-pristine.1.ronn +1 -1
  112. data/bundler/lib/bundler/man/bundle-remove.1 +3 -3
  113. data/bundler/lib/bundler/man/bundle-remove.1.ronn +1 -1
  114. data/bundler/lib/bundler/man/bundle-show.1 +7 -4
  115. data/bundler/lib/bundler/man/bundle-show.1.ronn +4 -0
  116. data/bundler/lib/bundler/man/bundle-update.1 +15 -9
  117. data/bundler/lib/bundler/man/bundle-update.1.ronn +14 -6
  118. data/bundler/lib/bundler/man/bundle-version.1 +3 -3
  119. data/bundler/lib/bundler/man/bundle-viz.1 +6 -6
  120. data/bundler/lib/bundler/man/bundle-viz.1.ronn +7 -3
  121. data/bundler/lib/bundler/man/bundle.1 +3 -3
  122. data/bundler/lib/bundler/man/gemfile.5 +7 -5
  123. data/bundler/lib/bundler/man/gemfile.5.ronn +8 -2
  124. data/bundler/lib/bundler/man/index.txt +4 -0
  125. data/bundler/lib/bundler/match_metadata.rb +13 -0
  126. data/bundler/lib/bundler/materialization.rb +59 -0
  127. data/bundler/lib/bundler/mirror.rb +3 -3
  128. data/bundler/lib/bundler/plugin/api/source.rb +5 -4
  129. data/bundler/lib/bundler/plugin/events.rb +24 -0
  130. data/bundler/lib/bundler/plugin/index.rb +5 -1
  131. data/bundler/lib/bundler/plugin/installer/path.rb +26 -0
  132. data/bundler/lib/bundler/plugin/installer.rb +37 -17
  133. data/bundler/lib/bundler/plugin/source_list.rb +4 -4
  134. data/bundler/lib/bundler/plugin.rb +21 -2
  135. data/bundler/lib/bundler/process_lock.rb +10 -14
  136. data/bundler/lib/bundler/remote_specification.rb +6 -1
  137. data/bundler/lib/bundler/resolver/base.rb +14 -3
  138. data/bundler/lib/bundler/resolver/candidate.rb +18 -27
  139. data/bundler/lib/bundler/resolver/package.rb +20 -3
  140. data/bundler/lib/bundler/resolver/spec_group.rb +22 -27
  141. data/bundler/lib/bundler/resolver/strategy.rb +40 -0
  142. data/bundler/lib/bundler/resolver.rb +114 -50
  143. data/bundler/lib/bundler/retry.rb +1 -1
  144. data/bundler/lib/bundler/ruby_dsl.rb +12 -3
  145. data/bundler/lib/bundler/ruby_version.rb +7 -1
  146. data/bundler/lib/bundler/rubygems_ext.rb +282 -125
  147. data/bundler/lib/bundler/rubygems_gem_installer.rb +40 -5
  148. data/bundler/lib/bundler/rubygems_integration.rb +29 -67
  149. data/bundler/lib/bundler/runtime.rb +48 -35
  150. data/bundler/lib/bundler/self_manager.rb +27 -7
  151. data/bundler/lib/bundler/settings.rb +32 -21
  152. data/bundler/lib/bundler/setup.rb +6 -0
  153. data/bundler/lib/bundler/shared_helpers.rb +39 -21
  154. data/bundler/lib/bundler/source/gemspec.rb +1 -4
  155. data/bundler/lib/bundler/source/git/git_proxy.rb +23 -6
  156. data/bundler/lib/bundler/source/git.rb +113 -41
  157. data/bundler/lib/bundler/source/metadata.rb +4 -3
  158. data/bundler/lib/bundler/source/path.rb +7 -18
  159. data/bundler/lib/bundler/source/rubygems/remote.rb +12 -4
  160. data/bundler/lib/bundler/source/rubygems.rb +54 -48
  161. data/bundler/lib/bundler/source.rb +2 -0
  162. data/bundler/lib/bundler/source_list.rb +53 -7
  163. data/bundler/lib/bundler/spec_set.rb +187 -88
  164. data/bundler/lib/bundler/stub_specification.rb +29 -2
  165. data/bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +77 -29
  166. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +1 -3
  167. data/bundler/lib/bundler/templates/newgem/README.md.tt +7 -3
  168. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +15 -15
  169. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +8 -7
  170. data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +0 -5
  171. data/bundler/lib/bundler/ui/shell.rb +24 -2
  172. data/bundler/lib/bundler/ui/silent.rb +12 -1
  173. data/bundler/lib/bundler/uri_credentials_filter.rb +3 -3
  174. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +53 -3
  175. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
  176. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +11 -0
  177. data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +15 -13
  178. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +68 -30
  179. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +4 -24
  180. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +1 -0
  181. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
  182. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +20 -8
  183. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +17 -29
  184. data/bundler/lib/bundler/vendor/securerandom/COPYING +56 -0
  185. data/bundler/lib/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
  186. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +3 -5
  187. data/bundler/lib/bundler/vendor/thor/lib/thor/group.rb +11 -0
  188. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +1 -4
  189. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/option.rb +2 -2
  190. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +2 -1
  191. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +9 -9
  192. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb +1 -1
  193. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/table_printer.rb +5 -21
  194. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  195. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  196. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +11 -0
  197. data/bundler/lib/bundler/vendor/uri/COPYING +56 -0
  198. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +43 -16
  199. data/bundler/lib/bundler/vendor/uri/lib/uri/file.rb +3 -3
  200. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +1 -1
  201. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +28 -37
  202. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +2 -2
  203. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +16 -9
  204. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +26 -3
  205. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  206. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +9 -9
  207. data/bundler/lib/bundler/vendored_net_http.rb +20 -5
  208. data/bundler/lib/bundler/vendored_securerandom.rb +12 -0
  209. data/bundler/lib/bundler/vendored_timeout.rb +7 -3
  210. data/bundler/lib/bundler/vendored_uri.rb +18 -1
  211. data/bundler/lib/bundler/version.rb +1 -1
  212. data/bundler/lib/bundler/yaml_serializer.rb +12 -7
  213. data/bundler/lib/bundler.rb +89 -51
  214. data/{CONTRIBUTING.md → doc/rubygems/CONTRIBUTING.md} +10 -14
  215. data/{POLICIES.md → doc/rubygems/POLICIES.md} +81 -12
  216. data/exe/update_rubygems +1 -1
  217. data/lib/rubygems/basic_specification.rb +43 -10
  218. data/lib/rubygems/bundler_version_finder.rb +1 -1
  219. data/lib/rubygems/command.rb +1 -4
  220. data/lib/rubygems/command_manager.rb +5 -6
  221. data/lib/rubygems/commands/build_command.rb +2 -11
  222. data/lib/rubygems/commands/cleanup_command.rb +3 -13
  223. data/lib/rubygems/commands/contents_command.rb +17 -10
  224. data/lib/rubygems/commands/environment_command.rb +5 -0
  225. data/lib/rubygems/commands/exec_command.rb +18 -11
  226. data/lib/rubygems/commands/fetch_command.rb +14 -0
  227. data/lib/rubygems/commands/help_command.rb +2 -2
  228. data/lib/rubygems/commands/install_command.rb +0 -4
  229. data/lib/rubygems/commands/pristine_command.rb +30 -17
  230. data/lib/rubygems/commands/push_command.rb +31 -6
  231. data/lib/rubygems/commands/rdoc_command.rb +3 -10
  232. data/lib/rubygems/commands/rebuild_command.rb +262 -0
  233. data/lib/rubygems/commands/setup_command.rb +11 -16
  234. data/lib/rubygems/commands/sources_command.rb +2 -2
  235. data/lib/rubygems/commands/uninstall_command.rb +9 -4
  236. data/lib/rubygems/commands/unpack_command.rb +0 -6
  237. data/lib/rubygems/commands/update_command.rb +10 -17
  238. data/lib/rubygems/config_file.rb +45 -16
  239. data/lib/rubygems/core_ext/kernel_warn.rb +2 -6
  240. data/lib/rubygems/defaults.rb +6 -6
  241. data/lib/rubygems/dependency.rb +12 -16
  242. data/lib/rubygems/dependency_list.rb +1 -1
  243. data/lib/rubygems/deprecate.rb +79 -77
  244. data/lib/rubygems/errors.rb +2 -1
  245. data/lib/rubygems/exceptions.rb +2 -9
  246. data/lib/rubygems/ext/builder.rb +21 -8
  247. data/lib/rubygems/ext/cargo_builder.rb +12 -26
  248. data/lib/rubygems/ext/cmake_builder.rb +7 -2
  249. data/lib/rubygems/ext/configure_builder.rb +7 -2
  250. data/lib/rubygems/ext/ext_conf_builder.rb +9 -5
  251. data/lib/rubygems/ext/rake_builder.rb +7 -4
  252. data/lib/rubygems/gem_runner.rb +9 -0
  253. data/lib/rubygems/gemcutter_utilities/webauthn_listener.rb +1 -1
  254. data/lib/rubygems/gemcutter_utilities/webauthn_poller.rb +3 -1
  255. data/lib/rubygems/gemcutter_utilities.rb +52 -26
  256. data/lib/rubygems/gemspec_helpers.rb +19 -0
  257. data/lib/rubygems/install_update_options.rb +5 -0
  258. data/lib/rubygems/installer.rb +31 -40
  259. data/lib/rubygems/local_remote_options.rb +8 -8
  260. data/lib/rubygems/package/tar_header.rb +31 -4
  261. data/lib/rubygems/package/tar_reader/entry.rb +1 -5
  262. data/lib/rubygems/package/tar_writer.rb +5 -4
  263. data/lib/rubygems/package.rb +13 -8
  264. data/lib/rubygems/platform.rb +7 -5
  265. data/lib/rubygems/psych_tree.rb +4 -0
  266. data/lib/rubygems/query_utils.rb +2 -2
  267. data/lib/rubygems/rdoc.rb +16 -3
  268. data/lib/rubygems/remote_fetcher.rb +3 -4
  269. data/lib/rubygems/request.rb +5 -5
  270. data/lib/rubygems/request_set/gem_dependency_api.rb +1 -1
  271. data/lib/rubygems/request_set.rb +1 -1
  272. data/lib/rubygems/requirement.rb +16 -12
  273. data/lib/rubygems/resolver/activation_request.rb +1 -1
  274. data/lib/rubygems/resolver/api_set/gem_parser.rb +2 -5
  275. data/lib/rubygems/resolver/api_set.rb +13 -8
  276. data/lib/rubygems/resolver/best_set.rb +0 -28
  277. data/lib/rubygems/resolver/composed_set.rb +3 -3
  278. data/lib/rubygems/resolver/git_set.rb +0 -1
  279. data/lib/rubygems/resolver/index_set.rb +2 -2
  280. data/lib/rubygems/resolver/spec_specification.rb +7 -0
  281. data/lib/rubygems/resolver.rb +7 -7
  282. data/lib/rubygems/s3_uri_signer.rb +3 -3
  283. data/lib/rubygems/safe_marshal/reader.rb +31 -14
  284. data/lib/rubygems/safe_marshal/visitors/to_ruby.rb +29 -16
  285. data/lib/rubygems/safe_yaml.rb +10 -1
  286. data/lib/rubygems/security.rb +1 -1
  287. data/lib/rubygems/source/git.rb +22 -17
  288. data/lib/rubygems/source/installed.rb +3 -1
  289. data/lib/rubygems/source/local.rb +8 -4
  290. data/lib/rubygems/source/specific_file.rb +5 -3
  291. data/lib/rubygems/source.rb +10 -8
  292. data/lib/rubygems/source_list.rb +1 -1
  293. data/lib/rubygems/spec_fetcher.rb +47 -15
  294. data/lib/rubygems/specification.rb +107 -180
  295. data/lib/rubygems/specification_policy.rb +33 -13
  296. data/lib/rubygems/specification_record.rb +212 -0
  297. data/lib/rubygems/stub_specification.rb +32 -10
  298. data/lib/rubygems/target_rbconfig.rb +50 -0
  299. data/lib/rubygems/uninstaller.rb +42 -22
  300. data/lib/rubygems/uri.rb +6 -6
  301. data/lib/rubygems/util/licenses.rb +97 -1
  302. data/lib/rubygems/util.rb +1 -1
  303. data/lib/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
  304. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/delegates/specification_provider.rb +11 -11
  305. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/action.rb +1 -1
  306. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -1
  307. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -1
  308. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -1
  309. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -1
  310. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/log.rb +1 -1
  311. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -1
  312. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -1
  313. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/vertex.rb +1 -1
  314. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  315. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/errors.rb +1 -1
  316. data/lib/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
  317. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/modules/specification_provider.rb +2 -2
  318. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/modules/ui.rb +1 -1
  319. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/resolution.rb +4 -4
  320. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/resolver.rb +1 -1
  321. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/state.rb +1 -1
  322. data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo.rb +2 -2
  323. data/lib/rubygems/vendor/net-http/COPYING +56 -0
  324. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/generic_request.rb +9 -9
  325. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/header.rb +3 -3
  326. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/request.rb +3 -3
  327. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/requests.rb +35 -30
  328. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/response.rb +2 -2
  329. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/responses.rb +6 -6
  330. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/status.rb +1 -1
  331. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http.rb +135 -51
  332. data/lib/rubygems/{net-http → vendor/net-http}/lib/net/https.rb +1 -1
  333. data/lib/rubygems/vendor/optparse/COPYING +56 -0
  334. data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/ac.rb +16 -0
  335. data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/kwargs.rb +8 -3
  336. data/lib/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
  337. data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/version.rb +9 -0
  338. data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse.rb +158 -62
  339. data/lib/rubygems/vendor/resolv/COPYING +56 -0
  340. data/lib/rubygems/{resolv → vendor/resolv}/lib/resolv.rb +117 -49
  341. data/lib/rubygems/vendor/securerandom/COPYING +56 -0
  342. data/lib/rubygems/vendor/securerandom/lib/securerandom.rb +102 -0
  343. data/lib/rubygems/vendor/timeout/.document +1 -0
  344. data/lib/rubygems/vendor/timeout/COPYING +56 -0
  345. data/lib/rubygems/{timeout → vendor/timeout}/lib/timeout.rb +10 -11
  346. data/lib/rubygems/vendor/tsort/.document +1 -0
  347. data/lib/rubygems/{tsort → vendor/tsort}/lib/tsort.rb +2 -2
  348. data/lib/rubygems/vendor/uri/.document +1 -0
  349. data/lib/rubygems/vendor/uri/COPYING +56 -0
  350. data/lib/rubygems/vendor/uri/lib/uri/common.rb +880 -0
  351. data/lib/rubygems/vendor/uri/lib/uri/file.rb +100 -0
  352. data/lib/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
  353. data/lib/rubygems/vendor/uri/lib/uri/generic.rb +1579 -0
  354. data/lib/rubygems/vendor/uri/lib/uri/http.rb +125 -0
  355. data/lib/rubygems/vendor/uri/lib/uri/https.rb +23 -0
  356. data/lib/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
  357. data/lib/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
  358. data/lib/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
  359. data/lib/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  360. data/lib/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  361. data/lib/rubygems/vendor/uri/lib/uri/version.rb +6 -0
  362. data/lib/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
  363. data/lib/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
  364. data/lib/rubygems/vendor/uri/lib/uri.rb +104 -0
  365. data/lib/rubygems/vendored_molinillo.rb +3 -0
  366. data/lib/rubygems/vendored_net_http.rb +5 -0
  367. data/lib/rubygems/vendored_optparse.rb +3 -0
  368. data/lib/rubygems/vendored_securerandom.rb +3 -0
  369. data/lib/rubygems/vendored_timeout.rb +5 -0
  370. data/lib/rubygems/vendored_tsort.rb +3 -0
  371. data/lib/rubygems/version.rb +26 -9
  372. data/lib/rubygems/yaml_serializer.rb +12 -7
  373. data/lib/rubygems.rb +82 -47
  374. data/rubygems-update.gemspec +11 -6
  375. data/setup.rb +1 -1
  376. metadata +131 -86
  377. data/bundler/lib/bundler/compact_index_client/gem_parser.rb +0 -32
  378. data/lib/rubygems/net/http.rb +0 -3
  379. data/lib/rubygems/net-http/LICENSE.txt +0 -22
  380. data/lib/rubygems/net-http/lib/net/http/backward.rb +0 -40
  381. data/lib/rubygems/net-protocol/LICENSE.txt +0 -22
  382. data/lib/rubygems/optparse/lib/optparse/uri.rb +0 -7
  383. data/lib/rubygems/optparse.rb +0 -3
  384. data/lib/rubygems/resolv/LICENSE.txt +0 -22
  385. data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -57
  386. data/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb +0 -6
  387. data/lib/rubygems/resolver/molinillo.rb +0 -3
  388. data/lib/rubygems/shellwords.rb +0 -3
  389. data/lib/rubygems/timeout/LICENSE.txt +0 -22
  390. data/lib/rubygems/timeout.rb +0 -3
  391. data/lib/rubygems/tsort/LICENSE.txt +0 -22
  392. data/lib/rubygems/tsort.rb +0 -3
  393. /data/{lib/rubygems/optparse → bundler/lib/bundler/vendor/fileutils}/COPYING +0 -0
  394. /data/{lib/rubygems/net-http → bundler/lib/bundler/vendor/securerandom}/.document +0 -0
  395. /data/{MAINTAINERS.txt → doc/MAINTAINERS.txt} +0 -0
  396. /data/{bundler → doc/bundler}/UPGRADING.md +0 -0
  397. /data/{UPGRADING.md → doc/rubygems/UPGRADING.md} +0 -0
  398. /data/lib/rubygems/{net-protocol → vendor/molinillo}/.document +0 -0
  399. /data/lib/rubygems/{resolver → vendor}/molinillo/LICENSE +0 -0
  400. /data/lib/rubygems/{optparse → vendor/net-http}/.document +0 -0
  401. /data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/exceptions.rb +0 -0
  402. /data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/proxy_delta.rb +0 -0
  403. /data/lib/rubygems/{resolv → vendor/net-protocol}/.document +0 -0
  404. /data/{bundler/lib/bundler/vendor/fileutils → lib/rubygems/vendor/net-protocol}/LICENSE.txt +0 -0
  405. /data/lib/rubygems/{net-protocol → vendor/net-protocol}/lib/net/protocol.rb +0 -0
  406. /data/lib/rubygems/{resolver/molinillo → vendor/optparse}/.document +0 -0
  407. /data/lib/rubygems/{optparse → vendor/optparse}/lib/optionparser.rb +0 -0
  408. /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/date.rb +0 -0
  409. /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/shellwords.rb +0 -0
  410. /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/time.rb +0 -0
  411. /data/lib/rubygems/{timeout → vendor/resolv}/.document +0 -0
  412. /data/lib/rubygems/{tsort → vendor/securerandom}/.document +0 -0
  413. /data/{bundler/lib/bundler/vendor/uri → lib/rubygems/vendor/tsort}/LICENSE.txt +0 -0
data/CODE_OF_CONDUCT.md CHANGED
@@ -2,80 +2,131 @@
2
2
 
3
3
  ## Our Pledge
4
4
 
5
- We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
6
11
 
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
8
14
 
9
15
  ## Our Standards
10
16
 
11
- Examples of behavior that contributes to a positive environment for our community include:
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
12
19
 
13
20
  * Demonstrating empathy and kindness toward other people
14
21
  * Being respectful of differing opinions, viewpoints, and experiences
15
22
  * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
18
27
 
19
28
  Examples of unacceptable behavior include:
20
29
 
21
- * The use of sexualized language or imagery, and sexual attention or advances of any kind
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
22
32
  * Trolling, insulting or derogatory comments, and personal or political attacks
23
33
  * Public or private harassment
24
- * Publishing others' private information, such as a physical or email address, without their explicit permission
25
- * Other conduct which could reasonably be considered inappropriate in a professional setting
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
26
38
 
27
39
  ## Enforcement Responsibilities
28
40
 
29
- Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
30
45
 
31
- Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
32
50
 
33
51
  ## Scope
34
52
 
35
- This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
36
58
 
37
59
  ## Enforcement
38
60
 
39
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at team@bundler.io, or directly contacting project team members via email or Slack. All complaints will be reviewed and investigated promptly and fairly.
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ team@bundler.io.
64
+ All complaints will be reviewed and investigated promptly and fairly.
40
65
 
41
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
42
68
 
43
69
  ## Enforcement Guidelines
44
70
 
45
- Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
46
73
 
47
74
  ### 1. Correction
48
75
 
49
- **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
50
78
 
51
- **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
52
82
 
53
83
  ### 2. Warning
54
84
 
55
- **Community Impact**: A violation through a single incident or series of actions.
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
56
87
 
57
- **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
58
94
 
59
95
  ### 3. Temporary Ban
60
96
 
61
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
62
99
 
63
- **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
64
105
 
65
106
  ### 4. Permanent Ban
66
107
 
67
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
68
111
 
69
- **Consequence**: A permanent ban from any sort of public interaction within the community.
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
70
114
 
71
115
  ## Attribution
72
116
 
73
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
74
- available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
75
120
 
76
- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
77
-
78
- [homepage]: https://www.contributor-covenant.org
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
79
123
 
80
124
  For answers to common questions about this code of conduct, see the FAQ at
81
- https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/Manifest.txt CHANGED
@@ -1,17 +1,12 @@
1
1
  CHANGELOG.md
2
2
  CODE_OF_CONDUCT.md
3
- CONTRIBUTING.md
4
3
  LICENSE.txt
5
- MAINTAINERS.txt
6
4
  MIT.txt
7
5
  Manifest.txt
8
- POLICIES.md
9
6
  README.md
10
- UPGRADING.md
11
7
  bundler/CHANGELOG.md
12
8
  bundler/LICENSE.md
13
9
  bundler/README.md
14
- bundler/UPGRADING.md
15
10
  bundler/bundler.gemspec
16
11
  bundler/exe/bundle
17
12
  bundler/exe/bundler
@@ -31,6 +26,8 @@ bundler/lib/bundler/cli/common.rb
31
26
  bundler/lib/bundler/cli/config.rb
32
27
  bundler/lib/bundler/cli/console.rb
33
28
  bundler/lib/bundler/cli/doctor.rb
29
+ bundler/lib/bundler/cli/doctor/diagnose.rb
30
+ bundler/lib/bundler/cli/doctor/ssl.rb
34
31
  bundler/lib/bundler/cli/exec.rb
35
32
  bundler/lib/bundler/cli/fund.rb
36
33
  bundler/lib/bundler/cli/gem.rb
@@ -53,7 +50,7 @@ bundler/lib/bundler/cli/viz.rb
53
50
  bundler/lib/bundler/compact_index_client.rb
54
51
  bundler/lib/bundler/compact_index_client/cache.rb
55
52
  bundler/lib/bundler/compact_index_client/cache_file.rb
56
- bundler/lib/bundler/compact_index_client/gem_parser.rb
53
+ bundler/lib/bundler/compact_index_client/parser.rb
57
54
  bundler/lib/bundler/compact_index_client/updater.rb
58
55
  bundler/lib/bundler/constants.rb
59
56
  bundler/lib/bundler/current_ruby.rb
@@ -109,8 +106,12 @@ bundler/lib/bundler/man/bundle-console.1
109
106
  bundler/lib/bundler/man/bundle-console.1.ronn
110
107
  bundler/lib/bundler/man/bundle-doctor.1
111
108
  bundler/lib/bundler/man/bundle-doctor.1.ronn
109
+ bundler/lib/bundler/man/bundle-env.1
110
+ bundler/lib/bundler/man/bundle-env.1.ronn
112
111
  bundler/lib/bundler/man/bundle-exec.1
113
112
  bundler/lib/bundler/man/bundle-exec.1.ronn
113
+ bundler/lib/bundler/man/bundle-fund.1
114
+ bundler/lib/bundler/man/bundle-fund.1.ronn
114
115
  bundler/lib/bundler/man/bundle-gem.1
115
116
  bundler/lib/bundler/man/bundle-gem.1.ronn
116
117
  bundler/lib/bundler/man/bundle-help.1
@@ -123,6 +124,10 @@ bundler/lib/bundler/man/bundle-inject.1
123
124
  bundler/lib/bundler/man/bundle-inject.1.ronn
124
125
  bundler/lib/bundler/man/bundle-install.1
125
126
  bundler/lib/bundler/man/bundle-install.1.ronn
127
+ bundler/lib/bundler/man/bundle-issue.1
128
+ bundler/lib/bundler/man/bundle-issue.1.ronn
129
+ bundler/lib/bundler/man/bundle-licenses.1
130
+ bundler/lib/bundler/man/bundle-licenses.1.ronn
126
131
  bundler/lib/bundler/man/bundle-list.1
127
132
  bundler/lib/bundler/man/bundle-list.1.ronn
128
133
  bundler/lib/bundler/man/bundle-lock.1
@@ -155,6 +160,7 @@ bundler/lib/bundler/man/index.txt
155
160
  bundler/lib/bundler/match_metadata.rb
156
161
  bundler/lib/bundler/match_platform.rb
157
162
  bundler/lib/bundler/match_remote_metadata.rb
163
+ bundler/lib/bundler/materialization.rb
158
164
  bundler/lib/bundler/mirror.rb
159
165
  bundler/lib/bundler/plugin.rb
160
166
  bundler/lib/bundler/plugin/api.rb
@@ -164,6 +170,7 @@ bundler/lib/bundler/plugin/events.rb
164
170
  bundler/lib/bundler/plugin/index.rb
165
171
  bundler/lib/bundler/plugin/installer.rb
166
172
  bundler/lib/bundler/plugin/installer/git.rb
173
+ bundler/lib/bundler/plugin/installer/path.rb
167
174
  bundler/lib/bundler/plugin/installer/rubygems.rb
168
175
  bundler/lib/bundler/plugin/source_list.rb
169
176
  bundler/lib/bundler/process_lock.rb
@@ -175,6 +182,7 @@ bundler/lib/bundler/resolver/incompatibility.rb
175
182
  bundler/lib/bundler/resolver/package.rb
176
183
  bundler/lib/bundler/resolver/root.rb
177
184
  bundler/lib/bundler/resolver/spec_group.rb
185
+ bundler/lib/bundler/resolver/strategy.rb
178
186
  bundler/lib/bundler/retry.rb
179
187
  bundler/lib/bundler/ruby_dsl.rb
180
188
  bundler/lib/bundler/ruby_version.rb
@@ -255,7 +263,7 @@ bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
255
263
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb
256
264
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb
257
265
  bundler/lib/bundler/vendor/fileutils/.document
258
- bundler/lib/bundler/vendor/fileutils/LICENSE.txt
266
+ bundler/lib/bundler/vendor/fileutils/COPYING
259
267
  bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb
260
268
  bundler/lib/bundler/vendor/net-http-persistent/.document
261
269
  bundler/lib/bundler/vendor/net-http-persistent/README.rdoc
@@ -275,12 +283,16 @@ bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb
275
283
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb
276
284
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
277
285
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb
286
+ bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb
278
287
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/term.rb
279
288
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version.rb
280
289
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb
281
290
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb
282
291
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb
283
292
  bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb
293
+ bundler/lib/bundler/vendor/securerandom/.document
294
+ bundler/lib/bundler/vendor/securerandom/COPYING
295
+ bundler/lib/bundler/vendor/securerandom/lib/securerandom.rb
284
296
  bundler/lib/bundler/vendor/thor/.document
285
297
  bundler/lib/bundler/vendor/thor/LICENSE.md
286
298
  bundler/lib/bundler/vendor/thor/lib/thor.rb
@@ -322,7 +334,7 @@ bundler/lib/bundler/vendor/tsort/.document
322
334
  bundler/lib/bundler/vendor/tsort/LICENSE.txt
323
335
  bundler/lib/bundler/vendor/tsort/lib/tsort.rb
324
336
  bundler/lib/bundler/vendor/uri/.document
325
- bundler/lib/bundler/vendor/uri/LICENSE.txt
337
+ bundler/lib/bundler/vendor/uri/COPYING
326
338
  bundler/lib/bundler/vendor/uri/lib/uri.rb
327
339
  bundler/lib/bundler/vendor/uri/lib/uri/common.rb
328
340
  bundler/lib/bundler/vendor/uri/lib/uri/file.rb
@@ -342,6 +354,7 @@ bundler/lib/bundler/vendored_fileutils.rb
342
354
  bundler/lib/bundler/vendored_net_http.rb
343
355
  bundler/lib/bundler/vendored_persistent.rb
344
356
  bundler/lib/bundler/vendored_pub_grub.rb
357
+ bundler/lib/bundler/vendored_securerandom.rb
345
358
  bundler/lib/bundler/vendored_thor.rb
346
359
  bundler/lib/bundler/vendored_timeout.rb
347
360
  bundler/lib/bundler/vendored_tsort.rb
@@ -350,6 +363,11 @@ bundler/lib/bundler/version.rb
350
363
  bundler/lib/bundler/vlad.rb
351
364
  bundler/lib/bundler/worker.rb
352
365
  bundler/lib/bundler/yaml_serializer.rb
366
+ doc/MAINTAINERS.txt
367
+ doc/bundler/UPGRADING.md
368
+ doc/rubygems/CONTRIBUTING.md
369
+ doc/rubygems/POLICIES.md
370
+ doc/rubygems/UPGRADING.md
353
371
  exe/gem
354
372
  exe/update_rubygems
355
373
  hide_lib_for_update/note.txt
@@ -383,6 +401,7 @@ lib/rubygems/commands/pristine_command.rb
383
401
  lib/rubygems/commands/push_command.rb
384
402
  lib/rubygems/commands/query_command.rb
385
403
  lib/rubygems/commands/rdoc_command.rb
404
+ lib/rubygems/commands/rebuild_command.rb
386
405
  lib/rubygems/commands/search_command.rb
387
406
  lib/rubygems/commands/server_command.rb
388
407
  lib/rubygems/commands/setup_command.rb
@@ -424,6 +443,7 @@ lib/rubygems/gemcutter_utilities.rb
424
443
  lib/rubygems/gemcutter_utilities/webauthn_listener.rb
425
444
  lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb
426
445
  lib/rubygems/gemcutter_utilities/webauthn_poller.rb
446
+ lib/rubygems/gemspec_helpers.rb
427
447
  lib/rubygems/install_default_message.rb
428
448
  lib/rubygems/install_message.rb
429
449
  lib/rubygems/install_update_options.rb
@@ -431,37 +451,7 @@ lib/rubygems/installer.rb
431
451
  lib/rubygems/installer_uninstaller_utils.rb
432
452
  lib/rubygems/local_remote_options.rb
433
453
  lib/rubygems/name_tuple.rb
434
- lib/rubygems/net-http/.document
435
- lib/rubygems/net-http/LICENSE.txt
436
- lib/rubygems/net-http/lib/net/http.rb
437
- lib/rubygems/net-http/lib/net/http/backward.rb
438
- lib/rubygems/net-http/lib/net/http/exceptions.rb
439
- lib/rubygems/net-http/lib/net/http/generic_request.rb
440
- lib/rubygems/net-http/lib/net/http/header.rb
441
- lib/rubygems/net-http/lib/net/http/proxy_delta.rb
442
- lib/rubygems/net-http/lib/net/http/request.rb
443
- lib/rubygems/net-http/lib/net/http/requests.rb
444
- lib/rubygems/net-http/lib/net/http/response.rb
445
- lib/rubygems/net-http/lib/net/http/responses.rb
446
- lib/rubygems/net-http/lib/net/http/status.rb
447
- lib/rubygems/net-http/lib/net/https.rb
448
- lib/rubygems/net-protocol/.document
449
- lib/rubygems/net-protocol/LICENSE.txt
450
- lib/rubygems/net-protocol/lib/net/protocol.rb
451
- lib/rubygems/net/http.rb
452
454
  lib/rubygems/openssl.rb
453
- lib/rubygems/optparse.rb
454
- lib/rubygems/optparse/.document
455
- lib/rubygems/optparse/COPYING
456
- lib/rubygems/optparse/lib/optionparser.rb
457
- lib/rubygems/optparse/lib/optparse.rb
458
- lib/rubygems/optparse/lib/optparse/ac.rb
459
- lib/rubygems/optparse/lib/optparse/date.rb
460
- lib/rubygems/optparse/lib/optparse/kwargs.rb
461
- lib/rubygems/optparse/lib/optparse/shellwords.rb
462
- lib/rubygems/optparse/lib/optparse/time.rb
463
- lib/rubygems/optparse/lib/optparse/uri.rb
464
- lib/rubygems/optparse/lib/optparse/version.rb
465
455
  lib/rubygems/package.rb
466
456
  lib/rubygems/package/digest_io.rb
467
457
  lib/rubygems/package/file_source.rb
@@ -489,9 +479,6 @@ lib/rubygems/request_set/lockfile.rb
489
479
  lib/rubygems/request_set/lockfile/parser.rb
490
480
  lib/rubygems/request_set/lockfile/tokenizer.rb
491
481
  lib/rubygems/requirement.rb
492
- lib/rubygems/resolv/.document
493
- lib/rubygems/resolv/LICENSE.txt
494
- lib/rubygems/resolv/lib/resolv.rb
495
482
  lib/rubygems/resolver.rb
496
483
  lib/rubygems/resolver/activation_request.rb
497
484
  lib/rubygems/resolver/api_set.rb
@@ -511,29 +498,6 @@ lib/rubygems/resolver/installer_set.rb
511
498
  lib/rubygems/resolver/local_specification.rb
512
499
  lib/rubygems/resolver/lock_set.rb
513
500
  lib/rubygems/resolver/lock_specification.rb
514
- lib/rubygems/resolver/molinillo.rb
515
- lib/rubygems/resolver/molinillo/.document
516
- lib/rubygems/resolver/molinillo/LICENSE
517
- lib/rubygems/resolver/molinillo/lib/molinillo.rb
518
- lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
519
- lib/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
520
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
521
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
522
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
523
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
524
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
525
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
526
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
527
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
528
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
529
- lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
530
- lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb
531
- lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
532
- lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
533
- lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
534
- lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
535
- lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
536
- lib/rubygems/resolver/molinillo/lib/molinillo/state.rb
537
501
  lib/rubygems/resolver/requirement_list.rb
538
502
  lib/rubygems/resolver/set.rb
539
503
  lib/rubygems/resolver/source_set.rb
@@ -556,7 +520,6 @@ lib/rubygems/security/policy.rb
556
520
  lib/rubygems/security/signer.rb
557
521
  lib/rubygems/security/trust_dir.rb
558
522
  lib/rubygems/security_option.rb
559
- lib/rubygems/shellwords.rb
560
523
  lib/rubygems/source.rb
561
524
  lib/rubygems/source/git.rb
562
525
  lib/rubygems/source/installed.rb
@@ -568,19 +531,13 @@ lib/rubygems/source_list.rb
568
531
  lib/rubygems/spec_fetcher.rb
569
532
  lib/rubygems/specification.rb
570
533
  lib/rubygems/specification_policy.rb
534
+ lib/rubygems/specification_record.rb
571
535
  lib/rubygems/ssl_certs/.document
572
536
  lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
573
537
  lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
574
538
  lib/rubygems/stub_specification.rb
539
+ lib/rubygems/target_rbconfig.rb
575
540
  lib/rubygems/text.rb
576
- lib/rubygems/timeout.rb
577
- lib/rubygems/timeout/.document
578
- lib/rubygems/timeout/LICENSE.txt
579
- lib/rubygems/timeout/lib/timeout.rb
580
- lib/rubygems/tsort.rb
581
- lib/rubygems/tsort/.document
582
- lib/rubygems/tsort/LICENSE.txt
583
- lib/rubygems/tsort/lib/tsort.rb
584
541
  lib/rubygems/uninstaller.rb
585
542
  lib/rubygems/unknown_command_spell_checker.rb
586
543
  lib/rubygems/update_suggestion.rb
@@ -591,6 +548,90 @@ lib/rubygems/util.rb
591
548
  lib/rubygems/util/licenses.rb
592
549
  lib/rubygems/util/list.rb
593
550
  lib/rubygems/validator.rb
551
+ lib/rubygems/vendor/molinillo/.document
552
+ lib/rubygems/vendor/molinillo/LICENSE
553
+ lib/rubygems/vendor/molinillo/lib/molinillo.rb
554
+ lib/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
555
+ lib/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb
556
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb
557
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb
558
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
559
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
560
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
561
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
562
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb
563
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb
564
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
565
+ lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb
566
+ lib/rubygems/vendor/molinillo/lib/molinillo/errors.rb
567
+ lib/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb
568
+ lib/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb
569
+ lib/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb
570
+ lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb
571
+ lib/rubygems/vendor/molinillo/lib/molinillo/resolver.rb
572
+ lib/rubygems/vendor/molinillo/lib/molinillo/state.rb
573
+ lib/rubygems/vendor/net-http/.document
574
+ lib/rubygems/vendor/net-http/COPYING
575
+ lib/rubygems/vendor/net-http/lib/net/http.rb
576
+ lib/rubygems/vendor/net-http/lib/net/http/exceptions.rb
577
+ lib/rubygems/vendor/net-http/lib/net/http/generic_request.rb
578
+ lib/rubygems/vendor/net-http/lib/net/http/header.rb
579
+ lib/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb
580
+ lib/rubygems/vendor/net-http/lib/net/http/request.rb
581
+ lib/rubygems/vendor/net-http/lib/net/http/requests.rb
582
+ lib/rubygems/vendor/net-http/lib/net/http/response.rb
583
+ lib/rubygems/vendor/net-http/lib/net/http/responses.rb
584
+ lib/rubygems/vendor/net-http/lib/net/http/status.rb
585
+ lib/rubygems/vendor/net-http/lib/net/https.rb
586
+ lib/rubygems/vendor/net-protocol/.document
587
+ lib/rubygems/vendor/net-protocol/LICENSE.txt
588
+ lib/rubygems/vendor/net-protocol/lib/net/protocol.rb
589
+ lib/rubygems/vendor/optparse/.document
590
+ lib/rubygems/vendor/optparse/COPYING
591
+ lib/rubygems/vendor/optparse/lib/optionparser.rb
592
+ lib/rubygems/vendor/optparse/lib/optparse.rb
593
+ lib/rubygems/vendor/optparse/lib/optparse/ac.rb
594
+ lib/rubygems/vendor/optparse/lib/optparse/date.rb
595
+ lib/rubygems/vendor/optparse/lib/optparse/kwargs.rb
596
+ lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb
597
+ lib/rubygems/vendor/optparse/lib/optparse/time.rb
598
+ lib/rubygems/vendor/optparse/lib/optparse/uri.rb
599
+ lib/rubygems/vendor/optparse/lib/optparse/version.rb
600
+ lib/rubygems/vendor/resolv/.document
601
+ lib/rubygems/vendor/resolv/COPYING
602
+ lib/rubygems/vendor/resolv/lib/resolv.rb
603
+ lib/rubygems/vendor/securerandom/.document
604
+ lib/rubygems/vendor/securerandom/COPYING
605
+ lib/rubygems/vendor/securerandom/lib/securerandom.rb
606
+ lib/rubygems/vendor/timeout/.document
607
+ lib/rubygems/vendor/timeout/COPYING
608
+ lib/rubygems/vendor/timeout/lib/timeout.rb
609
+ lib/rubygems/vendor/tsort/.document
610
+ lib/rubygems/vendor/tsort/LICENSE.txt
611
+ lib/rubygems/vendor/tsort/lib/tsort.rb
612
+ lib/rubygems/vendor/uri/.document
613
+ lib/rubygems/vendor/uri/COPYING
614
+ lib/rubygems/vendor/uri/lib/uri.rb
615
+ lib/rubygems/vendor/uri/lib/uri/common.rb
616
+ lib/rubygems/vendor/uri/lib/uri/file.rb
617
+ lib/rubygems/vendor/uri/lib/uri/ftp.rb
618
+ lib/rubygems/vendor/uri/lib/uri/generic.rb
619
+ lib/rubygems/vendor/uri/lib/uri/http.rb
620
+ lib/rubygems/vendor/uri/lib/uri/https.rb
621
+ lib/rubygems/vendor/uri/lib/uri/ldap.rb
622
+ lib/rubygems/vendor/uri/lib/uri/ldaps.rb
623
+ lib/rubygems/vendor/uri/lib/uri/mailto.rb
624
+ lib/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb
625
+ lib/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb
626
+ lib/rubygems/vendor/uri/lib/uri/version.rb
627
+ lib/rubygems/vendor/uri/lib/uri/ws.rb
628
+ lib/rubygems/vendor/uri/lib/uri/wss.rb
629
+ lib/rubygems/vendored_molinillo.rb
630
+ lib/rubygems/vendored_net_http.rb
631
+ lib/rubygems/vendored_optparse.rb
632
+ lib/rubygems/vendored_securerandom.rb
633
+ lib/rubygems/vendored_timeout.rb
634
+ lib/rubygems/vendored_tsort.rb
594
635
  lib/rubygems/version.rb
595
636
  lib/rubygems/version_option.rb
596
637
  lib/rubygems/yaml_serializer.rb
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RubyGems [![Maintainability](https://api.codeclimate.com/v1/badges/30f913e9c2dd932132c1/maintainability)](https://codeclimate.com/github/rubygems/rubygems/maintainability)
1
+ # RubyGems
2
2
 
3
3
  RubyGems is a package management framework for Ruby.
4
4
 
@@ -10,18 +10,23 @@ that can be shared and used by other developers. See our guide on publishing a G
10
10
 
11
11
  ## Getting Started
12
12
 
13
- Installing and managing a Gem is done through the `gem` command. To install a Gem such as [Nokogiri](https://github.com/sparklemotion/nokogiri) which lets
14
- you read and parse XML in Ruby:
13
+ Installing and managing a Gem is done through the `gem` command. To install a Gem such as [Faraday][faraday]:
15
14
 
16
- $ gem install nokogiri
15
+ ```bash
16
+ gem install faraday
17
+ ```
17
18
 
18
- RubyGems will download the Nokogiri Gem from RubyGems.org and install it into your Ruby environment.
19
+ [faraday]: https://github.com/lostisland/faraday?tab=readme-ov-file
19
20
 
20
- Finally, inside your Ruby program, load the Nokogiri gem and start parsing your XML:
21
+ RubyGems will download the Faraday Gem from RubyGems.org and install it into your Ruby environment.
21
22
 
22
- require 'nokogiri'
23
+ Finally, inside your Ruby program, load the Faraday gem and start hacking:
23
24
 
24
- Nokogiri.XML('<h1>Hello World</h1>')
25
+ ```ruby
26
+ require 'faraday'
27
+ response = Faraday.get('https://rubygems.org')
28
+ # do something with `response`...
29
+ ```
25
30
 
26
31
  For more information about how to use RubyGems, see our RubyGems basics guide at [guides.rubygems.org](https://guides.rubygems.org/rubygems-basics/)
27
32
 
@@ -60,7 +65,7 @@ To upgrade to the latest RubyGems, run:
60
65
 
61
66
  $ gem update --system
62
67
 
63
- See [UPGRADING](UPGRADING.md) for more details and alternative instructions.
68
+ See [UPGRADING](doc/bundler/UPGRADING.md) for more details and alternative instructions.
64
69
 
65
70
  ## Release policy
66
71
 
@@ -81,7 +86,7 @@ The release policy is somewhat similar to the release policy of Ruby itself:
81
86
  ## Documentation
82
87
 
83
88
  RubyGems uses [rdoc](https://github.com/rdoc/rdoc) for documentation. A compiled set of the docs
84
- can be viewed online at [rubydoc](https://www.rubydoc.info/github/rubygems/rubygems).
89
+ can be viewed online at [docs.ruby-lang.org](https://docs.ruby-lang.org/en/master/Gem.html).
85
90
 
86
91
  RubyGems also provides a comprehensive set of guides which covers numerous topics such as
87
92
  creating a new gem, security practices and other resources at https://guides.rubygems.org
@@ -105,7 +110,7 @@ RubyGems is managed by [Ruby Central](https://rubycentral.org), a non-profit org
105
110
 
106
111
  ### Contributing
107
112
 
108
- If you'd like to contribute to RubyGems, that's awesome, and we <3 you. Check out our [guide to contributing](CONTRIBUTING.md) for more information.
113
+ If you'd like to contribute to RubyGems, that's awesome, and we <3 you. Check out our [guide to contributing](doc/rubygems/CONTRIBUTING.md) for more information.
109
114
 
110
115
  ### Code of Conduct
111
116