rubygems-update 3.2.15 → 3.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +56 -9
  3. data/CONTRIBUTING.md +2 -2
  4. data/Manifest.txt +4 -0
  5. data/Rakefile +8 -14
  6. data/bundler/CHANGELOG.md +86 -6
  7. data/bundler/bundler.gemspec +2 -3
  8. data/bundler/lib/bundler.rb +1 -0
  9. data/bundler/lib/bundler/build_metadata.rb +2 -2
  10. data/bundler/lib/bundler/cli.rb +16 -35
  11. data/bundler/lib/bundler/cli/check.rb +4 -2
  12. data/bundler/lib/bundler/cli/common.rb +15 -2
  13. data/bundler/lib/bundler/cli/gem.rb +9 -1
  14. data/bundler/lib/bundler/cli/outdated.rb +10 -11
  15. data/bundler/lib/bundler/compact_index_client/updater.rb +9 -5
  16. data/bundler/lib/bundler/current_ruby.rb +1 -0
  17. data/bundler/lib/bundler/definition.rb +27 -84
  18. data/bundler/lib/bundler/feature_flag.rb +0 -2
  19. data/bundler/lib/bundler/fetcher.rb +2 -1
  20. data/bundler/lib/bundler/fetcher/downloader.rb +8 -4
  21. data/bundler/lib/bundler/fetcher/index.rb +0 -1
  22. data/bundler/lib/bundler/friendly_errors.rb +2 -4
  23. data/bundler/lib/bundler/gem_helper.rb +16 -0
  24. data/bundler/lib/bundler/index.rb +1 -2
  25. data/bundler/lib/bundler/injector.rb +2 -2
  26. data/bundler/lib/bundler/inline.rb +1 -1
  27. data/bundler/lib/bundler/lazy_specification.rb +3 -3
  28. data/bundler/lib/bundler/man/bundle-add.1 +1 -1
  29. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  30. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  31. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  32. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  33. data/bundler/lib/bundler/man/bundle-config.1 +21 -10
  34. data/bundler/lib/bundler/man/bundle-config.1.ronn +21 -11
  35. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  36. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  37. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  38. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  39. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  40. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  41. data/bundler/lib/bundler/man/bundle-install.1 +1 -1
  42. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  43. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  44. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  47. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  48. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  49. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  50. data/bundler/lib/bundler/man/bundle-update.1 +1 -1
  51. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  52. data/bundler/lib/bundler/man/bundle.1 +1 -1
  53. data/bundler/lib/bundler/man/gemfile.5 +1 -1
  54. data/bundler/lib/bundler/plugin.rb +2 -2
  55. data/bundler/lib/bundler/plugin/api/source.rb +14 -0
  56. data/bundler/lib/bundler/resolver.rb +13 -96
  57. data/bundler/lib/bundler/resolver/spec_group.rb +0 -24
  58. data/bundler/lib/bundler/retry.rb +1 -1
  59. data/bundler/lib/bundler/rubygems_ext.rb +2 -2
  60. data/bundler/lib/bundler/rubygems_integration.rb +4 -3
  61. data/bundler/lib/bundler/settings.rb +74 -12
  62. data/bundler/lib/bundler/source.rb +11 -0
  63. data/bundler/lib/bundler/source/rubygems.rb +23 -10
  64. data/bundler/lib/bundler/source/rubygems_aggregate.rb +64 -0
  65. data/bundler/lib/bundler/source_list.rb +33 -10
  66. data/bundler/lib/bundler/source_map.rb +58 -0
  67. data/bundler/lib/bundler/spec_set.rb +18 -7
  68. data/bundler/lib/bundler/templates/Gemfile +1 -1
  69. data/bundler/lib/bundler/templates/gems.rb +1 -1
  70. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +2 -4
  71. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +1 -1
  72. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +1 -1
  73. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +1 -1
  74. data/bundler/lib/bundler/vendor/tmpdir/lib/tmpdir.rb +1 -1
  75. data/bundler/lib/bundler/version.rb +1 -1
  76. data/lib/rubygems.rb +4 -4
  77. data/lib/rubygems/command.rb +2 -0
  78. data/lib/rubygems/commands/build_command.rb +1 -1
  79. data/lib/rubygems/commands/install_command.rb +1 -1
  80. data/lib/rubygems/commands/open_command.rb +1 -1
  81. data/lib/rubygems/commands/yank_command.rb +1 -1
  82. data/lib/rubygems/defaults.rb +1 -1
  83. data/lib/rubygems/deprecate.rb +3 -1
  84. data/lib/rubygems/ext/ext_conf_builder.rb +4 -4
  85. data/lib/rubygems/indexer.rb +1 -1
  86. data/lib/rubygems/installer.rb +9 -2
  87. data/lib/rubygems/package.rb +1 -8
  88. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb +1 -1
  89. data/lib/rubygems/specification.rb +0 -2
  90. data/lib/rubygems/specification_policy.rb +5 -4
  91. data/lib/rubygems/test_case.rb +106 -18
  92. data/lib/rubygems/test_utilities.rb +1 -1
  93. data/rubygems-update.gemspec +1 -1
  94. data/test/rubygems/packages/ascii_binder-0.1.10.1.gem +0 -0
  95. data/test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem +0 -0
  96. data/test/rubygems/test_bundled_ca.rb +2 -2
  97. data/test/rubygems/test_deprecate.rb +49 -5
  98. data/test/rubygems/test_gem.rb +33 -31
  99. data/test/rubygems/test_gem_bundler_version_finder.rb +3 -5
  100. data/test/rubygems/test_gem_command.rb +13 -1
  101. data/test/rubygems/test_gem_command_manager.rb +5 -5
  102. data/test/rubygems/test_gem_commands_build_command.rb +10 -10
  103. data/test/rubygems/test_gem_commands_cert_command.rb +36 -36
  104. data/test/rubygems/test_gem_commands_check_command.rb +5 -5
  105. data/test/rubygems/test_gem_commands_cleanup_command.rb +24 -24
  106. data/test/rubygems/test_gem_commands_contents_command.rb +3 -3
  107. data/test/rubygems/test_gem_commands_dependency_command.rb +2 -2
  108. data/test/rubygems/test_gem_commands_environment_command.rb +1 -1
  109. data/test/rubygems/test_gem_commands_fetch_command.rb +9 -9
  110. data/test/rubygems/test_gem_commands_help_command.rb +8 -1
  111. data/test/rubygems/test_gem_commands_install_command.rb +60 -60
  112. data/test/rubygems/test_gem_commands_list_command.rb +1 -1
  113. data/test/rubygems/test_gem_commands_lock_command.rb +1 -1
  114. data/test/rubygems/test_gem_commands_open_command.rb +8 -9
  115. data/test/rubygems/test_gem_commands_owner_command.rb +3 -3
  116. data/test/rubygems/test_gem_commands_pristine_command.rb +14 -14
  117. data/test/rubygems/test_gem_commands_push_command.rb +6 -6
  118. data/test/rubygems/test_gem_commands_query_command.rb +7 -7
  119. data/test/rubygems/test_gem_commands_server_command.rb +2 -2
  120. data/test/rubygems/test_gem_commands_setup_command.rb +21 -21
  121. data/test/rubygems/test_gem_commands_signin_command.rb +6 -6
  122. data/test/rubygems/test_gem_commands_sources_command.rb +5 -5
  123. data/test/rubygems/test_gem_commands_specification_command.rb +6 -6
  124. data/test/rubygems/test_gem_commands_uninstall_command.rb +4 -4
  125. data/test/rubygems/test_gem_commands_unpack_command.rb +2 -2
  126. data/test/rubygems/test_gem_commands_update_command.rb +10 -10
  127. data/test/rubygems/test_gem_commands_which_command.rb +3 -3
  128. data/test/rubygems/test_gem_commands_yank_command.rb +1 -1
  129. data/test/rubygems/test_gem_config_file.rb +9 -9
  130. data/test/rubygems/test_gem_dependency.rb +12 -6
  131. data/test/rubygems/test_gem_dependency_installer.rb +4 -4
  132. data/test/rubygems/test_gem_doctor.rb +30 -30
  133. data/test/rubygems/test_gem_ext_builder.rb +20 -20
  134. data/test/rubygems/test_gem_ext_cmake_builder.rb +4 -4
  135. data/test/rubygems/test_gem_ext_configure_builder.rb +4 -4
  136. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +14 -13
  137. data/test/rubygems/test_gem_ext_rake_builder.rb +1 -1
  138. data/test/rubygems/test_gem_gemcutter_utilities.rb +8 -8
  139. data/test/rubygems/test_gem_install_update_options.rb +9 -9
  140. data/test/rubygems/test_gem_installer.rb +182 -140
  141. data/test/rubygems/test_gem_local_remote_options.rb +1 -1
  142. data/test/rubygems/test_gem_package.rb +49 -49
  143. data/test/rubygems/test_gem_package_old.rb +9 -9
  144. data/test/rubygems/test_gem_package_tar_header.rb +5 -5
  145. data/test/rubygems/test_gem_package_tar_reader_entry.rb +8 -8
  146. data/test/rubygems/test_gem_package_tar_writer.rb +18 -20
  147. data/test/rubygems/test_gem_package_task.rb +2 -2
  148. data/test/rubygems/test_gem_path_support.rb +1 -1
  149. data/test/rubygems/test_gem_rdoc.rb +9 -9
  150. data/test/rubygems/test_gem_remote_fetcher.rb +17 -18
  151. data/test/rubygems/test_gem_request.rb +2 -2
  152. data/test/rubygems/test_gem_request_connection_pools.rb +1 -1
  153. data/test/rubygems/test_gem_request_set.rb +15 -14
  154. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +16 -16
  155. data/test/rubygems/test_gem_request_set_lockfile.rb +3 -3
  156. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +3 -3
  157. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +4 -4
  158. data/test/rubygems/test_gem_requirement.rb +13 -13
  159. data/test/rubygems/test_gem_resolver.rb +11 -11
  160. data/test/rubygems/test_gem_resolver_best_set.rb +1 -1
  161. data/test/rubygems/test_gem_resolver_git_set.rb +1 -1
  162. data/test/rubygems/test_gem_resolver_git_specification.rb +2 -2
  163. data/test/rubygems/test_gem_resolver_index_specification.rb +1 -1
  164. data/test/rubygems/test_gem_resolver_installer_set.rb +4 -4
  165. data/test/rubygems/test_gem_resolver_local_specification.rb +1 -1
  166. data/test/rubygems/test_gem_resolver_specification.rb +1 -1
  167. data/test/rubygems/test_gem_resolver_vendor_set.rb +2 -2
  168. data/test/rubygems/test_gem_security.rb +5 -5
  169. data/test/rubygems/test_gem_security_policy.rb +27 -27
  170. data/test/rubygems/test_gem_security_signer.rb +7 -7
  171. data/test/rubygems/test_gem_security_trust_dir.rb +4 -4
  172. data/test/rubygems/test_gem_server.rb +2 -2
  173. data/test/rubygems/test_gem_silent_ui.rb +9 -9
  174. data/test/rubygems/test_gem_source.rb +2 -2
  175. data/test/rubygems/test_gem_source_fetch_problem.rb +1 -1
  176. data/test/rubygems/test_gem_source_git.rb +11 -11
  177. data/test/rubygems/test_gem_source_specific_file.rb +1 -1
  178. data/test/rubygems/test_gem_spec_fetcher.rb +1 -1
  179. data/test/rubygems/test_gem_specification.rb +86 -106
  180. data/test/rubygems/test_gem_stream_ui.rb +1 -1
  181. data/test/rubygems/test_gem_stub_specification.rb +4 -4
  182. data/test/rubygems/test_gem_uninstaller.rb +16 -16
  183. data/test/rubygems/test_gem_util.rb +8 -6
  184. data/test/rubygems/test_gem_version.rb +4 -13
  185. data/test/rubygems/test_kernel.rb +6 -4
  186. data/test/rubygems/test_project_sanity.rb +1 -1
  187. data/test/rubygems/test_remote_fetch_error.rb +1 -1
  188. data/test/rubygems/test_require.rb +13 -13
  189. data/test/test_changelog_generator.rb +1 -2
  190. metadata +7 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12f7d1b385b073b255590e0eee7807d5bb588ab877a9928e5edee6f3701e47b6
4
- data.tar.gz: 425d632864b300c71cd1d62e9fdd045f94f4a6a088dbfc0a3a29977950958787
3
+ metadata.gz: beb9904852db18bc2cb58e157631c112d2951ea7df0bac7f63a1838ffba5ddbc
4
+ data.tar.gz: a987e2d21ffd319e2dc0c0ae4d913b5f1d3ad6480783addbc4faaee5ad540b86
5
5
  SHA512:
6
- metadata.gz: ed5579f01a5c0a2d832779331df8900db7e0ed9bc6dc03f6f449ff76f9552f378d771424354629fbc34bd2ace0a9ab486cf79743065ece6d89d832a79383b97a
7
- data.tar.gz: bf54441188feb5c8388676a46713113097aa978270514a3bcadf12564f8dd50ec671c0067c55727a927e7f6dfac27ce05bf13ba04731a44e749ce8c1b16d0470
6
+ metadata.gz: cc88c86f3691d8b07ce12056d0f1e762de188fe3775d3f80a83c2912020ed039b34ce50e95e118bfe8f6077cdb6ced949cb9c6147699292c6f45e3703b5e0087
7
+ data.tar.gz: a91aa086be326926df974bbf2734c94e9ee1dfebc1e1b0a23474d64156c46249448e398baaf38fa4fedbdb2e006fd40ef94949112271842a89a1adc2a1b952a9
data/CHANGELOG.md CHANGED
@@ -1,4 +1,51 @@
1
- # 3.2.15 / 2021-03-18
1
+ # 3.2.20 / 2021-06-11
2
+
3
+ ## Security fixes:
4
+
5
+ * Verify plaform before installing to avoid potential remote code
6
+ execution. Pull request #4667 by sonalkr132
7
+
8
+ ## Enhancements:
9
+
10
+ * Add better specification policy error description. Pull request #4658 by
11
+ ceritium
12
+
13
+ # 3.2.19 / 2021-05-31
14
+
15
+ ## Enhancements:
16
+
17
+ * Fix `gem help build` output format. Pull request #4613 by tnir
18
+
19
+ # 3.2.18 / 2021-05-25
20
+
21
+ ## Enhancements:
22
+
23
+ * Don't leave temporary directory around when building extensions to
24
+ improve build reproducibility. Pull request #4610 by baloo
25
+
26
+ # 3.2.17 / 2021-05-05
27
+
28
+ ## Enhancements:
29
+
30
+ * Only print month & year in deprecation messages. Pull request #3085 by
31
+ Schwad
32
+ * Make deprecate method support ruby3's keyword arguments. Pull request
33
+ #4558 by mame
34
+ * Update the default bindir on macOS. Pull request #4524 by nobu
35
+ * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
36
+
37
+ ## Documentation:
38
+
39
+ * Fix usage messages to reflect the current POSIX-compatible behaviour.
40
+ Pull request #4551 by graywolf-at-work
41
+
42
+ # 3.2.16 / 2021-04-08
43
+
44
+ ## Bug fixes:
45
+
46
+ * Correctly handle symlinks. Pull request #2836 by voxik
47
+
48
+ # 3.2.15 / 2021-03-19
2
49
 
3
50
  ## Enhancements:
4
51
 
@@ -717,7 +764,7 @@
717
764
  * Clean which command. Pull request #2801 by Luis Sagastume.
718
765
  * Upgrading S3 source signature to AWS SigV4. Pull request #2807 by
719
766
  Alexander Pakulov.
720
- * Remove missleading comment, no reason to move Gem.host to Gem::Util.
767
+ * Remove misleading comment, no reason to move Gem.host to Gem::Util.
721
768
  Pull request #2811 by Luis Sagastume.
722
769
  * Drop support for 'gem env packageversion'. Pull request #2813 by Luis
723
770
  Sagastume.
@@ -1717,7 +1764,7 @@ Security fixes:
1717
1764
  * Clean up the PathSupport object. Pull request #1094 by Aaron Patterson.
1718
1765
  * Join with File::PATH_SEPARATOR in Gem.use_paths. Pull request #1476 by
1719
1766
  Samuel E. Giddins.
1720
- * Handle when the gem home and gem path arent set in the config file. Pull
1767
+ * Handle when the gem home and gem path aren't set in the config file. Pull
1721
1768
  request #1478 by Samuel E. Giddins.
1722
1769
  * Terminate TimeoutHandler. Pull request #1479 by Nobuyoshi Nakada.
1723
1770
  * Remove redundant cache. Pull request #1482 by Eileen M. Uchitelle.
@@ -2062,7 +2109,7 @@ This release was sponsored by Ruby Central.
2062
2109
  * Fixed activating gems from a Gemfile for default gems. Issue #991 by khoan.
2063
2110
  * Fixed windows stub script generation for Cygwin. Issue #1000 by Brett
2064
2111
  DiFrischia.
2065
- * Allow gem bindir and ruby.exe to live in separate diretories. Pull request
2112
+ * Allow gem bindir and ruby.exe to live in separate directories. Pull request
2066
2113
  #942 by Ian Flynn.
2067
2114
  * Fixed handling of gemspec in gem dependencies files to match Bundler
2068
2115
  behavior. Issue #1020 by Michal Papis.
@@ -2156,7 +2203,7 @@ This release was sponsored by Ruby Central.
2156
2203
  * Gem.use_gemdeps now accepts an argument specifying the path of the gem
2157
2204
  dependencies file. When the file is not found an ArgumentError is raised.
2158
2205
  * Writing a .lock file for a gem dependencies file is now controlled by the
2159
- --[no-]lock option. Pull reuqest #774 by Jeremy Evans.
2206
+ --[no-]lock option. Pull request #774 by Jeremy Evans.
2160
2207
  * Suggestion of alternate names and spelling corrections during install can be
2161
2208
  suppressed with the --no-suggestions option. Issue #867 by Jimmy Cuadra.
2162
2209
  * Added mswin64 support. Pull request #881 by U. Nakamura.
@@ -2255,7 +2302,7 @@ This release was sponsored by Ruby Central.
2255
2302
  * Check for nil extensions as BasicSpecification does not initialize them.
2256
2303
  Pull request #882 by André Arko.
2257
2304
  * Fixed Gem::BasicSpecification#require_paths receives a String for
2258
- @require_paths. Pull requrest #904 by @danielpclark
2305
+ @require_paths. Pull request #904 by @danielpclark
2259
2306
  * Fixed circular require warnings. Bug #908 by Zachary Scott.
2260
2307
  * Gem::Specification#require_paths can no longer accidentally be an Array.
2261
2308
  Pull requests #904, #909 by Daniel P. Clark.
@@ -3691,7 +3738,7 @@ build arguments.
3691
3738
  * Fixed `gem contents` to work with the lightweight specifications
3692
3739
  * Fixed `gem update --system x.y.z` where x.y.z == latest version. (MGPalmer)
3693
3740
  * Fixed gem contents sorting and tests. (MGPalmer)
3694
- * Fixed intermittant problem in `gem fetch` with --platform specified (quix)
3741
+ * Fixed intermittent problem in `gem fetch` with --platform specified (quix)
3695
3742
  * Fixed lightweight specifications so `gem rdoc` will generate proper
3696
3743
  documentation
3697
3744
  * MockGemUI#terminate_interaction should not raise Gem::SystemExitException.
@@ -4372,7 +4419,7 @@ For a full list of changes to RubyGems, see the ChangeLog file.
4372
4419
  installation
4373
4420
  * Multi-version diamond dependencies only are installed once
4374
4421
  * Processing a YAML bulk index update takes less memory
4375
- * `gem install -i` makes sure all depenencies are installed
4422
+ * `gem install -i` makes sure all dependencies are installed
4376
4423
  * `gem update --system` reinstalls into the prefix it was originally installed
4377
4424
  in
4378
4425
  * `gem update --system` respects --no-rdoc and --no-ri flags
@@ -4412,7 +4459,7 @@ Special thanks to:
4412
4459
 
4413
4460
  If you are experiencing problems with the source index (e.g. strange
4414
4461
  "No Method" errors), or problems with zlib (e.g. "Buffer Error"
4415
- messsage), we recommend upgrading to RubyGems 0.9.4.
4462
+ message), we recommend upgrading to RubyGems 0.9.4.
4416
4463
 
4417
4464
  ## Bug fixes:
4418
4465
 
data/CONTRIBUTING.md CHANGED
@@ -114,7 +114,7 @@ listed in rough progression order from submitted to closed.
114
114
  * **ready** - An issue that is available for collaboration. This issue
115
115
  should have existing discussion on the problem, and a description of how
116
116
  to go about solving it.
117
- * **working** - An issue that has a specific invidual assigned to and
117
+ * **working** - An issue that has a specific individual assigned to and
118
118
  planning to do work on it.
119
119
  * **user feedback required** - The issue/pull request is blocked pending
120
120
  more feedback from an end user
@@ -132,7 +132,7 @@ closed reason labels are maroon `closed: *`.
132
132
 
133
133
  * **duplicate** - This is a duplicate of an existing bug. The comments must
134
134
  reference the existing issue.
135
- * **abandonded** - This is an issue/pull request that has aged off, is no
135
+ * **abandoned** - This is an issue/pull request that has aged off, is no
136
136
  longer applicable or similar.
137
137
  * **declined** - An issue that won't be fixed/implemented or a pull request
138
138
  that is not accepted.
data/Manifest.txt CHANGED
@@ -180,7 +180,9 @@ bundler/lib/bundler/source/path.rb
180
180
  bundler/lib/bundler/source/path/installer.rb
181
181
  bundler/lib/bundler/source/rubygems.rb
182
182
  bundler/lib/bundler/source/rubygems/remote.rb
183
+ bundler/lib/bundler/source/rubygems_aggregate.rb
183
184
  bundler/lib/bundler/source_list.rb
185
+ bundler/lib/bundler/source_map.rb
184
186
  bundler/lib/bundler/spec_set.rb
185
187
  bundler/lib/bundler/stub_specification.rb
186
188
  bundler/lib/bundler/templates/.document
@@ -535,6 +537,8 @@ test/rubygems/invalid_signer_cert_32.pem
535
537
  test/rubygems/invalidchild_cert.pem
536
538
  test/rubygems/invalidchild_cert_32.pem
537
539
  test/rubygems/invalidchild_key.pem
540
+ test/rubygems/packages/ascii_binder-0.1.10.1.gem
541
+ test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem
538
542
  test/rubygems/plugin/exception/rubygems_plugin.rb
539
543
  test/rubygems/plugin/load/rubygems_plugin.rb
540
544
  test/rubygems/plugin/standarderror/rubygems_plugin.rb
data/Rakefile CHANGED
@@ -7,18 +7,20 @@ require 'psych'
7
7
 
8
8
  desc "Setup Rubygems dev environment"
9
9
  task :setup do
10
- sh "ruby", "bundler/bin/bundle", "install", "--gemfile=dev_gems.rb"
10
+ sh "ruby", "-I", "lib", "bundler/spec/support/bundle.rb", "install", "--gemfile=dev_gems.rb"
11
11
  end
12
12
 
13
13
  desc "Update Rubygems dev environment"
14
14
  task :update do |_, args|
15
- sh "ruby", "bundler/bin/bundle", "update", *args, "--gemfile=dev_gems.rb"
15
+ sh "ruby", "-I", "lib", "bundler/spec/support/bundle.rb", "update", *args, "--gemfile=dev_gems.rb"
16
16
  end
17
17
 
18
18
  desc "Update the locked bundler version in dev environment"
19
19
  task :update_locked_bundler do |_, args|
20
- sh "ruby", "bundler/bin/bundle", "update", "--bundler", "--gemfile=dev_gems.rb"
21
- sh "ruby", "bundler/bin/bundle", "update", "--bundler", "--gemfile=bundler/test_gems.rb"
20
+ sh "ruby", "bundler/spec/support/bundle.rb", "update", "--bundler", "--gemfile=dev_gems.rb"
21
+ sh "ruby", "bundler/spec/support/bundle.rb", "update", "--bundler", "--gemfile=bundler/tool/bundler/test_gems.rb"
22
+ sh "ruby", "bundler/spec/support/bundle.rb", "update", "--bundler", "--gemfile=bundler/tool/bundler/rubocop_gems.rb"
23
+ sh "ruby", "bundler/spec/support/bundle.rb", "update", "--bundler", "--gemfile=bundler/tool/bundler/rubocop23_gems.rb"
22
24
  end
23
25
 
24
26
  desc "Setup git hooks"
@@ -84,11 +86,6 @@ end
84
86
 
85
87
  task rubocop: %w[rubocop:rubygems rubocop:bundler]
86
88
 
87
- desc "Run a test suite bisection"
88
- task(:bisect) do
89
- sh "util/bisect"
90
- end
91
-
92
89
  # --------------------------------------------------------------------
93
90
  # Creating a release
94
91
 
@@ -242,20 +239,17 @@ namespace 'guides' do
242
239
  desc 'Updates and publishes the guides for the just-released RubyGems'
243
240
  task 'publish'
244
241
 
245
- on_master = `git branch --list master`.strip == '* master'
246
- on_master = true if ENV['FORCE']
247
-
248
242
  task 'publish' => %w[
249
243
  guides:pull
250
244
  guides:update
251
245
  guides:commit
252
246
  guides:push
253
- ] if on_master
247
+ ]
254
248
  end
255
249
 
256
250
  directory '../blog.rubygems.org' do
257
251
  sh 'git', 'clone',
258
- 'git@github.com:rubygems/rubygems.github.com.git',
252
+ 'git@github.com:rubygems/rubygems.github.io.git',
259
253
  '../blog.rubygems.org'
260
254
  end
261
255
 
data/bundler/CHANGELOG.md CHANGED
@@ -1,4 +1,84 @@
1
- # 2.2.15 (March 18, 2021)
1
+ # 2.2.20 (June 11, 2021)
2
+
3
+ ## Enhancements:
4
+
5
+ - Don't print bug report template on server side errors [#4663](https://github.com/rubygems/rubygems/pull/4663)
6
+ - Don't load `resolv` unnecessarily [#4640](https://github.com/rubygems/rubygems/pull/4640)
7
+
8
+ ## Bug fixes:
9
+
10
+ - Fix `bundle outdated` edge case [#4648](https://github.com/rubygems/rubygems/pull/4648)
11
+ - Fix `bundle check` with scoped rubygems sources [#4639](https://github.com/rubygems/rubygems/pull/4639)
12
+
13
+ ## Performance:
14
+
15
+ - Don't use `extra_rdoc_files` with md files in gemspec to make installing bundler with docs faster [#4628](https://github.com/rubygems/rubygems/pull/4628)
16
+
17
+ # 2.2.19 (May 31, 2021)
18
+
19
+ ## Bug fixes:
20
+
21
+ - Restore support for configuration keys with dashes [#4582](https://github.com/rubygems/rubygems/pull/4582)
22
+ - Fix some cached gems being unintentionally ignored when using rubygems 3.2.18 [#4623](https://github.com/rubygems/rubygems/pull/4623)
23
+
24
+ # 2.2.18 (May 25, 2021)
25
+
26
+ ## Security fixes:
27
+
28
+ - Fix dependency confusion issues with implicit dependencies [#4609](https://github.com/rubygems/rubygems/pull/4609)
29
+
30
+ ## Enhancements:
31
+
32
+ - Use simpler notation for generated `required_ruby_version` [#4598](https://github.com/rubygems/rubygems/pull/4598)
33
+ - Undeprecate bundle show [#4586](https://github.com/rubygems/rubygems/pull/4586)
34
+ - Make sure link to new issue uses the proper template [#4592](https://github.com/rubygems/rubygems/pull/4592)
35
+
36
+ ## Bug fixes:
37
+
38
+ - Fix platform specific gems being removed from the lockfile [#4580](https://github.com/rubygems/rubygems/pull/4580)
39
+
40
+ # 2.2.17 (May 5, 2021)
41
+
42
+ ## Enhancements:
43
+
44
+ - Improve authentication required error message to include an alternative using `ENV` [#4565](https://github.com/rubygems/rubygems/pull/4565)
45
+ - Discard partial range responses without etag [#4563](https://github.com/rubygems/rubygems/pull/4563)
46
+ - Fix configuring ENV for a gem server with a name including dashes [#4571](https://github.com/rubygems/rubygems/pull/4571)
47
+ - Redact credentials from `bundle env` and `bundle config` [#4566](https://github.com/rubygems/rubygems/pull/4566)
48
+ - Redact all sources in verbose mode [#4564](https://github.com/rubygems/rubygems/pull/4564)
49
+ - Improve `bundle pristine` error if `BUNDLE_GEMFILE` does not exist [#4536](https://github.com/rubygems/rubygems/pull/4536)
50
+ - [CurrentRuby] Add 3.0 as a known minor [#4535](https://github.com/rubygems/rubygems/pull/4535)
51
+ - Prefer File.read instead of IO.read [#4530](https://github.com/rubygems/rubygems/pull/4530)
52
+ - Add space after open curly bracket in Gemfile and gems.rb template [#4518](https://github.com/rubygems/rubygems/pull/4518)
53
+
54
+ ## Bug fixes:
55
+
56
+ - Make sure specs are fetched from the right source when materializing [#4562](https://github.com/rubygems/rubygems/pull/4562)
57
+ - Fix `bundle cache` with an up-to-date lockfile and specs not already installed [#4554](https://github.com/rubygems/rubygems/pull/4554)
58
+ - Ignore `deployment` setting in inline mode [#4523](https://github.com/rubygems/rubygems/pull/4523)
59
+
60
+ ## Performance:
61
+
62
+ - Don't materialize resolutions when not necessary [#4556](https://github.com/rubygems/rubygems/pull/4556)
63
+
64
+ # 2.2.16 (April 8, 2021)
65
+
66
+ ## Enhancements:
67
+
68
+ - Add `--github-username` option and config to `bundle gem` [#3687](https://github.com/rubygems/rubygems/pull/3687)
69
+ - Bump vendored `tmpdir` library copy [#4506](https://github.com/rubygems/rubygems/pull/4506)
70
+ - Add `rake build:checksum` task to build checksums for a gem package [#4156](https://github.com/rubygems/rubygems/pull/4156)
71
+ - Enable bundler-cache for GitHub Actions template [#4498](https://github.com/rubygems/rubygems/pull/4498)
72
+ - Improve `bundle info` error when gem is on a "disabled" group [#4492](https://github.com/rubygems/rubygems/pull/4492)
73
+ - Small tweak to yank message [#4494](https://github.com/rubygems/rubygems/pull/4494)
74
+ - Don't show duplicate entries in `bundle outdated` output [#4474](https://github.com/rubygems/rubygems/pull/4474)
75
+ - Never downgrade top level gems when running `bundle update` [#4473](https://github.com/rubygems/rubygems/pull/4473)
76
+
77
+ ## Bug fixes:
78
+
79
+ - Fix incorrect logic for filtering metadata matching candidates [#4497](https://github.com/rubygems/rubygems/pull/4497)
80
+
81
+ # 2.2.15 (March 19, 2021)
2
82
 
3
83
  ## Enhancements:
4
84
 
@@ -455,7 +535,7 @@
455
535
  - Ignore `frozen` setting in inline mode ([#7125](https://github.com/rubygems/bundler/pull/7125))
456
536
  - Fix incorrect "bundler attempted to update GEM but version stayed the same" message when updating git sourced gems ([#6325](https://github.com/rubygems/bundler/pull/6325))
457
537
  - Don't check for existence of a writable home directory if `BUNDLE_USER_HOME` is set ([#6885](https://github.com/rubygems/bundler/pull/6885))
458
- - Fix error message when server would respond to a bad username/password requiest with a 401 ([#6928](https://github.com/rubygems/bundler/pull/6928))
538
+ - Fix error message when server would respond to a bad username/password request with a 401 ([#6928](https://github.com/rubygems/bundler/pull/6928))
459
539
  - Fix `bundle outdated` pluralization when multiple groups are requested ([#7063](https://github.com/rubygems/bundler/pull/7063))
460
540
  - Fix `bundle install` not updating conservatively when gemspec is changed ([#7143](https://github.com/rubygems/bundler/pull/7143))
461
541
  - Fix `bundle exec` not respecting custom process titles inside scripts ([#7140](https://github.com/rubygems/bundler/pull/7140))
@@ -2100,7 +2180,7 @@ Changes
2100
2180
  - fix Bundler.which for directories ([#2697](https://github.com/rubygems/bundler/issues/2697), @rhysd)
2101
2181
  - properly require `Capistrano::Version` ([#2690](https://github.com/rubygems/bundler/issues/2690), @steveklabnik)
2102
2182
  - search for git.exe and git
2103
- - fix the bug that downloads every spec when API fetcher encouters an error
2183
+ - fix the bug that downloads every spec when API fetcher encounters an error
2104
2184
  - only retry network requests
2105
2185
 
2106
2186
  # 1.4.0.rc.1 (September 29, 2013)
@@ -2724,7 +2804,7 @@ Changes
2724
2804
 
2725
2805
  - Implement `to_ary` to avoid calls to method_missing (@tenderlove, [#1274](https://github.com/rubygems/bundler/issues/1274))
2726
2806
  - bundle clean removes old .gem files (@cldwalker, [#1293](https://github.com/rubygems/bundler/issues/1293))
2727
- - Correcly identify missing child dependency in error message
2807
+ - Correctly identify missing child dependency in error message
2728
2808
  - Run pre-install, post-build, and post-install gem hooks for git gems (@warhammerkid, [#1120](https://github.com/rubygems/bundler/issues/1120))
2729
2809
  - create Gemfile.lock for empty Gemfile ([#1218](https://github.com/rubygems/bundler/issues/1218))
2730
2810
 
@@ -2875,7 +2955,7 @@ Changes
2875
2955
 
2876
2956
  - Performance fix for MRI 1.9 (@efficientcloud, [#1288](https://github.com/rubygems/bundler/issues/1288))
2877
2957
  - Shortcuts (like `bundle i`) for all commands (@amatsuda)
2878
- - Correcly identify missing child dependency in error message
2958
+ - Correctly identify missing child dependency in error message
2879
2959
 
2880
2960
  ## Bug fixes:
2881
2961
 
@@ -3111,7 +3191,7 @@ Changes
3111
3191
 
3112
3192
  - Various bugfixes to the built-in rake helpers
3113
3193
  - Fix a bug where shortrefs weren't unique enough and were
3114
- therfore colliding
3194
+ therefore colliding
3115
3195
  - Fix a small bug involving checking whether a local git
3116
3196
  clone is up to date
3117
3197
  - Correctly handle explicit '=' dependencies with gems
@@ -34,13 +34,12 @@ Gem::Specification.new do |s|
34
34
  s.required_ruby_version = ">= 2.3.0"
35
35
  s.required_rubygems_version = ">= 2.5.2"
36
36
 
37
- s.files = Dir.glob("{lib,exe}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
37
+ s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
38
38
 
39
- # Include the CHANGELOG.md, LICENSE.md, README.md manually
40
- s.files += %w[CHANGELOG.md LICENSE.md README.md]
41
39
  # include the gemspec itself because warbler breaks w/o it
42
40
  s.files += %w[bundler.gemspec]
43
41
 
42
+ s.files += %w[CHANGELOG.md LICENSE.md README.md]
44
43
  s.bindir = "exe"
45
44
  s.executables = %w[bundle bundler]
46
45
  s.require_paths = ["lib"]
@@ -69,6 +69,7 @@ module Bundler
69
69
  autoload :SharedHelpers, File.expand_path("bundler/shared_helpers", __dir__)
70
70
  autoload :Source, File.expand_path("bundler/source", __dir__)
71
71
  autoload :SourceList, File.expand_path("bundler/source_list", __dir__)
72
+ autoload :SourceMap, File.expand_path("bundler/source_map", __dir__)
72
73
  autoload :SpecSet, File.expand_path("bundler/spec_set", __dir__)
73
74
  autoload :StubSpecification, File.expand_path("bundler/stub_specification", __dir__)
74
75
  autoload :UI, File.expand_path("bundler/ui", __dir__)
@@ -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-03-19".freeze
8
- @git_commit_sha = "3dbcc68293".freeze
7
+ @built_at = "2021-06-11".freeze
8
+ @git_commit_sha = "4c510a34a4".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -308,39 +308,19 @@ module Bundler
308
308
  end
309
309
  end
310
310
 
311
- unless Bundler.feature_flag.bundler_3_mode?
312
- desc "show GEM [OPTIONS]", "Shows all gems that are part of the bundle, or the path to a given gem"
313
- long_desc <<-D
314
- Show lists the names and versions of all gems that are required by your Gemfile.
315
- Calling show with [GEM] will list the exact location of that gem on your machine.
316
- D
317
- method_option "paths", :type => :boolean,
318
- :banner => "List the paths of all gems that are required by your Gemfile."
319
- method_option "outdated", :type => :boolean,
320
- :banner => "Show verbose output including whether gems are outdated."
321
- def show(gem_name = nil)
322
- if ARGV[0] == "show"
323
- rest = ARGV[1..-1]
324
-
325
- if flag = rest.find{|arg| ["--verbose", "--outdated"].include?(arg) }
326
- Bundler::SharedHelpers.major_deprecation(2, "the `#{flag}` flag to `bundle show` was undocumented and will be removed without replacement")
327
- else
328
- new_command = rest.find {|arg| !arg.start_with?("--") } ? "info" : "list"
329
-
330
- new_arguments = rest.map do |arg|
331
- next arg if arg != "--paths"
332
- next "--path" if new_command == "info"
333
- end
334
-
335
- old_argv = ARGV.join(" ")
336
- new_argv = [new_command, *new_arguments.compact].join(" ")
337
-
338
- Bundler::SharedHelpers.major_deprecation(2, "use `bundle #{new_argv}` instead of `bundle #{old_argv}`")
339
- end
340
- end
341
- require_relative "cli/show"
342
- Show.new(options, gem_name).run
343
- end
311
+ desc "show GEM [OPTIONS]", "Shows all gems that are part of the bundle, or the path to a given gem"
312
+ long_desc <<-D
313
+ Show lists the names and versions of all gems that are required by your Gemfile.
314
+ Calling show with [GEM] will list the exact location of that gem on your machine.
315
+ D
316
+ method_option "paths", :type => :boolean,
317
+ :banner => "List the paths of all gems that are required by your Gemfile."
318
+ method_option "outdated", :type => :boolean,
319
+ :banner => "Show verbose output including whether gems are outdated."
320
+ def show(gem_name = nil)
321
+ SharedHelpers.major_deprecation(2, "the `--outdated` flag to `bundle show` was undocumented and will be removed without replacement") if ARGV.include?("--outdated")
322
+ require_relative "cli/show"
323
+ Show.new(options, gem_name).run
344
324
  end
345
325
 
346
326
  desc "list", "List all gems in the bundle"
@@ -504,8 +484,8 @@ module Bundler
504
484
  By default, setting a configuration value sets it for all projects
505
485
  on the machine.
506
486
 
507
- If a global setting is superceded by local configuration, this command
508
- will show the current value, as well as any superceded values and
487
+ If a global setting is superseded by local configuration, this command
488
+ will show the current value, as well as any superseded values and
509
489
  where they were specified.
510
490
  D
511
491
  require_relative "cli/config"
@@ -591,6 +571,7 @@ module Bundler
591
571
  :desc => "Generate a test directory for your library, either rspec, minitest or test-unit. Set a default with `bundle config set --global gem.test (rspec|minitest|test-unit)`."
592
572
  method_option :ci, :type => :string, :lazy_default => Bundler.settings["gem.ci"] || "",
593
573
  :desc => "Generate CI configuration, either GitHub Actions, Travis CI, GitLab CI or CircleCI. Set a default with `bundle config set --global gem.ci (github|travis|gitlab|circle)`"
574
+ method_option :github_username, :type => :string, :default => Bundler.settings["gem.github_username"], :banner => "Set your username on GitHub", :desc => "Fill in GitHub username on README so that you don't have to do it manually. Set a default with `bundle config set --global gem.github_username <your_username>`."
594
575
 
595
576
  def gem(name)
596
577
  end