rubygems-update 3.2.27 → 3.3.5

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 (275) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +284 -4
  3. data/CONTRIBUTING.md +40 -10
  4. data/Manifest.txt +39 -6
  5. data/POLICIES.md +22 -8
  6. data/README.md +9 -7
  7. data/UPGRADING.md +5 -81
  8. data/bin/gem +1 -6
  9. data/bundler/CHANGELOG.md +164 -1
  10. data/bundler/README.md +1 -1
  11. data/bundler/exe/bundle +7 -8
  12. data/bundler/lib/bundler/.document +1 -0
  13. data/bundler/lib/bundler/build_metadata.rb +2 -2
  14. data/bundler/lib/bundler/cli/doctor.rb +3 -2
  15. data/bundler/lib/bundler/cli/gem.rb +88 -9
  16. data/bundler/lib/bundler/cli/info.rb +16 -4
  17. data/bundler/lib/bundler/cli/install.rb +2 -3
  18. data/bundler/lib/bundler/cli/issue.rb +4 -3
  19. data/bundler/lib/bundler/cli/remove.rb +1 -2
  20. data/bundler/lib/bundler/cli/update.rb +8 -4
  21. data/bundler/lib/bundler/cli.rb +13 -11
  22. data/bundler/lib/bundler/compact_index_client/cache.rb +0 -9
  23. data/bundler/lib/bundler/compact_index_client/updater.rb +0 -5
  24. data/bundler/lib/bundler/compact_index_client.rb +2 -8
  25. data/bundler/lib/bundler/definition.rb +73 -134
  26. data/bundler/lib/bundler/dependency.rb +5 -7
  27. data/bundler/lib/bundler/digest.rb +71 -0
  28. data/bundler/lib/bundler/dsl.rb +18 -30
  29. data/bundler/lib/bundler/endpoint_specification.rb +21 -11
  30. data/bundler/lib/bundler/environment_preserver.rb +4 -1
  31. data/bundler/lib/bundler/errors.rb +18 -2
  32. data/bundler/lib/bundler/fetcher/compact_index.rb +9 -14
  33. data/bundler/lib/bundler/fetcher/index.rb +0 -26
  34. data/bundler/lib/bundler/fetcher.rb +8 -15
  35. data/bundler/lib/bundler/friendly_errors.rb +5 -30
  36. data/bundler/lib/bundler/gem_helper.rb +7 -18
  37. data/bundler/lib/bundler/injector.rb +10 -1
  38. data/bundler/lib/bundler/installer/gem_installer.rb +1 -6
  39. data/bundler/lib/bundler/installer.rb +1 -4
  40. data/bundler/lib/bundler/lazy_specification.rb +19 -3
  41. data/bundler/lib/bundler/lockfile_generator.rb +1 -1
  42. data/bundler/lib/bundler/lockfile_parser.rb +10 -12
  43. data/bundler/lib/bundler/man/bundle-add.1 +10 -2
  44. data/bundler/lib/bundler/man/bundle-add.1.ronn +7 -1
  45. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  47. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  48. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  49. data/bundler/lib/bundler/man/bundle-config.1 +5 -5
  50. data/bundler/lib/bundler/man/bundle-config.1.ronn +5 -5
  51. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  52. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  53. data/bundler/lib/bundler/man/bundle-gem.1 +14 -1
  54. data/bundler/lib/bundler/man/bundle-gem.1.ronn +16 -0
  55. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  56. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  57. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  58. data/bundler/lib/bundler/man/bundle-install.1 +2 -2
  59. data/bundler/lib/bundler/man/bundle-install.1.ronn +2 -2
  60. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  61. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  62. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  63. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  64. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  65. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  66. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  67. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  68. data/bundler/lib/bundler/man/bundle-update.1 +2 -2
  69. data/bundler/lib/bundler/man/bundle-update.1.ronn +2 -1
  70. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  71. data/bundler/lib/bundler/man/bundle.1 +1 -1
  72. data/bundler/lib/bundler/man/gemfile.5 +28 -2
  73. data/bundler/lib/bundler/man/gemfile.5.ronn +9 -1
  74. data/bundler/lib/bundler/plugin/api/source.rb +1 -0
  75. data/bundler/lib/bundler/plugin/installer.rb +1 -1
  76. data/bundler/lib/bundler/process_lock.rb +1 -1
  77. data/bundler/lib/bundler/psyched_yaml.rb +1 -13
  78. data/bundler/lib/bundler/resolver/spec_group.rb +1 -1
  79. data/bundler/lib/bundler/resolver.rb +33 -36
  80. data/bundler/lib/bundler/ruby_version.rb +1 -1
  81. data/bundler/lib/bundler/rubygems_ext.rb +6 -0
  82. data/bundler/lib/bundler/rubygems_gem_installer.rb +21 -5
  83. data/bundler/lib/bundler/rubygems_integration.rb +37 -57
  84. data/bundler/lib/bundler/runtime.rb +2 -2
  85. data/bundler/lib/bundler/self_manager.rb +168 -0
  86. data/bundler/lib/bundler/settings.rb +1 -0
  87. data/bundler/lib/bundler/shared_helpers.rb +4 -12
  88. data/bundler/lib/bundler/source/git/git_proxy.rb +7 -4
  89. data/bundler/lib/bundler/source/git.rb +22 -4
  90. data/bundler/lib/bundler/source/metadata.rb +1 -1
  91. data/bundler/lib/bundler/source/rubygems.rb +52 -84
  92. data/bundler/lib/bundler/source/rubygems_aggregate.rb +1 -1
  93. data/bundler/lib/bundler/source.rb +1 -1
  94. data/bundler/lib/bundler/source_list.rb +7 -29
  95. data/bundler/lib/bundler/spec_set.rb +1 -1
  96. data/bundler/lib/bundler/templates/Executable.bundler +1 -1
  97. data/bundler/lib/bundler/templates/Gemfile +0 -2
  98. data/bundler/lib/bundler/templates/gems.rb +0 -3
  99. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +5 -2
  100. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +15 -2
  101. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +2 -2
  102. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +15 -15
  103. data/bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  104. data/bundler/lib/bundler/templates/newgem/standard.yml.tt +2 -0
  105. data/bundler/lib/bundler/templates/newgem/test/minitest/{newgem_test.rb.tt → test_newgem.rb.tt} +1 -1
  106. data/bundler/lib/bundler/ui/shell.rb +1 -1
  107. data/bundler/lib/bundler/vendor/.document +1 -0
  108. data/bundler/lib/bundler/vendor/connection_pool/LICENSE +20 -0
  109. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +19 -21
  110. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
  111. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +57 -0
  112. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +39 -74
  113. data/bundler/lib/bundler/vendor/fileutils/LICENSE.txt +22 -0
  114. data/bundler/lib/bundler/vendor/molinillo/LICENSE +9 -0
  115. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  116. data/bundler/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
  117. data/bundler/lib/bundler/vendor/thor/LICENSE.md +20 -0
  118. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +6 -6
  119. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +1 -2
  120. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +6 -2
  121. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +6 -0
  122. data/bundler/lib/bundler/vendor/thor/lib/thor/error.rb +9 -4
  123. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +19 -1
  124. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +22 -4
  125. data/bundler/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
  126. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  127. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  128. data/bundler/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
  129. data/bundler/lib/bundler/vendor/tsort/lib/tsort.rb +453 -0
  130. data/bundler/lib/bundler/vendor/uri/LICENSE.txt +22 -0
  131. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +17 -80
  132. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +0 -1
  133. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +5 -6
  134. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +0 -1
  135. data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +0 -1
  136. data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +1 -1
  137. data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +0 -1
  138. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +1 -14
  139. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +1 -12
  140. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  141. data/bundler/lib/bundler/vendor/uri/lib/uri/ws.rb +84 -0
  142. data/bundler/lib/bundler/vendor/uri/lib/uri/wss.rb +22 -0
  143. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +0 -1
  144. data/bundler/lib/bundler/vendored_tsort.rb +4 -0
  145. data/bundler/lib/bundler/version.rb +1 -1
  146. data/bundler/lib/bundler/worker.rb +2 -2
  147. data/bundler/lib/bundler.rb +11 -4
  148. data/hide_lib_for_update/note.txt +0 -4
  149. data/lib/rubygems/bundler_version_finder.rb +10 -42
  150. data/lib/rubygems/command.rb +4 -4
  151. data/lib/rubygems/command_manager.rb +4 -2
  152. data/lib/rubygems/commands/cert_command.rb +18 -11
  153. data/lib/rubygems/commands/fetch_command.rb +28 -9
  154. data/lib/rubygems/commands/install_command.rb +5 -2
  155. data/lib/rubygems/commands/pristine_command.rb +8 -2
  156. data/lib/rubygems/commands/server_command.rb +14 -77
  157. data/lib/rubygems/commands/setup_command.rb +85 -77
  158. data/lib/rubygems/commands/uninstall_command.rb +1 -1
  159. data/lib/rubygems/commands/update_command.rb +14 -8
  160. data/lib/rubygems/core_ext/tcpsocket_init.rb +2 -2
  161. data/lib/rubygems/defaults.rb +3 -21
  162. data/lib/rubygems/dependency.rb +7 -7
  163. data/lib/rubygems/dependency_list.rb +2 -2
  164. data/lib/rubygems/deprecate.rb +53 -6
  165. data/lib/rubygems/errors.rb +1 -5
  166. data/lib/rubygems/exceptions.rb +31 -1
  167. data/lib/rubygems/ext/builder.rb +11 -8
  168. data/lib/rubygems/ext/cmake_builder.rb +1 -1
  169. data/lib/rubygems/install_update_options.rb +13 -4
  170. data/lib/rubygems/installer.rb +46 -27
  171. data/lib/rubygems/local_remote_options.rb +3 -3
  172. data/lib/rubygems/name_tuple.rb +2 -3
  173. data/lib/rubygems/optparse/.document +1 -0
  174. data/lib/rubygems/optparse/COPYING +56 -0
  175. data/lib/rubygems/optparse/lib/optionparser.rb +2 -0
  176. data/lib/rubygems/optparse/lib/optparse/ac.rb +54 -0
  177. data/lib/rubygems/optparse/lib/optparse/date.rb +18 -0
  178. data/lib/rubygems/optparse/lib/optparse/kwargs.rb +22 -0
  179. data/lib/rubygems/optparse/lib/optparse/shellwords.rb +7 -0
  180. data/lib/rubygems/optparse/lib/optparse/time.rb +11 -0
  181. data/lib/rubygems/optparse/lib/optparse/uri.rb +7 -0
  182. data/lib/rubygems/optparse/lib/optparse/version.rb +71 -0
  183. data/lib/rubygems/optparse/lib/optparse.rb +2230 -0
  184. data/lib/rubygems/optparse.rb +3 -0
  185. data/lib/rubygems/package/old.rb +1 -1
  186. data/lib/rubygems/package.rb +25 -35
  187. data/lib/rubygems/path_support.rb +1 -6
  188. data/lib/rubygems/platform.rb +5 -0
  189. data/lib/rubygems/psych_additions.rb +1 -1
  190. data/lib/rubygems/query_utils.rb +4 -4
  191. data/lib/rubygems/remote_fetcher.rb +3 -3
  192. data/lib/rubygems/request/connection_pools.rb +1 -1
  193. data/lib/rubygems/request/http_pool.rb +1 -1
  194. data/lib/rubygems/request.rb +2 -0
  195. data/lib/rubygems/request_set.rb +3 -3
  196. data/lib/rubygems/requirement.rb +1 -1
  197. data/lib/rubygems/resolver/installer_set.rb +10 -10
  198. data/lib/rubygems/resolver/molinillo/LICENSE +9 -0
  199. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  200. data/lib/rubygems/resolver/set.rb +0 -1
  201. data/lib/rubygems/s3_uri_signer.rb +4 -5
  202. data/lib/rubygems/safe_yaml.rb +8 -8
  203. data/lib/rubygems/security/policy.rb +3 -3
  204. data/lib/rubygems/security/signer.rb +3 -4
  205. data/lib/rubygems/security.rb +60 -19
  206. data/lib/rubygems/security_option.rb +3 -3
  207. data/lib/rubygems/source/git.rb +2 -2
  208. data/lib/rubygems/source.rb +4 -2
  209. data/lib/rubygems/spec_fetcher.rb +1 -1
  210. data/lib/rubygems/specification.rb +53 -56
  211. data/lib/rubygems/specification_policy.rb +1 -1
  212. data/lib/rubygems/stub_specification.rb +1 -4
  213. data/lib/rubygems/text.rb +21 -20
  214. data/lib/rubygems/tsort/.document +1 -0
  215. data/lib/rubygems/tsort/LICENSE.txt +22 -0
  216. data/lib/rubygems/tsort/lib/tsort.rb +454 -0
  217. data/lib/rubygems/tsort.rb +3 -0
  218. data/lib/rubygems/uninstaller.rb +4 -1
  219. data/lib/rubygems/unknown_command_spell_checker.rb +21 -0
  220. data/lib/rubygems/uri.rb +9 -0
  221. data/lib/rubygems/user_interaction.rb +1 -1
  222. data/lib/rubygems/util/licenses.rb +2 -0
  223. data/lib/rubygems/util.rb +1 -1
  224. data/lib/rubygems/version.rb +2 -0
  225. data/lib/rubygems/version_option.rb +2 -2
  226. data/lib/rubygems.rb +44 -51
  227. data/rubygems-update.gemspec +1 -1
  228. data/setup.rb +1 -6
  229. data/test/rubygems/encrypted_private_key.pem +26 -26
  230. data/test/rubygems/helper.rb +58 -56
  231. data/test/rubygems/private_ec_key.pem +9 -0
  232. data/test/rubygems/test_config.rb +2 -2
  233. data/test/rubygems/test_exit.rb +11 -0
  234. data/test/rubygems/test_gem.rb +105 -147
  235. data/test/rubygems/test_gem_bundler_version_finder.rb +22 -43
  236. data/test/rubygems/test_gem_command.rb +1 -1
  237. data/test/rubygems/test_gem_command_manager.rb +28 -2
  238. data/test/rubygems/test_gem_commands_cert_command.rb +71 -12
  239. data/test/rubygems/test_gem_commands_fetch_command.rb +133 -0
  240. data/test/rubygems/test_gem_commands_install_command.rb +49 -0
  241. data/test/rubygems/test_gem_commands_open_command.rb +1 -1
  242. data/test/rubygems/test_gem_commands_server_command.rb +4 -46
  243. data/test/rubygems/test_gem_commands_setup_command.rb +67 -19
  244. data/test/rubygems/test_gem_commands_signin_command.rb +1 -1
  245. data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -1
  246. data/test/rubygems/test_gem_commands_update_command.rb +27 -2
  247. data/test/rubygems/test_gem_commands_yank_command.rb +1 -1
  248. data/test/rubygems/test_gem_dependency.rb +4 -8
  249. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +7 -3
  250. data/test/rubygems/test_gem_install_update_options.rb +2 -2
  251. data/test/rubygems/test_gem_installer.rb +10 -5
  252. data/test/rubygems/test_gem_package.rb +29 -28
  253. data/test/rubygems/test_gem_path_support.rb +2 -6
  254. data/test/rubygems/test_gem_platform.rb +1 -0
  255. data/test/rubygems/test_gem_remote_fetcher.rb +15 -0
  256. data/test/rubygems/test_gem_request.rb +16 -10
  257. data/test/rubygems/test_gem_requirement.rb +0 -1
  258. data/test/rubygems/test_gem_resolver.rb +7 -7
  259. data/test/rubygems/test_gem_security.rb +33 -5
  260. data/test/rubygems/test_gem_source_fetch_problem.rb +10 -0
  261. data/test/rubygems/test_gem_specification.rb +255 -257
  262. data/test/rubygems/test_gem_stream_ui.rb +1 -1
  263. data/test/rubygems/test_gem_stub_specification.rb +0 -16
  264. data/test/rubygems/test_gem_text.rb +6 -0
  265. data/test/rubygems/test_gem_uri.rb +7 -0
  266. data/test/rubygems/test_kernel.rb +1 -13
  267. data/test/rubygems/test_project_sanity.rb +1 -1
  268. data/test/rubygems/test_require.rb +8 -60
  269. data/test/rubygems/test_rubygems.rb +23 -0
  270. metadata +45 -12
  271. data/bundler/lib/bundler/gemdeps.rb +0 -29
  272. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +0 -66
  273. data/lib/rubygems/server.rb +0 -882
  274. data/test/rubygems/bogussources.rb +0 -9
  275. data/test/rubygems/test_gem_server.rb +0 -608
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ce1a1e494194a4df6708ff29699aa24f85cae78793b58ea82a9432d80fc7d58
4
- data.tar.gz: 5a922a7db514f0b88f2b93aea3c830086362ee161f85146dd3f2fd7113e4c405
3
+ metadata.gz: 9648fb20873191a9544a114fb8924f9f08625fa63d590a3a0434e3b2b95b516d
4
+ data.tar.gz: b29121744e804674e10ae19f1cbc9525a8c8c0ee73072e27baf726479b995180
5
5
  SHA512:
6
- metadata.gz: 49129d596674dd6f3ed1e5192ff959bcaee181eb9940871b75728d29f4bc09c18ab8edcccdd31de259048e3c58fec08738f7c065d345b701863ea4a5772ef980
7
- data.tar.gz: c303eb6c77393bd3770e962b2bd3af13725af4626b952b2ea7ad012f85dd96879615306727ed1882935476087bd7f4222692dc602b9e891b9b66b9bd8d6fc14c
6
+ metadata.gz: 5b8f751c2bd5a5bca0b8c7baa474ac226cb697275582681f14cb57326279e5f17db249803f33177344f7ebb199fef3c1c396c7aaf749950b3b8bb62e47b16dce
7
+ data.tar.gz: c5be5acbc735daa56571bbf4b51a1edf0271c8c6d56d7a7a403401a03863580669cdca71b9d426434701200a2cd10e20b215d1b6b17f8d1bebe4cd2bcdf91ed2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,225 @@
1
+ # 3.3.5 / 2022-01-12
2
+
3
+ ## Enhancements:
4
+
5
+ * Don't activate `yaml` gem from RubyGems. Pull request #5266 by
6
+ deivid-rodriguez
7
+ * Let `gem fetch` understand `<gem>:<version>` syntax and
8
+ `--[no-]suggestions` flag. Pull request #5242 by ximenasandoval
9
+ * Installs bundler 2.3.5 as a default gem.
10
+
11
+ ## Bug fixes:
12
+
13
+ * Fix `gem install <non-existent-gem> --force` crash. Pull request #5262
14
+ by deivid-rodriguez
15
+ * Fix longstanding `gem install` failure on JRuby. Pull request #5228 by
16
+ deivid-rodriguez
17
+
18
+ ## Documentation:
19
+
20
+ * Markup `Gem::Specification` documentation with RDoc notations. Pull
21
+ request #5268 by nobu
22
+
23
+ # 3.3.4 / 2021-12-29
24
+
25
+ ## Enhancements:
26
+
27
+ * Don't redownload `rubygems-update` package if already there. Pull
28
+ request #5230 by deivid-rodriguez
29
+ * Installs bundler 2.3.4 as a default gem.
30
+
31
+ ## Bug fixes:
32
+
33
+ * Fix `gem update --system` crashing when latest version not supported.
34
+ Pull request #5191 by deivid-rodriguez
35
+
36
+ ## Performance:
37
+
38
+ * Make SpecificationPolicy autoload constant. Pull request #5222 by pocke
39
+
40
+ # 3.3.3 / 2021-12-24
41
+
42
+ ## Enhancements:
43
+
44
+ * Installs bundler 2.3.3 as a default gem.
45
+
46
+ ## Bug fixes:
47
+
48
+ * Fix gem installation failing in Solaris due to bad `IO#flock` usage.
49
+ Pull request #5216 by mame
50
+
51
+ # 3.3.2 / 2021-12-23
52
+
53
+ ## Enhancements:
54
+
55
+ * Fix deprecations when activating DidYouMean for misspelled command
56
+ suggestions. Pull request #5211 by yuki24
57
+ * Installs bundler 2.3.2 as a default gem.
58
+
59
+ ## Bug fixes:
60
+
61
+ * Fix gemspec truncation. Pull request #5208 by deivid-rodriguez
62
+
63
+ # 3.3.1 / 2021-12-22
64
+
65
+ ## Enhancements:
66
+
67
+ * Fix compatibility with OpenSSL 3.0. Pull request #5196 by rhenium
68
+ * Remove hard errors when matching major bundler not found. Pull request
69
+ #5181 by deivid-rodriguez
70
+ * Installs bundler 2.3.1 as a default gem.
71
+
72
+ # 3.3.0 / 2021-12-21
73
+
74
+ ## Breaking changes:
75
+
76
+ * Removed deprecated `gem server` command. Pull request #5034 by hsbt
77
+ * Remove MacOS specific gem layout. Pull request #4833 by deivid-rodriguez
78
+ * Default `gem update` documentation format is now only `ri`. Pull request
79
+ #3888 by hsbt
80
+
81
+ ## Features:
82
+
83
+ * Give command misspelled suggestions via `did_you_mean` gem. Pull request
84
+ #3904 by hsbt
85
+
86
+ ## Performance:
87
+
88
+ * Avoid some unnecessary stat calls. Pull request #3887 by kares
89
+ * Improve spell checking suggestion performance by
90
+ vendoring`DidYouMean::Levenshtein.distance` from `did_you_mean-1.4.0`.
91
+ Pull request #3856 by austinpray
92
+
93
+ ## Enhancements:
94
+
95
+ * Set `BUNDLER_VERSION` when `bundle _<version>_` is passed. Pull request
96
+ #5180 by deivid-rodriguez
97
+ * Don't require `rdoc` for `gem uninstall`. Pull request #4691 by ndren
98
+ * More focused rescue on extension builder exception to get more
99
+ information on errors. Pull request #4189 by deivid-rodriguez
100
+ * Installs bundler 2.3.0 as a default gem.
101
+
102
+ ## Bug fixes:
103
+
104
+ * Fix encoding mismatch issues when writing gem packages. Pull request
105
+ #5162 by deivid-rodriguez
106
+ * Fix broken brew formula due to loading `operating_system.rb`
107
+ customizations too late. Pull request #5154 by deivid-rodriguez
108
+ * Properly fetch `Gem#latest_spec_for` with multiple sources. Pull request
109
+ #2764 by kevlogan90
110
+ * Fix upgrade crashing when multiple versions of `fileutils` installed.
111
+ Pull request #5140 by deivid-rodriguez
112
+
113
+ # 3.2.33 / 2021-12-07
114
+
115
+ ## Deprecations:
116
+
117
+ * Deprecate typo name. Pull request #5109 by nobu
118
+
119
+ ## Enhancements:
120
+
121
+ * Add login & logout alias for the signin & signout commands. Pull request
122
+ #5133 by colby-swandale
123
+ * Fix race conditions when reading & writing gemspecs concurrently. Pull
124
+ request #4408 by deivid-rodriguez
125
+ * Installs bundler 2.2.33 as a default gem.
126
+
127
+ ## Bug fixes:
128
+
129
+ * Fix `ruby setup.rb` trying to write outside of `--destdir`. Pull request
130
+ #5053 by deivid-rodriguez
131
+
132
+ ## Documentation:
133
+
134
+ * Move required_ruby_version gemspec attribute to recommended section.
135
+ Pull request #5130 by simi
136
+ * Ignore to generate the documentation from vendored libraries. Pull
137
+ request #5118 by hsbt
138
+
139
+ # 3.2.32 / 2021-11-23
140
+
141
+ ## Enhancements:
142
+
143
+ * Refactor installer thread safety protections. Pull request #5050 by
144
+ deivid-rodriguez
145
+ * Allow gem activation from `operating_system.rb`. Pull request #5044 by
146
+ deivid-rodriguez
147
+ * Installs bundler 2.2.32 as a default gem.
148
+
149
+ # 3.2.31 / 2021-11-08
150
+
151
+ ## Enhancements:
152
+
153
+ * Don't pass empty `DESTDIR` to `nmake` since it works differently from
154
+ standard `make`. Pull request #5057 by hsbt
155
+ * Fix `gem install` vs `gem fetch` inconsistency. Pull request #5037 by
156
+ deivid-rodriguez
157
+ * Lazily load and vendor `optparse`. Pull request #4881 by
158
+ deivid-rodriguez
159
+ * Use a vendored copy of `tsort` internally. Pull request #5027 by
160
+ deivid-rodriguez
161
+ * Install bundler 2.2.31 as a default gem.
162
+
163
+ ## Bug fixes:
164
+
165
+ * Fix `ruby setup.rb` when `--prefix` is passed. Pull request #5051 by
166
+ deivid-rodriguez
167
+ * Don't apply `--destdir` twice when running `setup.rb`. Pull request
168
+ #2768 by alyssais
169
+
170
+ # 3.2.30 / 2021-10-26
171
+
172
+ ## Enhancements:
173
+
174
+ * Add support to build and sign certificates with multiple key algorithms.
175
+ Pull request #4991 by doodzik
176
+ * Avoid loading the `digest` gem unnecessarily. Pull request #4979 by
177
+ deivid-rodriguez
178
+ * Prefer `require_relative` for all internal requires. Pull request #4978
179
+ by deivid-rodriguez
180
+ * Add missing `require` of `time` within
181
+ `Gem::Request.verify_certificate_message`. Pull request #4975 by nobu
182
+ * Install bundler 2.2.30 as a default gem.
183
+
184
+ ## Performance:
185
+
186
+ * Speed up `gem install`, specially under Windows. Pull request #4960 by
187
+ deivid-rodriguez
188
+
189
+ # 3.2.29 / 2021-10-08
190
+
191
+ ## Enhancements:
192
+
193
+ * Only disallow FIXME/TODO for first word of gemspec description. Pull
194
+ request #4937 by duckinator
195
+ * Install bundler 2.2.29 as a default gem.
196
+
197
+ ## Bug fixes:
198
+
199
+ * Fix `wordy` method in `SourceFetchProblem` changing the password of
200
+ source. Pull request #4910 by Huangxiaodui
201
+
202
+ ## Performance:
203
+
204
+ * Improve `require` performance, particularly on systems with a lot of
205
+ gems installed. Pull request #4951 by pocke
206
+
207
+ # 3.2.28 / 2021-09-23
208
+
209
+ ## Enhancements:
210
+
211
+ * Support MINGW-UCRT. Pull request #4925 by hsbt
212
+ * Only check if descriptions *start with* FIXME/TODO. Pull request #4841
213
+ by duckinator
214
+ * Avoid loading `uri` unnecessarily when activating gems. Pull request
215
+ #4897 by deivid-rodriguez
216
+ * Install bundler 2.2.28 as a default gem.
217
+
218
+ ## Bug fixes:
219
+
220
+ * Fix redacted credentials being sent to gemserver. Pull request #4919 by
221
+ jdliss
222
+
1
223
  # 3.2.27 / 2021-09-03
2
224
 
3
225
  ## Enhancements:
@@ -7,6 +229,7 @@
7
229
  request #4858 by deivid-rodriguez
8
230
  * Prioritise gems with higher version for fetching metadata, and stop
9
231
  fetching once we find a valid candidate. Pull request #4843 by intuxicated
232
+ * Install bundler 2.2.27 as a default gem.
10
233
 
11
234
  # 3.2.26 / 2021-08-17
12
235
 
@@ -17,6 +240,7 @@
17
240
  intuxicated
18
241
  * Ignore `RUBYGEMS_GEMDEPS` for the bundler gem. Pull request #4532 by
19
242
  deivid-rodriguez
243
+ * Install bundler 2.2.26 as a default gem.
20
244
 
21
245
  ## Bug fixes:
22
246
 
@@ -34,6 +258,7 @@
34
258
  * Lazily load `shellwords` library. Pull request #4783 by deivid-rodriguez
35
259
  * Check requirements class before loading marshalled requirements. Pull
36
260
  request #4651 by nobu
261
+ * Install bundler 2.2.25 as a default gem.
37
262
 
38
263
  ## Bug fixes:
39
264
 
@@ -42,6 +267,10 @@
42
267
 
43
268
  # 3.2.24 / 2021-07-15
44
269
 
270
+ ## Enhancements:
271
+
272
+ * Install bundler 2.2.24 as a default gem.
273
+
45
274
  ## Bug fixes:
46
275
 
47
276
  * Fix contradictory message about deletion of default gem. Pull request
@@ -58,6 +287,7 @@
58
287
 
59
288
  * Rewind IO source to allow working with contents in memory. Pull request
60
289
  #4729 by drcapulet
290
+ * Install bundler 2.2.23 as a default gem.
61
291
 
62
292
  # 3.2.22 / 2021-07-06
63
293
 
@@ -67,6 +297,7 @@
67
297
  CGA1123
68
298
  * Fixes for the edge case when openssl library is missing. Pull request
69
299
  #4695 by rhenium
300
+ * Install bundler 2.2.22 as a default gem.
70
301
 
71
302
  # 3.2.21 / 2021-06-23
72
303
 
@@ -76,6 +307,7 @@
76
307
  * Add the most recent licenses from spdx.org. Pull request #4662 by nobu
77
308
  * Simplify setup.rb code to allow installing rubygems from source on
78
309
  truffleruby 21.0 and 21.1. Pull request #4624 by deivid-rodriguez
310
+ * Install bundler 2.2.21 as a default gem.
79
311
 
80
312
  ## Bug fixes:
81
313
 
@@ -93,12 +325,14 @@
93
325
 
94
326
  * Add better specification policy error description. Pull request #4658 by
95
327
  ceritium
328
+ * Install bundler 2.2.20 as a default gem.
96
329
 
97
330
  # 3.2.19 / 2021-05-31
98
331
 
99
332
  ## Enhancements:
100
333
 
101
334
  * Fix `gem help build` output format. Pull request #4613 by tnir
335
+ * Install bundler 2.2.19 as a default gem.
102
336
 
103
337
  # 3.2.18 / 2021-05-25
104
338
 
@@ -106,6 +340,7 @@
106
340
 
107
341
  * Don't leave temporary directory around when building extensions to
108
342
  improve build reproducibility. Pull request #4610 by baloo
343
+ * Install bundler 2.2.18 as a default gem.
109
344
 
110
345
  # 3.2.17 / 2021-05-05
111
346
 
@@ -117,6 +352,7 @@
117
352
  #4558 by mame
118
353
  * Update the default bindir on macOS. Pull request #4524 by nobu
119
354
  * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
355
+ * Install bundler 2.2.17 as a default gem.
120
356
 
121
357
  ## Documentation:
122
358
 
@@ -125,6 +361,10 @@
125
361
 
126
362
  # 3.2.16 / 2021-04-08
127
363
 
364
+ ## Enhancements:
365
+
366
+ * Install bundler 2.2.16 as a default gem.
367
+
128
368
  ## Bug fixes:
129
369
 
130
370
  * Correctly handle symlinks. Pull request #2836 by voxik
@@ -135,6 +375,7 @@
135
375
 
136
376
  * Prevent downgrades to untested rubygems versions. Pull request #4460 by
137
377
  deivid-rodriguez
378
+ * Install bundler 2.2.15 as a default gem.
138
379
 
139
380
  ## Bug fixes:
140
381
 
@@ -145,6 +386,7 @@
145
386
  ## Enhancements:
146
387
 
147
388
  * Less wrapping of network errors. Pull request #4064 by deivid-rodriguez
389
+ * Install bundler 2.2.14 as a default gem.
148
390
 
149
391
  ## Bug fixes:
150
392
 
@@ -153,12 +395,20 @@
153
395
 
154
396
  # 3.2.13 / 2021-03-03
155
397
 
398
+ ## Enhancements:
399
+
400
+ * Install bundler 2.2.13 as a default gem.
401
+
156
402
  ## Bug fixes:
157
403
 
158
404
  * Support non-gnu libc linux platforms. Pull request #4082 by lloeki
159
405
 
160
406
  # 3.2.12 / 2021-03-01
161
407
 
408
+ ## Enhancements:
409
+
410
+ * Install bundler 2.2.12 as a default gem.
411
+
162
412
  ## Bug fixes:
163
413
 
164
414
  * Restore the ability to manually install extension gems. Pull request
@@ -170,9 +420,14 @@
170
420
 
171
421
  * Optionally fallback to IPv4 when IPv6 is unreachable. Pull request #2662
172
422
  by sonalkr132
423
+ * Install bundler 2.2.11 as a default gem.
173
424
 
174
425
  # 3.2.10 / 2021-02-15
175
426
 
427
+ ## Enhancements:
428
+
429
+ * Install bundler 2.2.10 as a default gem.
430
+
176
431
  ## Documentation:
177
432
 
178
433
  * Add a `gem push` example to `gem help`. Pull request #4373 by
@@ -182,6 +437,10 @@
182
437
 
183
438
  # 3.2.9 / 2021-02-08
184
439
 
440
+ ## Enhancements:
441
+
442
+ * Install bundler 2.2.9 as a default gem.
443
+
185
444
  ## Bug fixes:
186
445
 
187
446
  * Fix error message when underscore selection can't find bundler. Pull
@@ -195,6 +454,10 @@
195
454
 
196
455
  # 3.2.8 / 2021-02-02
197
456
 
457
+ ## Enhancements:
458
+
459
+ * Install bundler 2.2.8 as a default gem.
460
+
198
461
  ## Bug fixes:
199
462
 
200
463
  * Fix `gem install` crashing on gemspec with nil required_ruby_version.
@@ -202,6 +465,10 @@
202
465
 
203
466
  # 3.2.7 / 2021-01-26
204
467
 
468
+ ## Enhancements:
469
+
470
+ * Install bundler 2.2.7 as a default gem.
471
+
205
472
  ## Bug fixes:
206
473
 
207
474
  * Generate plugin wrappers with relative requires. Pull request #4317 by
@@ -213,6 +480,7 @@
213
480
 
214
481
  * Fix `Gem::Platform#inspect` showing duplicate information. Pull request
215
482
  #4276 by deivid-rodriguez
483
+ * Install bundler 2.2.6 as a default gem.
216
484
 
217
485
  ## Bug fixes:
218
486
 
@@ -223,6 +491,10 @@
223
491
 
224
492
  # 3.2.5 / 2021-01-11
225
493
 
494
+ ## Enhancements:
495
+
496
+ * Install bundler 2.2.5 as a default gem.
497
+
226
498
  ## Bug fixes:
227
499
 
228
500
  * Don't load more specs after the whole set of specs has been setup. Pull
@@ -238,6 +510,7 @@
238
510
  deivid-rodriguez
239
511
  * Never spawn subshells when building extensions. Pull request #4190 by
240
512
  deivid-rodriguez
513
+ * Install bundler 2.2.4 as a default gem.
241
514
 
242
515
  ## Bug fixes:
243
516
 
@@ -251,6 +524,7 @@
251
524
  ## Enhancements:
252
525
 
253
526
  * Fix misspellings in default API key name. Pull request #4177 by hsbt
527
+ * Install bundler 2.2.3 as a default gem.
254
528
 
255
529
  ## Bug fixes:
256
530
 
@@ -260,6 +534,10 @@
260
534
 
261
535
  # 3.2.2 / 2020-12-17
262
536
 
537
+ ## Enhancements:
538
+
539
+ * Install bundler 2.2.2 as a default gem.
540
+
263
541
  ## Bug fixes:
264
542
 
265
543
  * Fix issue where CLI commands making more than one request to
@@ -276,6 +554,7 @@
276
554
 
277
555
  * Added help message for gem i webrick in gem server command. Pull request
278
556
  #4117 by hsbt
557
+ * Install bundler 2.2.1 as a default gem.
279
558
 
280
559
  ## Bug fixes:
281
560
 
@@ -304,6 +583,7 @@
304
583
  * Lazily load `openssl`. Pull request #3850 by deivid-rodriguez
305
584
  * Pass more information when comparing platforms. Pull request #3817 by
306
585
  eregon
586
+ * Install bundler 2.2.0 as a default gem.
307
587
 
308
588
  ## Bug fixes:
309
589
 
@@ -4433,7 +4713,7 @@ Lavena and Daniel Berger for continuing windows support.
4433
4713
  * Tar handling code refactoring and cleanup.
4434
4714
  * Gem::DependencyInstaller's API has changed.
4435
4715
 
4436
- For a full list of changes to RubyGems, see the ChangeLog file.
4716
+ For a full list of changes to RubyGems, see the git log.
4437
4717
 
4438
4718
  # 1.0.1 / 2007-12-20
4439
4719
 
@@ -4577,7 +4857,7 @@ have permanently enabled the work around on all versions.
4577
4857
 
4578
4858
  # 0.9.1 / 2007-01-16
4579
4859
 
4580
- See ChangeLog
4860
+ See git log
4581
4861
 
4582
4862
  # 0.9.0 / 2006-06-28
4583
4863
 
@@ -4825,11 +5105,11 @@ There has been some minor usability enhancements and changes ...
4825
5105
 
4826
5106
  # 0.7.0 / 2004-07-09
4827
5107
 
4828
- See ChangeLog
5108
+ See git log
4829
5109
 
4830
5110
  # 0.6.1 / 2004-06-08
4831
5111
 
4832
- See ChangeLog
5112
+ See git log
4833
5113
 
4834
5114
  # 0.6.0 / 2004-06-08
4835
5115
 
data/CONTRIBUTING.md CHANGED
@@ -13,7 +13,6 @@ contributors to follow to reduce the time it takes to get changes merged in.
13
13
  * Match indentation (two spaces)
14
14
  * Match coding style (run `rake rubocop`)
15
15
 
16
-
17
16
  3. If any new files are added or existing files removed in a commit or PR,
18
17
  please update the `Manifest.txt` accordingly. This can be done by running
19
18
  `rake update_manifest`
@@ -30,20 +29,51 @@ here: https://guides.rubygems.org/contributing/
30
29
 
31
30
  ## Getting Started
32
31
 
33
- $ rake setup
34
- $ rake test
32
+ rake setup
35
33
 
36
- > Optional you can configure git hooks with: rake git_hooks
34
+ > Optionally you can configure git hooks with: rake git_hooks
37
35
 
38
36
  To run commands like `gem install` from the repo:
39
37
 
40
- $ ruby -Ilib bin/gem install
38
+ ruby -Ilib bin/gem install
39
+
40
+ To run commands like `bundle install` from the repo:
41
+
42
+ ruby bundler/spec/support/bundle.rb install
43
+
44
+ ### Running Tests
45
+
46
+ To run the entire test suite you can use:
47
+
48
+ rake test
49
+
50
+ To run an individual test file located for example in `test/rubygems/test_deprecate.rb` you can use:
51
+
52
+ ruby -Ilib:test:bundler/lib test/rubygems/test_deprecate.rb
53
+
54
+ And to run an individual test method named `test_default` within a test file, you can use:
55
+
56
+ ruby -Ilib:test:bundler/lib test/rubygems/test_deprecate.rb -n /test_default/
57
+
58
+ ### Running bundler tests
59
+
60
+ Everything needs to be run from the `bundler/` subfolder.
61
+
62
+ To setup bundler tests:
63
+
64
+ bin/rake spec:parallel_deps
65
+
66
+ To run the entire bundler test suite in parallel (it takes a while):
67
+
68
+ bin/parallel_rspec
69
+
70
+ To run the entire bundler test suite sequentially (get a coffee because it's very slow):
71
+
72
+ bin/rspec
41
73
 
42
- To run bundler test:
74
+ To run an individual test file location for example in `spec/install/gems/standalone_spec.rb` you can use:
43
75
 
44
- $ cd bundler
45
- $ bin/rake spec:deps
46
- $ bin/rspec spec
76
+ bin/rspec spec/install/gems/standalone_spec.rb
47
77
 
48
78
  ## Issues
49
79
 
@@ -108,7 +138,7 @@ where it is in the process from being submitted to being closed. These are
108
138
  listed in rough progression order from submitted to closed.
109
139
 
110
140
  * **triage** - This is an issue or pull request that needs to be properly
111
- labeled by by a maintainer.
141
+ labeled by a maintainer.
112
142
  * **confirmed** - This issue/pull request has been accepted as valid, but is
113
143
  not yet immediately ready for work.
114
144
  * **ready** - An issue that is available for collaboration. This issue