rubygems-update 3.2.32 → 3.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +222 -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 +114 -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 +12 -3
  14. data/bundler/lib/bundler/cli/gem.rb +12 -1
  15. data/bundler/lib/bundler/cli/info.rb +6 -1
  16. data/bundler/lib/bundler/cli/install.rb +2 -3
  17. data/bundler/lib/bundler/cli/platform.rb +1 -1
  18. data/bundler/lib/bundler/cli/update.rb +8 -4
  19. data/bundler/lib/bundler/cli.rb +9 -10
  20. data/bundler/lib/bundler/compact_index_client/cache.rb +0 -9
  21. data/bundler/lib/bundler/compact_index_client/updater.rb +0 -5
  22. data/bundler/lib/bundler/compact_index_client.rb +0 -6
  23. data/bundler/lib/bundler/definition.rb +31 -62
  24. data/bundler/lib/bundler/dependency.rb +5 -7
  25. data/bundler/lib/bundler/dsl.rb +18 -30
  26. data/bundler/lib/bundler/endpoint_specification.rb +21 -11
  27. data/bundler/lib/bundler/env.rb +1 -1
  28. data/bundler/lib/bundler/environment_preserver.rb +4 -1
  29. data/bundler/lib/bundler/fetcher/compact_index.rb +9 -14
  30. data/bundler/lib/bundler/fetcher/index.rb +0 -26
  31. data/bundler/lib/bundler/fetcher.rb +6 -14
  32. data/bundler/lib/bundler/gem_helper.rb +2 -2
  33. data/bundler/lib/bundler/injector.rb +10 -1
  34. data/bundler/lib/bundler/installer/gem_installer.rb +1 -6
  35. data/bundler/lib/bundler/installer.rb +1 -4
  36. data/bundler/lib/bundler/lazy_specification.rb +19 -3
  37. data/bundler/lib/bundler/lockfile_generator.rb +1 -1
  38. data/bundler/lib/bundler/lockfile_parser.rb +10 -13
  39. data/bundler/lib/bundler/man/bundle-add.1 +10 -2
  40. data/bundler/lib/bundler/man/bundle-add.1.ronn +7 -1
  41. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  42. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  43. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  44. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-config.1 +3 -3
  46. data/bundler/lib/bundler/man/bundle-config.1.ronn +3 -3
  47. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  48. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  49. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  50. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  51. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  52. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  53. data/bundler/lib/bundler/man/bundle-install.1 +2 -2
  54. data/bundler/lib/bundler/man/bundle-install.1.ronn +2 -2
  55. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  56. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  57. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  58. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  59. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  60. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  61. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  62. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  63. data/bundler/lib/bundler/man/bundle-update.1 +2 -2
  64. data/bundler/lib/bundler/man/bundle-update.1.ronn +2 -1
  65. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  66. data/bundler/lib/bundler/man/bundle.1 +1 -1
  67. data/bundler/lib/bundler/man/gemfile.5 +28 -2
  68. data/bundler/lib/bundler/man/gemfile.5.ronn +9 -1
  69. data/bundler/lib/bundler/plugin/api/source.rb +1 -0
  70. data/bundler/lib/bundler/plugin/installer.rb +1 -1
  71. data/bundler/lib/bundler/process_lock.rb +1 -1
  72. data/bundler/lib/bundler/psyched_yaml.rb +1 -13
  73. data/bundler/lib/bundler/remote_specification.rb +7 -0
  74. data/bundler/lib/bundler/resolver/spec_group.rb +1 -1
  75. data/bundler/lib/bundler/resolver.rb +38 -40
  76. data/bundler/lib/bundler/ruby_version.rb +1 -1
  77. data/bundler/lib/bundler/rubygems_ext.rb +2 -0
  78. data/bundler/lib/bundler/rubygems_gem_installer.rb +1 -1
  79. data/bundler/lib/bundler/rubygems_integration.rb +11 -48
  80. data/bundler/lib/bundler/self_manager.rb +168 -0
  81. data/bundler/lib/bundler/settings.rb +1 -0
  82. data/bundler/lib/bundler/shared_helpers.rb +4 -12
  83. data/bundler/lib/bundler/source/git/git_proxy.rb +2 -2
  84. data/bundler/lib/bundler/source/metadata.rb +1 -1
  85. data/bundler/lib/bundler/source/rubygems.rb +16 -12
  86. data/bundler/lib/bundler/source/rubygems_aggregate.rb +1 -1
  87. data/bundler/lib/bundler/source.rb +1 -1
  88. data/bundler/lib/bundler/source_list.rb +7 -29
  89. data/bundler/lib/bundler/templates/Executable.bundler +1 -1
  90. data/bundler/lib/bundler/templates/Gemfile +0 -2
  91. data/bundler/lib/bundler/templates/gems.rb +0 -3
  92. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +10 -1
  93. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +2 -2
  94. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +2 -2
  95. data/bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  96. data/bundler/lib/bundler/templates/newgem/standard.yml.tt +1 -0
  97. data/bundler/lib/bundler/templates/newgem/test/minitest/{newgem_test.rb.tt → test_newgem.rb.tt} +1 -1
  98. data/bundler/lib/bundler/ui/shell.rb +1 -1
  99. data/bundler/lib/bundler/vendor/.document +1 -0
  100. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +6 -6
  101. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +1 -2
  102. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +6 -2
  103. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +6 -0
  104. data/bundler/lib/bundler/vendor/thor/lib/thor/error.rb +9 -4
  105. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +19 -1
  106. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +22 -4
  107. data/bundler/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
  108. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  109. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  110. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +17 -80
  111. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +0 -1
  112. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +5 -6
  113. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +0 -1
  114. data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +0 -1
  115. data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +1 -1
  116. data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +0 -1
  117. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +1 -14
  118. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +1 -12
  119. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  120. data/bundler/lib/bundler/vendor/uri/lib/uri/ws.rb +84 -0
  121. data/bundler/lib/bundler/vendor/uri/lib/uri/wss.rb +22 -0
  122. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +0 -1
  123. data/bundler/lib/bundler/version.rb +1 -1
  124. data/bundler/lib/bundler.rb +9 -3
  125. data/hide_lib_for_update/note.txt +0 -4
  126. data/lib/rubygems/basic_specification.rb +8 -8
  127. data/lib/rubygems/bundler_version_finder.rb +13 -45
  128. data/lib/rubygems/command.rb +4 -4
  129. data/lib/rubygems/command_manager.rb +4 -2
  130. data/lib/rubygems/commands/cleanup_command.rb +6 -6
  131. data/lib/rubygems/commands/dependency_command.rb +20 -30
  132. data/lib/rubygems/commands/fetch_command.rb +27 -8
  133. data/lib/rubygems/commands/install_command.rb +5 -2
  134. data/lib/rubygems/commands/list_command.rb +1 -1
  135. data/lib/rubygems/commands/pristine_command.rb +20 -14
  136. data/lib/rubygems/commands/push_command.rb +8 -8
  137. data/lib/rubygems/commands/query_command.rb +1 -1
  138. data/lib/rubygems/commands/rdoc_command.rb +6 -6
  139. data/lib/rubygems/commands/search_command.rb +1 -1
  140. data/lib/rubygems/commands/server_command.rb +14 -77
  141. data/lib/rubygems/commands/setup_command.rb +29 -30
  142. data/lib/rubygems/commands/specification_command.rb +4 -4
  143. data/lib/rubygems/commands/update_command.rb +20 -12
  144. data/lib/rubygems/config_file.rb +4 -4
  145. data/lib/rubygems/defaults.rb +2 -20
  146. data/lib/rubygems/dependency.rb +7 -7
  147. data/lib/rubygems/deprecate.rb +53 -6
  148. data/lib/rubygems/doctor.rb +5 -5
  149. data/lib/rubygems/errors.rb +0 -3
  150. data/lib/rubygems/exceptions.rb +31 -1
  151. data/lib/rubygems/ext/builder.rb +5 -3
  152. data/lib/rubygems/gem_runner.rb +5 -5
  153. data/lib/rubygems/install_update_options.rb +15 -6
  154. data/lib/rubygems/installer.rb +65 -24
  155. data/lib/rubygems/name_tuple.rb +2 -3
  156. data/lib/rubygems/optparse/.document +1 -0
  157. data/lib/rubygems/package/old.rb +1 -1
  158. data/lib/rubygems/package.rb +11 -11
  159. data/lib/rubygems/path_support.rb +1 -6
  160. data/lib/rubygems/platform.rb +46 -42
  161. data/lib/rubygems/psych_additions.rb +1 -1
  162. data/lib/rubygems/query_utils.rb +16 -18
  163. data/lib/rubygems/remote_fetcher.rb +5 -5
  164. data/lib/rubygems/request_set/lockfile.rb +4 -4
  165. data/lib/rubygems/requirement.rb +1 -1
  166. data/lib/rubygems/resolver/installer_set.rb +10 -10
  167. data/lib/rubygems/safe_yaml.rb +8 -8
  168. data/lib/rubygems/security/policy.rb +1 -3
  169. data/lib/rubygems/security.rb +15 -8
  170. data/lib/rubygems/source.rb +9 -7
  171. data/lib/rubygems/source_list.rb +7 -7
  172. data/lib/rubygems/spec_fetcher.rb +26 -26
  173. data/lib/rubygems/specification.rb +70 -71
  174. data/lib/rubygems/specification_policy.rb +16 -16
  175. data/lib/rubygems/stub_specification.rb +16 -19
  176. data/lib/rubygems/text.rb +21 -20
  177. data/lib/rubygems/tsort/.document +1 -0
  178. data/lib/rubygems/uninstaller.rb +11 -8
  179. data/lib/rubygems/unknown_command_spell_checker.rb +21 -0
  180. data/lib/rubygems/user_interaction.rb +12 -12
  181. data/lib/rubygems/version.rb +11 -7
  182. data/lib/rubygems.rb +59 -66
  183. data/rubygems-update.gemspec +1 -1
  184. data/setup.rb +1 -6
  185. data/test/rubygems/helper.rb +30 -16
  186. data/test/rubygems/test_config.rb +2 -2
  187. data/test/rubygems/test_exit.rb +11 -0
  188. data/test/rubygems/test_gem.rb +48 -76
  189. data/test/rubygems/test_gem_bundler_version_finder.rb +22 -43
  190. data/test/rubygems/test_gem_command_manager.rb +29 -3
  191. data/test/rubygems/test_gem_commands_fetch_command.rb +97 -0
  192. data/test/rubygems/test_gem_commands_install_command.rb +49 -0
  193. data/test/rubygems/test_gem_commands_open_command.rb +1 -1
  194. data/test/rubygems/test_gem_commands_server_command.rb +4 -46
  195. data/test/rubygems/test_gem_commands_setup_command.rb +17 -0
  196. data/test/rubygems/test_gem_commands_update_command.rb +61 -2
  197. data/test/rubygems/test_gem_dependency.rb +4 -8
  198. data/test/rubygems/test_gem_installer.rb +180 -63
  199. data/test/rubygems/test_gem_package.rb +2 -2
  200. data/test/rubygems/test_gem_path_support.rb +2 -6
  201. data/test/rubygems/test_gem_remote_fetcher.rb +15 -0
  202. data/test/rubygems/test_gem_requirement.rb +0 -1
  203. data/test/rubygems/test_gem_security.rb +1 -1
  204. data/test/rubygems/test_gem_specification.rb +16 -25
  205. data/test/rubygems/test_gem_stream_ui.rb +1 -1
  206. data/test/rubygems/test_gem_stub_specification.rb +0 -16
  207. data/test/rubygems/test_gem_text.rb +6 -0
  208. data/test/rubygems/test_gem_version.rb +4 -0
  209. data/test/rubygems/test_kernel.rb +1 -13
  210. data/test/rubygems/test_project_sanity.rb +1 -1
  211. data/test/rubygems/test_require.rb +4 -58
  212. data/test/rubygems/test_rubygems.rb +23 -0
  213. data/test/rubygems/utilities.rb +4 -4
  214. metadata +14 -8
  215. data/bundler/lib/bundler/gemdeps.rb +0 -29
  216. data/lib/rubygems/server.rb +0 -882
  217. data/test/rubygems/bogussources.rb +0 -9
  218. 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: 498b97d36cfdbe927831044d377e36e6ce8bf07724f1ec5fc1b9dfa39376c7d4
4
+ data.tar.gz: 4afa885b9263b0154b00e0695849c2b795f7870f625c37a368104333ea56309b
5
5
  SHA512:
6
- metadata.gz: 57fe0ccc4919643d63c6bf2016458924af17d3ec8aab9ddca552781aceebe44bfc8ac350a20e8323265ef6d3e943c4399bf0ccd280cdc000fbe4be9acdfa1a0a
7
- data.tar.gz: c354269b3a4e084d76ada0c3547cf2890aaa989554a4011f51654cea114677ccf76c5944ea669c93b9ad7dc09d9b533d51ade69f96f167aadd372311bc208bac
6
+ metadata.gz: 34f91a116d9e346e3fd26ea549d5d6b2c5f959d00612557d1abf133da8d6566b9a186f5d116f878f49ad629215de9604763f84cd32bc14c8d2b7b200c80ae387
7
+ data.tar.gz: 173c8fdd07607bc57c6ba6bc12a5551f5db03f20fabdb25924069e4e067e7dc8314fb343495487735eb16ad2bc410aebd0c21002fffaab873399a017953f7e89
data/CHANGELOG.md CHANGED
@@ -1,3 +1,159 @@
1
+ # 3.3.6 / 2022-01-26
2
+
3
+ ## Enhancements:
4
+
5
+ * Forbid downgrading past the originally shipped version on Ruby 3.1. Pull
6
+ request #5301 by deivid-rodriguez
7
+ * Support `--enable-load-relative` inside binstubs. Pull request #2929 by
8
+ deivid-rodriguez
9
+ * Let `Version#<=>` accept a String. Pull request #5275 by amatsuda
10
+ * Installs bundler 2.3.6 as a default gem.
11
+
12
+ ## Bug fixes:
13
+
14
+ * Avoid `flock` on non Windows systems, since it causing issues on NFS
15
+ file systems. Pull request #5278 by deivid-rodriguez
16
+ * Fix `gem update --system` for already installed version of
17
+ `rubygems-update`. Pull request #5285 by loadkpi
18
+
19
+ # 3.3.5 / 2022-01-12
20
+
21
+ ## Enhancements:
22
+
23
+ * Don't activate `yaml` gem from RubyGems. Pull request #5266 by
24
+ deivid-rodriguez
25
+ * Let `gem fetch` understand `<gem>:<version>` syntax and
26
+ `--[no-]suggestions` flag. Pull request #5242 by ximenasandoval
27
+ * Installs bundler 2.3.5 as a default gem.
28
+
29
+ ## Bug fixes:
30
+
31
+ * Fix `gem install <non-existent-gem> --force` crash. Pull request #5262
32
+ by deivid-rodriguez
33
+ * Fix longstanding `gem install` failure on JRuby. Pull request #5228 by
34
+ deivid-rodriguez
35
+
36
+ ## Documentation:
37
+
38
+ * Markup `Gem::Specification` documentation with RDoc notations. Pull
39
+ request #5268 by nobu
40
+
41
+ # 3.3.4 / 2021-12-29
42
+
43
+ ## Enhancements:
44
+
45
+ * Don't redownload `rubygems-update` package if already there. Pull
46
+ request #5230 by deivid-rodriguez
47
+ * Installs bundler 2.3.4 as a default gem.
48
+
49
+ ## Bug fixes:
50
+
51
+ * Fix `gem update --system` crashing when latest version not supported.
52
+ Pull request #5191 by deivid-rodriguez
53
+
54
+ ## Performance:
55
+
56
+ * Make SpecificationPolicy autoload constant. Pull request #5222 by pocke
57
+
58
+ # 3.3.3 / 2021-12-24
59
+
60
+ ## Enhancements:
61
+
62
+ * Installs bundler 2.3.3 as a default gem.
63
+
64
+ ## Bug fixes:
65
+
66
+ * Fix gem installation failing in Solaris due to bad `IO#flock` usage.
67
+ Pull request #5216 by mame
68
+
69
+ # 3.3.2 / 2021-12-23
70
+
71
+ ## Enhancements:
72
+
73
+ * Fix deprecations when activating DidYouMean for misspelled command
74
+ suggestions. Pull request #5211 by yuki24
75
+ * Installs bundler 2.3.2 as a default gem.
76
+
77
+ ## Bug fixes:
78
+
79
+ * Fix gemspec truncation. Pull request #5208 by deivid-rodriguez
80
+
81
+ # 3.3.1 / 2021-12-22
82
+
83
+ ## Enhancements:
84
+
85
+ * Fix compatibility with OpenSSL 3.0. Pull request #5196 by rhenium
86
+ * Remove hard errors when matching major bundler not found. Pull request
87
+ #5181 by deivid-rodriguez
88
+ * Installs bundler 2.3.1 as a default gem.
89
+
90
+ # 3.3.0 / 2021-12-21
91
+
92
+ ## Breaking changes:
93
+
94
+ * Removed deprecated `gem server` command. Pull request #5034 by hsbt
95
+ * Remove MacOS specific gem layout. Pull request #4833 by deivid-rodriguez
96
+ * Default `gem update` documentation format is now only `ri`. Pull request
97
+ #3888 by hsbt
98
+
99
+ ## Features:
100
+
101
+ * Give command misspelled suggestions via `did_you_mean` gem. Pull request
102
+ #3904 by hsbt
103
+
104
+ ## Performance:
105
+
106
+ * Avoid some unnecessary stat calls. Pull request #3887 by kares
107
+ * Improve spell checking suggestion performance by
108
+ vendoring`DidYouMean::Levenshtein.distance` from `did_you_mean-1.4.0`.
109
+ Pull request #3856 by austinpray
110
+
111
+ ## Enhancements:
112
+
113
+ * Set `BUNDLER_VERSION` when `bundle _<version>_` is passed. Pull request
114
+ #5180 by deivid-rodriguez
115
+ * Don't require `rdoc` for `gem uninstall`. Pull request #4691 by ndren
116
+ * More focused rescue on extension builder exception to get more
117
+ information on errors. Pull request #4189 by deivid-rodriguez
118
+ * Installs bundler 2.3.0 as a default gem.
119
+
120
+ ## Bug fixes:
121
+
122
+ * Fix encoding mismatch issues when writing gem packages. Pull request
123
+ #5162 by deivid-rodriguez
124
+ * Fix broken brew formula due to loading `operating_system.rb`
125
+ customizations too late. Pull request #5154 by deivid-rodriguez
126
+ * Properly fetch `Gem#latest_spec_for` with multiple sources. Pull request
127
+ #2764 by kevlogan90
128
+ * Fix upgrade crashing when multiple versions of `fileutils` installed.
129
+ Pull request #5140 by deivid-rodriguez
130
+
131
+ # 3.2.33 / 2021-12-07
132
+
133
+ ## Deprecations:
134
+
135
+ * Deprecate typo name. Pull request #5109 by nobu
136
+
137
+ ## Enhancements:
138
+
139
+ * Add login & logout alias for the signin & signout commands. Pull request
140
+ #5133 by colby-swandale
141
+ * Fix race conditions when reading & writing gemspecs concurrently. Pull
142
+ request #4408 by deivid-rodriguez
143
+ * Installs bundler 2.2.33 as a default gem.
144
+
145
+ ## Bug fixes:
146
+
147
+ * Fix `ruby setup.rb` trying to write outside of `--destdir`. Pull request
148
+ #5053 by deivid-rodriguez
149
+
150
+ ## Documentation:
151
+
152
+ * Move required_ruby_version gemspec attribute to recommended section.
153
+ Pull request #5130 by simi
154
+ * Ignore to generate the documentation from vendored libraries. Pull
155
+ request #5118 by hsbt
156
+
1
157
  # 3.2.32 / 2021-11-23
2
158
 
3
159
  ## Enhancements:
@@ -20,6 +176,7 @@
20
176
  deivid-rodriguez
21
177
  * Use a vendored copy of `tsort` internally. Pull request #5027 by
22
178
  deivid-rodriguez
179
+ * Install bundler 2.2.31 as a default gem.
23
180
 
24
181
  ## Bug fixes:
25
182
 
@@ -40,6 +197,7 @@
40
197
  by deivid-rodriguez
41
198
  * Add missing `require` of `time` within
42
199
  `Gem::Request.verify_certificate_message`. Pull request #4975 by nobu
200
+ * Install bundler 2.2.30 as a default gem.
43
201
 
44
202
  ## Performance:
45
203
 
@@ -52,6 +210,7 @@
52
210
 
53
211
  * Only disallow FIXME/TODO for first word of gemspec description. Pull
54
212
  request #4937 by duckinator
213
+ * Install bundler 2.2.29 as a default gem.
55
214
 
56
215
  ## Bug fixes:
57
216
 
@@ -72,6 +231,7 @@
72
231
  by duckinator
73
232
  * Avoid loading `uri` unnecessarily when activating gems. Pull request
74
233
  #4897 by deivid-rodriguez
234
+ * Install bundler 2.2.28 as a default gem.
75
235
 
76
236
  ## Bug fixes:
77
237
 
@@ -87,6 +247,7 @@
87
247
  request #4858 by deivid-rodriguez
88
248
  * Prioritise gems with higher version for fetching metadata, and stop
89
249
  fetching once we find a valid candidate. Pull request #4843 by intuxicated
250
+ * Install bundler 2.2.27 as a default gem.
90
251
 
91
252
  # 3.2.26 / 2021-08-17
92
253
 
@@ -97,6 +258,7 @@
97
258
  intuxicated
98
259
  * Ignore `RUBYGEMS_GEMDEPS` for the bundler gem. Pull request #4532 by
99
260
  deivid-rodriguez
261
+ * Install bundler 2.2.26 as a default gem.
100
262
 
101
263
  ## Bug fixes:
102
264
 
@@ -114,6 +276,7 @@
114
276
  * Lazily load `shellwords` library. Pull request #4783 by deivid-rodriguez
115
277
  * Check requirements class before loading marshalled requirements. Pull
116
278
  request #4651 by nobu
279
+ * Install bundler 2.2.25 as a default gem.
117
280
 
118
281
  ## Bug fixes:
119
282
 
@@ -122,6 +285,10 @@
122
285
 
123
286
  # 3.2.24 / 2021-07-15
124
287
 
288
+ ## Enhancements:
289
+
290
+ * Install bundler 2.2.24 as a default gem.
291
+
125
292
  ## Bug fixes:
126
293
 
127
294
  * Fix contradictory message about deletion of default gem. Pull request
@@ -138,6 +305,7 @@
138
305
 
139
306
  * Rewind IO source to allow working with contents in memory. Pull request
140
307
  #4729 by drcapulet
308
+ * Install bundler 2.2.23 as a default gem.
141
309
 
142
310
  # 3.2.22 / 2021-07-06
143
311
 
@@ -147,6 +315,7 @@
147
315
  CGA1123
148
316
  * Fixes for the edge case when openssl library is missing. Pull request
149
317
  #4695 by rhenium
318
+ * Install bundler 2.2.22 as a default gem.
150
319
 
151
320
  # 3.2.21 / 2021-06-23
152
321
 
@@ -156,6 +325,7 @@
156
325
  * Add the most recent licenses from spdx.org. Pull request #4662 by nobu
157
326
  * Simplify setup.rb code to allow installing rubygems from source on
158
327
  truffleruby 21.0 and 21.1. Pull request #4624 by deivid-rodriguez
328
+ * Install bundler 2.2.21 as a default gem.
159
329
 
160
330
  ## Bug fixes:
161
331
 
@@ -173,12 +343,14 @@
173
343
 
174
344
  * Add better specification policy error description. Pull request #4658 by
175
345
  ceritium
346
+ * Install bundler 2.2.20 as a default gem.
176
347
 
177
348
  # 3.2.19 / 2021-05-31
178
349
 
179
350
  ## Enhancements:
180
351
 
181
352
  * Fix `gem help build` output format. Pull request #4613 by tnir
353
+ * Install bundler 2.2.19 as a default gem.
182
354
 
183
355
  # 3.2.18 / 2021-05-25
184
356
 
@@ -186,6 +358,7 @@
186
358
 
187
359
  * Don't leave temporary directory around when building extensions to
188
360
  improve build reproducibility. Pull request #4610 by baloo
361
+ * Install bundler 2.2.18 as a default gem.
189
362
 
190
363
  # 3.2.17 / 2021-05-05
191
364
 
@@ -197,6 +370,7 @@
197
370
  #4558 by mame
198
371
  * Update the default bindir on macOS. Pull request #4524 by nobu
199
372
  * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
373
+ * Install bundler 2.2.17 as a default gem.
200
374
 
201
375
  ## Documentation:
202
376
 
@@ -205,6 +379,10 @@
205
379
 
206
380
  # 3.2.16 / 2021-04-08
207
381
 
382
+ ## Enhancements:
383
+
384
+ * Install bundler 2.2.16 as a default gem.
385
+
208
386
  ## Bug fixes:
209
387
 
210
388
  * Correctly handle symlinks. Pull request #2836 by voxik
@@ -215,6 +393,7 @@
215
393
 
216
394
  * Prevent downgrades to untested rubygems versions. Pull request #4460 by
217
395
  deivid-rodriguez
396
+ * Install bundler 2.2.15 as a default gem.
218
397
 
219
398
  ## Bug fixes:
220
399
 
@@ -225,6 +404,7 @@
225
404
  ## Enhancements:
226
405
 
227
406
  * Less wrapping of network errors. Pull request #4064 by deivid-rodriguez
407
+ * Install bundler 2.2.14 as a default gem.
228
408
 
229
409
  ## Bug fixes:
230
410
 
@@ -233,12 +413,20 @@
233
413
 
234
414
  # 3.2.13 / 2021-03-03
235
415
 
416
+ ## Enhancements:
417
+
418
+ * Install bundler 2.2.13 as a default gem.
419
+
236
420
  ## Bug fixes:
237
421
 
238
422
  * Support non-gnu libc linux platforms. Pull request #4082 by lloeki
239
423
 
240
424
  # 3.2.12 / 2021-03-01
241
425
 
426
+ ## Enhancements:
427
+
428
+ * Install bundler 2.2.12 as a default gem.
429
+
242
430
  ## Bug fixes:
243
431
 
244
432
  * Restore the ability to manually install extension gems. Pull request
@@ -250,9 +438,14 @@
250
438
 
251
439
  * Optionally fallback to IPv4 when IPv6 is unreachable. Pull request #2662
252
440
  by sonalkr132
441
+ * Install bundler 2.2.11 as a default gem.
253
442
 
254
443
  # 3.2.10 / 2021-02-15
255
444
 
445
+ ## Enhancements:
446
+
447
+ * Install bundler 2.2.10 as a default gem.
448
+
256
449
  ## Documentation:
257
450
 
258
451
  * Add a `gem push` example to `gem help`. Pull request #4373 by
@@ -262,6 +455,10 @@
262
455
 
263
456
  # 3.2.9 / 2021-02-08
264
457
 
458
+ ## Enhancements:
459
+
460
+ * Install bundler 2.2.9 as a default gem.
461
+
265
462
  ## Bug fixes:
266
463
 
267
464
  * Fix error message when underscore selection can't find bundler. Pull
@@ -275,6 +472,10 @@
275
472
 
276
473
  # 3.2.8 / 2021-02-02
277
474
 
475
+ ## Enhancements:
476
+
477
+ * Install bundler 2.2.8 as a default gem.
478
+
278
479
  ## Bug fixes:
279
480
 
280
481
  * Fix `gem install` crashing on gemspec with nil required_ruby_version.
@@ -282,6 +483,10 @@
282
483
 
283
484
  # 3.2.7 / 2021-01-26
284
485
 
486
+ ## Enhancements:
487
+
488
+ * Install bundler 2.2.7 as a default gem.
489
+
285
490
  ## Bug fixes:
286
491
 
287
492
  * Generate plugin wrappers with relative requires. Pull request #4317 by
@@ -293,6 +498,7 @@
293
498
 
294
499
  * Fix `Gem::Platform#inspect` showing duplicate information. Pull request
295
500
  #4276 by deivid-rodriguez
501
+ * Install bundler 2.2.6 as a default gem.
296
502
 
297
503
  ## Bug fixes:
298
504
 
@@ -303,6 +509,10 @@
303
509
 
304
510
  # 3.2.5 / 2021-01-11
305
511
 
512
+ ## Enhancements:
513
+
514
+ * Install bundler 2.2.5 as a default gem.
515
+
306
516
  ## Bug fixes:
307
517
 
308
518
  * Don't load more specs after the whole set of specs has been setup. Pull
@@ -318,6 +528,7 @@
318
528
  deivid-rodriguez
319
529
  * Never spawn subshells when building extensions. Pull request #4190 by
320
530
  deivid-rodriguez
531
+ * Install bundler 2.2.4 as a default gem.
321
532
 
322
533
  ## Bug fixes:
323
534
 
@@ -331,6 +542,7 @@
331
542
  ## Enhancements:
332
543
 
333
544
  * Fix misspellings in default API key name. Pull request #4177 by hsbt
545
+ * Install bundler 2.2.3 as a default gem.
334
546
 
335
547
  ## Bug fixes:
336
548
 
@@ -340,6 +552,10 @@
340
552
 
341
553
  # 3.2.2 / 2020-12-17
342
554
 
555
+ ## Enhancements:
556
+
557
+ * Install bundler 2.2.2 as a default gem.
558
+
343
559
  ## Bug fixes:
344
560
 
345
561
  * Fix issue where CLI commands making more than one request to
@@ -356,6 +572,7 @@
356
572
 
357
573
  * Added help message for gem i webrick in gem server command. Pull request
358
574
  #4117 by hsbt
575
+ * Install bundler 2.2.1 as a default gem.
359
576
 
360
577
  ## Bug fixes:
361
578
 
@@ -384,6 +601,7 @@
384
601
  * Lazily load `openssl`. Pull request #3850 by deivid-rodriguez
385
602
  * Pass more information when comparing platforms. Pull request #3817 by
386
603
  eregon
604
+ * Install bundler 2.2.0 as a default gem.
387
605
 
388
606
  ## Bug fixes:
389
607
 
@@ -4513,7 +4731,7 @@ Lavena and Daniel Berger for continuing windows support.
4513
4731
  * Tar handling code refactoring and cleanup.
4514
4732
  * Gem::DependencyInstaller's API has changed.
4515
4733
 
4516
- For a full list of changes to RubyGems, see the ChangeLog file.
4734
+ For a full list of changes to RubyGems, see the git log.
4517
4735
 
4518
4736
  # 1.0.1 / 2007-12-20
4519
4737
 
@@ -4657,7 +4875,7 @@ have permanently enabled the work around on all versions.
4657
4875
 
4658
4876
  # 0.9.1 / 2007-01-16
4659
4877
 
4660
- See ChangeLog
4878
+ See git log
4661
4879
 
4662
4880
  # 0.9.0 / 2006-06-28
4663
4881
 
@@ -4905,11 +5123,11 @@ There has been some minor usability enhancements and changes ...
4905
5123
 
4906
5124
  # 0.7.0 / 2004-07-09
4907
5125
 
4908
- See ChangeLog
5126
+ See git log
4909
5127
 
4910
5128
  # 0.6.1 / 2004-06-08
4911
5129
 
4912
- See ChangeLog
5130
+ See git log
4913
5131
 
4914
5132
  # 0.6.0 / 2004-06-08
4915
5133
 
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