rubygems-update 3.2.15 → 3.2.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (343) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +155 -9
  3. data/CONTRIBUTING.md +2 -2
  4. data/Manifest.txt +11 -8
  5. data/bundler/CHANGELOG.md +204 -6
  6. data/bundler/bundler.gemspec +2 -3
  7. data/bundler/lib/bundler/build_metadata.rb +2 -2
  8. data/bundler/lib/bundler/cli/cache.rb +1 -1
  9. data/bundler/lib/bundler/cli/check.rb +4 -2
  10. data/bundler/lib/bundler/cli/common.rb +15 -2
  11. data/bundler/lib/bundler/cli/doctor.rb +12 -2
  12. data/bundler/lib/bundler/cli/exec.rb +1 -6
  13. data/bundler/lib/bundler/cli/gem.rb +12 -3
  14. data/bundler/lib/bundler/cli/install.rb +10 -24
  15. data/bundler/lib/bundler/cli/list.rb +7 -1
  16. data/bundler/lib/bundler/cli/lock.rb +5 -1
  17. data/bundler/lib/bundler/cli/open.rb +1 -2
  18. data/bundler/lib/bundler/cli/outdated.rb +10 -11
  19. data/bundler/lib/bundler/cli/remove.rb +1 -2
  20. data/bundler/lib/bundler/cli/update.rb +9 -4
  21. data/bundler/lib/bundler/cli.rb +29 -44
  22. data/bundler/lib/bundler/compact_index_client/updater.rb +9 -5
  23. data/bundler/lib/bundler/current_ruby.rb +5 -4
  24. data/bundler/lib/bundler/definition.rb +75 -175
  25. data/bundler/lib/bundler/dsl.rb +23 -21
  26. data/bundler/lib/bundler/errors.rb +1 -1
  27. data/bundler/lib/bundler/feature_flag.rb +0 -4
  28. data/bundler/lib/bundler/fetcher/compact_index.rb +1 -1
  29. data/bundler/lib/bundler/fetcher/downloader.rb +9 -6
  30. data/bundler/lib/bundler/fetcher/index.rb +0 -1
  31. data/bundler/lib/bundler/fetcher.rb +2 -1
  32. data/bundler/lib/bundler/friendly_errors.rb +2 -4
  33. data/bundler/lib/bundler/gem_helper.rb +16 -0
  34. data/bundler/lib/bundler/index.rb +2 -7
  35. data/bundler/lib/bundler/injector.rb +2 -2
  36. data/bundler/lib/bundler/inline.rb +1 -1
  37. data/bundler/lib/bundler/installer/gem_installer.rb +3 -16
  38. data/bundler/lib/bundler/installer/standalone.rb +14 -9
  39. data/bundler/lib/bundler/installer.rb +5 -13
  40. data/bundler/lib/bundler/lazy_specification.rb +3 -3
  41. data/bundler/lib/bundler/lockfile_parser.rb +3 -20
  42. data/bundler/lib/bundler/man/bundle-add.1 +1 -1
  43. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  44. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  47. data/bundler/lib/bundler/man/bundle-config.1 +21 -13
  48. data/bundler/lib/bundler/man/bundle-config.1.ronn +21 -14
  49. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  50. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  51. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  52. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  53. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  54. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  55. data/bundler/lib/bundler/man/bundle-install.1 +1 -1
  56. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  57. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  58. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  59. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  60. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  61. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  62. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  63. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  64. data/bundler/lib/bundler/man/bundle-update.1 +4 -4
  65. data/bundler/lib/bundler/man/bundle-update.1.ronn +3 -3
  66. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  67. data/bundler/lib/bundler/man/bundle.1 +1 -1
  68. data/bundler/lib/bundler/man/gemfile.5 +1 -1
  69. data/bundler/lib/bundler/plugin/api/source.rb +14 -0
  70. data/bundler/lib/bundler/plugin/index.rb +4 -1
  71. data/bundler/lib/bundler/plugin/installer.rb +3 -1
  72. data/bundler/lib/bundler/plugin.rb +27 -8
  73. data/bundler/lib/bundler/resolver/spec_group.rb +0 -24
  74. data/bundler/lib/bundler/resolver.rb +24 -112
  75. data/bundler/lib/bundler/retry.rb +1 -1
  76. data/bundler/lib/bundler/rubygems_ext.rb +24 -8
  77. data/bundler/lib/bundler/rubygems_gem_installer.rb +5 -1
  78. data/bundler/lib/bundler/rubygems_integration.rb +6 -3
  79. data/bundler/lib/bundler/runtime.rb +16 -9
  80. data/bundler/lib/bundler/settings.rb +95 -20
  81. data/bundler/lib/bundler/setup.rb +2 -2
  82. data/bundler/lib/bundler/shared_helpers.rb +0 -7
  83. data/bundler/lib/bundler/source/git/git_proxy.rb +1 -2
  84. data/bundler/lib/bundler/source/rubygems.rb +47 -26
  85. data/bundler/lib/bundler/source/rubygems_aggregate.rb +68 -0
  86. data/bundler/lib/bundler/source.rb +15 -0
  87. data/bundler/lib/bundler/source_list.rb +82 -27
  88. data/bundler/lib/bundler/source_map.rb +58 -0
  89. data/bundler/lib/bundler/spec_set.rb +14 -30
  90. data/bundler/lib/bundler/templates/Executable.bundler +6 -6
  91. data/bundler/lib/bundler/templates/Gemfile +1 -1
  92. data/bundler/lib/bundler/templates/gems.rb +1 -1
  93. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +15 -6
  94. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +5 -3
  95. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +1 -1
  96. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +1 -1
  97. data/bundler/lib/bundler/vendor/tmpdir/lib/tmpdir.rb +1 -1
  98. data/bundler/lib/bundler/version.rb +1 -1
  99. data/bundler/lib/bundler/worker.rb +17 -2
  100. data/bundler/lib/bundler.rb +17 -27
  101. data/lib/rubygems/command.rb +2 -0
  102. data/lib/rubygems/command_manager.rb +3 -3
  103. data/lib/rubygems/commands/build_command.rb +4 -4
  104. data/lib/rubygems/commands/cert_command.rb +44 -40
  105. data/lib/rubygems/commands/check_command.rb +4 -4
  106. data/lib/rubygems/commands/cleanup_command.rb +3 -3
  107. data/lib/rubygems/commands/contents_command.rb +2 -2
  108. data/lib/rubygems/commands/dependency_command.rb +3 -3
  109. data/lib/rubygems/commands/environment_command.rb +1 -1
  110. data/lib/rubygems/commands/fetch_command.rb +3 -3
  111. data/lib/rubygems/commands/generate_index_command.rb +2 -2
  112. data/lib/rubygems/commands/help_command.rb +1 -1
  113. data/lib/rubygems/commands/info_command.rb +2 -2
  114. data/lib/rubygems/commands/install_command.rb +13 -12
  115. data/lib/rubygems/commands/list_command.rb +2 -2
  116. data/lib/rubygems/commands/lock_command.rb +1 -1
  117. data/lib/rubygems/commands/mirror_command.rb +1 -1
  118. data/lib/rubygems/commands/open_command.rb +3 -3
  119. data/lib/rubygems/commands/outdated_command.rb +4 -4
  120. data/lib/rubygems/commands/owner_command.rb +4 -4
  121. data/lib/rubygems/commands/pristine_command.rb +5 -5
  122. data/lib/rubygems/commands/push_command.rb +4 -4
  123. data/lib/rubygems/commands/query_command.rb +3 -3
  124. data/lib/rubygems/commands/rdoc_command.rb +3 -3
  125. data/lib/rubygems/commands/search_command.rb +2 -2
  126. data/lib/rubygems/commands/server_command.rb +3 -3
  127. data/lib/rubygems/commands/setup_command.rb +5 -5
  128. data/lib/rubygems/commands/signin_command.rb +2 -2
  129. data/lib/rubygems/commands/signout_command.rb +1 -1
  130. data/lib/rubygems/commands/sources_command.rb +4 -4
  131. data/lib/rubygems/commands/specification_command.rb +4 -4
  132. data/lib/rubygems/commands/stale_command.rb +1 -1
  133. data/lib/rubygems/commands/uninstall_command.rb +3 -3
  134. data/lib/rubygems/commands/unpack_command.rb +5 -5
  135. data/lib/rubygems/commands/update_command.rb +9 -9
  136. data/lib/rubygems/commands/which_command.rb +1 -1
  137. data/lib/rubygems/commands/yank_command.rb +5 -5
  138. data/lib/rubygems/config_file.rb +5 -5
  139. data/lib/rubygems/defaults.rb +1 -1
  140. data/lib/rubygems/dependency_installer.rb +8 -8
  141. data/lib/rubygems/dependency_list.rb +1 -1
  142. data/lib/rubygems/deprecate.rb +3 -1
  143. data/lib/rubygems/doctor.rb +2 -2
  144. data/lib/rubygems/exceptions.rb +1 -1
  145. data/lib/rubygems/ext/builder.rb +1 -0
  146. data/lib/rubygems/ext/ext_conf_builder.rb +5 -6
  147. data/lib/rubygems/ext/rake_builder.rb +1 -2
  148. data/lib/rubygems/gem_runner.rb +3 -3
  149. data/lib/rubygems/gemcutter_utilities.rb +14 -6
  150. data/lib/rubygems/indexer.rb +3 -3
  151. data/lib/rubygems/install_default_message.rb +2 -2
  152. data/lib/rubygems/install_message.rb +2 -2
  153. data/lib/rubygems/install_update_options.rb +2 -2
  154. data/lib/rubygems/installer.rb +26 -10
  155. data/lib/rubygems/local_remote_options.rb +1 -1
  156. data/lib/rubygems/mock_gem_ui.rb +1 -1
  157. data/lib/rubygems/package/io_source.rb +4 -0
  158. data/lib/rubygems/package/tar_reader.rb +1 -1
  159. data/lib/rubygems/package.rb +13 -20
  160. data/lib/rubygems/package_task.rb +2 -2
  161. data/lib/rubygems/platform.rb +2 -1
  162. data/lib/rubygems/rdoc.rb +1 -1
  163. data/lib/rubygems/remote_fetcher.rb +14 -21
  164. data/lib/rubygems/request.rb +6 -6
  165. data/lib/rubygems/request_set/lockfile/tokenizer.rb +1 -1
  166. data/lib/rubygems/request_set/lockfile.rb +1 -1
  167. data/lib/rubygems/request_set.rb +4 -4
  168. data/lib/rubygems/requirement.rb +3 -22
  169. data/lib/rubygems/resolver/git_specification.rb +1 -1
  170. data/lib/rubygems/resolver/installer_set.rb +3 -3
  171. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb +1 -1
  172. data/lib/rubygems/resolver/molinillo.rb +1 -1
  173. data/lib/rubygems/resolver/set.rb +0 -1
  174. data/lib/rubygems/resolver/specification.rb +1 -1
  175. data/lib/rubygems/resolver.rb +31 -31
  176. data/lib/rubygems/s3_uri_signer.rb +0 -1
  177. data/lib/rubygems/safe_yaml.rb +0 -2
  178. data/lib/rubygems/security/policy.rb +1 -1
  179. data/lib/rubygems/security/signer.rb +1 -1
  180. data/lib/rubygems/security.rb +5 -5
  181. data/lib/rubygems/security_option.rb +2 -2
  182. data/lib/rubygems/server.rb +2 -2
  183. data/lib/rubygems/source.rb +6 -6
  184. data/lib/rubygems/spec_fetcher.rb +5 -5
  185. data/lib/rubygems/specification.rb +15 -19
  186. data/lib/rubygems/specification_policy.rb +7 -6
  187. data/lib/rubygems/uninstaller.rb +42 -11
  188. data/lib/rubygems/uri.rb +111 -0
  189. data/lib/rubygems/user_interaction.rb +2 -2
  190. data/lib/rubygems/util/licenses.rb +108 -3
  191. data/lib/rubygems/validator.rb +2 -2
  192. data/lib/rubygems/version_option.rb +1 -1
  193. data/lib/rubygems.rb +40 -50
  194. data/rubygems-update.gemspec +1 -1
  195. data/setup.rb +1 -2
  196. data/test/rubygems/data/null-type.gemspec.rz +0 -0
  197. data/{lib/rubygems/test_case.rb → test/rubygems/helper.rb} +122 -37
  198. data/{lib → test}/rubygems/installer_test_case.rb +1 -1
  199. data/{lib → test}/rubygems/package/tar_test_case.rb +1 -1
  200. data/test/rubygems/packages/ascii_binder-0.1.10.1.gem +0 -0
  201. data/test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem +0 -0
  202. data/test/rubygems/test_bundled_ca.rb +3 -3
  203. data/test/rubygems/test_config.rb +1 -1
  204. data/test/rubygems/test_deprecate.rb +50 -6
  205. data/test/rubygems/test_gem.rb +219 -163
  206. data/test/rubygems/test_gem_available_set.rb +1 -1
  207. data/test/rubygems/test_gem_bundler_version_finder.rb +4 -6
  208. data/test/rubygems/test_gem_command.rb +14 -2
  209. data/test/rubygems/test_gem_command_manager.rb +6 -6
  210. data/test/rubygems/test_gem_commands_build_command.rb +11 -11
  211. data/test/rubygems/test_gem_commands_cert_command.rb +37 -37
  212. data/test/rubygems/test_gem_commands_check_command.rb +6 -6
  213. data/test/rubygems/test_gem_commands_cleanup_command.rb +25 -25
  214. data/test/rubygems/test_gem_commands_contents_command.rb +4 -4
  215. data/test/rubygems/test_gem_commands_dependency_command.rb +3 -3
  216. data/test/rubygems/test_gem_commands_environment_command.rb +2 -2
  217. data/test/rubygems/test_gem_commands_fetch_command.rb +10 -10
  218. data/test/rubygems/test_gem_commands_generate_index_command.rb +1 -1
  219. data/test/rubygems/test_gem_commands_help_command.rb +9 -2
  220. data/test/rubygems/test_gem_commands_info_command.rb +1 -1
  221. data/test/rubygems/test_gem_commands_install_command.rb +86 -61
  222. data/test/rubygems/test_gem_commands_list_command.rb +2 -2
  223. data/test/rubygems/test_gem_commands_lock_command.rb +2 -2
  224. data/test/rubygems/test_gem_commands_mirror.rb +1 -1
  225. data/test/rubygems/test_gem_commands_open_command.rb +9 -10
  226. data/test/rubygems/test_gem_commands_outdated_command.rb +1 -1
  227. data/test/rubygems/test_gem_commands_owner_command.rb +4 -4
  228. data/test/rubygems/test_gem_commands_pristine_command.rb +15 -15
  229. data/test/rubygems/test_gem_commands_push_command.rb +7 -12
  230. data/test/rubygems/test_gem_commands_query_command.rb +8 -8
  231. data/test/rubygems/test_gem_commands_search_command.rb +1 -1
  232. data/test/rubygems/test_gem_commands_server_command.rb +3 -3
  233. data/test/rubygems/test_gem_commands_setup_command.rb +25 -25
  234. data/test/rubygems/test_gem_commands_signin_command.rb +14 -7
  235. data/test/rubygems/test_gem_commands_signout_command.rb +1 -1
  236. data/test/rubygems/test_gem_commands_sources_command.rb +6 -6
  237. data/test/rubygems/test_gem_commands_specification_command.rb +7 -7
  238. data/test/rubygems/test_gem_commands_stale_command.rb +1 -1
  239. data/test/rubygems/test_gem_commands_uninstall_command.rb +5 -5
  240. data/test/rubygems/test_gem_commands_unpack_command.rb +3 -3
  241. data/test/rubygems/test_gem_commands_update_command.rb +11 -11
  242. data/test/rubygems/test_gem_commands_which_command.rb +4 -4
  243. data/test/rubygems/test_gem_commands_yank_command.rb +2 -2
  244. data/test/rubygems/test_gem_config_file.rb +10 -10
  245. data/test/rubygems/test_gem_dependency.rb +13 -7
  246. data/test/rubygems/test_gem_dependency_installer.rb +5 -5
  247. data/test/rubygems/test_gem_dependency_list.rb +1 -1
  248. data/test/rubygems/test_gem_dependency_resolution_error.rb +1 -1
  249. data/test/rubygems/test_gem_doctor.rb +31 -31
  250. data/test/rubygems/test_gem_ext_builder.rb +24 -21
  251. data/test/rubygems/test_gem_ext_cmake_builder.rb +5 -5
  252. data/test/rubygems/test_gem_ext_configure_builder.rb +5 -5
  253. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +15 -14
  254. data/test/rubygems/test_gem_ext_rake_builder.rb +4 -2
  255. data/test/rubygems/test_gem_gem_runner.rb +1 -1
  256. data/test/rubygems/test_gem_gemcutter_utilities.rb +21 -15
  257. data/test/rubygems/test_gem_impossible_dependencies_error.rb +1 -1
  258. data/test/rubygems/test_gem_indexer.rb +1 -1
  259. data/test/rubygems/test_gem_install_update_options.rb +10 -10
  260. data/test/rubygems/test_gem_installer.rb +186 -142
  261. data/test/rubygems/test_gem_local_remote_options.rb +2 -2
  262. data/test/rubygems/test_gem_name_tuple.rb +1 -1
  263. data/test/rubygems/test_gem_package.rb +58 -51
  264. data/test/rubygems/test_gem_package_old.rb +10 -10
  265. data/test/rubygems/test_gem_package_tar_header.rb +6 -6
  266. data/test/rubygems/test_gem_package_tar_reader.rb +1 -1
  267. data/test/rubygems/test_gem_package_tar_reader_entry.rb +9 -9
  268. data/test/rubygems/test_gem_package_tar_writer.rb +19 -21
  269. data/test/rubygems/test_gem_package_task.rb +3 -3
  270. data/test/rubygems/test_gem_path_support.rb +2 -2
  271. data/test/rubygems/test_gem_platform.rb +2 -1
  272. data/test/rubygems/test_gem_rdoc.rb +10 -10
  273. data/test/rubygems/test_gem_remote_fetcher.rb +48 -19
  274. data/test/rubygems/test_gem_request.rb +38 -12
  275. data/test/rubygems/test_gem_request_connection_pools.rb +2 -2
  276. data/test/rubygems/test_gem_request_set.rb +16 -15
  277. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +17 -17
  278. data/test/rubygems/test_gem_request_set_lockfile.rb +4 -4
  279. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +4 -4
  280. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +5 -5
  281. data/test/rubygems/test_gem_requirement.rb +48 -14
  282. data/test/rubygems/test_gem_resolver.rb +12 -12
  283. data/test/rubygems/test_gem_resolver_activation_request.rb +1 -1
  284. data/test/rubygems/test_gem_resolver_api_set.rb +1 -1
  285. data/test/rubygems/test_gem_resolver_api_specification.rb +1 -1
  286. data/test/rubygems/test_gem_resolver_best_set.rb +2 -2
  287. data/test/rubygems/test_gem_resolver_composed_set.rb +1 -1
  288. data/test/rubygems/test_gem_resolver_conflict.rb +1 -1
  289. data/test/rubygems/test_gem_resolver_dependency_request.rb +1 -1
  290. data/test/rubygems/test_gem_resolver_git_set.rb +2 -2
  291. data/test/rubygems/test_gem_resolver_git_specification.rb +4 -3
  292. data/test/rubygems/test_gem_resolver_index_set.rb +1 -1
  293. data/test/rubygems/test_gem_resolver_index_specification.rb +2 -2
  294. data/test/rubygems/test_gem_resolver_installed_specification.rb +1 -1
  295. data/test/rubygems/test_gem_resolver_installer_set.rb +23 -5
  296. data/test/rubygems/test_gem_resolver_local_specification.rb +2 -2
  297. data/test/rubygems/test_gem_resolver_lock_set.rb +1 -1
  298. data/test/rubygems/test_gem_resolver_lock_specification.rb +1 -1
  299. data/test/rubygems/test_gem_resolver_requirement_list.rb +1 -1
  300. data/test/rubygems/test_gem_resolver_specification.rb +2 -2
  301. data/test/rubygems/test_gem_resolver_vendor_set.rb +3 -3
  302. data/test/rubygems/test_gem_resolver_vendor_specification.rb +1 -1
  303. data/test/rubygems/test_gem_security.rb +6 -6
  304. data/test/rubygems/test_gem_security_policy.rb +28 -28
  305. data/test/rubygems/test_gem_security_signer.rb +8 -8
  306. data/test/rubygems/test_gem_security_trust_dir.rb +5 -5
  307. data/test/rubygems/test_gem_server.rb +7 -7
  308. data/test/rubygems/test_gem_silent_ui.rb +10 -10
  309. data/test/rubygems/test_gem_source.rb +3 -3
  310. data/test/rubygems/test_gem_source_fetch_problem.rb +2 -2
  311. data/test/rubygems/test_gem_source_git.rb +12 -12
  312. data/test/rubygems/test_gem_source_installed.rb +1 -1
  313. data/test/rubygems/test_gem_source_list.rb +1 -1
  314. data/test/rubygems/test_gem_source_local.rb +1 -1
  315. data/test/rubygems/test_gem_source_lock.rb +1 -1
  316. data/test/rubygems/test_gem_source_specific_file.rb +2 -2
  317. data/test/rubygems/test_gem_source_subpath_problem.rb +1 -1
  318. data/test/rubygems/test_gem_source_vendor.rb +1 -1
  319. data/test/rubygems/test_gem_spec_fetcher.rb +2 -2
  320. data/test/rubygems/test_gem_specification.rb +101 -271
  321. data/test/rubygems/test_gem_stream_ui.rb +2 -2
  322. data/test/rubygems/test_gem_stub_specification.rb +5 -5
  323. data/test/rubygems/test_gem_text.rb +1 -1
  324. data/test/rubygems/test_gem_uninstaller.rb +26 -19
  325. data/test/rubygems/test_gem_unsatisfiable_dependency_error.rb +1 -1
  326. data/test/rubygems/test_gem_uri.rb +39 -0
  327. data/test/rubygems/test_gem_uri_formatter.rb +1 -1
  328. data/test/rubygems/test_gem_util.rb +9 -7
  329. data/test/rubygems/test_gem_validator.rb +1 -1
  330. data/test/rubygems/test_gem_version.rb +5 -14
  331. data/test/rubygems/test_gem_version_option.rb +1 -1
  332. data/test/rubygems/test_kernel.rb +7 -5
  333. data/test/rubygems/test_project_sanity.rb +2 -2
  334. data/test/rubygems/test_remote_fetch_error.rb +2 -2
  335. data/test/rubygems/test_require.rb +13 -15
  336. data/test/rubygems/test_rubygems.rb +44 -0
  337. data/{lib/rubygems/test_utilities.rb → test/rubygems/utilities.rb} +1 -3
  338. data/test/test_changelog_generator.rb +1 -2
  339. metadata +14 -11
  340. data/Rakefile +0 -402
  341. data/lib/rubygems/syck_hack.rb +0 -77
  342. data/lib/rubygems/uri_parser.rb +0 -34
  343. data/lib/rubygems/uri_parsing.rb +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12f7d1b385b073b255590e0eee7807d5bb588ab877a9928e5edee6f3701e47b6
4
- data.tar.gz: 425d632864b300c71cd1d62e9fdd045f94f4a6a088dbfc0a3a29977950958787
3
+ metadata.gz: ef3b3d5da1e7cb11b95714c00fa4e0b0026112870503550c694d5c502dab5339
4
+ data.tar.gz: 7ec21881232ed07b1061a4570f5af5e80246f74cd20e8a27592f45c609c70f8d
5
5
  SHA512:
6
- metadata.gz: ed5579f01a5c0a2d832779331df8900db7e0ed9bc6dc03f6f449ff76f9552f378d771424354629fbc34bd2ace0a9ab486cf79743065ece6d89d832a79383b97a
7
- data.tar.gz: bf54441188feb5c8388676a46713113097aa978270514a3bcadf12564f8dd50ec671c0067c55727a927e7f6dfac27ce05bf13ba04731a44e749ce8c1b16d0470
6
+ metadata.gz: 4806038e2893fd4957e02b09f6ed6289ec5759142c8ba3329500b5423aa4d1e6dddeb3f2f218667bfd17791b886f0a7d436b465795368217d9ee7e94d0e4479f
7
+ data.tar.gz: 680548baf911d819513df953d56005d4bf59f903d5a37dc0fb24eb057f5e0cf7bcf77cad9821efb9962f95c13353f0858538ddc1ebc5844f31f8237d83e48c4b
data/CHANGELOG.md CHANGED
@@ -1,4 +1,150 @@
1
- # 3.2.15 / 2021-03-18
1
+ # 3.2.28 / 2021-09-23
2
+
3
+ ## Enhancements:
4
+
5
+ * Support MINGW-UCRT. Pull request #4925 by hsbt
6
+ * Only check if descriptions *start with* FIXME/TODO. Pull request #4841
7
+ by duckinator
8
+ * Avoid loading `uri` unnecessarily when activating gems. Pull request
9
+ #4897 by deivid-rodriguez
10
+
11
+ ## Bug fixes:
12
+
13
+ * Fix redacted credentials being sent to gemserver. Pull request #4919 by
14
+ jdliss
15
+
16
+ # 3.2.27 / 2021-09-03
17
+
18
+ ## Enhancements:
19
+
20
+ * Redact credentails when printing URI. Pull request #4868 by intuxicated
21
+ * Prefer `require_relative` to `require` for internal requires. Pull
22
+ request #4858 by deivid-rodriguez
23
+ * Prioritise gems with higher version for fetching metadata, and stop
24
+ fetching once we find a valid candidate. Pull request #4843 by intuxicated
25
+
26
+ # 3.2.26 / 2021-08-17
27
+
28
+ ## Enhancements:
29
+
30
+ * Enhance the error handling for loading the
31
+ `rubygems/defaults/operating_system` file. Pull request #4824 by
32
+ intuxicated
33
+ * Ignore `RUBYGEMS_GEMDEPS` for the bundler gem. Pull request #4532 by
34
+ deivid-rodriguez
35
+
36
+ ## Bug fixes:
37
+
38
+ * Also load user installed rubygems plugins. Pull request #4829 by
39
+ deivid-rodriguez
40
+
41
+ # 3.2.25 / 2021-07-30
42
+
43
+ ## Enhancements:
44
+
45
+ * Don't load the `base64` library since it's not used. Pull request #4785
46
+ by deivid-rodriguez
47
+ * Don't load the `resolv` library since it's not used. Pull request #4784
48
+ by deivid-rodriguez
49
+ * Lazily load `shellwords` library. Pull request #4783 by deivid-rodriguez
50
+ * Check requirements class before loading marshalled requirements. Pull
51
+ request #4651 by nobu
52
+
53
+ ## Bug fixes:
54
+
55
+ * Add missing `require 'fileutils'` in `Gem::ConfigFile`. Pull request
56
+ #4768 by ybiquitous
57
+
58
+ # 3.2.24 / 2021-07-15
59
+
60
+ ## Bug fixes:
61
+
62
+ * Fix contradictory message about deletion of default gem. Pull request
63
+ #4739 by jaredbeck
64
+
65
+ ## Documentation:
66
+
67
+ * Add a description about `GEM_HOST_OTP_CODE` to help text. Pull request
68
+ #4742 by ybiquitous
69
+
70
+ # 3.2.23 / 2021-07-09
71
+
72
+ ## Enhancements:
73
+
74
+ * Rewind IO source to allow working with contents in memory. Pull request
75
+ #4729 by drcapulet
76
+
77
+ # 3.2.22 / 2021-07-06
78
+
79
+ ## Enhancements:
80
+
81
+ * Allow setting `--otp` via `GEM_HOST_OTP_CODE`. Pull request #4697 by
82
+ CGA1123
83
+ * Fixes for the edge case when openssl library is missing. Pull request
84
+ #4695 by rhenium
85
+
86
+ # 3.2.21 / 2021-06-23
87
+
88
+ ## Enhancements:
89
+
90
+ * Fix typo in OpenSSL detection. Pull request #4679 by osyoyu
91
+ * Add the most recent licenses from spdx.org. Pull request #4662 by nobu
92
+ * Simplify setup.rb code to allow installing rubygems from source on
93
+ truffleruby 21.0 and 21.1. Pull request #4624 by deivid-rodriguez
94
+
95
+ ## Bug fixes:
96
+
97
+ * Create credentials folder when setting API keys if not there yet. Pull
98
+ request #4665 by deivid-rodriguez
99
+
100
+ # 3.2.20 / 2021-06-11
101
+
102
+ ## Security fixes:
103
+
104
+ * Verify plaform before installing to avoid potential remote code
105
+ execution. Pull request #4667 by sonalkr132
106
+
107
+ ## Enhancements:
108
+
109
+ * Add better specification policy error description. Pull request #4658 by
110
+ ceritium
111
+
112
+ # 3.2.19 / 2021-05-31
113
+
114
+ ## Enhancements:
115
+
116
+ * Fix `gem help build` output format. Pull request #4613 by tnir
117
+
118
+ # 3.2.18 / 2021-05-25
119
+
120
+ ## Enhancements:
121
+
122
+ * Don't leave temporary directory around when building extensions to
123
+ improve build reproducibility. Pull request #4610 by baloo
124
+
125
+ # 3.2.17 / 2021-05-05
126
+
127
+ ## Enhancements:
128
+
129
+ * Only print month & year in deprecation messages. Pull request #3085 by
130
+ Schwad
131
+ * Make deprecate method support ruby3's keyword arguments. Pull request
132
+ #4558 by mame
133
+ * Update the default bindir on macOS. Pull request #4524 by nobu
134
+ * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
135
+
136
+ ## Documentation:
137
+
138
+ * Fix usage messages to reflect the current POSIX-compatible behaviour.
139
+ Pull request #4551 by graywolf-at-work
140
+
141
+ # 3.2.16 / 2021-04-08
142
+
143
+ ## Bug fixes:
144
+
145
+ * Correctly handle symlinks. Pull request #2836 by voxik
146
+
147
+ # 3.2.15 / 2021-03-19
2
148
 
3
149
  ## Enhancements:
4
150
 
@@ -717,7 +863,7 @@
717
863
  * Clean which command. Pull request #2801 by Luis Sagastume.
718
864
  * Upgrading S3 source signature to AWS SigV4. Pull request #2807 by
719
865
  Alexander Pakulov.
720
- * Remove missleading comment, no reason to move Gem.host to Gem::Util.
866
+ * Remove misleading comment, no reason to move Gem.host to Gem::Util.
721
867
  Pull request #2811 by Luis Sagastume.
722
868
  * Drop support for 'gem env packageversion'. Pull request #2813 by Luis
723
869
  Sagastume.
@@ -1717,7 +1863,7 @@ Security fixes:
1717
1863
  * Clean up the PathSupport object. Pull request #1094 by Aaron Patterson.
1718
1864
  * Join with File::PATH_SEPARATOR in Gem.use_paths. Pull request #1476 by
1719
1865
  Samuel E. Giddins.
1720
- * Handle when the gem home and gem path arent set in the config file. Pull
1866
+ * Handle when the gem home and gem path aren't set in the config file. Pull
1721
1867
  request #1478 by Samuel E. Giddins.
1722
1868
  * Terminate TimeoutHandler. Pull request #1479 by Nobuyoshi Nakada.
1723
1869
  * Remove redundant cache. Pull request #1482 by Eileen M. Uchitelle.
@@ -2062,7 +2208,7 @@ This release was sponsored by Ruby Central.
2062
2208
  * Fixed activating gems from a Gemfile for default gems. Issue #991 by khoan.
2063
2209
  * Fixed windows stub script generation for Cygwin. Issue #1000 by Brett
2064
2210
  DiFrischia.
2065
- * Allow gem bindir and ruby.exe to live in separate diretories. Pull request
2211
+ * Allow gem bindir and ruby.exe to live in separate directories. Pull request
2066
2212
  #942 by Ian Flynn.
2067
2213
  * Fixed handling of gemspec in gem dependencies files to match Bundler
2068
2214
  behavior. Issue #1020 by Michal Papis.
@@ -2156,7 +2302,7 @@ This release was sponsored by Ruby Central.
2156
2302
  * Gem.use_gemdeps now accepts an argument specifying the path of the gem
2157
2303
  dependencies file. When the file is not found an ArgumentError is raised.
2158
2304
  * Writing a .lock file for a gem dependencies file is now controlled by the
2159
- --[no-]lock option. Pull reuqest #774 by Jeremy Evans.
2305
+ --[no-]lock option. Pull request #774 by Jeremy Evans.
2160
2306
  * Suggestion of alternate names and spelling corrections during install can be
2161
2307
  suppressed with the --no-suggestions option. Issue #867 by Jimmy Cuadra.
2162
2308
  * Added mswin64 support. Pull request #881 by U. Nakamura.
@@ -2255,7 +2401,7 @@ This release was sponsored by Ruby Central.
2255
2401
  * Check for nil extensions as BasicSpecification does not initialize them.
2256
2402
  Pull request #882 by André Arko.
2257
2403
  * Fixed Gem::BasicSpecification#require_paths receives a String for
2258
- @require_paths. Pull requrest #904 by @danielpclark
2404
+ @require_paths. Pull request #904 by @danielpclark
2259
2405
  * Fixed circular require warnings. Bug #908 by Zachary Scott.
2260
2406
  * Gem::Specification#require_paths can no longer accidentally be an Array.
2261
2407
  Pull requests #904, #909 by Daniel P. Clark.
@@ -3691,7 +3837,7 @@ build arguments.
3691
3837
  * Fixed `gem contents` to work with the lightweight specifications
3692
3838
  * Fixed `gem update --system x.y.z` where x.y.z == latest version. (MGPalmer)
3693
3839
  * Fixed gem contents sorting and tests. (MGPalmer)
3694
- * Fixed intermittant problem in `gem fetch` with --platform specified (quix)
3840
+ * Fixed intermittent problem in `gem fetch` with --platform specified (quix)
3695
3841
  * Fixed lightweight specifications so `gem rdoc` will generate proper
3696
3842
  documentation
3697
3843
  * MockGemUI#terminate_interaction should not raise Gem::SystemExitException.
@@ -4372,7 +4518,7 @@ For a full list of changes to RubyGems, see the ChangeLog file.
4372
4518
  installation
4373
4519
  * Multi-version diamond dependencies only are installed once
4374
4520
  * Processing a YAML bulk index update takes less memory
4375
- * `gem install -i` makes sure all depenencies are installed
4521
+ * `gem install -i` makes sure all dependencies are installed
4376
4522
  * `gem update --system` reinstalls into the prefix it was originally installed
4377
4523
  in
4378
4524
  * `gem update --system` respects --no-rdoc and --no-ri flags
@@ -4412,7 +4558,7 @@ Special thanks to:
4412
4558
 
4413
4559
  If you are experiencing problems with the source index (e.g. strange
4414
4560
  "No Method" errors), or problems with zlib (e.g. "Buffer Error"
4415
- messsage), we recommend upgrading to RubyGems 0.9.4.
4561
+ message), we recommend upgrading to RubyGems 0.9.4.
4416
4562
 
4417
4563
  ## Bug fixes:
4418
4564
 
data/CONTRIBUTING.md CHANGED
@@ -114,7 +114,7 @@ listed in rough progression order from submitted to closed.
114
114
  * **ready** - An issue that is available for collaboration. This issue
115
115
  should have existing discussion on the problem, and a description of how
116
116
  to go about solving it.
117
- * **working** - An issue that has a specific invidual assigned to and
117
+ * **working** - An issue that has a specific individual assigned to and
118
118
  planning to do work on it.
119
119
  * **user feedback required** - The issue/pull request is blocked pending
120
120
  more feedback from an end user
@@ -132,7 +132,7 @@ closed reason labels are maroon `closed: *`.
132
132
 
133
133
  * **duplicate** - This is a duplicate of an existing bug. The comments must
134
134
  reference the existing issue.
135
- * **abandonded** - This is an issue/pull request that has aged off, is no
135
+ * **abandoned** - This is an issue/pull request that has aged off, is no
136
136
  longer applicable or similar.
137
137
  * **declined** - An issue that won't be fixed/implemented or a pull request
138
138
  that is not accepted.
data/Manifest.txt CHANGED
@@ -7,7 +7,6 @@ MIT.txt
7
7
  Manifest.txt
8
8
  POLICIES.md
9
9
  README.md
10
- Rakefile
11
10
  UPGRADING.md
12
11
  bin/gem
13
12
  bin/update_rubygems
@@ -180,7 +179,9 @@ bundler/lib/bundler/source/path.rb
180
179
  bundler/lib/bundler/source/path/installer.rb
181
180
  bundler/lib/bundler/source/rubygems.rb
182
181
  bundler/lib/bundler/source/rubygems/remote.rb
182
+ bundler/lib/bundler/source/rubygems_aggregate.rb
183
183
  bundler/lib/bundler/source_list.rb
184
+ bundler/lib/bundler/source_map.rb
184
185
  bundler/lib/bundler/spec_set.rb
185
186
  bundler/lib/bundler/stub_specification.rb
186
187
  bundler/lib/bundler/templates/.document
@@ -377,7 +378,6 @@ lib/rubygems/install_default_message.rb
377
378
  lib/rubygems/install_message.rb
378
379
  lib/rubygems/install_update_options.rb
379
380
  lib/rubygems/installer.rb
380
- lib/rubygems/installer_test_case.rb
381
381
  lib/rubygems/installer_uninstaller_utils.rb
382
382
  lib/rubygems/local_remote_options.rb
383
383
  lib/rubygems/mock_gem_ui.rb
@@ -392,7 +392,6 @@ lib/rubygems/package/source.rb
392
392
  lib/rubygems/package/tar_header.rb
393
393
  lib/rubygems/package/tar_reader.rb
394
394
  lib/rubygems/package/tar_reader/entry.rb
395
- lib/rubygems/package/tar_test_case.rb
396
395
  lib/rubygems/package/tar_writer.rb
397
396
  lib/rubygems/package_task.rb
398
397
  lib/rubygems/path_support.rb
@@ -484,14 +483,10 @@ lib/rubygems/ssl_certs/.document
484
483
  lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
485
484
  lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
486
485
  lib/rubygems/stub_specification.rb
487
- lib/rubygems/syck_hack.rb
488
- lib/rubygems/test_case.rb
489
- lib/rubygems/test_utilities.rb
490
486
  lib/rubygems/text.rb
491
487
  lib/rubygems/uninstaller.rb
488
+ lib/rubygems/uri.rb
492
489
  lib/rubygems/uri_formatter.rb
493
- lib/rubygems/uri_parser.rb
494
- lib/rubygems/uri_parsing.rb
495
490
  lib/rubygems/user_interaction.rb
496
491
  lib/rubygems/util.rb
497
492
  lib/rubygems/util/licenses.rb
@@ -526,6 +521,8 @@ test/rubygems/good_rake.rb
526
521
  test/rubygems/grandchild_cert.pem
527
522
  test/rubygems/grandchild_cert_32.pem
528
523
  test/rubygems/grandchild_key.pem
524
+ test/rubygems/helper.rb
525
+ test/rubygems/installer_test_case.rb
529
526
  test/rubygems/invalid_client.pem
530
527
  test/rubygems/invalid_issuer_cert.pem
531
528
  test/rubygems/invalid_issuer_cert_32.pem
@@ -535,6 +532,9 @@ test/rubygems/invalid_signer_cert_32.pem
535
532
  test/rubygems/invalidchild_cert.pem
536
533
  test/rubygems/invalidchild_cert_32.pem
537
534
  test/rubygems/invalidchild_key.pem
535
+ test/rubygems/package/tar_test_case.rb
536
+ test/rubygems/packages/ascii_binder-0.1.10.1.gem
537
+ test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem
538
538
  test/rubygems/plugin/exception/rubygems_plugin.rb
539
539
  test/rubygems/plugin/load/rubygems_plugin.rb
540
540
  test/rubygems/plugin/standarderror/rubygems_plugin.rb
@@ -677,6 +677,7 @@ test/rubygems/test_gem_stub_specification.rb
677
677
  test/rubygems/test_gem_text.rb
678
678
  test/rubygems/test_gem_uninstaller.rb
679
679
  test/rubygems/test_gem_unsatisfiable_dependency_error.rb
680
+ test/rubygems/test_gem_uri.rb
680
681
  test/rubygems/test_gem_uri_formatter.rb
681
682
  test/rubygems/test_gem_util.rb
682
683
  test/rubygems/test_gem_validator.rb
@@ -686,6 +687,8 @@ test/rubygems/test_kernel.rb
686
687
  test/rubygems/test_project_sanity.rb
687
688
  test/rubygems/test_remote_fetch_error.rb
688
689
  test/rubygems/test_require.rb
690
+ test/rubygems/test_rubygems.rb
691
+ test/rubygems/utilities.rb
689
692
  test/rubygems/wrong_key_cert.pem
690
693
  test/rubygems/wrong_key_cert_32.pem
691
694
  test/test_changelog_generator.rb
data/bundler/CHANGELOG.md CHANGED
@@ -1,4 +1,202 @@
1
- # 2.2.15 (March 18, 2021)
1
+ # 2.2.28 (September 23, 2021)
2
+
3
+ ## Enhancements:
4
+
5
+ - Use example.com in new gem template, since it will never have a potentially dangerous backing website [#4918](https://github.com/rubygems/rubygems/pull/4918)
6
+ - Deprecate `--install` flag to `bundle remove` and trigger install by default [#4891](https://github.com/rubygems/rubygems/pull/4891)
7
+
8
+ # 2.2.27 (September 3, 2021)
9
+
10
+ ## Enhancements:
11
+
12
+ - Optimize some requires [#4887](https://github.com/rubygems/rubygems/pull/4887)
13
+ - Correctly redact credentials when using x-oauth-basic [#4866](https://github.com/rubygems/rubygems/pull/4866)
14
+
15
+ ## Bug fixes:
16
+
17
+ - Add missing key `branches:` to template for GitHub Actions [#4883](https://github.com/rubygems/rubygems/pull/4883)
18
+ - Fix `bundle plugin install` detection of already installed plugins [#4869](https://github.com/rubygems/rubygems/pull/4869)
19
+ - Make plugin installation idempotent [#4864](https://github.com/rubygems/rubygems/pull/4864)
20
+ - Fix `bundle check` showing duplicated gems when multiple platforms are locked [#4854](https://github.com/rubygems/rubygems/pull/4854)
21
+ - Fix `bundle check` incorrectly considering cached gems [#4853](https://github.com/rubygems/rubygems/pull/4853)
22
+
23
+ # 2.2.26 (August 17, 2021)
24
+
25
+ ## Enhancements:
26
+
27
+ - Remove `RUBYGEMS_GEMDEPS` warning [#4827](https://github.com/rubygems/rubygems/pull/4827)
28
+ - Better defaults for GitHub Actions template generated by `bundle gem` [#4619](https://github.com/rubygems/rubygems/pull/4619)
29
+ - Make `bundle exec` keep file descriptors by default [#4812](https://github.com/rubygems/rubygems/pull/4812)
30
+ - Exclude gemspec file itself from file list of gems generated by `bundle gem` [#4650](https://github.com/rubygems/rubygems/pull/4650)
31
+ - Fix a couple small typos in deprecation / error messages [#4806](https://github.com/rubygems/rubygems/pull/4806)
32
+ - Make script generated by `bundle install --standalone` resilient to moving the application to a differently nested folder when `path` sources are used [#4792](https://github.com/rubygems/rubygems/pull/4792)
33
+ - Exclude CI files and issue templates from file list of gems generated by `bundle gem` [#4033](https://github.com/rubygems/rubygems/pull/4033)
34
+
35
+ ## Bug fixes:
36
+
37
+ - Respect `BUNDLE_USER_HOME` env when choosing config location [#4828](https://github.com/rubygems/rubygems/pull/4828)
38
+ - Fix `bundle gem` on path with spaces [#4816](https://github.com/rubygems/rubygems/pull/4816)
39
+ - Fix bundler hitting the network in some cases where not allowed [#4805](https://github.com/rubygems/rubygems/pull/4805)
40
+
41
+ # 2.2.25 (July 30, 2021)
42
+
43
+ ## Deprecations:
44
+
45
+ - Deprecate Gemfile without an explicit global source [#4779](https://github.com/rubygems/rubygems/pull/4779)
46
+ - Deprecate `bundle cache --path` [#4496](https://github.com/rubygems/rubygems/pull/4496)
47
+
48
+ ## Enhancements:
49
+
50
+ - Give better errors when materialization fails [#4788](https://github.com/rubygems/rubygems/pull/4788)
51
+ - Lazily load `shellwords` library [#4786](https://github.com/rubygems/rubygems/pull/4786)
52
+ - Show original error and backtrace directly on `bundle install` errors instead of a more brittle `gem install` hint [#4778](https://github.com/rubygems/rubygems/pull/4778)
53
+ - Remove LoadError message in regards to requiring a relative file [#4772](https://github.com/rubygems/rubygems/pull/4772)
54
+
55
+ ## Bug fixes:
56
+
57
+ - Fix `BUNDLE_USER_CONFIG` no longer respected as config location [#4797](https://github.com/rubygems/rubygems/pull/4797)
58
+ - Fix `--standalone` installation of default gems [#4782](https://github.com/rubygems/rubygems/pull/4782)
59
+ - Fix `--quiet` flag not printing warnings [#4781](https://github.com/rubygems/rubygems/pull/4781)
60
+ - Fix bundler binstub version selection [#4775](https://github.com/rubygems/rubygems/pull/4775)
61
+ - Fix interrupt handling in Bundler workers [#4767](https://github.com/rubygems/rubygems/pull/4767)
62
+
63
+ # 2.2.24 (July 15, 2021)
64
+
65
+ ## Bug fixes:
66
+
67
+ - Fix development gem unintentionally removed on an edge case [#4751](https://github.com/rubygems/rubygems/pull/4751)
68
+ - Fix dangling empty plugin hooks [#4755](https://github.com/rubygems/rubygems/pull/4755)
69
+ - Fix `bundle plugin install --help` showing `bundle install`'s help [#4756](https://github.com/rubygems/rubygems/pull/4756)
70
+ - Make sure `bundle check` shows uniq missing gems [#4749](https://github.com/rubygems/rubygems/pull/4749)
71
+
72
+ ## Performance:
73
+
74
+ - Slightly speed up `bundler/setup` [#4750](https://github.com/rubygems/rubygems/pull/4750)
75
+
76
+ # 2.2.23 (July 9, 2021)
77
+
78
+ ## Enhancements:
79
+
80
+ - Fix `bundle install` on truffleruby selecting incorrect variant for `sorbet-static` gem [#4625](https://github.com/rubygems/rubygems/pull/4625)
81
+ - Spare meaningless warning on read-only bundle invocations [#4724](https://github.com/rubygems/rubygems/pull/4724)
82
+
83
+ ## Bug fixes:
84
+
85
+ - Fix incorrect warning about duplicated gems in the Gemfile [#4732](https://github.com/rubygems/rubygems/pull/4732)
86
+ - Fix `bundle plugin install foo` crashing [#4734](https://github.com/rubygems/rubygems/pull/4734)
87
+
88
+ # 2.2.22 (July 6, 2021)
89
+
90
+ ## Enhancements:
91
+
92
+ - Never downgrade indirect dependencies when running `bundle update` [#4713](https://github.com/rubygems/rubygems/pull/4713)
93
+ - Fix `getaddrinfo` errors not treated as fatal on non darwin platforms [#4703](https://github.com/rubygems/rubygems/pull/4703)
94
+
95
+ ## Bug fixes:
96
+
97
+ - Fix `bundle update <gem>` sometimes hanging and `bundle lock --update` not being able to update an insecure lockfile to the new format if it requires downgrades [#4652](https://github.com/rubygems/rubygems/pull/4652)
98
+ - Fix edge case combination of DSL methods and duplicated sources causing gems to not be found [#4711](https://github.com/rubygems/rubygems/pull/4711)
99
+ - Fix `bundle doctor` crashing when finding a broken symlink [#4707](https://github.com/rubygems/rubygems/pull/4707)
100
+ - Fix incorrect re-resolve edge case [#4700](https://github.com/rubygems/rubygems/pull/4700)
101
+ - Fix some gems being unintentionally locked under multiple lockfile sections [#4701](https://github.com/rubygems/rubygems/pull/4701)
102
+ - Fix `--conservative` flag unexpectedly updating indirect dependencies [#4692](https://github.com/rubygems/rubygems/pull/4692)
103
+
104
+ # 2.2.21 (June 23, 2021)
105
+
106
+ ## Security fixes:
107
+
108
+ - Auto-update insecure lockfile to split GEM source sections whenever possible [#4647](https://github.com/rubygems/rubygems/pull/4647)
109
+
110
+ ## Enhancements:
111
+
112
+ - Use a more limited number of threads when fetching in parallel from the Compact Index API [#4670](https://github.com/rubygems/rubygems/pull/4670)
113
+ - Update TODO link in bundle gem template to https [#4671](https://github.com/rubygems/rubygems/pull/4671)
114
+
115
+ ## Bug fixes:
116
+
117
+ - Fix `bundle install --local` hitting the network when `cache_all_platforms` configured [#4677](https://github.com/rubygems/rubygems/pull/4677)
118
+
119
+ # 2.2.20 (June 11, 2021)
120
+
121
+ ## Enhancements:
122
+
123
+ - Don't print bug report template on server side errors [#4663](https://github.com/rubygems/rubygems/pull/4663)
124
+ - Don't load `resolv` unnecessarily [#4640](https://github.com/rubygems/rubygems/pull/4640)
125
+
126
+ ## Bug fixes:
127
+
128
+ - Fix `bundle outdated` edge case [#4648](https://github.com/rubygems/rubygems/pull/4648)
129
+ - Fix `bundle check` with scoped rubygems sources [#4639](https://github.com/rubygems/rubygems/pull/4639)
130
+
131
+ ## Performance:
132
+
133
+ - Don't use `extra_rdoc_files` with md files in gemspec to make installing bundler with docs faster [#4628](https://github.com/rubygems/rubygems/pull/4628)
134
+
135
+ # 2.2.19 (May 31, 2021)
136
+
137
+ ## Bug fixes:
138
+
139
+ - Restore support for configuration keys with dashes [#4582](https://github.com/rubygems/rubygems/pull/4582)
140
+ - Fix some cached gems being unintentionally ignored when using rubygems 3.2.18 [#4623](https://github.com/rubygems/rubygems/pull/4623)
141
+
142
+ # 2.2.18 (May 25, 2021)
143
+
144
+ ## Security fixes:
145
+
146
+ - Fix dependency confusion issues with implicit dependencies [#4609](https://github.com/rubygems/rubygems/pull/4609)
147
+
148
+ ## Enhancements:
149
+
150
+ - Use simpler notation for generated `required_ruby_version` [#4598](https://github.com/rubygems/rubygems/pull/4598)
151
+ - Undeprecate bundle show [#4586](https://github.com/rubygems/rubygems/pull/4586)
152
+ - Make sure link to new issue uses the proper template [#4592](https://github.com/rubygems/rubygems/pull/4592)
153
+
154
+ ## Bug fixes:
155
+
156
+ - Fix platform specific gems being removed from the lockfile [#4580](https://github.com/rubygems/rubygems/pull/4580)
157
+
158
+ # 2.2.17 (May 5, 2021)
159
+
160
+ ## Enhancements:
161
+
162
+ - Improve authentication required error message to include an alternative using `ENV` [#4565](https://github.com/rubygems/rubygems/pull/4565)
163
+ - Discard partial range responses without etag [#4563](https://github.com/rubygems/rubygems/pull/4563)
164
+ - Fix configuring ENV for a gem server with a name including dashes [#4571](https://github.com/rubygems/rubygems/pull/4571)
165
+ - Redact credentials from `bundle env` and `bundle config` [#4566](https://github.com/rubygems/rubygems/pull/4566)
166
+ - Redact all sources in verbose mode [#4564](https://github.com/rubygems/rubygems/pull/4564)
167
+ - Improve `bundle pristine` error if `BUNDLE_GEMFILE` does not exist [#4536](https://github.com/rubygems/rubygems/pull/4536)
168
+ - [CurrentRuby] Add 3.0 as a known minor [#4535](https://github.com/rubygems/rubygems/pull/4535)
169
+ - Prefer File.read instead of IO.read [#4530](https://github.com/rubygems/rubygems/pull/4530)
170
+ - Add space after open curly bracket in Gemfile and gems.rb template [#4518](https://github.com/rubygems/rubygems/pull/4518)
171
+
172
+ ## Bug fixes:
173
+
174
+ - Make sure specs are fetched from the right source when materializing [#4562](https://github.com/rubygems/rubygems/pull/4562)
175
+ - Fix `bundle cache` with an up-to-date lockfile and specs not already installed [#4554](https://github.com/rubygems/rubygems/pull/4554)
176
+ - Ignore `deployment` setting in inline mode [#4523](https://github.com/rubygems/rubygems/pull/4523)
177
+
178
+ ## Performance:
179
+
180
+ - Don't materialize resolutions when not necessary [#4556](https://github.com/rubygems/rubygems/pull/4556)
181
+
182
+ # 2.2.16 (April 8, 2021)
183
+
184
+ ## Enhancements:
185
+
186
+ - Add `--github-username` option and config to `bundle gem` [#3687](https://github.com/rubygems/rubygems/pull/3687)
187
+ - Bump vendored `tmpdir` library copy [#4506](https://github.com/rubygems/rubygems/pull/4506)
188
+ - Add `rake build:checksum` task to build checksums for a gem package [#4156](https://github.com/rubygems/rubygems/pull/4156)
189
+ - Enable bundler-cache for GitHub Actions template [#4498](https://github.com/rubygems/rubygems/pull/4498)
190
+ - Improve `bundle info` error when gem is on a "disabled" group [#4492](https://github.com/rubygems/rubygems/pull/4492)
191
+ - Small tweak to yank message [#4494](https://github.com/rubygems/rubygems/pull/4494)
192
+ - Don't show duplicate entries in `bundle outdated` output [#4474](https://github.com/rubygems/rubygems/pull/4474)
193
+ - Never downgrade top level gems when running `bundle update` [#4473](https://github.com/rubygems/rubygems/pull/4473)
194
+
195
+ ## Bug fixes:
196
+
197
+ - Fix incorrect logic for filtering metadata matching candidates [#4497](https://github.com/rubygems/rubygems/pull/4497)
198
+
199
+ # 2.2.15 (March 19, 2021)
2
200
 
3
201
  ## Enhancements:
4
202
 
@@ -455,7 +653,7 @@
455
653
  - Ignore `frozen` setting in inline mode ([#7125](https://github.com/rubygems/bundler/pull/7125))
456
654
  - Fix incorrect "bundler attempted to update GEM but version stayed the same" message when updating git sourced gems ([#6325](https://github.com/rubygems/bundler/pull/6325))
457
655
  - Don't check for existence of a writable home directory if `BUNDLE_USER_HOME` is set ([#6885](https://github.com/rubygems/bundler/pull/6885))
458
- - Fix error message when server would respond to a bad username/password requiest with a 401 ([#6928](https://github.com/rubygems/bundler/pull/6928))
656
+ - Fix error message when server would respond to a bad username/password request with a 401 ([#6928](https://github.com/rubygems/bundler/pull/6928))
459
657
  - Fix `bundle outdated` pluralization when multiple groups are requested ([#7063](https://github.com/rubygems/bundler/pull/7063))
460
658
  - Fix `bundle install` not updating conservatively when gemspec is changed ([#7143](https://github.com/rubygems/bundler/pull/7143))
461
659
  - Fix `bundle exec` not respecting custom process titles inside scripts ([#7140](https://github.com/rubygems/bundler/pull/7140))
@@ -2100,7 +2298,7 @@ Changes
2100
2298
  - fix Bundler.which for directories ([#2697](https://github.com/rubygems/bundler/issues/2697), @rhysd)
2101
2299
  - properly require `Capistrano::Version` ([#2690](https://github.com/rubygems/bundler/issues/2690), @steveklabnik)
2102
2300
  - search for git.exe and git
2103
- - fix the bug that downloads every spec when API fetcher encouters an error
2301
+ - fix the bug that downloads every spec when API fetcher encounters an error
2104
2302
  - only retry network requests
2105
2303
 
2106
2304
  # 1.4.0.rc.1 (September 29, 2013)
@@ -2724,7 +2922,7 @@ Changes
2724
2922
 
2725
2923
  - Implement `to_ary` to avoid calls to method_missing (@tenderlove, [#1274](https://github.com/rubygems/bundler/issues/1274))
2726
2924
  - bundle clean removes old .gem files (@cldwalker, [#1293](https://github.com/rubygems/bundler/issues/1293))
2727
- - Correcly identify missing child dependency in error message
2925
+ - Correctly identify missing child dependency in error message
2728
2926
  - Run pre-install, post-build, and post-install gem hooks for git gems (@warhammerkid, [#1120](https://github.com/rubygems/bundler/issues/1120))
2729
2927
  - create Gemfile.lock for empty Gemfile ([#1218](https://github.com/rubygems/bundler/issues/1218))
2730
2928
 
@@ -2875,7 +3073,7 @@ Changes
2875
3073
 
2876
3074
  - Performance fix for MRI 1.9 (@efficientcloud, [#1288](https://github.com/rubygems/bundler/issues/1288))
2877
3075
  - Shortcuts (like `bundle i`) for all commands (@amatsuda)
2878
- - Correcly identify missing child dependency in error message
3076
+ - Correctly identify missing child dependency in error message
2879
3077
 
2880
3078
  ## Bug fixes:
2881
3079
 
@@ -3111,7 +3309,7 @@ Changes
3111
3309
 
3112
3310
  - Various bugfixes to the built-in rake helpers
3113
3311
  - Fix a bug where shortrefs weren't unique enough and were
3114
- therfore colliding
3312
+ therefore colliding
3115
3313
  - Fix a small bug involving checking whether a local git
3116
3314
  clone is up to date
3117
3315
  - Correctly handle explicit '=' dependencies with gems
@@ -34,13 +34,12 @@ Gem::Specification.new do |s|
34
34
  s.required_ruby_version = ">= 2.3.0"
35
35
  s.required_rubygems_version = ">= 2.5.2"
36
36
 
37
- s.files = Dir.glob("{lib,exe}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
37
+ s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
38
38
 
39
- # Include the CHANGELOG.md, LICENSE.md, README.md manually
40
- s.files += %w[CHANGELOG.md LICENSE.md README.md]
41
39
  # include the gemspec itself because warbler breaks w/o it
42
40
  s.files += %w[bundler.gemspec]
43
41
 
42
+ s.files += %w[CHANGELOG.md LICENSE.md README.md]
44
43
  s.bindir = "exe"
45
44
  s.executables = %w[bundle bundler]
46
45
  s.require_paths = ["lib"]
@@ -4,8 +4,8 @@ module Bundler
4
4
  # Represents metadata from when the Bundler gem was built.
5
5
  module BuildMetadata
6
6
  # begin ivars
7
- @built_at = "2021-03-19".freeze
8
- @git_commit_sha = "3dbcc68293".freeze
7
+ @built_at = "2021-09-23".freeze
8
+ @git_commit_sha = "99b72cbd55".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -9,7 +9,7 @@ module Bundler
9
9
  end
10
10
 
11
11
  def run
12
- Bundler.ui.level = "error" if options[:quiet]
12
+ Bundler.ui.level = "warn" if options[:quiet]
13
13
  Bundler.settings.set_command_option_if_given :path, options[:path]
14
14
  Bundler.settings.set_command_option_if_given :cache_path, options["cache-path"]
15
15
 
@@ -11,9 +11,11 @@ module Bundler
11
11
  def run
12
12
  Bundler.settings.set_command_option_if_given :path, options[:path]
13
13
 
14
+ definition = Bundler.definition
15
+ definition.validate_runtime!
16
+
14
17
  begin
15
- definition = Bundler.definition
16
- definition.validate_runtime!
18
+ definition.resolve_only_locally!
17
19
  not_installed = definition.missing_specs
18
20
  rescue GemNotFound, VersionConflict
19
21
  Bundler.ui.error "Bundler can't satisfy your Gemfile's dependencies."