rubygems-update 3.2.30 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +163 -4
  3. data/CONTRIBUTING.md +40 -10
  4. data/Manifest.txt +28 -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 +86 -0
  10. data/bundler/exe/bundle +7 -8
  11. data/bundler/lib/bundler/build_metadata.rb +2 -2
  12. data/bundler/lib/bundler/cli/doctor.rb +3 -2
  13. data/bundler/lib/bundler/cli/gem.rb +70 -8
  14. data/bundler/lib/bundler/cli/info.rb +6 -1
  15. data/bundler/lib/bundler/cli/install.rb +2 -0
  16. data/bundler/lib/bundler/cli/update.rb +2 -2
  17. data/bundler/lib/bundler/cli.rb +9 -1
  18. data/bundler/lib/bundler/compact_index_client/updater.rb +0 -5
  19. data/bundler/lib/bundler/definition.rb +66 -120
  20. data/bundler/lib/bundler/dependency.rb +5 -7
  21. data/bundler/lib/bundler/dsl.rb +18 -30
  22. data/bundler/lib/bundler/endpoint_specification.rb +0 -8
  23. data/bundler/lib/bundler/environment_preserver.rb +4 -1
  24. data/bundler/lib/bundler/fetcher/compact_index.rb +9 -4
  25. data/bundler/lib/bundler/fetcher.rb +2 -5
  26. data/bundler/lib/bundler/gem_helper.rb +2 -2
  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 -12
  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 +5 -5
  39. data/bundler/lib/bundler/man/bundle-config.1.ronn +5 -5
  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 +14 -1
  43. data/bundler/lib/bundler/man/bundle-gem.1.ronn +16 -0
  44. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  47. data/bundler/lib/bundler/man/bundle-install.1 +2 -2
  48. data/bundler/lib/bundler/man/bundle-install.1.ronn +2 -2
  49. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  50. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  51. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  52. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  53. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  54. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  55. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  56. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  57. data/bundler/lib/bundler/man/bundle-update.1 +2 -2
  58. data/bundler/lib/bundler/man/bundle-update.1.ronn +2 -1
  59. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  60. data/bundler/lib/bundler/man/bundle.1 +1 -1
  61. data/bundler/lib/bundler/man/gemfile.5 +28 -2
  62. data/bundler/lib/bundler/man/gemfile.5.ronn +9 -1
  63. data/bundler/lib/bundler/plugin/api/source.rb +1 -0
  64. data/bundler/lib/bundler/plugin/installer.rb +1 -1
  65. data/bundler/lib/bundler/process_lock.rb +1 -1
  66. data/bundler/lib/bundler/psyched_yaml.rb +1 -13
  67. data/bundler/lib/bundler/resolver.rb +34 -31
  68. data/bundler/lib/bundler/rubygems_ext.rb +2 -0
  69. data/bundler/lib/bundler/rubygems_integration.rb +11 -48
  70. data/bundler/lib/bundler/runtime.rb +1 -1
  71. data/bundler/lib/bundler/self_manager.rb +73 -0
  72. data/bundler/lib/bundler/shared_helpers.rb +4 -12
  73. data/bundler/lib/bundler/source/git/git_proxy.rb +7 -4
  74. data/bundler/lib/bundler/source/metadata.rb +1 -1
  75. data/bundler/lib/bundler/source/rubygems.rb +17 -13
  76. data/bundler/lib/bundler/source/rubygems_aggregate.rb +1 -1
  77. data/bundler/lib/bundler/source.rb +1 -1
  78. data/bundler/lib/bundler/source_list.rb +7 -29
  79. data/bundler/lib/bundler/spec_set.rb +1 -1
  80. data/bundler/lib/bundler/templates/Executable.bundler +1 -1
  81. data/bundler/lib/bundler/templates/Gemfile +0 -2
  82. data/bundler/lib/bundler/templates/gems.rb +0 -3
  83. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +5 -2
  84. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +15 -2
  85. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +2 -2
  86. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +13 -13
  87. data/bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  88. data/bundler/lib/bundler/templates/newgem/standard.yml.tt +2 -0
  89. data/bundler/lib/bundler/templates/newgem/test/minitest/{newgem_test.rb.tt → test_newgem.rb.tt} +1 -1
  90. data/bundler/lib/bundler/ui/shell.rb +1 -1
  91. data/bundler/lib/bundler/vendor/.document +1 -0
  92. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  93. data/bundler/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
  94. data/bundler/lib/bundler/vendor/tsort/lib/tsort.rb +453 -0
  95. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +17 -80
  96. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +0 -1
  97. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +5 -6
  98. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +0 -1
  99. data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +0 -1
  100. data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +1 -1
  101. data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +0 -1
  102. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +1 -14
  103. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +1 -12
  104. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  105. data/bundler/lib/bundler/vendor/uri/lib/uri/ws.rb +84 -0
  106. data/bundler/lib/bundler/vendor/uri/lib/uri/wss.rb +22 -0
  107. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +0 -1
  108. data/bundler/lib/bundler/vendored_tsort.rb +4 -0
  109. data/bundler/lib/bundler/version.rb +1 -1
  110. data/bundler/lib/bundler.rb +9 -3
  111. data/hide_lib_for_update/note.txt +0 -4
  112. data/lib/rubygems/command.rb +4 -4
  113. data/lib/rubygems/command_manager.rb +4 -2
  114. data/lib/rubygems/commands/cert_command.rb +6 -6
  115. data/lib/rubygems/commands/fetch_command.rb +1 -1
  116. data/lib/rubygems/commands/install_command.rb +5 -2
  117. data/lib/rubygems/commands/pristine_command.rb +8 -2
  118. data/lib/rubygems/commands/server_command.rb +14 -77
  119. data/lib/rubygems/commands/setup_command.rb +84 -76
  120. data/lib/rubygems/commands/uninstall_command.rb +1 -1
  121. data/lib/rubygems/commands/update_command.rb +10 -5
  122. data/lib/rubygems/defaults.rb +2 -20
  123. data/lib/rubygems/dependency_list.rb +2 -2
  124. data/lib/rubygems/deprecate.rb +53 -6
  125. data/lib/rubygems/exceptions.rb +27 -1
  126. data/lib/rubygems/ext/builder.rb +11 -8
  127. data/lib/rubygems/ext/cmake_builder.rb +1 -1
  128. data/lib/rubygems/install_update_options.rb +13 -4
  129. data/lib/rubygems/installer.rb +46 -27
  130. data/lib/rubygems/local_remote_options.rb +3 -3
  131. data/lib/rubygems/name_tuple.rb +2 -3
  132. data/lib/rubygems/optparse/.document +1 -0
  133. data/lib/rubygems/optparse/COPYING +56 -0
  134. data/lib/rubygems/optparse/lib/optionparser.rb +2 -0
  135. data/lib/rubygems/optparse/lib/optparse/ac.rb +54 -0
  136. data/lib/rubygems/optparse/lib/optparse/date.rb +18 -0
  137. data/lib/rubygems/optparse/lib/optparse/kwargs.rb +22 -0
  138. data/lib/rubygems/optparse/lib/optparse/shellwords.rb +7 -0
  139. data/lib/rubygems/optparse/lib/optparse/time.rb +11 -0
  140. data/lib/rubygems/optparse/lib/optparse/uri.rb +7 -0
  141. data/lib/rubygems/optparse/lib/optparse/version.rb +71 -0
  142. data/lib/rubygems/optparse/lib/optparse.rb +2230 -0
  143. data/lib/rubygems/optparse.rb +3 -0
  144. data/lib/rubygems/path_support.rb +1 -6
  145. data/lib/rubygems/platform.rb +4 -0
  146. data/lib/rubygems/remote_fetcher.rb +1 -1
  147. data/lib/rubygems/request_set.rb +2 -2
  148. data/lib/rubygems/requirement.rb +1 -1
  149. data/lib/rubygems/resolver/installer_set.rb +1 -1
  150. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  151. data/lib/rubygems/security.rb +4 -3
  152. data/lib/rubygems/security_option.rb +3 -3
  153. data/lib/rubygems/source.rb +3 -1
  154. data/lib/rubygems/spec_fetcher.rb +1 -1
  155. data/lib/rubygems/specification.rb +46 -46
  156. data/lib/rubygems/text.rb +21 -20
  157. data/lib/rubygems/tsort/.document +1 -0
  158. data/lib/rubygems/tsort/LICENSE.txt +22 -0
  159. data/lib/rubygems/tsort/lib/tsort.rb +454 -0
  160. data/lib/rubygems/tsort.rb +3 -0
  161. data/lib/rubygems/uninstaller.rb +4 -1
  162. data/lib/rubygems/unknown_command_spell_checker.rb +21 -0
  163. data/lib/rubygems/util/licenses.rb +2 -0
  164. data/lib/rubygems/version.rb +2 -0
  165. data/lib/rubygems/version_option.rb +2 -2
  166. data/lib/rubygems.rb +13 -10
  167. data/rubygems-update.gemspec +1 -1
  168. data/setup.rb +1 -6
  169. data/test/rubygems/encrypted_private_key.pem +26 -26
  170. data/test/rubygems/helper.rb +48 -38
  171. data/test/rubygems/test_config.rb +2 -2
  172. data/test/rubygems/test_exit.rb +11 -0
  173. data/test/rubygems/test_gem.rb +46 -41
  174. data/test/rubygems/test_gem_command.rb +1 -1
  175. data/test/rubygems/test_gem_command_manager.rb +28 -2
  176. data/test/rubygems/test_gem_commands_cert_command.rb +8 -8
  177. data/test/rubygems/test_gem_commands_fetch_command.rb +36 -0
  178. data/test/rubygems/test_gem_commands_open_command.rb +1 -1
  179. data/test/rubygems/test_gem_commands_server_command.rb +4 -46
  180. data/test/rubygems/test_gem_commands_setup_command.rb +67 -19
  181. data/test/rubygems/test_gem_commands_signin_command.rb +1 -1
  182. data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -1
  183. data/test/rubygems/test_gem_commands_update_command.rb +2 -2
  184. data/test/rubygems/test_gem_commands_yank_command.rb +1 -1
  185. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +7 -3
  186. data/test/rubygems/test_gem_install_update_options.rb +2 -2
  187. data/test/rubygems/test_gem_installer.rb +37 -5
  188. data/test/rubygems/test_gem_path_support.rb +2 -6
  189. data/test/rubygems/test_gem_remote_fetcher.rb +15 -0
  190. data/test/rubygems/test_gem_request.rb +10 -4
  191. data/test/rubygems/test_gem_requirement.rb +0 -1
  192. data/test/rubygems/test_gem_resolver.rb +7 -7
  193. data/test/rubygems/test_gem_security.rb +1 -1
  194. data/test/rubygems/test_gem_specification.rb +27 -25
  195. data/test/rubygems/test_gem_text.rb +6 -0
  196. data/test/rubygems/test_project_sanity.rb +1 -1
  197. data/test/rubygems/test_require.rb +8 -35
  198. data/test/rubygems/test_rubygems.rb +23 -0
  199. metadata +31 -8
  200. data/bundler/lib/bundler/gemdeps.rb +0 -29
  201. data/lib/rubygems/server.rb +0 -882
  202. data/test/rubygems/bogussources.rb +0 -9
  203. data/test/rubygems/test_gem_server.rb +0 -608
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a9db6b191518d600933f57563d49e712ad295360f9d539390df3c18c6db92e6
4
- data.tar.gz: eb76c101ce6d260d3f4255bbd1372fbc41f65e9519556d5d6b9850cbbcfcfaf2
3
+ metadata.gz: 54e94fde92dd221d68a39c5ec1116f860999c9ea55f744ff77b02e84fca6f580
4
+ data.tar.gz: 79682c276c94ea4e5a51d44f62f24ba38af3c41b6fda47a7ff58352143f517c0
5
5
  SHA512:
6
- metadata.gz: 93ab22a88c283d83ea077ec5a91de69c2ba055c1d7bb3d082745e0aad105a07ef6669e407e1bc4c049c860fdb60621eee14710fdc12b9a50e00b470867ddc744
7
- data.tar.gz: b78873d02f2783632165254d939c18fcdacf64a460bbaab21b89859bd802c04da49a7d9fbc16e9abbcd50635ca2db2da469a671ab8ebd0f766f36948a388bc62
6
+ metadata.gz: 72363f1d7b5ba733226562c433807f0ed13543e598adc030f274db516cacac54d7e748907db269a0fd1b8ada7a567986ddfe8db25a848a4edad8203301bcf02c
7
+ data.tar.gz: 3c5c777ac829d9af2533e7717a4a3814266d8fc0b9c2f634a2e4173fc1763a0d80c15ffa02ec5c0ffb1ce9edc893f4121a3f9cf6731d3919532a006536e2b52b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,101 @@
1
+ # 3.3.0 / 2021-12-21
2
+
3
+ ## Breaking changes:
4
+
5
+ * Removed deprecated `gem server` command. Pull request #5034 by hsbt
6
+ * Remove MacOS specific gem layout. Pull request #4833 by deivid-rodriguez
7
+ * Default `gem update` documentation format is now only `ri`. Pull request
8
+ #3888 by hsbt
9
+
10
+ ## Features:
11
+
12
+ * Give command misspelled suggestions via `did_you_mean` gem. Pull request
13
+ #3904 by hsbt
14
+
15
+ ## Performance:
16
+
17
+ * Avoid some unnecessary stat calls. Pull request #3887 by kares
18
+ * Improve spell checking suggestion performance by
19
+ vendoring`DidYouMean::Levenshtein.distance` from `did_you_mean-1.4.0`.
20
+ Pull request #3856 by austinpray
21
+
22
+ ## Enhancements:
23
+
24
+ * Set `BUNDLER_VERSION` when `bundle _<version>_` is passed. Pull request
25
+ #5180 by deivid-rodriguez
26
+ * Don't require `rdoc` for `gem uninstall`. Pull request #4691 by ndren
27
+ * More focused rescue on extension builder exception to get more
28
+ information on errors. Pull request #4189 by deivid-rodriguez
29
+ * Installs bundler 2.3.0 as a default gem.
30
+
31
+ ## Bug fixes:
32
+
33
+ * Fix encoding mismatch issues when writing gem packages. Pull request
34
+ #5162 by deivid-rodriguez
35
+ * Fix broken brew formula due to loading `operating_system.rb`
36
+ customizations too late. Pull request #5154 by deivid-rodriguez
37
+ * Properly fetch `Gem#latest_spec_for` with multiple sources. Pull request
38
+ #2764 by kevlogan90
39
+ * Fix upgrade crashing when multiple versions of `fileutils` installed.
40
+ Pull request #5140 by deivid-rodriguez
41
+
42
+ # 3.2.33 / 2021-12-07
43
+
44
+ ## Deprecations:
45
+
46
+ * Deprecate typo name. Pull request #5109 by nobu
47
+
48
+ ## Enhancements:
49
+
50
+ * Add login & logout alias for the signin & signout commands. Pull request
51
+ #5133 by colby-swandale
52
+ * Fix race conditions when reading & writing gemspecs concurrently. Pull
53
+ request #4408 by deivid-rodriguez
54
+ * Installs bundler 2.2.33 as a default gem.
55
+
56
+ ## Bug fixes:
57
+
58
+ * Fix `ruby setup.rb` trying to write outside of `--destdir`. Pull request
59
+ #5053 by deivid-rodriguez
60
+
61
+ ## Documentation:
62
+
63
+ * Move required_ruby_version gemspec attribute to recommended section.
64
+ Pull request #5130 by simi
65
+ * Ignore to generate the documentation from vendored libraries. Pull
66
+ request #5118 by hsbt
67
+
68
+ # 3.2.32 / 2021-11-23
69
+
70
+ ## Enhancements:
71
+
72
+ * Refactor installer thread safety protections. Pull request #5050 by
73
+ deivid-rodriguez
74
+ * Allow gem activation from `operating_system.rb`. Pull request #5044 by
75
+ deivid-rodriguez
76
+ * Installs bundler 2.2.32 as a default gem.
77
+
78
+ # 3.2.31 / 2021-11-08
79
+
80
+ ## Enhancements:
81
+
82
+ * Don't pass empty `DESTDIR` to `nmake` since it works differently from
83
+ standard `make`. Pull request #5057 by hsbt
84
+ * Fix `gem install` vs `gem fetch` inconsistency. Pull request #5037 by
85
+ deivid-rodriguez
86
+ * Lazily load and vendor `optparse`. Pull request #4881 by
87
+ deivid-rodriguez
88
+ * Use a vendored copy of `tsort` internally. Pull request #5027 by
89
+ deivid-rodriguez
90
+ * Install bundler 2.2.31 as a default gem.
91
+
92
+ ## Bug fixes:
93
+
94
+ * Fix `ruby setup.rb` when `--prefix` is passed. Pull request #5051 by
95
+ deivid-rodriguez
96
+ * Don't apply `--destdir` twice when running `setup.rb`. Pull request
97
+ #2768 by alyssais
98
+
1
99
  # 3.2.30 / 2021-10-26
2
100
 
3
101
  ## Enhancements:
@@ -10,6 +108,7 @@
10
108
  by deivid-rodriguez
11
109
  * Add missing `require` of `time` within
12
110
  `Gem::Request.verify_certificate_message`. Pull request #4975 by nobu
111
+ * Install bundler 2.2.30 as a default gem.
13
112
 
14
113
  ## Performance:
15
114
 
@@ -22,6 +121,7 @@
22
121
 
23
122
  * Only disallow FIXME/TODO for first word of gemspec description. Pull
24
123
  request #4937 by duckinator
124
+ * Install bundler 2.2.29 as a default gem.
25
125
 
26
126
  ## Bug fixes:
27
127
 
@@ -42,6 +142,7 @@
42
142
  by duckinator
43
143
  * Avoid loading `uri` unnecessarily when activating gems. Pull request
44
144
  #4897 by deivid-rodriguez
145
+ * Install bundler 2.2.28 as a default gem.
45
146
 
46
147
  ## Bug fixes:
47
148
 
@@ -57,6 +158,7 @@
57
158
  request #4858 by deivid-rodriguez
58
159
  * Prioritise gems with higher version for fetching metadata, and stop
59
160
  fetching once we find a valid candidate. Pull request #4843 by intuxicated
161
+ * Install bundler 2.2.27 as a default gem.
60
162
 
61
163
  # 3.2.26 / 2021-08-17
62
164
 
@@ -67,6 +169,7 @@
67
169
  intuxicated
68
170
  * Ignore `RUBYGEMS_GEMDEPS` for the bundler gem. Pull request #4532 by
69
171
  deivid-rodriguez
172
+ * Install bundler 2.2.26 as a default gem.
70
173
 
71
174
  ## Bug fixes:
72
175
 
@@ -84,6 +187,7 @@
84
187
  * Lazily load `shellwords` library. Pull request #4783 by deivid-rodriguez
85
188
  * Check requirements class before loading marshalled requirements. Pull
86
189
  request #4651 by nobu
190
+ * Install bundler 2.2.25 as a default gem.
87
191
 
88
192
  ## Bug fixes:
89
193
 
@@ -92,6 +196,10 @@
92
196
 
93
197
  # 3.2.24 / 2021-07-15
94
198
 
199
+ ## Enhancements:
200
+
201
+ * Install bundler 2.2.24 as a default gem.
202
+
95
203
  ## Bug fixes:
96
204
 
97
205
  * Fix contradictory message about deletion of default gem. Pull request
@@ -108,6 +216,7 @@
108
216
 
109
217
  * Rewind IO source to allow working with contents in memory. Pull request
110
218
  #4729 by drcapulet
219
+ * Install bundler 2.2.23 as a default gem.
111
220
 
112
221
  # 3.2.22 / 2021-07-06
113
222
 
@@ -117,6 +226,7 @@
117
226
  CGA1123
118
227
  * Fixes for the edge case when openssl library is missing. Pull request
119
228
  #4695 by rhenium
229
+ * Install bundler 2.2.22 as a default gem.
120
230
 
121
231
  # 3.2.21 / 2021-06-23
122
232
 
@@ -126,6 +236,7 @@
126
236
  * Add the most recent licenses from spdx.org. Pull request #4662 by nobu
127
237
  * Simplify setup.rb code to allow installing rubygems from source on
128
238
  truffleruby 21.0 and 21.1. Pull request #4624 by deivid-rodriguez
239
+ * Install bundler 2.2.21 as a default gem.
129
240
 
130
241
  ## Bug fixes:
131
242
 
@@ -143,12 +254,14 @@
143
254
 
144
255
  * Add better specification policy error description. Pull request #4658 by
145
256
  ceritium
257
+ * Install bundler 2.2.20 as a default gem.
146
258
 
147
259
  # 3.2.19 / 2021-05-31
148
260
 
149
261
  ## Enhancements:
150
262
 
151
263
  * Fix `gem help build` output format. Pull request #4613 by tnir
264
+ * Install bundler 2.2.19 as a default gem.
152
265
 
153
266
  # 3.2.18 / 2021-05-25
154
267
 
@@ -156,6 +269,7 @@
156
269
 
157
270
  * Don't leave temporary directory around when building extensions to
158
271
  improve build reproducibility. Pull request #4610 by baloo
272
+ * Install bundler 2.2.18 as a default gem.
159
273
 
160
274
  # 3.2.17 / 2021-05-05
161
275
 
@@ -167,6 +281,7 @@
167
281
  #4558 by mame
168
282
  * Update the default bindir on macOS. Pull request #4524 by nobu
169
283
  * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
284
+ * Install bundler 2.2.17 as a default gem.
170
285
 
171
286
  ## Documentation:
172
287
 
@@ -175,6 +290,10 @@
175
290
 
176
291
  # 3.2.16 / 2021-04-08
177
292
 
293
+ ## Enhancements:
294
+
295
+ * Install bundler 2.2.16 as a default gem.
296
+
178
297
  ## Bug fixes:
179
298
 
180
299
  * Correctly handle symlinks. Pull request #2836 by voxik
@@ -185,6 +304,7 @@
185
304
 
186
305
  * Prevent downgrades to untested rubygems versions. Pull request #4460 by
187
306
  deivid-rodriguez
307
+ * Install bundler 2.2.15 as a default gem.
188
308
 
189
309
  ## Bug fixes:
190
310
 
@@ -195,6 +315,7 @@
195
315
  ## Enhancements:
196
316
 
197
317
  * Less wrapping of network errors. Pull request #4064 by deivid-rodriguez
318
+ * Install bundler 2.2.14 as a default gem.
198
319
 
199
320
  ## Bug fixes:
200
321
 
@@ -203,12 +324,20 @@
203
324
 
204
325
  # 3.2.13 / 2021-03-03
205
326
 
327
+ ## Enhancements:
328
+
329
+ * Install bundler 2.2.13 as a default gem.
330
+
206
331
  ## Bug fixes:
207
332
 
208
333
  * Support non-gnu libc linux platforms. Pull request #4082 by lloeki
209
334
 
210
335
  # 3.2.12 / 2021-03-01
211
336
 
337
+ ## Enhancements:
338
+
339
+ * Install bundler 2.2.12 as a default gem.
340
+
212
341
  ## Bug fixes:
213
342
 
214
343
  * Restore the ability to manually install extension gems. Pull request
@@ -220,9 +349,14 @@
220
349
 
221
350
  * Optionally fallback to IPv4 when IPv6 is unreachable. Pull request #2662
222
351
  by sonalkr132
352
+ * Install bundler 2.2.11 as a default gem.
223
353
 
224
354
  # 3.2.10 / 2021-02-15
225
355
 
356
+ ## Enhancements:
357
+
358
+ * Install bundler 2.2.10 as a default gem.
359
+
226
360
  ## Documentation:
227
361
 
228
362
  * Add a `gem push` example to `gem help`. Pull request #4373 by
@@ -232,6 +366,10 @@
232
366
 
233
367
  # 3.2.9 / 2021-02-08
234
368
 
369
+ ## Enhancements:
370
+
371
+ * Install bundler 2.2.9 as a default gem.
372
+
235
373
  ## Bug fixes:
236
374
 
237
375
  * Fix error message when underscore selection can't find bundler. Pull
@@ -245,6 +383,10 @@
245
383
 
246
384
  # 3.2.8 / 2021-02-02
247
385
 
386
+ ## Enhancements:
387
+
388
+ * Install bundler 2.2.8 as a default gem.
389
+
248
390
  ## Bug fixes:
249
391
 
250
392
  * Fix `gem install` crashing on gemspec with nil required_ruby_version.
@@ -252,6 +394,10 @@
252
394
 
253
395
  # 3.2.7 / 2021-01-26
254
396
 
397
+ ## Enhancements:
398
+
399
+ * Install bundler 2.2.7 as a default gem.
400
+
255
401
  ## Bug fixes:
256
402
 
257
403
  * Generate plugin wrappers with relative requires. Pull request #4317 by
@@ -263,6 +409,7 @@
263
409
 
264
410
  * Fix `Gem::Platform#inspect` showing duplicate information. Pull request
265
411
  #4276 by deivid-rodriguez
412
+ * Install bundler 2.2.6 as a default gem.
266
413
 
267
414
  ## Bug fixes:
268
415
 
@@ -273,6 +420,10 @@
273
420
 
274
421
  # 3.2.5 / 2021-01-11
275
422
 
423
+ ## Enhancements:
424
+
425
+ * Install bundler 2.2.5 as a default gem.
426
+
276
427
  ## Bug fixes:
277
428
 
278
429
  * Don't load more specs after the whole set of specs has been setup. Pull
@@ -288,6 +439,7 @@
288
439
  deivid-rodriguez
289
440
  * Never spawn subshells when building extensions. Pull request #4190 by
290
441
  deivid-rodriguez
442
+ * Install bundler 2.2.4 as a default gem.
291
443
 
292
444
  ## Bug fixes:
293
445
 
@@ -301,6 +453,7 @@
301
453
  ## Enhancements:
302
454
 
303
455
  * Fix misspellings in default API key name. Pull request #4177 by hsbt
456
+ * Install bundler 2.2.3 as a default gem.
304
457
 
305
458
  ## Bug fixes:
306
459
 
@@ -310,6 +463,10 @@
310
463
 
311
464
  # 3.2.2 / 2020-12-17
312
465
 
466
+ ## Enhancements:
467
+
468
+ * Install bundler 2.2.2 as a default gem.
469
+
313
470
  ## Bug fixes:
314
471
 
315
472
  * Fix issue where CLI commands making more than one request to
@@ -326,6 +483,7 @@
326
483
 
327
484
  * Added help message for gem i webrick in gem server command. Pull request
328
485
  #4117 by hsbt
486
+ * Install bundler 2.2.1 as a default gem.
329
487
 
330
488
  ## Bug fixes:
331
489
 
@@ -354,6 +512,7 @@
354
512
  * Lazily load `openssl`. Pull request #3850 by deivid-rodriguez
355
513
  * Pass more information when comparing platforms. Pull request #3817 by
356
514
  eregon
515
+ * Install bundler 2.2.0 as a default gem.
357
516
 
358
517
  ## Bug fixes:
359
518
 
@@ -4483,7 +4642,7 @@ Lavena and Daniel Berger for continuing windows support.
4483
4642
  * Tar handling code refactoring and cleanup.
4484
4643
  * Gem::DependencyInstaller's API has changed.
4485
4644
 
4486
- For a full list of changes to RubyGems, see the ChangeLog file.
4645
+ For a full list of changes to RubyGems, see the git log.
4487
4646
 
4488
4647
  # 1.0.1 / 2007-12-20
4489
4648
 
@@ -4627,7 +4786,7 @@ have permanently enabled the work around on all versions.
4627
4786
 
4628
4787
  # 0.9.1 / 2007-01-16
4629
4788
 
4630
- See ChangeLog
4789
+ See git log
4631
4790
 
4632
4791
  # 0.9.0 / 2006-06-28
4633
4792
 
@@ -4875,11 +5034,11 @@ There has been some minor usability enhancements and changes ...
4875
5034
 
4876
5035
  # 0.7.0 / 2004-07-09
4877
5036
 
4878
- See ChangeLog
5037
+ See git log
4879
5038
 
4880
5039
  # 0.6.1 / 2004-06-08
4881
5040
 
4882
- See ChangeLog
5041
+ See git log
4883
5042
 
4884
5043
  # 0.6.0 / 2004-06-08
4885
5044
 
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
@@ -78,7 +78,6 @@ bundler/lib/bundler/gem_helper.rb
78
78
  bundler/lib/bundler/gem_helpers.rb
79
79
  bundler/lib/bundler/gem_tasks.rb
80
80
  bundler/lib/bundler/gem_version_promoter.rb
81
- bundler/lib/bundler/gemdeps.rb
82
81
  bundler/lib/bundler/graph.rb
83
82
  bundler/lib/bundler/index.rb
84
83
  bundler/lib/bundler/injector.rb
@@ -166,6 +165,7 @@ bundler/lib/bundler/rubygems_ext.rb
166
165
  bundler/lib/bundler/rubygems_gem_installer.rb
167
166
  bundler/lib/bundler/rubygems_integration.rb
168
167
  bundler/lib/bundler/runtime.rb
168
+ bundler/lib/bundler/self_manager.rb
169
169
  bundler/lib/bundler/settings.rb
170
170
  bundler/lib/bundler/settings/validator.rb
171
171
  bundler/lib/bundler/setup.rb
@@ -212,10 +212,12 @@ bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt
212
212
  bundler/lib/bundler/templates/newgem/newgem.gemspec.tt
213
213
  bundler/lib/bundler/templates/newgem/rspec.tt
214
214
  bundler/lib/bundler/templates/newgem/rubocop.yml.tt
215
+ bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt
215
216
  bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
216
217
  bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt
217
- bundler/lib/bundler/templates/newgem/test/minitest/newgem_test.rb.tt
218
+ bundler/lib/bundler/templates/newgem/standard.yml.tt
218
219
  bundler/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt
220
+ bundler/lib/bundler/templates/newgem/test/minitest/test_newgem.rb.tt
219
221
  bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt
220
222
  bundler/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt
221
223
  bundler/lib/bundler/templates/newgem/travis.yml.tt
@@ -224,6 +226,7 @@ bundler/lib/bundler/ui/rg_proxy.rb
224
226
  bundler/lib/bundler/ui/shell.rb
225
227
  bundler/lib/bundler/ui/silent.rb
226
228
  bundler/lib/bundler/uri_credentials_filter.rb
229
+ bundler/lib/bundler/vendor/.document
227
230
  bundler/lib/bundler/vendor/connection_pool/LICENSE
228
231
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb
229
232
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
@@ -290,6 +293,8 @@ bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb
290
293
  bundler/lib/bundler/vendor/thor/lib/thor/util.rb
291
294
  bundler/lib/bundler/vendor/thor/lib/thor/version.rb
292
295
  bundler/lib/bundler/vendor/tmpdir/lib/tmpdir.rb
296
+ bundler/lib/bundler/vendor/tsort/LICENSE.txt
297
+ bundler/lib/bundler/vendor/tsort/lib/tsort.rb
293
298
  bundler/lib/bundler/vendor/uri/LICENSE.txt
294
299
  bundler/lib/bundler/vendor/uri/lib/uri.rb
295
300
  bundler/lib/bundler/vendor/uri/lib/uri/common.rb
@@ -304,11 +309,14 @@ bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb
304
309
  bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb
305
310
  bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb
306
311
  bundler/lib/bundler/vendor/uri/lib/uri/version.rb
312
+ bundler/lib/bundler/vendor/uri/lib/uri/ws.rb
313
+ bundler/lib/bundler/vendor/uri/lib/uri/wss.rb
307
314
  bundler/lib/bundler/vendored_fileutils.rb
308
315
  bundler/lib/bundler/vendored_molinillo.rb
309
316
  bundler/lib/bundler/vendored_persistent.rb
310
317
  bundler/lib/bundler/vendored_thor.rb
311
318
  bundler/lib/bundler/vendored_tmpdir.rb
319
+ bundler/lib/bundler/vendored_tsort.rb
312
320
  bundler/lib/bundler/vendored_uri.rb
313
321
  bundler/lib/bundler/version.rb
314
322
  bundler/lib/bundler/version_ranges.rb
@@ -390,6 +398,18 @@ lib/rubygems/local_remote_options.rb
390
398
  lib/rubygems/mock_gem_ui.rb
391
399
  lib/rubygems/name_tuple.rb
392
400
  lib/rubygems/openssl.rb
401
+ lib/rubygems/optparse.rb
402
+ lib/rubygems/optparse/.document
403
+ lib/rubygems/optparse/COPYING
404
+ lib/rubygems/optparse/lib/optionparser.rb
405
+ lib/rubygems/optparse/lib/optparse.rb
406
+ lib/rubygems/optparse/lib/optparse/ac.rb
407
+ lib/rubygems/optparse/lib/optparse/date.rb
408
+ lib/rubygems/optparse/lib/optparse/kwargs.rb
409
+ lib/rubygems/optparse/lib/optparse/shellwords.rb
410
+ lib/rubygems/optparse/lib/optparse/time.rb
411
+ lib/rubygems/optparse/lib/optparse/uri.rb
412
+ lib/rubygems/optparse/lib/optparse/version.rb
393
413
  lib/rubygems/package.rb
394
414
  lib/rubygems/package/digest_io.rb
395
415
  lib/rubygems/package/file_source.rb
@@ -475,7 +495,6 @@ lib/rubygems/security/policy.rb
475
495
  lib/rubygems/security/signer.rb
476
496
  lib/rubygems/security/trust_dir.rb
477
497
  lib/rubygems/security_option.rb
478
- lib/rubygems/server.rb
479
498
  lib/rubygems/source.rb
480
499
  lib/rubygems/source/git.rb
481
500
  lib/rubygems/source/installed.rb
@@ -492,7 +511,12 @@ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
492
511
  lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
493
512
  lib/rubygems/stub_specification.rb
494
513
  lib/rubygems/text.rb
514
+ lib/rubygems/tsort.rb
515
+ lib/rubygems/tsort/.document
516
+ lib/rubygems/tsort/LICENSE.txt
517
+ lib/rubygems/tsort/lib/tsort.rb
495
518
  lib/rubygems/uninstaller.rb
519
+ lib/rubygems/unknown_command_spell_checker.rb
496
520
  lib/rubygems/uri.rb
497
521
  lib/rubygems/uri_formatter.rb
498
522
  lib/rubygems/user_interaction.rb
@@ -508,7 +532,6 @@ test/rubygems/alternate_cert.pem
508
532
  test/rubygems/alternate_cert_32.pem
509
533
  test/rubygems/alternate_key.pem
510
534
  test/rubygems/bad_rake.rb
511
- test/rubygems/bogussources.rb
512
535
  test/rubygems/ca_cert.pem
513
536
  test/rubygems/child_cert.pem
514
537
  test/rubygems/child_cert_32.pem
@@ -565,6 +588,7 @@ test/rubygems/ssl_key.pem
565
588
  test/rubygems/test_bundled_ca.rb
566
589
  test/rubygems/test_config.rb
567
590
  test/rubygems/test_deprecate.rb
591
+ test/rubygems/test_exit.rb
568
592
  test/rubygems/test_gem.rb
569
593
  test/rubygems/test_gem_available_set.rb
570
594
  test/rubygems/test_gem_bundler_version_finder.rb
@@ -667,7 +691,6 @@ test/rubygems/test_gem_security.rb
667
691
  test/rubygems/test_gem_security_policy.rb
668
692
  test/rubygems/test_gem_security_signer.rb
669
693
  test/rubygems/test_gem_security_trust_dir.rb
670
- test/rubygems/test_gem_server.rb
671
694
  test/rubygems/test_gem_silent_ui.rb
672
695
  test/rubygems/test_gem_source.rb
673
696
  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