rubygems-update 3.2.14 → 3.2.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +54 -8
  3. data/CONTRIBUTING.md +2 -2
  4. data/Manifest.txt +3 -0
  5. data/Rakefile +8 -14
  6. data/bundler/CHANGELOG.md +81 -5
  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/common.rb +15 -2
  12. data/bundler/lib/bundler/cli/gem.rb +9 -1
  13. data/bundler/lib/bundler/cli/outdated.rb +8 -11
  14. data/bundler/lib/bundler/compact_index_client/updater.rb +9 -5
  15. data/bundler/lib/bundler/current_ruby.rb +1 -0
  16. data/bundler/lib/bundler/definition.rb +21 -84
  17. data/bundler/lib/bundler/feature_flag.rb +0 -2
  18. data/bundler/lib/bundler/fetcher.rb +2 -1
  19. data/bundler/lib/bundler/fetcher/downloader.rb +8 -4
  20. data/bundler/lib/bundler/friendly_errors.rb +1 -1
  21. data/bundler/lib/bundler/gem_helper.rb +16 -0
  22. data/bundler/lib/bundler/index.rb +1 -2
  23. data/bundler/lib/bundler/injector.rb +2 -2
  24. data/bundler/lib/bundler/inline.rb +1 -1
  25. data/bundler/lib/bundler/installer/parallel_installer.rb +30 -7
  26. data/bundler/lib/bundler/lazy_specification.rb +6 -1
  27. data/bundler/lib/bundler/man/bundle-add.1 +1 -1
  28. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  29. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  30. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  31. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  32. data/bundler/lib/bundler/man/bundle-config.1 +21 -10
  33. data/bundler/lib/bundler/man/bundle-config.1.ronn +21 -11
  34. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  35. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  36. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  37. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  38. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  39. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  40. data/bundler/lib/bundler/man/bundle-install.1 +1 -1
  41. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  42. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  43. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  44. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  47. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  48. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  49. data/bundler/lib/bundler/man/bundle-update.1 +1 -1
  50. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  51. data/bundler/lib/bundler/man/bundle.1 +1 -1
  52. data/bundler/lib/bundler/man/gemfile.5 +1 -1
  53. data/bundler/lib/bundler/plugin.rb +2 -2
  54. data/bundler/lib/bundler/plugin/api/source.rb +14 -0
  55. data/bundler/lib/bundler/resolver.rb +13 -96
  56. data/bundler/lib/bundler/resolver/spec_group.rb +0 -24
  57. data/bundler/lib/bundler/retry.rb +1 -1
  58. data/bundler/lib/bundler/rubygems_ext.rb +2 -2
  59. data/bundler/lib/bundler/settings.rb +74 -12
  60. data/bundler/lib/bundler/source.rb +9 -0
  61. data/bundler/lib/bundler/source/path.rb +3 -1
  62. data/bundler/lib/bundler/source/path/installer.rb +1 -1
  63. data/bundler/lib/bundler/source/rubygems.rb +17 -10
  64. data/bundler/lib/bundler/source/rubygems_aggregate.rb +64 -0
  65. data/bundler/lib/bundler/source_list.rb +29 -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/update_command.rb +21 -3
  82. data/lib/rubygems/commands/yank_command.rb +1 -1
  83. data/lib/rubygems/defaults.rb +1 -1
  84. data/lib/rubygems/deprecate.rb +3 -1
  85. data/lib/rubygems/ext/ext_conf_builder.rb +4 -4
  86. data/lib/rubygems/indexer.rb +1 -1
  87. data/lib/rubygems/installer.rb +5 -2
  88. data/lib/rubygems/package.rb +1 -8
  89. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb +1 -1
  90. data/lib/rubygems/security/trust_dir.rb +1 -0
  91. data/lib/rubygems/specification.rb +0 -2
  92. data/lib/rubygems/test_case.rb +102 -18
  93. data/lib/rubygems/test_utilities.rb +1 -1
  94. data/rubygems-update.gemspec +1 -1
  95. data/test/rubygems/packages/ascii_binder-0.1.10.1.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 +2 -2
  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 +38 -11
  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 +6 -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 +162 -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 -24
  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 +83 -103
  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 +4 -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 +6 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 183f3b2ffdc6ae6ff74b07aa4fb847ce8dad2346d34053258d1f4a1dae58ee75
4
- data.tar.gz: 65ebe08bd47e237947d6292a1d8bd8eacfdb02ba2ca0c49abbb46dfb5d4508ba
3
+ metadata.gz: ba52b4a462e0da9cf903bc69e61096bd08a3281bd6d174cc35abf975099eb737
4
+ data.tar.gz: 791cfa5488c4d56d48b60bc372c16be5d426d53bbb603c8b95fbaf20bbc4b0c8
5
5
  SHA512:
6
- metadata.gz: 6bab93bbd24b3fb753b6a2818cecaad7dffff505937f4a3a0625c9c6f8ccfcb1742d642fc74ab7e8aed5bc505aa18651aed3ced2e794efa0b0a758ac5fab50a8
7
- data.tar.gz: 1a5c4126510e7dfb037e52f3da7a2cc815d14b925089ebf3aed4c120c95580a6e1e119fc3cc205bf320baf02cd140e3a2cd17499dd4b6c9b2747004654ae82bb
6
+ metadata.gz: 89c0efcd3e1f639edfac4af460a7bbb891f13cae5b1dc5c58829e10f0a64d9fe04c0d0e58c108b6dbff8b7f7e7f77d96edbe993dfbb6086ae998fb68b9b05793
7
+ data.tar.gz: a01059a530f414a334a8d16af04d8507ca6ca10891e869b395795bacb5748822b44e98eb4491f3f98dc781d72b9c4a228700eb1ee8ff18fdeb1a50aa14482114
data/CHANGELOG.md CHANGED
@@ -1,3 +1,49 @@
1
+ # 3.2.19 / 2021-05-31
2
+
3
+ ## Enhancements:
4
+
5
+ * Fix `gem help build` output format. Pull request #4613 by tnir
6
+
7
+ # 3.2.18 / 2021-05-25
8
+
9
+ ## Enhancements:
10
+
11
+ * Don't leave temporary directory around when building extensions to
12
+ improve build reproducibility. Pull request #4610 by baloo
13
+
14
+ # 3.2.17 / 2021-05-05
15
+
16
+ ## Enhancements:
17
+
18
+ * Only print month & year in deprecation messages. Pull request #3085 by
19
+ Schwad
20
+ * Make deprecate method support ruby3's keyword arguments. Pull request
21
+ #4558 by mame
22
+ * Update the default bindir on macOS. Pull request #4524 by nobu
23
+ * Prefer File.open instead of Kernel#open. Pull request #4529 by mame
24
+
25
+ ## Documentation:
26
+
27
+ * Fix usage messages to reflect the current POSIX-compatible behaviour.
28
+ Pull request #4551 by graywolf-at-work
29
+
30
+ # 3.2.16 / 2021-04-08
31
+
32
+ ## Bug fixes:
33
+
34
+ * Correctly handle symlinks. Pull request #2836 by voxik
35
+
36
+ # 3.2.15 / 2021-03-19
37
+
38
+ ## Enhancements:
39
+
40
+ * Prevent downgrades to untested rubygems versions. Pull request #4460 by
41
+ deivid-rodriguez
42
+
43
+ ## Bug fixes:
44
+
45
+ * Fix missing require breaking `gem cert`. Pull request #4464 by lukehinds
46
+
1
47
  # 3.2.14 / 2021-03-08
2
48
 
3
49
  ## Enhancements:
@@ -706,7 +752,7 @@
706
752
  * Clean which command. Pull request #2801 by Luis Sagastume.
707
753
  * Upgrading S3 source signature to AWS SigV4. Pull request #2807 by
708
754
  Alexander Pakulov.
709
- * Remove missleading comment, no reason to move Gem.host to Gem::Util.
755
+ * Remove misleading comment, no reason to move Gem.host to Gem::Util.
710
756
  Pull request #2811 by Luis Sagastume.
711
757
  * Drop support for 'gem env packageversion'. Pull request #2813 by Luis
712
758
  Sagastume.
@@ -1706,7 +1752,7 @@ Security fixes:
1706
1752
  * Clean up the PathSupport object. Pull request #1094 by Aaron Patterson.
1707
1753
  * Join with File::PATH_SEPARATOR in Gem.use_paths. Pull request #1476 by
1708
1754
  Samuel E. Giddins.
1709
- * Handle when the gem home and gem path arent set in the config file. Pull
1755
+ * Handle when the gem home and gem path aren't set in the config file. Pull
1710
1756
  request #1478 by Samuel E. Giddins.
1711
1757
  * Terminate TimeoutHandler. Pull request #1479 by Nobuyoshi Nakada.
1712
1758
  * Remove redundant cache. Pull request #1482 by Eileen M. Uchitelle.
@@ -2051,7 +2097,7 @@ This release was sponsored by Ruby Central.
2051
2097
  * Fixed activating gems from a Gemfile for default gems. Issue #991 by khoan.
2052
2098
  * Fixed windows stub script generation for Cygwin. Issue #1000 by Brett
2053
2099
  DiFrischia.
2054
- * Allow gem bindir and ruby.exe to live in separate diretories. Pull request
2100
+ * Allow gem bindir and ruby.exe to live in separate directories. Pull request
2055
2101
  #942 by Ian Flynn.
2056
2102
  * Fixed handling of gemspec in gem dependencies files to match Bundler
2057
2103
  behavior. Issue #1020 by Michal Papis.
@@ -2145,7 +2191,7 @@ This release was sponsored by Ruby Central.
2145
2191
  * Gem.use_gemdeps now accepts an argument specifying the path of the gem
2146
2192
  dependencies file. When the file is not found an ArgumentError is raised.
2147
2193
  * Writing a .lock file for a gem dependencies file is now controlled by the
2148
- --[no-]lock option. Pull reuqest #774 by Jeremy Evans.
2194
+ --[no-]lock option. Pull request #774 by Jeremy Evans.
2149
2195
  * Suggestion of alternate names and spelling corrections during install can be
2150
2196
  suppressed with the --no-suggestions option. Issue #867 by Jimmy Cuadra.
2151
2197
  * Added mswin64 support. Pull request #881 by U. Nakamura.
@@ -2244,7 +2290,7 @@ This release was sponsored by Ruby Central.
2244
2290
  * Check for nil extensions as BasicSpecification does not initialize them.
2245
2291
  Pull request #882 by André Arko.
2246
2292
  * Fixed Gem::BasicSpecification#require_paths receives a String for
2247
- @require_paths. Pull requrest #904 by @danielpclark
2293
+ @require_paths. Pull request #904 by @danielpclark
2248
2294
  * Fixed circular require warnings. Bug #908 by Zachary Scott.
2249
2295
  * Gem::Specification#require_paths can no longer accidentally be an Array.
2250
2296
  Pull requests #904, #909 by Daniel P. Clark.
@@ -3680,7 +3726,7 @@ build arguments.
3680
3726
  * Fixed `gem contents` to work with the lightweight specifications
3681
3727
  * Fixed `gem update --system x.y.z` where x.y.z == latest version. (MGPalmer)
3682
3728
  * Fixed gem contents sorting and tests. (MGPalmer)
3683
- * Fixed intermittant problem in `gem fetch` with --platform specified (quix)
3729
+ * Fixed intermittent problem in `gem fetch` with --platform specified (quix)
3684
3730
  * Fixed lightweight specifications so `gem rdoc` will generate proper
3685
3731
  documentation
3686
3732
  * MockGemUI#terminate_interaction should not raise Gem::SystemExitException.
@@ -4361,7 +4407,7 @@ For a full list of changes to RubyGems, see the ChangeLog file.
4361
4407
  installation
4362
4408
  * Multi-version diamond dependencies only are installed once
4363
4409
  * Processing a YAML bulk index update takes less memory
4364
- * `gem install -i` makes sure all depenencies are installed
4410
+ * `gem install -i` makes sure all dependencies are installed
4365
4411
  * `gem update --system` reinstalls into the prefix it was originally installed
4366
4412
  in
4367
4413
  * `gem update --system` respects --no-rdoc and --no-ri flags
@@ -4401,7 +4447,7 @@ Special thanks to:
4401
4447
 
4402
4448
  If you are experiencing problems with the source index (e.g. strange
4403
4449
  "No Method" errors), or problems with zlib (e.g. "Buffer Error"
4404
- messsage), we recommend upgrading to RubyGems 0.9.4.
4450
+ message), we recommend upgrading to RubyGems 0.9.4.
4405
4451
 
4406
4452
  ## Bug fixes:
4407
4453
 
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,7 @@ 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
538
541
  test/rubygems/plugin/exception/rubygems_plugin.rb
539
542
  test/rubygems/plugin/load/rubygems_plugin.rb
540
543
  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,3 +1,79 @@
1
+ # 2.2.19 (May 31, 2021)
2
+
3
+ ## Bug fixes:
4
+
5
+ - Restore support for configuration keys with dashes [#4582](https://github.com/rubygems/rubygems/pull/4582)
6
+ - Fix some cached gems being unintentionally ignored when using rubygems 3.2.18 [#4623](https://github.com/rubygems/rubygems/pull/4623)
7
+
8
+ # 2.2.18 (May 25, 2021)
9
+
10
+ ## Security fixes:
11
+
12
+ - Fix dependency confusion issues with implicit dependencies [#4609](https://github.com/rubygems/rubygems/pull/4609)
13
+
14
+ ## Enhancements:
15
+
16
+ - Use simpler notation for generated `required_ruby_version` [#4598](https://github.com/rubygems/rubygems/pull/4598)
17
+ - Undeprecate bundle show [#4586](https://github.com/rubygems/rubygems/pull/4586)
18
+ - Make sure link to new issue uses the proper template [#4592](https://github.com/rubygems/rubygems/pull/4592)
19
+
20
+ ## Bug fixes:
21
+
22
+ - Fix platform specific gems being removed from the lockfile [#4580](https://github.com/rubygems/rubygems/pull/4580)
23
+
24
+ # 2.2.17 (May 5, 2021)
25
+
26
+ ## Enhancements:
27
+
28
+ - Improve authentication required error message to include an alternative using `ENV` [#4565](https://github.com/rubygems/rubygems/pull/4565)
29
+ - Discard partial range responses without etag [#4563](https://github.com/rubygems/rubygems/pull/4563)
30
+ - Fix configuring ENV for a gem server with a name including dashes [#4571](https://github.com/rubygems/rubygems/pull/4571)
31
+ - Redact credentials from `bundle env` and `bundle config` [#4566](https://github.com/rubygems/rubygems/pull/4566)
32
+ - Redact all sources in verbose mode [#4564](https://github.com/rubygems/rubygems/pull/4564)
33
+ - Improve `bundle pristine` error if `BUNDLE_GEMFILE` does not exist [#4536](https://github.com/rubygems/rubygems/pull/4536)
34
+ - [CurrentRuby] Add 3.0 as a known minor [#4535](https://github.com/rubygems/rubygems/pull/4535)
35
+ - Prefer File.read instead of IO.read [#4530](https://github.com/rubygems/rubygems/pull/4530)
36
+ - Add space after open curly bracket in Gemfile and gems.rb template [#4518](https://github.com/rubygems/rubygems/pull/4518)
37
+
38
+ ## Bug fixes:
39
+
40
+ - Make sure specs are fetched from the right source when materializing [#4562](https://github.com/rubygems/rubygems/pull/4562)
41
+ - Fix `bundle cache` with an up-to-date lockfile and specs not already installed [#4554](https://github.com/rubygems/rubygems/pull/4554)
42
+ - Ignore `deployment` setting in inline mode [#4523](https://github.com/rubygems/rubygems/pull/4523)
43
+
44
+ ## Performance:
45
+
46
+ - Don't materialize resolutions when not necessary [#4556](https://github.com/rubygems/rubygems/pull/4556)
47
+
48
+ # 2.2.16 (April 8, 2021)
49
+
50
+ ## Enhancements:
51
+
52
+ - Add `--github-username` option and config to `bundle gem` [#3687](https://github.com/rubygems/rubygems/pull/3687)
53
+ - Bump vendored `tmpdir` library copy [#4506](https://github.com/rubygems/rubygems/pull/4506)
54
+ - Add `rake build:checksum` task to build checksums for a gem package [#4156](https://github.com/rubygems/rubygems/pull/4156)
55
+ - Enable bundler-cache for GitHub Actions template [#4498](https://github.com/rubygems/rubygems/pull/4498)
56
+ - Improve `bundle info` error when gem is on a "disabled" group [#4492](https://github.com/rubygems/rubygems/pull/4492)
57
+ - Small tweak to yank message [#4494](https://github.com/rubygems/rubygems/pull/4494)
58
+ - Don't show duplicate entries in `bundle outdated` output [#4474](https://github.com/rubygems/rubygems/pull/4474)
59
+ - Never downgrade top level gems when running `bundle update` [#4473](https://github.com/rubygems/rubygems/pull/4473)
60
+
61
+ ## Bug fixes:
62
+
63
+ - Fix incorrect logic for filtering metadata matching candidates [#4497](https://github.com/rubygems/rubygems/pull/4497)
64
+
65
+ # 2.2.15 (March 19, 2021)
66
+
67
+ ## Enhancements:
68
+
69
+ - Add a hint about bundler installing executables for path gems [#4461](https://github.com/rubygems/rubygems/pull/4461)
70
+ - Warn lockfiles with incorrect resolutions [#4459](https://github.com/rubygems/rubygems/pull/4459)
71
+ - Don't generate duplicate redundant sources in the lockfile [#4456](https://github.com/rubygems/rubygems/pull/4456)
72
+
73
+ ## Bug fixes:
74
+
75
+ - Respect running ruby when resolving platforms [#4449](https://github.com/rubygems/rubygems/pull/4449)
76
+
1
77
  # 2.2.14 (March 8, 2021)
2
78
 
3
79
  ## Security fixes:
@@ -443,7 +519,7 @@
443
519
  - Ignore `frozen` setting in inline mode ([#7125](https://github.com/rubygems/bundler/pull/7125))
444
520
  - 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))
445
521
  - Don't check for existence of a writable home directory if `BUNDLE_USER_HOME` is set ([#6885](https://github.com/rubygems/bundler/pull/6885))
446
- - Fix error message when server would respond to a bad username/password requiest with a 401 ([#6928](https://github.com/rubygems/bundler/pull/6928))
522
+ - Fix error message when server would respond to a bad username/password request with a 401 ([#6928](https://github.com/rubygems/bundler/pull/6928))
447
523
  - Fix `bundle outdated` pluralization when multiple groups are requested ([#7063](https://github.com/rubygems/bundler/pull/7063))
448
524
  - Fix `bundle install` not updating conservatively when gemspec is changed ([#7143](https://github.com/rubygems/bundler/pull/7143))
449
525
  - Fix `bundle exec` not respecting custom process titles inside scripts ([#7140](https://github.com/rubygems/bundler/pull/7140))
@@ -2088,7 +2164,7 @@ Changes
2088
2164
  - fix Bundler.which for directories ([#2697](https://github.com/rubygems/bundler/issues/2697), @rhysd)
2089
2165
  - properly require `Capistrano::Version` ([#2690](https://github.com/rubygems/bundler/issues/2690), @steveklabnik)
2090
2166
  - search for git.exe and git
2091
- - fix the bug that downloads every spec when API fetcher encouters an error
2167
+ - fix the bug that downloads every spec when API fetcher encounters an error
2092
2168
  - only retry network requests
2093
2169
 
2094
2170
  # 1.4.0.rc.1 (September 29, 2013)
@@ -2712,7 +2788,7 @@ Changes
2712
2788
 
2713
2789
  - Implement `to_ary` to avoid calls to method_missing (@tenderlove, [#1274](https://github.com/rubygems/bundler/issues/1274))
2714
2790
  - bundle clean removes old .gem files (@cldwalker, [#1293](https://github.com/rubygems/bundler/issues/1293))
2715
- - Correcly identify missing child dependency in error message
2791
+ - Correctly identify missing child dependency in error message
2716
2792
  - Run pre-install, post-build, and post-install gem hooks for git gems (@warhammerkid, [#1120](https://github.com/rubygems/bundler/issues/1120))
2717
2793
  - create Gemfile.lock for empty Gemfile ([#1218](https://github.com/rubygems/bundler/issues/1218))
2718
2794
 
@@ -2863,7 +2939,7 @@ Changes
2863
2939
 
2864
2940
  - Performance fix for MRI 1.9 (@efficientcloud, [#1288](https://github.com/rubygems/bundler/issues/1288))
2865
2941
  - Shortcuts (like `bundle i`) for all commands (@amatsuda)
2866
- - Correcly identify missing child dependency in error message
2942
+ - Correctly identify missing child dependency in error message
2867
2943
 
2868
2944
  ## Bug fixes:
2869
2945
 
@@ -3099,7 +3175,7 @@ Changes
3099
3175
 
3100
3176
  - Various bugfixes to the built-in rake helpers
3101
3177
  - Fix a bug where shortrefs weren't unique enough and were
3102
- therfore colliding
3178
+ therefore colliding
3103
3179
  - Fix a small bug involving checking whether a local git
3104
3180
  clone is up to date
3105
3181
  - 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.extra_rdoc_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-08".freeze
8
- @git_commit_sha = "3a169d80c1".freeze
7
+ @built_at = "2021-05-31".freeze
8
+ @git_commit_sha = "43f80b12c0".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