rubygems-update 3.2.32 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +154 -4
  3. data/CONTRIBUTING.md +40 -10
  4. data/Manifest.txt +11 -5
  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 +70 -0
  10. data/bundler/exe/bundle +7 -8
  11. data/bundler/lib/bundler/.document +1 -0
  12. data/bundler/lib/bundler/build_metadata.rb +2 -2
  13. data/bundler/lib/bundler/cli/doctor.rb +3 -2
  14. data/bundler/lib/bundler/cli/gem.rb +2 -1
  15. data/bundler/lib/bundler/cli/info.rb +6 -1
  16. data/bundler/lib/bundler/cli/install.rb +2 -0
  17. data/bundler/lib/bundler/cli/update.rb +2 -2
  18. data/bundler/lib/bundler/cli.rb +6 -0
  19. data/bundler/lib/bundler/compact_index_client/updater.rb +0 -5
  20. data/bundler/lib/bundler/definition.rb +29 -53
  21. data/bundler/lib/bundler/dependency.rb +5 -7
  22. data/bundler/lib/bundler/dsl.rb +18 -30
  23. data/bundler/lib/bundler/endpoint_specification.rb +0 -8
  24. data/bundler/lib/bundler/environment_preserver.rb +4 -1
  25. data/bundler/lib/bundler/fetcher/compact_index.rb +9 -4
  26. data/bundler/lib/bundler/fetcher.rb +2 -5
  27. data/bundler/lib/bundler/injector.rb +10 -1
  28. data/bundler/lib/bundler/installer/gem_installer.rb +1 -6
  29. data/bundler/lib/bundler/installer.rb +1 -4
  30. data/bundler/lib/bundler/lazy_specification.rb +17 -1
  31. data/bundler/lib/bundler/lockfile_parser.rb +10 -13
  32. data/bundler/lib/bundler/man/bundle-add.1 +10 -2
  33. data/bundler/lib/bundler/man/bundle-add.1.ronn +7 -1
  34. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  35. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  36. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  37. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  38. data/bundler/lib/bundler/man/bundle-config.1 +3 -3
  39. data/bundler/lib/bundler/man/bundle-config.1.ronn +3 -3
  40. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  41. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  42. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  43. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  44. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle-install.1 +2 -2
  47. data/bundler/lib/bundler/man/bundle-install.1.ronn +2 -2
  48. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  49. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  50. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  51. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  52. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  53. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  54. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  55. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  56. data/bundler/lib/bundler/man/bundle-update.1 +2 -2
  57. data/bundler/lib/bundler/man/bundle-update.1.ronn +2 -1
  58. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  59. data/bundler/lib/bundler/man/bundle.1 +1 -1
  60. data/bundler/lib/bundler/man/gemfile.5 +28 -2
  61. data/bundler/lib/bundler/man/gemfile.5.ronn +9 -1
  62. data/bundler/lib/bundler/plugin/api/source.rb +1 -0
  63. data/bundler/lib/bundler/plugin/installer.rb +1 -1
  64. data/bundler/lib/bundler/process_lock.rb +1 -1
  65. data/bundler/lib/bundler/psyched_yaml.rb +1 -13
  66. data/bundler/lib/bundler/resolver.rb +34 -31
  67. data/bundler/lib/bundler/rubygems_ext.rb +2 -0
  68. data/bundler/lib/bundler/rubygems_gem_installer.rb +1 -1
  69. data/bundler/lib/bundler/rubygems_integration.rb +11 -48
  70. data/bundler/lib/bundler/self_manager.rb +76 -0
  71. data/bundler/lib/bundler/shared_helpers.rb +4 -12
  72. data/bundler/lib/bundler/source/git/git_proxy.rb +2 -2
  73. data/bundler/lib/bundler/source/metadata.rb +1 -1
  74. data/bundler/lib/bundler/source/rubygems.rb +16 -12
  75. data/bundler/lib/bundler/source/rubygems_aggregate.rb +1 -1
  76. data/bundler/lib/bundler/source.rb +1 -1
  77. data/bundler/lib/bundler/source_list.rb +7 -29
  78. data/bundler/lib/bundler/templates/Executable.bundler +1 -1
  79. data/bundler/lib/bundler/templates/Gemfile +0 -2
  80. data/bundler/lib/bundler/templates/gems.rb +0 -3
  81. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +10 -1
  82. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +2 -2
  83. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +1 -1
  84. data/bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  85. data/bundler/lib/bundler/templates/newgem/test/minitest/{newgem_test.rb.tt → test_newgem.rb.tt} +1 -1
  86. data/bundler/lib/bundler/ui/shell.rb +1 -1
  87. data/bundler/lib/bundler/vendor/.document +1 -0
  88. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +6 -6
  89. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +5 -3
  90. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +6 -2
  91. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +6 -0
  92. data/bundler/lib/bundler/vendor/thor/lib/thor/error.rb +9 -4
  93. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +19 -1
  94. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +22 -4
  95. data/bundler/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
  96. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  97. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +17 -80
  98. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +0 -1
  99. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +5 -6
  100. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +0 -1
  101. data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +0 -1
  102. data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +1 -1
  103. data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +0 -1
  104. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +1 -14
  105. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +1 -12
  106. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  107. data/bundler/lib/bundler/vendor/uri/lib/uri/ws.rb +84 -0
  108. data/bundler/lib/bundler/vendor/uri/lib/uri/wss.rb +22 -0
  109. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +0 -1
  110. data/bundler/lib/bundler/version.rb +1 -1
  111. data/bundler/lib/bundler.rb +9 -3
  112. data/hide_lib_for_update/note.txt +0 -4
  113. data/lib/rubygems/bundler_version_finder.rb +10 -42
  114. data/lib/rubygems/command_manager.rb +4 -2
  115. data/lib/rubygems/commands/install_command.rb +5 -2
  116. data/lib/rubygems/commands/pristine_command.rb +8 -2
  117. data/lib/rubygems/commands/server_command.rb +14 -77
  118. data/lib/rubygems/commands/setup_command.rb +21 -22
  119. data/lib/rubygems/commands/update_command.rb +9 -4
  120. data/lib/rubygems/defaults.rb +2 -20
  121. data/lib/rubygems/dependency.rb +7 -7
  122. data/lib/rubygems/deprecate.rb +53 -6
  123. data/lib/rubygems/errors.rb +0 -3
  124. data/lib/rubygems/exceptions.rb +31 -1
  125. data/lib/rubygems/ext/builder.rb +5 -3
  126. data/lib/rubygems/install_update_options.rb +11 -2
  127. data/lib/rubygems/installer.rb +14 -12
  128. data/lib/rubygems/name_tuple.rb +2 -3
  129. data/lib/rubygems/optparse/.document +1 -0
  130. data/lib/rubygems/path_support.rb +1 -6
  131. data/lib/rubygems/platform.rb +4 -0
  132. data/lib/rubygems/remote_fetcher.rb +1 -1
  133. data/lib/rubygems/requirement.rb +1 -1
  134. data/lib/rubygems/resolver/installer_set.rb +1 -1
  135. data/lib/rubygems/security/policy.rb +1 -3
  136. data/lib/rubygems/security.rb +14 -7
  137. data/lib/rubygems/source.rb +3 -1
  138. data/lib/rubygems/spec_fetcher.rb +1 -1
  139. data/lib/rubygems/specification.rb +21 -21
  140. data/lib/rubygems/stub_specification.rb +1 -1
  141. data/lib/rubygems/text.rb +21 -20
  142. data/lib/rubygems/tsort/.document +1 -0
  143. data/lib/rubygems/uninstaller.rb +4 -1
  144. data/lib/rubygems/unknown_command_spell_checker.rb +21 -0
  145. data/lib/rubygems/version.rb +2 -0
  146. data/lib/rubygems.rb +48 -56
  147. data/rubygems-update.gemspec +1 -1
  148. data/setup.rb +1 -6
  149. data/test/rubygems/helper.rb +20 -6
  150. data/test/rubygems/test_config.rb +2 -2
  151. data/test/rubygems/test_exit.rb +11 -0
  152. data/test/rubygems/test_gem.rb +46 -76
  153. data/test/rubygems/test_gem_bundler_version_finder.rb +22 -43
  154. data/test/rubygems/test_gem_command_manager.rb +28 -2
  155. data/test/rubygems/test_gem_commands_install_command.rb +33 -0
  156. data/test/rubygems/test_gem_commands_open_command.rb +1 -1
  157. data/test/rubygems/test_gem_commands_server_command.rb +4 -46
  158. data/test/rubygems/test_gem_commands_setup_command.rb +17 -0
  159. data/test/rubygems/test_gem_commands_update_command.rb +2 -2
  160. data/test/rubygems/test_gem_dependency.rb +4 -8
  161. data/test/rubygems/test_gem_installer.rb +10 -5
  162. data/test/rubygems/test_gem_path_support.rb +2 -6
  163. data/test/rubygems/test_gem_remote_fetcher.rb +15 -0
  164. data/test/rubygems/test_gem_requirement.rb +0 -1
  165. data/test/rubygems/test_gem_security.rb +1 -1
  166. data/test/rubygems/test_gem_specification.rb +16 -25
  167. data/test/rubygems/test_gem_stream_ui.rb +1 -1
  168. data/test/rubygems/test_gem_text.rb +6 -0
  169. data/test/rubygems/test_kernel.rb +1 -13
  170. data/test/rubygems/test_project_sanity.rb +1 -1
  171. data/test/rubygems/test_require.rb +4 -58
  172. data/test/rubygems/test_rubygems.rb +23 -0
  173. metadata +14 -8
  174. data/bundler/lib/bundler/gemdeps.rb +0 -29
  175. data/lib/rubygems/server.rb +0 -882
  176. data/test/rubygems/bogussources.rb +0 -9
  177. data/test/rubygems/test_gem_server.rb +0 -608
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87e453bd13f69a120fdadd84b3a57e16527b54f7283a5077d742eb218b634bfa
4
- data.tar.gz: ce3cfe1c1c8a515e4904fdcddae871c2012b374aea224ce66ffdd92dfd007d8f
3
+ metadata.gz: 032d5c25431f07d56614be5feb4310775b0beca1cd1150d477655a46999c25e4
4
+ data.tar.gz: 1c45327dfd8164fbafc2407a6fe2ba21257a827d25a3040ccc803fd4d8ef2400
5
5
  SHA512:
6
- metadata.gz: 57fe0ccc4919643d63c6bf2016458924af17d3ec8aab9ddca552781aceebe44bfc8ac350a20e8323265ef6d3e943c4399bf0ccd280cdc000fbe4be9acdfa1a0a
7
- data.tar.gz: c354269b3a4e084d76ada0c3547cf2890aaa989554a4011f51654cea114677ccf76c5944ea669c93b9ad7dc09d9b533d51ade69f96f167aadd372311bc208bac
6
+ metadata.gz: 5edd1acdf9e66fe8e5e3b263da1921c30a687b2a83defac7c74a39530e7c63dc6b4eaea4dfec3c0c162123cacbc0d1e20a39e53030566efb7ba56b464ced97cf
7
+ data.tar.gz: 0f3c91e64ca5e5c28e8ccd3baf74b44785b8d1c129b2d155b58b5dcef0f68dbb0be67a4ff2b00d2dbfb8dd066827960afde2c11da6a25c2b474e3a086b30bb21
data/CHANGELOG.md CHANGED
@@ -1,3 +1,91 @@
1
+ # 3.3.2 / 2021-12-23
2
+
3
+ ## Enhancements:
4
+
5
+ * Fix deprecations when activating DidYouMean for misspelled command
6
+ suggestions. Pull request #5211 by yuki24
7
+ * Installs bundler 2.3.2 as a default gem.
8
+
9
+ ## Bug fixes:
10
+
11
+ * Fix gemspec truncation. Pull request #5208 by deivid-rodriguez
12
+
13
+ # 3.3.1 / 2021-12-22
14
+
15
+ ## Enhancements:
16
+
17
+ * Fix compatibility with OpenSSL 3.0. Pull request #5196 by rhenium
18
+ * Remove hard errors when matching major bundler not found. Pull request
19
+ #5181 by deivid-rodriguez
20
+ * Installs bundler 2.3.1 as a default gem.
21
+
22
+ # 3.3.0 / 2021-12-21
23
+
24
+ ## Breaking changes:
25
+
26
+ * Removed deprecated `gem server` command. Pull request #5034 by hsbt
27
+ * Remove MacOS specific gem layout. Pull request #4833 by deivid-rodriguez
28
+ * Default `gem update` documentation format is now only `ri`. Pull request
29
+ #3888 by hsbt
30
+
31
+ ## Features:
32
+
33
+ * Give command misspelled suggestions via `did_you_mean` gem. Pull request
34
+ #3904 by hsbt
35
+
36
+ ## Performance:
37
+
38
+ * Avoid some unnecessary stat calls. Pull request #3887 by kares
39
+ * Improve spell checking suggestion performance by
40
+ vendoring`DidYouMean::Levenshtein.distance` from `did_you_mean-1.4.0`.
41
+ Pull request #3856 by austinpray
42
+
43
+ ## Enhancements:
44
+
45
+ * Set `BUNDLER_VERSION` when `bundle _<version>_` is passed. Pull request
46
+ #5180 by deivid-rodriguez
47
+ * Don't require `rdoc` for `gem uninstall`. Pull request #4691 by ndren
48
+ * More focused rescue on extension builder exception to get more
49
+ information on errors. Pull request #4189 by deivid-rodriguez
50
+ * Installs bundler 2.3.0 as a default gem.
51
+
52
+ ## Bug fixes:
53
+
54
+ * Fix encoding mismatch issues when writing gem packages. Pull request
55
+ #5162 by deivid-rodriguez
56
+ * Fix broken brew formula due to loading `operating_system.rb`
57
+ customizations too late. Pull request #5154 by deivid-rodriguez
58
+ * Properly fetch `Gem#latest_spec_for` with multiple sources. Pull request
59
+ #2764 by kevlogan90
60
+ * Fix upgrade crashing when multiple versions of `fileutils` installed.
61
+ Pull request #5140 by deivid-rodriguez
62
+
63
+ # 3.2.33 / 2021-12-07
64
+
65
+ ## Deprecations:
66
+
67
+ * Deprecate typo name. Pull request #5109 by nobu
68
+
69
+ ## Enhancements:
70
+
71
+ * Add login & logout alias for the signin & signout commands. Pull request
72
+ #5133 by colby-swandale
73
+ * Fix race conditions when reading & writing gemspecs concurrently. Pull
74
+ request #4408 by deivid-rodriguez
75
+ * Installs bundler 2.2.33 as a default gem.
76
+
77
+ ## Bug fixes:
78
+
79
+ * Fix `ruby setup.rb` trying to write outside of `--destdir`. Pull request
80
+ #5053 by deivid-rodriguez
81
+
82
+ ## Documentation:
83
+
84
+ * Move required_ruby_version gemspec attribute to recommended section.
85
+ Pull request #5130 by simi
86
+ * Ignore to generate the documentation from vendored libraries. Pull
87
+ request #5118 by hsbt
88
+
1
89
  # 3.2.32 / 2021-11-23
2
90
 
3
91
  ## Enhancements:
@@ -20,6 +108,7 @@
20
108
  deivid-rodriguez
21
109
  * Use a vendored copy of `tsort` internally. Pull request #5027 by
22
110
  deivid-rodriguez
111
+ * Install bundler 2.2.31 as a default gem.
23
112
 
24
113
  ## Bug fixes:
25
114
 
@@ -40,6 +129,7 @@
40
129
  by deivid-rodriguez
41
130
  * Add missing `require` of `time` within
42
131
  `Gem::Request.verify_certificate_message`. Pull request #4975 by nobu
132
+ * Install bundler 2.2.30 as a default gem.
43
133
 
44
134
  ## Performance:
45
135
 
@@ -52,6 +142,7 @@
52
142
 
53
143
  * Only disallow FIXME/TODO for first word of gemspec description. Pull
54
144
  request #4937 by duckinator
145
+ * Install bundler 2.2.29 as a default gem.
55
146
 
56
147
  ## Bug fixes:
57
148
 
@@ -72,6 +163,7 @@
72
163
  by duckinator
73
164
  * Avoid loading `uri` unnecessarily when activating gems. Pull request
74
165
  #4897 by deivid-rodriguez
166
+ * Install bundler 2.2.28 as a default gem.
75
167
 
76
168
  ## Bug fixes:
77
169
 
@@ -87,6 +179,7 @@
87
179
  request #4858 by deivid-rodriguez
88
180
  * Prioritise gems with higher version for fetching metadata, and stop
89
181
  fetching once we find a valid candidate. Pull request #4843 by intuxicated
182
+ * Install bundler 2.2.27 as a default gem.
90
183
 
91
184
  # 3.2.26 / 2021-08-17
92
185
 
@@ -97,6 +190,7 @@
97
190
  intuxicated
98
191
  * Ignore `RUBYGEMS_GEMDEPS` for the bundler gem. Pull request #4532 by
99
192
  deivid-rodriguez
193
+ * Install bundler 2.2.26 as a default gem.
100
194
 
101
195
  ## Bug fixes:
102
196
 
@@ -114,6 +208,7 @@
114
208
  * Lazily load `shellwords` library. Pull request #4783 by deivid-rodriguez
115
209
  * Check requirements class before loading marshalled requirements. Pull
116
210
  request #4651 by nobu
211
+ * Install bundler 2.2.25 as a default gem.
117
212
 
118
213
  ## Bug fixes:
119
214
 
@@ -122,6 +217,10 @@
122
217
 
123
218
  # 3.2.24 / 2021-07-15
124
219
 
220
+ ## Enhancements:
221
+
222
+ * Install bundler 2.2.24 as a default gem.
223
+
125
224
  ## Bug fixes:
126
225
 
127
226
  * Fix contradictory message about deletion of default gem. Pull request
@@ -138,6 +237,7 @@
138
237
 
139
238
  * Rewind IO source to allow working with contents in memory. Pull request
140
239
  #4729 by drcapulet
240
+ * Install bundler 2.2.23 as a default gem.
141
241
 
142
242
  # 3.2.22 / 2021-07-06
143
243
 
@@ -147,6 +247,7 @@
147
247
  CGA1123
148
248
  * Fixes for the edge case when openssl library is missing. Pull request
149
249
  #4695 by rhenium
250
+ * Install bundler 2.2.22 as a default gem.
150
251
 
151
252
  # 3.2.21 / 2021-06-23
152
253
 
@@ -156,6 +257,7 @@
156
257
  * Add the most recent licenses from spdx.org. Pull request #4662 by nobu
157
258
  * Simplify setup.rb code to allow installing rubygems from source on
158
259
  truffleruby 21.0 and 21.1. Pull request #4624 by deivid-rodriguez
260
+ * Install bundler 2.2.21 as a default gem.
159
261
 
160
262
  ## Bug fixes:
161
263
 
@@ -173,12 +275,14 @@
173
275
 
174
276
  * Add better specification policy error description. Pull request #4658 by
175
277
  ceritium
278
+ * Install bundler 2.2.20 as a default gem.
176
279
 
177
280
  # 3.2.19 / 2021-05-31
178
281
 
179
282
  ## Enhancements:
180
283
 
181
284
  * Fix `gem help build` output format. Pull request #4613 by tnir
285
+ * Install bundler 2.2.19 as a default gem.
182
286
 
183
287
  # 3.2.18 / 2021-05-25
184
288
 
@@ -186,6 +290,7 @@
186
290
 
187
291
  * Don't leave temporary directory around when building extensions to
188
292
  improve build reproducibility. Pull request #4610 by baloo
293
+ * Install bundler 2.2.18 as a default gem.
189
294
 
190
295
  # 3.2.17 / 2021-05-05
191
296
 
@@ -197,6 +302,7 @@
197
302
  #4558 by mame
198
303
  * Update the default bindir on macOS. Pull request #4524 by nobu
199
304
  * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
305
+ * Install bundler 2.2.17 as a default gem.
200
306
 
201
307
  ## Documentation:
202
308
 
@@ -205,6 +311,10 @@
205
311
 
206
312
  # 3.2.16 / 2021-04-08
207
313
 
314
+ ## Enhancements:
315
+
316
+ * Install bundler 2.2.16 as a default gem.
317
+
208
318
  ## Bug fixes:
209
319
 
210
320
  * Correctly handle symlinks. Pull request #2836 by voxik
@@ -215,6 +325,7 @@
215
325
 
216
326
  * Prevent downgrades to untested rubygems versions. Pull request #4460 by
217
327
  deivid-rodriguez
328
+ * Install bundler 2.2.15 as a default gem.
218
329
 
219
330
  ## Bug fixes:
220
331
 
@@ -225,6 +336,7 @@
225
336
  ## Enhancements:
226
337
 
227
338
  * Less wrapping of network errors. Pull request #4064 by deivid-rodriguez
339
+ * Install bundler 2.2.14 as a default gem.
228
340
 
229
341
  ## Bug fixes:
230
342
 
@@ -233,12 +345,20 @@
233
345
 
234
346
  # 3.2.13 / 2021-03-03
235
347
 
348
+ ## Enhancements:
349
+
350
+ * Install bundler 2.2.13 as a default gem.
351
+
236
352
  ## Bug fixes:
237
353
 
238
354
  * Support non-gnu libc linux platforms. Pull request #4082 by lloeki
239
355
 
240
356
  # 3.2.12 / 2021-03-01
241
357
 
358
+ ## Enhancements:
359
+
360
+ * Install bundler 2.2.12 as a default gem.
361
+
242
362
  ## Bug fixes:
243
363
 
244
364
  * Restore the ability to manually install extension gems. Pull request
@@ -250,9 +370,14 @@
250
370
 
251
371
  * Optionally fallback to IPv4 when IPv6 is unreachable. Pull request #2662
252
372
  by sonalkr132
373
+ * Install bundler 2.2.11 as a default gem.
253
374
 
254
375
  # 3.2.10 / 2021-02-15
255
376
 
377
+ ## Enhancements:
378
+
379
+ * Install bundler 2.2.10 as a default gem.
380
+
256
381
  ## Documentation:
257
382
 
258
383
  * Add a `gem push` example to `gem help`. Pull request #4373 by
@@ -262,6 +387,10 @@
262
387
 
263
388
  # 3.2.9 / 2021-02-08
264
389
 
390
+ ## Enhancements:
391
+
392
+ * Install bundler 2.2.9 as a default gem.
393
+
265
394
  ## Bug fixes:
266
395
 
267
396
  * Fix error message when underscore selection can't find bundler. Pull
@@ -275,6 +404,10 @@
275
404
 
276
405
  # 3.2.8 / 2021-02-02
277
406
 
407
+ ## Enhancements:
408
+
409
+ * Install bundler 2.2.8 as a default gem.
410
+
278
411
  ## Bug fixes:
279
412
 
280
413
  * Fix `gem install` crashing on gemspec with nil required_ruby_version.
@@ -282,6 +415,10 @@
282
415
 
283
416
  # 3.2.7 / 2021-01-26
284
417
 
418
+ ## Enhancements:
419
+
420
+ * Install bundler 2.2.7 as a default gem.
421
+
285
422
  ## Bug fixes:
286
423
 
287
424
  * Generate plugin wrappers with relative requires. Pull request #4317 by
@@ -293,6 +430,7 @@
293
430
 
294
431
  * Fix `Gem::Platform#inspect` showing duplicate information. Pull request
295
432
  #4276 by deivid-rodriguez
433
+ * Install bundler 2.2.6 as a default gem.
296
434
 
297
435
  ## Bug fixes:
298
436
 
@@ -303,6 +441,10 @@
303
441
 
304
442
  # 3.2.5 / 2021-01-11
305
443
 
444
+ ## Enhancements:
445
+
446
+ * Install bundler 2.2.5 as a default gem.
447
+
306
448
  ## Bug fixes:
307
449
 
308
450
  * Don't load more specs after the whole set of specs has been setup. Pull
@@ -318,6 +460,7 @@
318
460
  deivid-rodriguez
319
461
  * Never spawn subshells when building extensions. Pull request #4190 by
320
462
  deivid-rodriguez
463
+ * Install bundler 2.2.4 as a default gem.
321
464
 
322
465
  ## Bug fixes:
323
466
 
@@ -331,6 +474,7 @@
331
474
  ## Enhancements:
332
475
 
333
476
  * Fix misspellings in default API key name. Pull request #4177 by hsbt
477
+ * Install bundler 2.2.3 as a default gem.
334
478
 
335
479
  ## Bug fixes:
336
480
 
@@ -340,6 +484,10 @@
340
484
 
341
485
  # 3.2.2 / 2020-12-17
342
486
 
487
+ ## Enhancements:
488
+
489
+ * Install bundler 2.2.2 as a default gem.
490
+
343
491
  ## Bug fixes:
344
492
 
345
493
  * Fix issue where CLI commands making more than one request to
@@ -356,6 +504,7 @@
356
504
 
357
505
  * Added help message for gem i webrick in gem server command. Pull request
358
506
  #4117 by hsbt
507
+ * Install bundler 2.2.1 as a default gem.
359
508
 
360
509
  ## Bug fixes:
361
510
 
@@ -384,6 +533,7 @@
384
533
  * Lazily load `openssl`. Pull request #3850 by deivid-rodriguez
385
534
  * Pass more information when comparing platforms. Pull request #3817 by
386
535
  eregon
536
+ * Install bundler 2.2.0 as a default gem.
387
537
 
388
538
  ## Bug fixes:
389
539
 
@@ -4513,7 +4663,7 @@ Lavena and Daniel Berger for continuing windows support.
4513
4663
  * Tar handling code refactoring and cleanup.
4514
4664
  * Gem::DependencyInstaller's API has changed.
4515
4665
 
4516
- For a full list of changes to RubyGems, see the ChangeLog file.
4666
+ For a full list of changes to RubyGems, see the git log.
4517
4667
 
4518
4668
  # 1.0.1 / 2007-12-20
4519
4669
 
@@ -4657,7 +4807,7 @@ have permanently enabled the work around on all versions.
4657
4807
 
4658
4808
  # 0.9.1 / 2007-01-16
4659
4809
 
4660
- See ChangeLog
4810
+ See git log
4661
4811
 
4662
4812
  # 0.9.0 / 2006-06-28
4663
4813
 
@@ -4905,11 +5055,11 @@ There has been some minor usability enhancements and changes ...
4905
5055
 
4906
5056
  # 0.7.0 / 2004-07-09
4907
5057
 
4908
- See ChangeLog
5058
+ See git log
4909
5059
 
4910
5060
  # 0.6.1 / 2004-06-08
4911
5061
 
4912
- See ChangeLog
5062
+ See git log
4913
5063
 
4914
5064
  # 0.6.0 / 2004-06-08
4915
5065
 
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
data/Manifest.txt CHANGED
@@ -18,6 +18,7 @@ bundler/bundler.gemspec
18
18
  bundler/exe/bundle
19
19
  bundler/exe/bundler
20
20
  bundler/lib/bundler.rb
21
+ bundler/lib/bundler/.document
21
22
  bundler/lib/bundler/build_metadata.rb
22
23
  bundler/lib/bundler/capistrano.rb
23
24
  bundler/lib/bundler/cli.rb
@@ -78,7 +79,6 @@ bundler/lib/bundler/gem_helper.rb
78
79
  bundler/lib/bundler/gem_helpers.rb
79
80
  bundler/lib/bundler/gem_tasks.rb
80
81
  bundler/lib/bundler/gem_version_promoter.rb
81
- bundler/lib/bundler/gemdeps.rb
82
82
  bundler/lib/bundler/graph.rb
83
83
  bundler/lib/bundler/index.rb
84
84
  bundler/lib/bundler/injector.rb
@@ -166,6 +166,7 @@ bundler/lib/bundler/rubygems_ext.rb
166
166
  bundler/lib/bundler/rubygems_gem_installer.rb
167
167
  bundler/lib/bundler/rubygems_integration.rb
168
168
  bundler/lib/bundler/runtime.rb
169
+ bundler/lib/bundler/self_manager.rb
169
170
  bundler/lib/bundler/settings.rb
170
171
  bundler/lib/bundler/settings/validator.rb
171
172
  bundler/lib/bundler/setup.rb
@@ -212,11 +213,12 @@ bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt
212
213
  bundler/lib/bundler/templates/newgem/newgem.gemspec.tt
213
214
  bundler/lib/bundler/templates/newgem/rspec.tt
214
215
  bundler/lib/bundler/templates/newgem/rubocop.yml.tt
216
+ bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt
215
217
  bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
216
218
  bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt
217
219
  bundler/lib/bundler/templates/newgem/standard.yml.tt
218
- bundler/lib/bundler/templates/newgem/test/minitest/newgem_test.rb.tt
219
220
  bundler/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt
221
+ bundler/lib/bundler/templates/newgem/test/minitest/test_newgem.rb.tt
220
222
  bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt
221
223
  bundler/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt
222
224
  bundler/lib/bundler/templates/newgem/travis.yml.tt
@@ -225,6 +227,7 @@ bundler/lib/bundler/ui/rg_proxy.rb
225
227
  bundler/lib/bundler/ui/shell.rb
226
228
  bundler/lib/bundler/ui/silent.rb
227
229
  bundler/lib/bundler/uri_credentials_filter.rb
230
+ bundler/lib/bundler/vendor/.document
228
231
  bundler/lib/bundler/vendor/connection_pool/LICENSE
229
232
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb
230
233
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
@@ -307,6 +310,8 @@ bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb
307
310
  bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb
308
311
  bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb
309
312
  bundler/lib/bundler/vendor/uri/lib/uri/version.rb
313
+ bundler/lib/bundler/vendor/uri/lib/uri/ws.rb
314
+ bundler/lib/bundler/vendor/uri/lib/uri/wss.rb
310
315
  bundler/lib/bundler/vendored_fileutils.rb
311
316
  bundler/lib/bundler/vendored_molinillo.rb
312
317
  bundler/lib/bundler/vendored_persistent.rb
@@ -395,6 +400,7 @@ lib/rubygems/mock_gem_ui.rb
395
400
  lib/rubygems/name_tuple.rb
396
401
  lib/rubygems/openssl.rb
397
402
  lib/rubygems/optparse.rb
403
+ lib/rubygems/optparse/.document
398
404
  lib/rubygems/optparse/COPYING
399
405
  lib/rubygems/optparse/lib/optionparser.rb
400
406
  lib/rubygems/optparse/lib/optparse.rb
@@ -490,7 +496,6 @@ lib/rubygems/security/policy.rb
490
496
  lib/rubygems/security/signer.rb
491
497
  lib/rubygems/security/trust_dir.rb
492
498
  lib/rubygems/security_option.rb
493
- lib/rubygems/server.rb
494
499
  lib/rubygems/source.rb
495
500
  lib/rubygems/source/git.rb
496
501
  lib/rubygems/source/installed.rb
@@ -508,9 +513,11 @@ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
508
513
  lib/rubygems/stub_specification.rb
509
514
  lib/rubygems/text.rb
510
515
  lib/rubygems/tsort.rb
516
+ lib/rubygems/tsort/.document
511
517
  lib/rubygems/tsort/LICENSE.txt
512
518
  lib/rubygems/tsort/lib/tsort.rb
513
519
  lib/rubygems/uninstaller.rb
520
+ lib/rubygems/unknown_command_spell_checker.rb
514
521
  lib/rubygems/uri.rb
515
522
  lib/rubygems/uri_formatter.rb
516
523
  lib/rubygems/user_interaction.rb
@@ -526,7 +533,6 @@ test/rubygems/alternate_cert.pem
526
533
  test/rubygems/alternate_cert_32.pem
527
534
  test/rubygems/alternate_key.pem
528
535
  test/rubygems/bad_rake.rb
529
- test/rubygems/bogussources.rb
530
536
  test/rubygems/ca_cert.pem
531
537
  test/rubygems/child_cert.pem
532
538
  test/rubygems/child_cert_32.pem
@@ -583,6 +589,7 @@ test/rubygems/ssl_key.pem
583
589
  test/rubygems/test_bundled_ca.rb
584
590
  test/rubygems/test_config.rb
585
591
  test/rubygems/test_deprecate.rb
592
+ test/rubygems/test_exit.rb
586
593
  test/rubygems/test_gem.rb
587
594
  test/rubygems/test_gem_available_set.rb
588
595
  test/rubygems/test_gem_bundler_version_finder.rb
@@ -685,7 +692,6 @@ test/rubygems/test_gem_security.rb
685
692
  test/rubygems/test_gem_security_policy.rb
686
693
  test/rubygems/test_gem_security_signer.rb
687
694
  test/rubygems/test_gem_security_trust_dir.rb
688
- test/rubygems/test_gem_server.rb
689
695
  test/rubygems/test_gem_silent_ui.rb
690
696
  test/rubygems/test_gem_source.rb
691
697
  test/rubygems/test_gem_source_fetch_problem.rb
data/POLICIES.md CHANGED
@@ -45,7 +45,7 @@ at version 2.7, so when RubyGems 2.8 is released, it will only support Ruby
45
45
  Releases of new versions should follow these steps, to ensure the process is
46
46
  smooth and no needed steps are missed.
47
47
 
48
- ### Steps for security releases
48
+ ### Recommendations for security releases
49
49
 
50
50
  * Obtain CVE numbers as needed from HackerOne or Red Hat.
51
51
  * Agree on a release date with ruby-core, so patches can be backported to
@@ -55,16 +55,30 @@ smooth and no needed steps are missed.
55
55
  * Continue with the regular release process below.
56
56
 
57
57
 
58
- ### Steps for all releases
58
+ ### Steps for patch releases
59
59
 
60
60
  * Confirm all PRs that you want backported are properly tagged with `rubygems:
61
- <type>` labels at GitHub.
62
- * Run `rake prepare_stable_branch[<target_version>]`, create a PR and merge it
61
+ <type>` or `bundler: <type>` labels at GitHub.
62
+ * Run `rake prepare_release[<target_version>]`, create a PR and merge it
63
63
  to the stable branch once CI passes.
64
- * Create and push git tag
65
- * Create and push `rubygems-update` gem and tgz
66
- * Publish blog post
67
-
64
+ * Switch to the stable branch and pull the PR just merged.
65
+ * Release `bundler` with `(cd bundler && bin/rake release)`.
66
+ * Release `rubygems` with `rake release`.
67
+
68
+ ### Steps for minor and major releases
69
+
70
+ * Confirm all PRs that you want listed in changelogs are properly tagged with
71
+ `rubygems: <type>` or `bundler: <type>` labels at GitHub.
72
+ * Run `rake prepare_release[<target_version>]`.
73
+ * Add the new stable branch `x.y` where `x.y` are the first two components of
74
+ the rubygems version being released to the CI workflows as an extra commit
75
+ on top of what the `prepare_release` task generated.
76
+ * Create a PR to the main branch, and merge it once CI passes.
77
+ * From the main branch, cut a new stable branch with `git pull && git checkout
78
+ -b x.y`.
79
+ * Push the stable branch and wait for CI to be green.
80
+ * Release `bundler` with `(cd bundler && bin/rake release)`.
81
+ * Release `rubygems` with `rake release`.
68
82
 
69
83
  ## Committer Access
70
84
 
data/README.md CHANGED
@@ -33,9 +33,15 @@ For more information about how to use RubyGems, see our RubyGems basics guide at
33
33
 
34
34
  ## Installation
35
35
 
36
- RubyGems is likely already installed in your Ruby environment, you can check by running `gem --version` in your terminal emulator.
37
- In some cases your OS's package manager may install RubyGems as a separate package from Ruby. It's recommended to check
38
- with your OS's package manager before installing RubyGems manually.
36
+ RubyGems is already installed in your Ruby environment, you can check the version you have installed by running `gem --version` in your terminal emulator.
37
+
38
+ In some cases Ruby & RubyGems may be provided as OS packages. This is not a
39
+ recommended way to use Ruby & RubyGems. It's better to use a Ruby Version
40
+ Manager, such as [rbenv](https://github.com/rbenv/rbenv) or
41
+ [chruby](https://github.com/postmodern/chruby). If you still want to use the
42
+ version provided by your OS package manager, please also use your OS package
43
+ manager to upgrade rubygems, and disregard any other installation instructions
44
+ given below.
39
45
 
40
46
  If you would like to manually install RubyGems:
41
47
 
@@ -46,8 +52,6 @@ Install RubyGems by running:
46
52
 
47
53
  $ ruby setup.rb
48
54
 
49
- Note: You may need to run the install script with admin/root privileges.
50
-
51
55
  For more details and other options, see:
52
56
 
53
57
  $ ruby setup.rb --help
@@ -58,8 +62,6 @@ To upgrade to the latest RubyGems, run:
58
62
 
59
63
  $ gem update --system
60
64
 
61
- Note: You might need to run the command as an administrator or root user.
62
-
63
65
  See [UPGRADING](UPGRADING.md) for more details and alternative instructions.
64
66
 
65
67
  ## Documentation