rubygems-update 3.2.29 → 3.2.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +136 -0
  3. data/Manifest.txt +32 -1
  4. data/bundler/CHANGELOG.md +79 -1
  5. data/bundler/README.md +1 -1
  6. data/bundler/lib/bundler/build_metadata.rb +2 -2
  7. data/bundler/lib/bundler/cli/doctor.rb +3 -2
  8. data/bundler/lib/bundler/cli/gem.rb +69 -7
  9. data/bundler/lib/bundler/cli/info.rb +16 -4
  10. data/bundler/lib/bundler/cli/issue.rb +4 -3
  11. data/bundler/lib/bundler/cli/update.rb +2 -2
  12. data/bundler/lib/bundler/cli.rb +4 -1
  13. data/bundler/lib/bundler/compact_index_client/updater.rb +0 -5
  14. data/bundler/lib/bundler/compact_index_client.rb +2 -2
  15. data/bundler/lib/bundler/definition.rb +62 -124
  16. data/bundler/lib/bundler/digest.rb +71 -0
  17. data/bundler/lib/bundler/dsl.rb +18 -3
  18. data/bundler/lib/bundler/environment_preserver.rb +4 -1
  19. data/bundler/lib/bundler/errors.rb +18 -2
  20. data/bundler/lib/bundler/fetcher.rb +2 -1
  21. data/bundler/lib/bundler/friendly_errors.rb +5 -30
  22. data/bundler/lib/bundler/gem_helper.rb +5 -16
  23. data/bundler/lib/bundler/lazy_specification.rb +17 -1
  24. data/bundler/lib/bundler/lockfile_parser.rb +1 -0
  25. data/bundler/lib/bundler/man/bundle-add.1 +1 -1
  26. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  27. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  28. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  29. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  30. data/bundler/lib/bundler/man/bundle-config.1 +3 -3
  31. data/bundler/lib/bundler/man/bundle-config.1.ronn +2 -2
  32. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  33. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  34. data/bundler/lib/bundler/man/bundle-gem.1 +14 -1
  35. data/bundler/lib/bundler/man/bundle-gem.1.ronn +16 -0
  36. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  37. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  38. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  39. data/bundler/lib/bundler/man/bundle-install.1 +1 -1
  40. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  41. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  42. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  43. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  44. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  47. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  48. data/bundler/lib/bundler/man/bundle-update.1 +1 -1
  49. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  50. data/bundler/lib/bundler/man/bundle.1 +1 -1
  51. data/bundler/lib/bundler/man/gemfile.5 +27 -1
  52. data/bundler/lib/bundler/man/gemfile.5.ronn +8 -0
  53. data/bundler/lib/bundler/plugin/api/source.rb +1 -0
  54. data/bundler/lib/bundler/resolver.rb +2 -4
  55. data/bundler/lib/bundler/rubygems_ext.rb +4 -0
  56. data/bundler/lib/bundler/rubygems_gem_installer.rb +20 -4
  57. data/bundler/lib/bundler/rubygems_integration.rb +26 -9
  58. data/bundler/lib/bundler/runtime.rb +2 -2
  59. data/bundler/lib/bundler/shared_helpers.rb +2 -3
  60. data/bundler/lib/bundler/source/git/git_proxy.rb +7 -4
  61. data/bundler/lib/bundler/source/git.rb +3 -1
  62. data/bundler/lib/bundler/source/rubygems.rb +52 -84
  63. data/bundler/lib/bundler/source/rubygems_aggregate.rb +1 -1
  64. data/bundler/lib/bundler/source.rb +1 -1
  65. data/bundler/lib/bundler/source_list.rb +7 -29
  66. data/bundler/lib/bundler/spec_set.rb +1 -1
  67. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +5 -2
  68. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +5 -1
  69. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +2 -2
  70. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +12 -12
  71. data/bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  72. data/bundler/lib/bundler/templates/newgem/standard.yml.tt +2 -0
  73. data/bundler/lib/bundler/vendor/.document +1 -0
  74. data/bundler/lib/bundler/vendor/connection_pool/LICENSE +20 -0
  75. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +19 -21
  76. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
  77. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +57 -0
  78. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +39 -74
  79. data/bundler/lib/bundler/vendor/fileutils/LICENSE.txt +22 -0
  80. data/bundler/lib/bundler/vendor/molinillo/LICENSE +9 -0
  81. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  82. data/bundler/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
  83. data/bundler/lib/bundler/vendor/thor/LICENSE.md +20 -0
  84. data/bundler/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
  85. data/bundler/lib/bundler/vendor/tsort/lib/tsort.rb +453 -0
  86. data/bundler/lib/bundler/vendor/uri/LICENSE.txt +22 -0
  87. data/bundler/lib/bundler/vendored_tsort.rb +4 -0
  88. data/bundler/lib/bundler/version.rb +1 -1
  89. data/bundler/lib/bundler/worker.rb +2 -2
  90. data/bundler/lib/bundler.rb +2 -1
  91. data/lib/rubygems/command.rb +4 -4
  92. data/lib/rubygems/command_manager.rb +3 -1
  93. data/lib/rubygems/commands/cert_command.rb +18 -11
  94. data/lib/rubygems/commands/fetch_command.rb +1 -1
  95. data/lib/rubygems/commands/pristine_command.rb +8 -2
  96. data/lib/rubygems/commands/server_command.rb +3 -3
  97. data/lib/rubygems/commands/setup_command.rb +82 -62
  98. data/lib/rubygems/commands/uninstall_command.rb +1 -1
  99. data/lib/rubygems/commands/update_command.rb +1 -1
  100. data/lib/rubygems/core_ext/tcpsocket_init.rb +2 -2
  101. data/lib/rubygems/dependency_list.rb +2 -2
  102. data/lib/rubygems/exceptions.rb +1 -0
  103. data/lib/rubygems/ext/builder.rb +6 -5
  104. data/lib/rubygems/ext/cmake_builder.rb +1 -1
  105. data/lib/rubygems/install_update_options.rb +2 -2
  106. data/lib/rubygems/installer.rb +35 -26
  107. data/lib/rubygems/local_remote_options.rb +3 -3
  108. data/lib/rubygems/optparse/.document +1 -0
  109. data/lib/rubygems/optparse/COPYING +56 -0
  110. data/lib/rubygems/optparse/lib/optionparser.rb +2 -0
  111. data/lib/rubygems/optparse/lib/optparse/ac.rb +54 -0
  112. data/lib/rubygems/optparse/lib/optparse/date.rb +18 -0
  113. data/lib/rubygems/optparse/lib/optparse/kwargs.rb +22 -0
  114. data/lib/rubygems/optparse/lib/optparse/shellwords.rb +7 -0
  115. data/lib/rubygems/optparse/lib/optparse/time.rb +11 -0
  116. data/lib/rubygems/optparse/lib/optparse/uri.rb +7 -0
  117. data/lib/rubygems/optparse/lib/optparse/version.rb +71 -0
  118. data/lib/rubygems/optparse/lib/optparse.rb +2230 -0
  119. data/lib/rubygems/optparse.rb +3 -0
  120. data/lib/rubygems/package.rb +24 -34
  121. data/lib/rubygems/query_utils.rb +4 -4
  122. data/lib/rubygems/remote_fetcher.rb +2 -2
  123. data/lib/rubygems/request/connection_pools.rb +1 -1
  124. data/lib/rubygems/request/http_pool.rb +1 -1
  125. data/lib/rubygems/request.rb +2 -0
  126. data/lib/rubygems/request_set.rb +3 -3
  127. data/lib/rubygems/resolver/molinillo/LICENSE +9 -0
  128. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  129. data/lib/rubygems/s3_uri_signer.rb +4 -5
  130. data/lib/rubygems/security/policy.rb +5 -3
  131. data/lib/rubygems/security/signer.rb +3 -4
  132. data/lib/rubygems/security.rb +49 -15
  133. data/lib/rubygems/security_option.rb +3 -3
  134. data/lib/rubygems/source/git.rb +2 -2
  135. data/lib/rubygems/source.rb +1 -1
  136. data/lib/rubygems/specification.rb +45 -43
  137. data/lib/rubygems/tsort/.document +1 -0
  138. data/lib/rubygems/tsort/LICENSE.txt +22 -0
  139. data/lib/rubygems/tsort/lib/tsort.rb +454 -0
  140. data/lib/rubygems/tsort.rb +3 -0
  141. data/lib/rubygems/user_interaction.rb +1 -1
  142. data/lib/rubygems/util/licenses.rb +2 -0
  143. data/lib/rubygems/util.rb +1 -1
  144. data/lib/rubygems/version_option.rb +2 -2
  145. data/lib/rubygems.rb +22 -22
  146. data/rubygems-update.gemspec +1 -1
  147. data/test/rubygems/encrypted_private_key.pem +26 -26
  148. data/test/rubygems/helper.rb +30 -44
  149. data/test/rubygems/private_ec_key.pem +9 -0
  150. data/test/rubygems/test_gem.rb +59 -71
  151. data/test/rubygems/test_gem_command.rb +1 -1
  152. data/test/rubygems/test_gem_command_manager.rb +12 -0
  153. data/test/rubygems/test_gem_commands_cert_command.rb +71 -12
  154. data/test/rubygems/test_gem_commands_fetch_command.rb +36 -0
  155. data/test/rubygems/test_gem_commands_server_command.rb +3 -3
  156. data/test/rubygems/test_gem_commands_setup_command.rb +67 -19
  157. data/test/rubygems/test_gem_commands_signin_command.rb +1 -1
  158. data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -1
  159. data/test/rubygems/test_gem_commands_yank_command.rb +1 -1
  160. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +7 -3
  161. data/test/rubygems/test_gem_install_update_options.rb +2 -2
  162. data/test/rubygems/test_gem_installer.rb +37 -5
  163. data/test/rubygems/test_gem_package.rb +27 -26
  164. data/test/rubygems/test_gem_request.rb +10 -4
  165. data/test/rubygems/test_gem_resolver.rb +7 -7
  166. data/test/rubygems/test_gem_security.rb +32 -4
  167. data/test/rubygems/test_gem_specification.rb +211 -232
  168. data/test/rubygems/test_require.rb +10 -30
  169. metadata +38 -7
  170. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +0 -66
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcf64ee050b262bd965f82ba52dfdb8970e6115e75541566bbdace930cac6879
4
- data.tar.gz: 7b3f9ab8071ebde24146ad94176a30d97ef82b64ad12dd6c29e9626a05df4aba
3
+ metadata.gz: c0ad3f54099eb51ea11d57eb8da10dd84729d075b26073b687ed49f7e7f8b018
4
+ data.tar.gz: fa02cdd3863c8ead6ebc2594f6e7c4b0065a8dff28eb9412cf16c18e5e38e05e
5
5
  SHA512:
6
- metadata.gz: 56cdf955ae0347133c9c36a7936bdd615690714c791a48cefc2aa3be8d87e3bae1a553cc9ddc5c6160fefa05f65436b8bf572ffc02ee7e19a6cccb0bc11eb468
7
- data.tar.gz: 461a8f477585578e7f7c94f59ae8bafdf4c6d4a4a7b826f41cfc25fe49349e5d895b97b8c028d652342dc447176547ea169a5779db0b166471e0a9e7147d491b
6
+ metadata.gz: 5416de9788161fd52b5619e8579134cc6abf4431819d23e56f06ae1b0fd5e511db5fb042b67824dc7a257403ab982528f52e39895f9f56d69472f86827d1a756
7
+ data.tar.gz: 61d7407de87425e910d2dd2282dfb1de6b6ed472aac1cb5059387c946bdd3564c4bc65d3d6d8d07587010185bbd06679cb1d77e718672ee0de3be6a813f00b7b
data/CHANGELOG.md CHANGED
@@ -1,9 +1,86 @@
1
+ # 3.2.33 / 2021-12-07
2
+
3
+ ## Deprecations:
4
+
5
+ * Deprecate typo name. Pull request #5109 by nobu
6
+
7
+ ## Enhancements:
8
+
9
+ * Add login & logout alias for the signin & signout commands. Pull request
10
+ #5133 by colby-swandale
11
+ * Fix race conditions when reading & writing gemspecs concurrently. Pull
12
+ request #4408 by deivid-rodriguez
13
+ * Installs bundler 2.2.33 as a default gem.
14
+
15
+ ## Bug fixes:
16
+
17
+ * Fix `ruby setup.rb` trying to write outside of `--destdir`. Pull request
18
+ #5053 by deivid-rodriguez
19
+
20
+ ## Documentation:
21
+
22
+ * Move required_ruby_version gemspec attribute to recommended section.
23
+ Pull request #5130 by simi
24
+ * Ignore to generate the documentation from vendored libraries. Pull
25
+ request #5118 by hsbt
26
+
27
+ # 3.2.32 / 2021-11-23
28
+
29
+ ## Enhancements:
30
+
31
+ * Refactor installer thread safety protections. Pull request #5050 by
32
+ deivid-rodriguez
33
+ * Allow gem activation from `operating_system.rb`. Pull request #5044 by
34
+ deivid-rodriguez
35
+ * Installs bundler 2.2.32 as a default gem.
36
+
37
+ # 3.2.31 / 2021-11-08
38
+
39
+ ## Enhancements:
40
+
41
+ * Don't pass empty `DESTDIR` to `nmake` since it works differently from
42
+ standard `make`. Pull request #5057 by hsbt
43
+ * Fix `gem install` vs `gem fetch` inconsistency. Pull request #5037 by
44
+ deivid-rodriguez
45
+ * Lazily load and vendor `optparse`. Pull request #4881 by
46
+ deivid-rodriguez
47
+ * Use a vendored copy of `tsort` internally. Pull request #5027 by
48
+ deivid-rodriguez
49
+ * Install bundler 2.2.31 as a default gem.
50
+
51
+ ## Bug fixes:
52
+
53
+ * Fix `ruby setup.rb` when `--prefix` is passed. Pull request #5051 by
54
+ deivid-rodriguez
55
+ * Don't apply `--destdir` twice when running `setup.rb`. Pull request
56
+ #2768 by alyssais
57
+
58
+ # 3.2.30 / 2021-10-26
59
+
60
+ ## Enhancements:
61
+
62
+ * Add support to build and sign certificates with multiple key algorithms.
63
+ Pull request #4991 by doodzik
64
+ * Avoid loading the `digest` gem unnecessarily. Pull request #4979 by
65
+ deivid-rodriguez
66
+ * Prefer `require_relative` for all internal requires. Pull request #4978
67
+ by deivid-rodriguez
68
+ * Add missing `require` of `time` within
69
+ `Gem::Request.verify_certificate_message`. Pull request #4975 by nobu
70
+ * Install bundler 2.2.30 as a default gem.
71
+
72
+ ## Performance:
73
+
74
+ * Speed up `gem install`, specially under Windows. Pull request #4960 by
75
+ deivid-rodriguez
76
+
1
77
  # 3.2.29 / 2021-10-08
2
78
 
3
79
  ## Enhancements:
4
80
 
5
81
  * Only disallow FIXME/TODO for first word of gemspec description. Pull
6
82
  request #4937 by duckinator
83
+ * Install bundler 2.2.29 as a default gem.
7
84
 
8
85
  ## Bug fixes:
9
86
 
@@ -24,6 +101,7 @@
24
101
  by duckinator
25
102
  * Avoid loading `uri` unnecessarily when activating gems. Pull request
26
103
  #4897 by deivid-rodriguez
104
+ * Install bundler 2.2.28 as a default gem.
27
105
 
28
106
  ## Bug fixes:
29
107
 
@@ -39,6 +117,7 @@
39
117
  request #4858 by deivid-rodriguez
40
118
  * Prioritise gems with higher version for fetching metadata, and stop
41
119
  fetching once we find a valid candidate. Pull request #4843 by intuxicated
120
+ * Install bundler 2.2.27 as a default gem.
42
121
 
43
122
  # 3.2.26 / 2021-08-17
44
123
 
@@ -49,6 +128,7 @@
49
128
  intuxicated
50
129
  * Ignore `RUBYGEMS_GEMDEPS` for the bundler gem. Pull request #4532 by
51
130
  deivid-rodriguez
131
+ * Install bundler 2.2.26 as a default gem.
52
132
 
53
133
  ## Bug fixes:
54
134
 
@@ -66,6 +146,7 @@
66
146
  * Lazily load `shellwords` library. Pull request #4783 by deivid-rodriguez
67
147
  * Check requirements class before loading marshalled requirements. Pull
68
148
  request #4651 by nobu
149
+ * Install bundler 2.2.25 as a default gem.
69
150
 
70
151
  ## Bug fixes:
71
152
 
@@ -74,6 +155,10 @@
74
155
 
75
156
  # 3.2.24 / 2021-07-15
76
157
 
158
+ ## Enhancements:
159
+
160
+ * Install bundler 2.2.24 as a default gem.
161
+
77
162
  ## Bug fixes:
78
163
 
79
164
  * Fix contradictory message about deletion of default gem. Pull request
@@ -90,6 +175,7 @@
90
175
 
91
176
  * Rewind IO source to allow working with contents in memory. Pull request
92
177
  #4729 by drcapulet
178
+ * Install bundler 2.2.23 as a default gem.
93
179
 
94
180
  # 3.2.22 / 2021-07-06
95
181
 
@@ -99,6 +185,7 @@
99
185
  CGA1123
100
186
  * Fixes for the edge case when openssl library is missing. Pull request
101
187
  #4695 by rhenium
188
+ * Install bundler 2.2.22 as a default gem.
102
189
 
103
190
  # 3.2.21 / 2021-06-23
104
191
 
@@ -108,6 +195,7 @@
108
195
  * Add the most recent licenses from spdx.org. Pull request #4662 by nobu
109
196
  * Simplify setup.rb code to allow installing rubygems from source on
110
197
  truffleruby 21.0 and 21.1. Pull request #4624 by deivid-rodriguez
198
+ * Install bundler 2.2.21 as a default gem.
111
199
 
112
200
  ## Bug fixes:
113
201
 
@@ -125,12 +213,14 @@
125
213
 
126
214
  * Add better specification policy error description. Pull request #4658 by
127
215
  ceritium
216
+ * Install bundler 2.2.20 as a default gem.
128
217
 
129
218
  # 3.2.19 / 2021-05-31
130
219
 
131
220
  ## Enhancements:
132
221
 
133
222
  * Fix `gem help build` output format. Pull request #4613 by tnir
223
+ * Install bundler 2.2.19 as a default gem.
134
224
 
135
225
  # 3.2.18 / 2021-05-25
136
226
 
@@ -138,6 +228,7 @@
138
228
 
139
229
  * Don't leave temporary directory around when building extensions to
140
230
  improve build reproducibility. Pull request #4610 by baloo
231
+ * Install bundler 2.2.18 as a default gem.
141
232
 
142
233
  # 3.2.17 / 2021-05-05
143
234
 
@@ -149,6 +240,7 @@
149
240
  #4558 by mame
150
241
  * Update the default bindir on macOS. Pull request #4524 by nobu
151
242
  * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
243
+ * Install bundler 2.2.17 as a default gem.
152
244
 
153
245
  ## Documentation:
154
246
 
@@ -157,6 +249,10 @@
157
249
 
158
250
  # 3.2.16 / 2021-04-08
159
251
 
252
+ ## Enhancements:
253
+
254
+ * Install bundler 2.2.16 as a default gem.
255
+
160
256
  ## Bug fixes:
161
257
 
162
258
  * Correctly handle symlinks. Pull request #2836 by voxik
@@ -167,6 +263,7 @@
167
263
 
168
264
  * Prevent downgrades to untested rubygems versions. Pull request #4460 by
169
265
  deivid-rodriguez
266
+ * Install bundler 2.2.15 as a default gem.
170
267
 
171
268
  ## Bug fixes:
172
269
 
@@ -177,6 +274,7 @@
177
274
  ## Enhancements:
178
275
 
179
276
  * Less wrapping of network errors. Pull request #4064 by deivid-rodriguez
277
+ * Install bundler 2.2.14 as a default gem.
180
278
 
181
279
  ## Bug fixes:
182
280
 
@@ -185,12 +283,20 @@
185
283
 
186
284
  # 3.2.13 / 2021-03-03
187
285
 
286
+ ## Enhancements:
287
+
288
+ * Install bundler 2.2.13 as a default gem.
289
+
188
290
  ## Bug fixes:
189
291
 
190
292
  * Support non-gnu libc linux platforms. Pull request #4082 by lloeki
191
293
 
192
294
  # 3.2.12 / 2021-03-01
193
295
 
296
+ ## Enhancements:
297
+
298
+ * Install bundler 2.2.12 as a default gem.
299
+
194
300
  ## Bug fixes:
195
301
 
196
302
  * Restore the ability to manually install extension gems. Pull request
@@ -202,9 +308,14 @@
202
308
 
203
309
  * Optionally fallback to IPv4 when IPv6 is unreachable. Pull request #2662
204
310
  by sonalkr132
311
+ * Install bundler 2.2.11 as a default gem.
205
312
 
206
313
  # 3.2.10 / 2021-02-15
207
314
 
315
+ ## Enhancements:
316
+
317
+ * Install bundler 2.2.10 as a default gem.
318
+
208
319
  ## Documentation:
209
320
 
210
321
  * Add a `gem push` example to `gem help`. Pull request #4373 by
@@ -214,6 +325,10 @@
214
325
 
215
326
  # 3.2.9 / 2021-02-08
216
327
 
328
+ ## Enhancements:
329
+
330
+ * Install bundler 2.2.9 as a default gem.
331
+
217
332
  ## Bug fixes:
218
333
 
219
334
  * Fix error message when underscore selection can't find bundler. Pull
@@ -227,6 +342,10 @@
227
342
 
228
343
  # 3.2.8 / 2021-02-02
229
344
 
345
+ ## Enhancements:
346
+
347
+ * Install bundler 2.2.8 as a default gem.
348
+
230
349
  ## Bug fixes:
231
350
 
232
351
  * Fix `gem install` crashing on gemspec with nil required_ruby_version.
@@ -234,6 +353,10 @@
234
353
 
235
354
  # 3.2.7 / 2021-01-26
236
355
 
356
+ ## Enhancements:
357
+
358
+ * Install bundler 2.2.7 as a default gem.
359
+
237
360
  ## Bug fixes:
238
361
 
239
362
  * Generate plugin wrappers with relative requires. Pull request #4317 by
@@ -245,6 +368,7 @@
245
368
 
246
369
  * Fix `Gem::Platform#inspect` showing duplicate information. Pull request
247
370
  #4276 by deivid-rodriguez
371
+ * Install bundler 2.2.6 as a default gem.
248
372
 
249
373
  ## Bug fixes:
250
374
 
@@ -255,6 +379,10 @@
255
379
 
256
380
  # 3.2.5 / 2021-01-11
257
381
 
382
+ ## Enhancements:
383
+
384
+ * Install bundler 2.2.5 as a default gem.
385
+
258
386
  ## Bug fixes:
259
387
 
260
388
  * Don't load more specs after the whole set of specs has been setup. Pull
@@ -270,6 +398,7 @@
270
398
  deivid-rodriguez
271
399
  * Never spawn subshells when building extensions. Pull request #4190 by
272
400
  deivid-rodriguez
401
+ * Install bundler 2.2.4 as a default gem.
273
402
 
274
403
  ## Bug fixes:
275
404
 
@@ -283,6 +412,7 @@
283
412
  ## Enhancements:
284
413
 
285
414
  * Fix misspellings in default API key name. Pull request #4177 by hsbt
415
+ * Install bundler 2.2.3 as a default gem.
286
416
 
287
417
  ## Bug fixes:
288
418
 
@@ -292,6 +422,10 @@
292
422
 
293
423
  # 3.2.2 / 2020-12-17
294
424
 
425
+ ## Enhancements:
426
+
427
+ * Install bundler 2.2.2 as a default gem.
428
+
295
429
  ## Bug fixes:
296
430
 
297
431
  * Fix issue where CLI commands making more than one request to
@@ -308,6 +442,7 @@
308
442
 
309
443
  * Added help message for gem i webrick in gem server command. Pull request
310
444
  #4117 by hsbt
445
+ * Install bundler 2.2.1 as a default gem.
311
446
 
312
447
  ## Bug fixes:
313
448
 
@@ -336,6 +471,7 @@
336
471
  * Lazily load `openssl`. Pull request #3850 by deivid-rodriguez
337
472
  * Pass more information when comparing platforms. Pull request #3817 by
338
473
  eregon
474
+ * Install bundler 2.2.0 as a default gem.
339
475
 
340
476
  ## Bug fixes:
341
477
 
data/Manifest.txt CHANGED
@@ -60,6 +60,7 @@ bundler/lib/bundler/dep_proxy.rb
60
60
  bundler/lib/bundler/dependency.rb
61
61
  bundler/lib/bundler/deployment.rb
62
62
  bundler/lib/bundler/deprecate.rb
63
+ bundler/lib/bundler/digest.rb
63
64
  bundler/lib/bundler/dsl.rb
64
65
  bundler/lib/bundler/endpoint_specification.rb
65
66
  bundler/lib/bundler/env.rb
@@ -211,8 +212,10 @@ bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt
211
212
  bundler/lib/bundler/templates/newgem/newgem.gemspec.tt
212
213
  bundler/lib/bundler/templates/newgem/rspec.tt
213
214
  bundler/lib/bundler/templates/newgem/rubocop.yml.tt
215
+ bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt
214
216
  bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
215
217
  bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt
218
+ bundler/lib/bundler/templates/newgem/standard.yml.tt
216
219
  bundler/lib/bundler/templates/newgem/test/minitest/newgem_test.rb.tt
217
220
  bundler/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt
218
221
  bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt
@@ -223,11 +226,15 @@ bundler/lib/bundler/ui/rg_proxy.rb
223
226
  bundler/lib/bundler/ui/shell.rb
224
227
  bundler/lib/bundler/ui/silent.rb
225
228
  bundler/lib/bundler/uri_credentials_filter.rb
229
+ bundler/lib/bundler/vendor/.document
230
+ bundler/lib/bundler/vendor/connection_pool/LICENSE
226
231
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb
227
- bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb
228
232
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
229
233
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb
234
+ bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb
235
+ bundler/lib/bundler/vendor/fileutils/LICENSE.txt
230
236
  bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb
237
+ bundler/lib/bundler/vendor/molinillo/LICENSE
231
238
  bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb
232
239
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
233
240
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb
@@ -248,10 +255,12 @@ bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb
248
255
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
249
256
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb
250
257
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/state.rb
258
+ bundler/lib/bundler/vendor/net-http-persistent/README.rdoc
251
259
  bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
252
260
  bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb
253
261
  bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb
254
262
  bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb
263
+ bundler/lib/bundler/vendor/thor/LICENSE.md
255
264
  bundler/lib/bundler/vendor/thor/lib/thor.rb
256
265
  bundler/lib/bundler/vendor/thor/lib/thor/actions.rb
257
266
  bundler/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb
@@ -284,6 +293,9 @@ bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb
284
293
  bundler/lib/bundler/vendor/thor/lib/thor/util.rb
285
294
  bundler/lib/bundler/vendor/thor/lib/thor/version.rb
286
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
298
+ bundler/lib/bundler/vendor/uri/LICENSE.txt
287
299
  bundler/lib/bundler/vendor/uri/lib/uri.rb
288
300
  bundler/lib/bundler/vendor/uri/lib/uri/common.rb
289
301
  bundler/lib/bundler/vendor/uri/lib/uri/file.rb
@@ -302,6 +314,7 @@ bundler/lib/bundler/vendored_molinillo.rb
302
314
  bundler/lib/bundler/vendored_persistent.rb
303
315
  bundler/lib/bundler/vendored_thor.rb
304
316
  bundler/lib/bundler/vendored_tmpdir.rb
317
+ bundler/lib/bundler/vendored_tsort.rb
305
318
  bundler/lib/bundler/vendored_uri.rb
306
319
  bundler/lib/bundler/version.rb
307
320
  bundler/lib/bundler/version_ranges.rb
@@ -383,6 +396,18 @@ lib/rubygems/local_remote_options.rb
383
396
  lib/rubygems/mock_gem_ui.rb
384
397
  lib/rubygems/name_tuple.rb
385
398
  lib/rubygems/openssl.rb
399
+ lib/rubygems/optparse.rb
400
+ lib/rubygems/optparse/.document
401
+ lib/rubygems/optparse/COPYING
402
+ lib/rubygems/optparse/lib/optionparser.rb
403
+ lib/rubygems/optparse/lib/optparse.rb
404
+ lib/rubygems/optparse/lib/optparse/ac.rb
405
+ lib/rubygems/optparse/lib/optparse/date.rb
406
+ lib/rubygems/optparse/lib/optparse/kwargs.rb
407
+ lib/rubygems/optparse/lib/optparse/shellwords.rb
408
+ lib/rubygems/optparse/lib/optparse/time.rb
409
+ lib/rubygems/optparse/lib/optparse/uri.rb
410
+ lib/rubygems/optparse/lib/optparse/version.rb
386
411
  lib/rubygems/package.rb
387
412
  lib/rubygems/package/digest_io.rb
388
413
  lib/rubygems/package/file_source.rb
@@ -431,6 +456,7 @@ lib/rubygems/resolver/local_specification.rb
431
456
  lib/rubygems/resolver/lock_set.rb
432
457
  lib/rubygems/resolver/lock_specification.rb
433
458
  lib/rubygems/resolver/molinillo.rb
459
+ lib/rubygems/resolver/molinillo/LICENSE
434
460
  lib/rubygems/resolver/molinillo/lib/molinillo.rb
435
461
  lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
436
462
  lib/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
@@ -484,6 +510,10 @@ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
484
510
  lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
485
511
  lib/rubygems/stub_specification.rb
486
512
  lib/rubygems/text.rb
513
+ lib/rubygems/tsort.rb
514
+ lib/rubygems/tsort/.document
515
+ lib/rubygems/tsort/LICENSE.txt
516
+ lib/rubygems/tsort/lib/tsort.rb
487
517
  lib/rubygems/uninstaller.rb
488
518
  lib/rubygems/uri.rb
489
519
  lib/rubygems/uri_formatter.rb
@@ -539,6 +569,7 @@ test/rubygems/plugin/exception/rubygems_plugin.rb
539
569
  test/rubygems/plugin/load/rubygems_plugin.rb
540
570
  test/rubygems/plugin/standarderror/rubygems_plugin.rb
541
571
  test/rubygems/private3072_key.pem
572
+ test/rubygems/private_ec_key.pem
542
573
  test/rubygems/private_key.pem
543
574
  test/rubygems/public3072_cert.pem
544
575
  test/rubygems/public_cert.pem
data/bundler/CHANGELOG.md CHANGED
@@ -1,3 +1,81 @@
1
+ # 2.2.33 (December 7, 2021)
2
+
3
+ ## Security fixes:
4
+
5
+ - Pass "--" to git commands to separate positional and optional args [#5142](https://github.com/rubygems/rubygems/pull/5142)
6
+
7
+ ## Enhancements:
8
+
9
+ - Accept pull request URLs as github source [#5126](https://github.com/rubygems/rubygems/pull/5126)
10
+ - Add `--version` parameter to `bundle info` command [#5137](https://github.com/rubygems/rubygems/pull/5137)
11
+ - Let original `Errno::EACCES` error be raised in compact index updater [#5110](https://github.com/rubygems/rubygems/pull/5110)
12
+ - Improve gemfile-lockfile source equivalence errors [#5120](https://github.com/rubygems/rubygems/pull/5120)
13
+ - Avoid float-to-string loss of characters in GitHub Actions configuration labels in new gem template [#5089](https://github.com/rubygems/rubygems/pull/5089)
14
+ - Add an initial rbs template to `bundle gem` skeleton [#5041](https://github.com/rubygems/rubygems/pull/5041)
15
+ - Avoid shared libraries not getting environment passed right after argv in memory when `bundle exec` is used [#4815](https://github.com/rubygems/rubygems/pull/4815)
16
+
17
+ ## Bug fixes:
18
+
19
+ - Don't cleanup paths from gems already activated from `$LOAD_PATH` [#5111](https://github.com/rubygems/rubygems/pull/5111)
20
+ - Fix handling prereleases of 0 versions, like 0.0.0.dev or 0.0.0.SNAPSHOT [#5116](https://github.com/rubygems/rubygems/pull/5116)
21
+ - Fix escape of filenames in `bundle doctor` [#5102](https://github.com/rubygems/rubygems/pull/5102)
22
+ - Don't unlock dependencies when running `bundle install` after changing global source [#5090](https://github.com/rubygems/rubygems/pull/5090)
23
+ - Fix missing locked specs when depended on another platform [#5092](https://github.com/rubygems/rubygems/pull/5092)
24
+ - Fix `bundle info` sometimes claiming that bundler has been deleted [#5097](https://github.com/rubygems/rubygems/pull/5097)
25
+
26
+ ## Documentation:
27
+
28
+ - Ignore to generate the documentation from vendored libraries [#5118](https://github.com/rubygems/rubygems/pull/5118)
29
+
30
+ # 2.2.32 (November 23, 2021)
31
+
32
+ ## Enhancements:
33
+
34
+ - Clarify `bundle viz` deprecation [#5083](https://github.com/rubygems/rubygems/pull/5083)
35
+ - Unlock dependencies that no longer match lockfile [#5068](https://github.com/rubygems/rubygems/pull/5068)
36
+ - Use `shellsplit` instead of array of strings for git push [#5062](https://github.com/rubygems/rubygems/pull/5062)
37
+ - Re-enable `default_ignores` option for standard [#5003](https://github.com/rubygems/rubygems/pull/5003)
38
+
39
+ ## Bug fixes:
40
+
41
+ - Fix downgrading dependencies by changing the `Gemfile` and running `bundle update` [#5078](https://github.com/rubygems/rubygems/pull/5078)
42
+
43
+ # 2.2.31 (November 8, 2021)
44
+
45
+ ## Enhancements:
46
+
47
+ - Link to working `bundler-graph` plugin in `bundle viz` deprecation message [#5061](https://github.com/rubygems/rubygems/pull/5061)
48
+ - Memoize materialized specs when requiring `bundler/setup` [#5033](https://github.com/rubygems/rubygems/pull/5033)
49
+ - Allow custom LicenseRef [#5013](https://github.com/rubygems/rubygems/pull/5013)
50
+ - Better error when installing a lockfile with git sources and git is not installed [#5036](https://github.com/rubygems/rubygems/pull/5036)
51
+ - Only delete cached gem when it's corrupted [#5031](https://github.com/rubygems/rubygems/pull/5031)
52
+ - Support gemified `tsort` [#5032](https://github.com/rubygems/rubygems/pull/5032)
53
+ - Add standard option alongside rubocop to `bundle gem` [#4411](https://github.com/rubygems/rubygems/pull/4411)
54
+
55
+ ## Bug fixes:
56
+
57
+ - Fix system man pages no longer working after bundler overrides `MANPATH` [#5039](https://github.com/rubygems/rubygems/pull/5039)
58
+ - Don't warn when a lockfile is locked to a dev version [#5018](https://github.com/rubygems/rubygems/pull/5018)
59
+
60
+ # 2.2.30 (October 26, 2021)
61
+
62
+ ## Enhancements:
63
+
64
+ - Add a custom SHA1 digest implementation to no longer depend on the digest gem before we know which version to activate [#4989](https://github.com/rubygems/rubygems/pull/4989)
65
+ - Ensure vendored gems have licenses [#4998](https://github.com/rubygems/rubygems/pull/4998)
66
+ - Update broken link in Bundler::Fetcher::CertificateFailureError [#4987](https://github.com/rubygems/rubygems/pull/4987)
67
+ - Give better errors for some permission issues [#4965](https://github.com/rubygems/rubygems/pull/4965)
68
+ - Print better errors when `bundler/gem_tasks` fail [#4872](https://github.com/rubygems/rubygems/pull/4872)
69
+ - Fix `bundle install` to reinstall deleted gems [#4974](https://github.com/rubygems/rubygems/pull/4974)
70
+ - Unify issue template and ISSUES.md document [#4980](https://github.com/rubygems/rubygems/pull/4980)
71
+ - Bump vendored connection_pool to 2.2.5 [#4738](https://github.com/rubygems/rubygems/pull/4738)
72
+
73
+ ## Bug fixes:
74
+
75
+ - Fix error message pointing to non existing file when using a global gem cache [#4999](https://github.com/rubygems/rubygems/pull/4999)
76
+ - Fix install crash when lockfile has missing dependencies for the current platform [#4941](https://github.com/rubygems/rubygems/pull/4941)
77
+ - Make `bundle info` show a proper warning every time it finds a deleted gem [#4971](https://github.com/rubygems/rubygems/pull/4971)
78
+
1
79
  # 2.2.29 (October 8, 2021)
2
80
 
3
81
  ## Enhancements:
@@ -107,7 +185,7 @@
107
185
  - Fix `bundle doctor` crashing when finding a broken symlink [#4707](https://github.com/rubygems/rubygems/pull/4707)
108
186
  - Fix incorrect re-resolve edge case [#4700](https://github.com/rubygems/rubygems/pull/4700)
109
187
  - Fix some gems being unintentionally locked under multiple lockfile sections [#4701](https://github.com/rubygems/rubygems/pull/4701)
110
- - Fix `--conservative` flag unexpectedly updating indirect dependencies [#4692](https://github.com/rubygems/rubygems/pull/4692)
188
+ - Fix `--conservative` flag unexpectedly updating indirect dependencies. NOTE: As part of this bug fix, some undocumented, unintentional code causing `bundle update --source <gem>` to update conservatively was fixed. Use the documented `bundle update --conservative <gem>` instead [#4692](https://github.com/rubygems/rubygems/pull/4692)
111
189
 
112
190
  # 2.2.21 (June 23, 2021)
113
191
 
data/bundler/README.md CHANGED
@@ -32,7 +32,7 @@ See [bundler.io](https://bundler.io) for the full documentation.
32
32
 
33
33
  For help with common problems, see [TROUBLESHOOTING](doc/TROUBLESHOOTING.md).
34
34
 
35
- Still stuck? Try [filing an issue](doc/contributing/ISSUES.md).
35
+ Still stuck? Try [filing an issue](https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md).
36
36
 
37
37
  ### Other questions
38
38
 
@@ -4,8 +4,8 @@ module Bundler
4
4
  # Represents metadata from when the Bundler gem was built.
5
5
  module BuildMetadata
6
6
  # begin ivars
7
- @built_at = "2021-10-08".freeze
8
- @git_commit_sha = "4440b035ef".freeze
7
+ @built_at = "2021-12-07".freeze
8
+ @git_commit_sha = "9b5e2a350b".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "rbconfig"
4
+ require "shellwords"
4
5
 
5
6
  module Bundler
6
7
  class CLI::Doctor
@@ -22,14 +23,14 @@ module Bundler
22
23
  end
23
24
 
24
25
  def dylibs_darwin(path)
25
- output = `/usr/bin/otool -L "#{path}"`.chomp
26
+ output = `/usr/bin/otool -L #{path.shellescape}`.chomp
26
27
  dylibs = output.split("\n")[1..-1].map {|l| l.match(DARWIN_REGEX).captures[0] }.uniq
27
28
  # ignore @rpath and friends
28
29
  dylibs.reject {|dylib| dylib.start_with? "@" }
29
30
  end
30
31
 
31
32
  def dylibs_ldd(path)
32
- output = `/usr/bin/ldd "#{path}"`.chomp
33
+ output = `/usr/bin/ldd #{path.shellescape}`.chomp
33
34
  output.split("\n").map do |l|
34
35
  match = l.match(LDD_REGEX)
35
36
  next if match.nil?