rubygems-update 3.3.16 → 3.3.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (363) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +57 -0
  3. data/Manifest.txt +1 -0
  4. data/bin/gem +2 -2
  5. data/bin/update_rubygems +4 -4
  6. data/bundler/CHANGELOG.md +71 -0
  7. data/bundler/lib/bundler/build_metadata.rb +2 -2
  8. data/bundler/lib/bundler/cli/cache.rb +1 -1
  9. data/bundler/lib/bundler/cli/common.rb +1 -0
  10. data/bundler/lib/bundler/cli/install.rb +2 -0
  11. data/bundler/lib/bundler/cli.rb +6 -2
  12. data/bundler/lib/bundler/compact_index_client/updater.rb +16 -3
  13. data/bundler/lib/bundler/current_ruby.rb +1 -1
  14. data/bundler/lib/bundler/definition.rb +51 -18
  15. data/bundler/lib/bundler/dependency.rb +3 -2
  16. data/bundler/lib/bundler/dsl.rb +3 -3
  17. data/bundler/lib/bundler/friendly_errors.rb +5 -2
  18. data/bundler/lib/bundler/gem_helpers.rb +2 -0
  19. data/bundler/lib/bundler/incomplete_specification.rb +12 -0
  20. data/bundler/lib/bundler/index.rb +11 -17
  21. data/bundler/lib/bundler/installer/standalone.rb +29 -2
  22. data/bundler/lib/bundler/lazy_specification.rb +17 -8
  23. data/bundler/lib/bundler/lockfile_parser.rb +4 -0
  24. data/bundler/lib/bundler/man/bundle-add.1 +2 -2
  25. data/bundler/lib/bundler/man/bundle-add.1.ronn +1 -1
  26. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  27. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  28. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  29. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  30. data/bundler/lib/bundler/man/bundle-config.1 +13 -3
  31. data/bundler/lib/bundler/man/bundle-config.1.ronn +9 -2
  32. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  33. data/bundler/lib/bundler/man/bundle-exec.1 +2 -2
  34. data/bundler/lib/bundler/man/bundle-exec.1.ronn +1 -1
  35. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  36. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  37. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  38. data/bundler/lib/bundler/man/bundle-inject.1 +5 -2
  39. data/bundler/lib/bundler/man/bundle-inject.1.ronn +3 -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 +4 -1
  51. data/bundler/lib/bundler/man/bundle-viz.1.ronn +2 -0
  52. data/bundler/lib/bundler/man/bundle.1 +3 -3
  53. data/bundler/lib/bundler/man/bundle.1.ronn +2 -2
  54. data/bundler/lib/bundler/man/gemfile.5 +77 -47
  55. data/bundler/lib/bundler/man/gemfile.5.ronn +75 -54
  56. data/bundler/lib/bundler/match_platform.rb +0 -1
  57. data/bundler/lib/bundler/remote_specification.rb +5 -4
  58. data/bundler/lib/bundler/resolver/spec_group.rb +5 -4
  59. data/bundler/lib/bundler/resolver.rb +11 -9
  60. data/bundler/lib/bundler/rubygems_ext.rb +6 -5
  61. data/bundler/lib/bundler/rubygems_gem_installer.rb +19 -12
  62. data/bundler/lib/bundler/runtime.rb +0 -1
  63. data/bundler/lib/bundler/settings.rb +1 -0
  64. data/bundler/lib/bundler/source/rubygems.rb +14 -6
  65. data/bundler/lib/bundler/spec_set.rb +31 -20
  66. data/bundler/lib/bundler/version.rb +1 -1
  67. data/bundler/lib/bundler.rb +1 -0
  68. data/lib/rubygems/basic_specification.rb +2 -2
  69. data/lib/rubygems/command.rb +19 -19
  70. data/lib/rubygems/command_manager.rb +9 -9
  71. data/lib/rubygems/commands/build_command.rb +8 -8
  72. data/lib/rubygems/commands/cert_command.rb +32 -32
  73. data/lib/rubygems/commands/check_command.rb +20 -20
  74. data/lib/rubygems/commands/cleanup_command.rb +16 -16
  75. data/lib/rubygems/commands/contents_command.rb +12 -12
  76. data/lib/rubygems/commands/dependency_command.rb +12 -12
  77. data/lib/rubygems/commands/environment_command.rb +10 -7
  78. data/lib/rubygems/commands/fetch_command.rb +6 -6
  79. data/lib/rubygems/commands/generate_index_command.rb +15 -15
  80. data/lib/rubygems/commands/help_command.rb +3 -3
  81. data/lib/rubygems/commands/info_command.rb +3 -3
  82. data/lib/rubygems/commands/install_command.rb +13 -13
  83. data/lib/rubygems/commands/list_command.rb +3 -3
  84. data/lib/rubygems/commands/lock_command.rb +4 -4
  85. data/lib/rubygems/commands/mirror_command.rb +3 -3
  86. data/lib/rubygems/commands/open_command.rb +9 -9
  87. data/lib/rubygems/commands/outdated_command.rb +5 -5
  88. data/lib/rubygems/commands/owner_command.rb +11 -11
  89. data/lib/rubygems/commands/pristine_command.rb +31 -31
  90. data/lib/rubygems/commands/push_command.rb +8 -8
  91. data/lib/rubygems/commands/query_command.rb +8 -8
  92. data/lib/rubygems/commands/rdoc_command.rb +17 -17
  93. data/lib/rubygems/commands/search_command.rb +3 -3
  94. data/lib/rubygems/commands/server_command.rb +3 -3
  95. data/lib/rubygems/commands/setup_command.rb +94 -103
  96. data/lib/rubygems/commands/signin_command.rb +9 -9
  97. data/lib/rubygems/commands/signout_command.rb +7 -7
  98. data/lib/rubygems/commands/sources_command.rb +19 -19
  99. data/lib/rubygems/commands/specification_command.rb +11 -11
  100. data/lib/rubygems/commands/stale_command.rb +2 -2
  101. data/lib/rubygems/commands/uninstall_command.rb +36 -36
  102. data/lib/rubygems/commands/unpack_command.rb +12 -12
  103. data/lib/rubygems/commands/update_command.rb +40 -52
  104. data/lib/rubygems/commands/which_command.rb +6 -6
  105. data/lib/rubygems/commands/yank_command.rb +11 -11
  106. data/lib/rubygems/config_file.rb +14 -14
  107. data/lib/rubygems/core_ext/kernel_gem.rb +1 -1
  108. data/lib/rubygems/core_ext/kernel_require.rb +1 -1
  109. data/lib/rubygems/core_ext/kernel_warn.rb +1 -1
  110. data/lib/rubygems/core_ext/tcpsocket_init.rb +1 -1
  111. data/lib/rubygems/defaults.rb +15 -15
  112. data/lib/rubygems/dependency.rb +4 -4
  113. data/lib/rubygems/dependency_installer.rb +8 -8
  114. data/lib/rubygems/dependency_list.rb +2 -2
  115. data/lib/rubygems/doctor.rb +16 -16
  116. data/lib/rubygems/errors.rb +2 -2
  117. data/lib/rubygems/exceptions.rb +4 -4
  118. data/lib/rubygems/ext/build_error.rb +1 -1
  119. data/lib/rubygems/ext/builder.rb +23 -16
  120. data/lib/rubygems/ext/cargo_builder.rb +18 -25
  121. data/lib/rubygems/ext/cmake_builder.rb +2 -2
  122. data/lib/rubygems/ext/configure_builder.rb +1 -1
  123. data/lib/rubygems/ext/ext_conf_builder.rb +34 -59
  124. data/lib/rubygems/ext/rake_builder.rb +3 -3
  125. data/lib/rubygems/ext.rb +7 -7
  126. data/lib/rubygems/gem_runner.rb +8 -12
  127. data/lib/rubygems/gemcutter_utilities.rb +30 -27
  128. data/lib/rubygems/indexer.rb +26 -24
  129. data/lib/rubygems/install_default_message.rb +2 -2
  130. data/lib/rubygems/install_message.rb +2 -2
  131. data/lib/rubygems/install_update_options.rb +55 -55
  132. data/lib/rubygems/installer.rb +28 -28
  133. data/lib/rubygems/installer_uninstaller_utils.rb +2 -2
  134. data/lib/rubygems/local_remote_options.rb +18 -20
  135. data/lib/rubygems/mock_gem_ui.rb +2 -2
  136. data/lib/rubygems/name_tuple.rb +1 -1
  137. data/lib/rubygems/optparse.rb +1 -1
  138. data/lib/rubygems/package/file_source.rb +2 -2
  139. data/lib/rubygems/package/old.rb +8 -8
  140. data/lib/rubygems/package/tar_header.rb +33 -33
  141. data/lib/rubygems/package/tar_reader/entry.rb +2 -2
  142. data/lib/rubygems/package/tar_reader.rb +1 -1
  143. data/lib/rubygems/package/tar_writer.rb +6 -6
  144. data/lib/rubygems/package.rb +35 -35
  145. data/lib/rubygems/package_task.rb +4 -4
  146. data/lib/rubygems/platform.rb +44 -40
  147. data/lib/rubygems/psych_tree.rb +1 -1
  148. data/lib/rubygems/query_utils.rb +27 -27
  149. data/lib/rubygems/rdoc.rb +2 -2
  150. data/lib/rubygems/remote_fetcher.rb +19 -19
  151. data/lib/rubygems/request/connection_pools.rb +2 -2
  152. data/lib/rubygems/request.rb +21 -21
  153. data/lib/rubygems/request_set/gem_dependency_api.rb +15 -15
  154. data/lib/rubygems/request_set/lockfile/parser.rb +14 -14
  155. data/lib/rubygems/request_set/lockfile/tokenizer.rb +2 -2
  156. data/lib/rubygems/request_set/lockfile.rb +5 -5
  157. data/lib/rubygems/request_set.rb +14 -14
  158. data/lib/rubygems/requirement.rb +5 -5
  159. data/lib/rubygems/resolver/activation_request.rb +3 -3
  160. data/lib/rubygems/resolver/api_set.rb +4 -4
  161. data/lib/rubygems/resolver/api_specification.rb +2 -2
  162. data/lib/rubygems/resolver/best_set.rb +2 -2
  163. data/lib/rubygems/resolver/conflict.rb +7 -7
  164. data/lib/rubygems/resolver/dependency_request.rb +2 -2
  165. data/lib/rubygems/resolver/git_set.rb +2 -2
  166. data/lib/rubygems/resolver/git_specification.rb +3 -3
  167. data/lib/rubygems/resolver/index_set.rb +3 -3
  168. data/lib/rubygems/resolver/index_specification.rb +3 -3
  169. data/lib/rubygems/resolver/installed_specification.rb +2 -2
  170. data/lib/rubygems/resolver/installer_set.rb +4 -4
  171. data/lib/rubygems/resolver/local_specification.rb +2 -2
  172. data/lib/rubygems/resolver/lock_set.rb +3 -3
  173. data/lib/rubygems/resolver/lock_specification.rb +3 -3
  174. data/lib/rubygems/resolver/molinillo.rb +1 -1
  175. data/lib/rubygems/resolver/specification.rb +1 -1
  176. data/lib/rubygems/resolver/vendor_set.rb +1 -1
  177. data/lib/rubygems/resolver.rb +35 -35
  178. data/lib/rubygems/s3_uri_signer.rb +6 -6
  179. data/lib/rubygems/safe_yaml.rb +2 -2
  180. data/lib/rubygems/security/policies.rb +11 -11
  181. data/lib/rubygems/security/policy.rb +12 -12
  182. data/lib/rubygems/security/signer.rb +4 -4
  183. data/lib/rubygems/security/trust_dir.rb +3 -3
  184. data/lib/rubygems/security.rb +27 -27
  185. data/lib/rubygems/security_option.rb +5 -5
  186. data/lib/rubygems/source/git.rb +17 -17
  187. data/lib/rubygems/source/installed.rb +1 -1
  188. data/lib/rubygems/source/local.rb +2 -2
  189. data/lib/rubygems/source/specific_file.rb +1 -1
  190. data/lib/rubygems/source.rb +15 -15
  191. data/lib/rubygems/spec_fetcher.rb +8 -8
  192. data/lib/rubygems/specification.rb +61 -38
  193. data/lib/rubygems/specification_policy.rb +13 -13
  194. data/lib/rubygems/stub_specification.rb +5 -5
  195. data/lib/rubygems/tsort.rb +1 -1
  196. data/lib/rubygems/uninstaller.rb +14 -14
  197. data/lib/rubygems/uri.rb +4 -4
  198. data/lib/rubygems/uri_formatter.rb +1 -1
  199. data/lib/rubygems/user_interaction.rb +31 -17
  200. data/lib/rubygems/util/licenses.rb +3 -3
  201. data/lib/rubygems/util.rb +10 -10
  202. data/lib/rubygems/validator.rb +5 -5
  203. data/lib/rubygems/version.rb +3 -5
  204. data/lib/rubygems/version_option.rb +3 -3
  205. data/lib/rubygems.rb +61 -59
  206. data/rubygems-update.gemspec +2 -2
  207. data/setup.rb +9 -9
  208. data/test/rubygems/helper.rb +133 -127
  209. data/test/rubygems/installer_test_case.rb +13 -13
  210. data/test/rubygems/package/tar_test_case.rb +2 -2
  211. data/test/rubygems/plugin/exception/rubygems_plugin.rb +1 -1
  212. data/test/rubygems/plugin/standarderror/rubygems_plugin.rb +1 -1
  213. data/test/rubygems/rubygems_plugin.rb +2 -2
  214. data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +4 -4
  215. data/test/rubygems/test_bundled_ca.rb +10 -10
  216. data/test/rubygems/test_config.rb +3 -3
  217. data/test/rubygems/test_deprecate.rb +3 -3
  218. data/test/rubygems/test_exit.rb +2 -2
  219. data/test/rubygems/test_gem.rb +342 -342
  220. data/test/rubygems/test_gem_available_set.rb +21 -21
  221. data/test/rubygems/test_gem_bundler_version_finder.rb +1 -1
  222. data/test/rubygems/test_gem_command.rb +44 -44
  223. data/test/rubygems/test_gem_command_manager.rb +29 -29
  224. data/test/rubygems/test_gem_commands_build_command.rb +63 -63
  225. data/test/rubygems/test_gem_commands_cert_command.rb +97 -99
  226. data/test/rubygems/test_gem_commands_check_command.rb +4 -4
  227. data/test/rubygems/test_gem_commands_cleanup_command.rb +40 -40
  228. data/test/rubygems/test_gem_commands_contents_command.rb +27 -27
  229. data/test/rubygems/test_gem_commands_dependency_command.rb +36 -36
  230. data/test/rubygems/test_gem_commands_environment_command.rb +38 -14
  231. data/test/rubygems/test_gem_commands_fetch_command.rb +37 -37
  232. data/test/rubygems/test_gem_commands_generate_index_command.rb +7 -7
  233. data/test/rubygems/test_gem_commands_help_command.rb +13 -13
  234. data/test/rubygems/test_gem_commands_info_command.rb +2 -2
  235. data/test/rubygems/test_gem_commands_install_command.rb +131 -131
  236. data/test/rubygems/test_gem_commands_list_command.rb +4 -4
  237. data/test/rubygems/test_gem_commands_lock_command.rb +10 -10
  238. data/test/rubygems/test_gem_commands_mirror.rb +2 -2
  239. data/test/rubygems/test_gem_commands_open_command.rb +4 -4
  240. data/test/rubygems/test_gem_commands_outdated_command.rb +9 -9
  241. data/test/rubygems/test_gem_commands_owner_command.rb +41 -41
  242. data/test/rubygems/test_gem_commands_pristine_command.rb +93 -92
  243. data/test/rubygems/test_gem_commands_push_command.rb +54 -54
  244. data/test/rubygems/test_gem_commands_query_command.rb +73 -73
  245. data/test/rubygems/test_gem_commands_search_command.rb +2 -2
  246. data/test/rubygems/test_gem_commands_server_command.rb +2 -2
  247. data/test/rubygems/test_gem_commands_setup_command.rb +119 -85
  248. data/test/rubygems/test_gem_commands_signin_command.rb +45 -31
  249. data/test/rubygems/test_gem_commands_signout_command.rb +3 -3
  250. data/test/rubygems/test_gem_commands_sources_command.rb +28 -29
  251. data/test/rubygems/test_gem_commands_specification_command.rb +32 -32
  252. data/test/rubygems/test_gem_commands_stale_command.rb +4 -4
  253. data/test/rubygems/test_gem_commands_uninstall_command.rb +75 -75
  254. data/test/rubygems/test_gem_commands_unpack_command.rb +31 -31
  255. data/test/rubygems/test_gem_commands_update_command.rb +109 -88
  256. data/test/rubygems/test_gem_commands_which_command.rb +6 -6
  257. data/test/rubygems/test_gem_commands_yank_command.rb +40 -40
  258. data/test/rubygems/test_gem_config_file.rb +77 -77
  259. data/test/rubygems/test_gem_dependency.rb +73 -73
  260. data/test/rubygems/test_gem_dependency_installer.rb +165 -165
  261. data/test/rubygems/test_gem_dependency_list.rb +47 -47
  262. data/test/rubygems/test_gem_dependency_resolution_error.rb +4 -4
  263. data/test/rubygems/test_gem_doctor.rb +26 -26
  264. data/test/rubygems/test_gem_ext_builder.rb +59 -59
  265. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.lock +22 -165
  266. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.toml +2 -1
  267. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb +10 -10
  268. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/custom_name.gemspec +1 -1
  269. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/src/lib.rs +0 -3
  270. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock +22 -165
  271. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml +2 -1
  272. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/build.rb +8 -8
  273. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/src/lib.rs +0 -3
  274. data/test/rubygems/test_gem_ext_cargo_builder.rb +26 -26
  275. data/test/rubygems/test_gem_ext_cargo_builder_link_flag_converter.rb +3 -3
  276. data/test/rubygems/test_gem_ext_cargo_builder_unit.rb +23 -23
  277. data/test/rubygems/test_gem_ext_cmake_builder.rb +15 -15
  278. data/test/rubygems/test_gem_ext_configure_builder.rb +13 -13
  279. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +51 -52
  280. data/test/rubygems/test_gem_ext_rake_builder.rb +15 -15
  281. data/test/rubygems/test_gem_gem_runner.rb +7 -7
  282. data/test/rubygems/test_gem_gemcutter_utilities.rb +66 -66
  283. data/test/rubygems/test_gem_impossible_dependencies_error.rb +4 -4
  284. data/test/rubygems/test_gem_indexer.rb +52 -48
  285. data/test/rubygems/test_gem_install_update_options.rb +16 -16
  286. data/test/rubygems/test_gem_installer.rb +297 -297
  287. data/test/rubygems/test_gem_local_remote_options.rb +10 -10
  288. data/test/rubygems/test_gem_name_tuple.rb +4 -4
  289. data/test/rubygems/test_gem_package.rb +207 -209
  290. data/test/rubygems/test_gem_package_old.rb +13 -13
  291. data/test/rubygems/test_gem_package_tar_header.rb +42 -42
  292. data/test/rubygems/test_gem_package_tar_reader.rb +7 -7
  293. data/test/rubygems/test_gem_package_tar_reader_entry.rb +10 -10
  294. data/test/rubygems/test_gem_package_tar_writer.rb +76 -76
  295. data/test/rubygems/test_gem_package_task.rb +18 -18
  296. data/test/rubygems/test_gem_path_support.rb +14 -14
  297. data/test/rubygems/test_gem_platform.rb +230 -214
  298. data/test/rubygems/test_gem_rdoc.rb +14 -14
  299. data/test/rubygems/test_gem_remote_fetcher.rb +149 -149
  300. data/test/rubygems/test_gem_request.rb +55 -55
  301. data/test/rubygems/test_gem_request_connection_pools.rb +29 -29
  302. data/test/rubygems/test_gem_request_set.rb +99 -99
  303. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +204 -206
  304. data/test/rubygems/test_gem_request_set_lockfile.rb +86 -86
  305. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +56 -56
  306. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +62 -62
  307. data/test/rubygems/test_gem_requirement.rb +38 -38
  308. data/test/rubygems/test_gem_resolver.rb +98 -98
  309. data/test/rubygems/test_gem_resolver_activation_request.rb +6 -6
  310. data/test/rubygems/test_gem_resolver_api_set.rb +33 -33
  311. data/test/rubygems/test_gem_resolver_api_specification.rb +47 -47
  312. data/test/rubygems/test_gem_resolver_best_set.rb +22 -22
  313. data/test/rubygems/test_gem_resolver_composed_set.rb +1 -1
  314. data/test/rubygems/test_gem_resolver_conflict.rb +12 -12
  315. data/test/rubygems/test_gem_resolver_dependency_request.rb +15 -15
  316. data/test/rubygems/test_gem_resolver_git_set.rb +21 -21
  317. data/test/rubygems/test_gem_resolver_git_specification.rb +21 -21
  318. data/test/rubygems/test_gem_resolver_index_set.rb +12 -12
  319. data/test/rubygems/test_gem_resolver_index_specification.rb +15 -15
  320. data/test/rubygems/test_gem_resolver_installed_specification.rb +5 -5
  321. data/test/rubygems/test_gem_resolver_installer_set.rb +34 -34
  322. data/test/rubygems/test_gem_resolver_local_specification.rb +7 -7
  323. data/test/rubygems/test_gem_resolver_lock_set.rb +12 -12
  324. data/test/rubygems/test_gem_resolver_lock_specification.rb +17 -17
  325. data/test/rubygems/test_gem_resolver_requirement_list.rb +1 -1
  326. data/test/rubygems/test_gem_resolver_specification.rb +8 -8
  327. data/test/rubygems/test_gem_resolver_vendor_set.rb +6 -6
  328. data/test/rubygems/test_gem_resolver_vendor_specification.rb +10 -10
  329. data/test/rubygems/test_gem_security.rb +67 -67
  330. data/test/rubygems/test_gem_security_policy.rb +62 -62
  331. data/test/rubygems/test_gem_security_signer.rb +28 -28
  332. data/test/rubygems/test_gem_security_trust_dir.rb +4 -4
  333. data/test/rubygems/test_gem_silent_ui.rb +38 -32
  334. data/test/rubygems/test_gem_source.rb +44 -44
  335. data/test/rubygems/test_gem_source_fetch_problem.rb +9 -9
  336. data/test/rubygems/test_gem_source_git.rb +59 -59
  337. data/test/rubygems/test_gem_source_installed.rb +16 -16
  338. data/test/rubygems/test_gem_source_list.rb +5 -5
  339. data/test/rubygems/test_gem_source_local.rb +14 -14
  340. data/test/rubygems/test_gem_source_lock.rb +31 -31
  341. data/test/rubygems/test_gem_source_specific_file.rb +17 -17
  342. data/test/rubygems/test_gem_source_subpath_problem.rb +7 -7
  343. data/test/rubygems/test_gem_source_vendor.rb +13 -13
  344. data/test/rubygems/test_gem_spec_fetcher.rb +72 -72
  345. data/test/rubygems/test_gem_specification.rb +436 -435
  346. data/test/rubygems/test_gem_stream_ui.rb +19 -19
  347. data/test/rubygems/test_gem_stub_specification.rb +32 -32
  348. data/test/rubygems/test_gem_text.rb +1 -1
  349. data/test/rubygems/test_gem_uninstaller.rb +112 -112
  350. data/test/rubygems/test_gem_unsatisfiable_dependency_error.rb +3 -3
  351. data/test/rubygems/test_gem_uri.rb +4 -4
  352. data/test/rubygems/test_gem_uri_formatter.rb +14 -14
  353. data/test/rubygems/test_gem_util.rb +23 -23
  354. data/test/rubygems/test_gem_validator.rb +8 -8
  355. data/test/rubygems/test_gem_version.rb +13 -13
  356. data/test/rubygems/test_gem_version_option.rb +15 -15
  357. data/test/rubygems/test_kernel.rb +31 -31
  358. data/test/rubygems/test_project_sanity.rb +1 -1
  359. data/test/rubygems/test_remote_fetch_error.rb +6 -6
  360. data/test/rubygems/test_require.rb +42 -42
  361. data/test/rubygems/test_rubygems.rb +17 -14
  362. data/test/rubygems/utilities.rb +17 -17
  363. metadata +4 -3
@@ -12,6 +12,7 @@ module Bundler
12
12
  end
13
13
  File.open File.join(bundler_path, "setup.rb"), "w" do |file|
14
14
  file.puts "require 'rbconfig'"
15
+ file.puts define_path_helpers
15
16
  file.puts reverse_rubygems_kernel_mixin
16
17
  paths.each do |path|
17
18
  if Pathname.new(path).absolute?
@@ -29,14 +30,20 @@ module Bundler
29
30
  @specs.map do |spec|
30
31
  next if spec.name == "bundler"
31
32
  Array(spec.require_paths).map do |path|
32
- gem_path(path, spec).sub(version_dir, '#{RUBY_ENGINE}/#{RbConfig::CONFIG["ruby_version"]}')
33
+ gem_path(path, spec).
34
+ sub(version_dir, '#{RUBY_ENGINE}/#{Gem.ruby_api_version}').
35
+ sub(extensions_dir, 'extensions/\k<platform>/#{Gem.extension_api_version}')
33
36
  # This is a static string intentionally. It's interpolated at a later time.
34
37
  end
35
38
  end.flatten.compact
36
39
  end
37
40
 
38
41
  def version_dir
39
- "#{RUBY_ENGINE}/#{RbConfig::CONFIG["ruby_version"]}"
42
+ "#{RUBY_ENGINE}/#{Gem.ruby_api_version}"
43
+ end
44
+
45
+ def extensions_dir
46
+ %r{extensions/(?<platform>[^/]+)/#{Regexp.escape(Gem.extension_api_version)}}
40
47
  end
41
48
 
42
49
  def bundler_path
@@ -55,6 +62,26 @@ module Bundler
55
62
  raise Gem::InvalidSpecificationException.new(error_message)
56
63
  end
57
64
 
65
+ def define_path_helpers
66
+ <<~'END'
67
+ unless defined?(Gem)
68
+ module Gem
69
+ def self.ruby_api_version
70
+ RbConfig::CONFIG["ruby_version"]
71
+ end
72
+
73
+ def self.extension_api_version
74
+ if 'no' == RbConfig::CONFIG['ENABLE_SHARED']
75
+ "#{ruby_api_version}-static"
76
+ else
77
+ ruby_api_version
78
+ end
79
+ end
80
+ end
81
+ end
82
+ END
83
+ end
84
+
58
85
  def reverse_rubygems_kernel_mixin
59
86
  <<~END
60
87
  kernel = (class << ::Kernel; self; end)
@@ -7,7 +7,7 @@ module Bundler
7
7
  include MatchPlatform
8
8
 
9
9
  attr_reader :name, :version, :dependencies, :platform
10
- attr_accessor :source, :remote
10
+ attr_accessor :source, :remote, :force_ruby_platform
11
11
 
12
12
  def initialize(name, version, platform, source = nil)
13
13
  @name = name
@@ -19,7 +19,7 @@ module Bundler
19
19
  end
20
20
 
21
21
  def full_name
22
- if platform == Gem::Platform::RUBY || platform.nil?
22
+ if platform == Gem::Platform::RUBY
23
23
  "#{@name}-#{@version}"
24
24
  else
25
25
  "#{@name}-#{@version}-#{platform}"
@@ -61,7 +61,7 @@ module Bundler
61
61
  def to_lock
62
62
  out = String.new
63
63
 
64
- if platform == Gem::Platform::RUBY || platform.nil?
64
+ if platform == Gem::Platform::RUBY
65
65
  out << " #{name} (#{version})\n"
66
66
  else
67
67
  out << " #{name} (#{version}-#{platform})\n"
@@ -75,7 +75,17 @@ module Bundler
75
75
  out
76
76
  end
77
77
 
78
- def __materialize__
78
+ def materialize_for_installation
79
+ __materialize__(ruby_platform_materializes_to_ruby_platform? ? platform : Bundler.local_platform)
80
+ end
81
+
82
+ def materialize_for_resolution
83
+ return self unless Gem::Platform.match_spec?(self)
84
+
85
+ __materialize__(platform)
86
+ end
87
+
88
+ def __materialize__(platform)
79
89
  @specification = if source.is_a?(Source::Gemspec) && source.gemspec.name == name
80
90
  source.gemspec.tap {|s| s.source = source }
81
91
  else
@@ -84,10 +94,9 @@ module Bundler
84
94
  else
85
95
  ruby_platform_materializes_to_ruby_platform? ? self : Dependency.new(name, version)
86
96
  end
87
- platform_object = Gem::Platform.new(platform)
88
97
  candidates = source.specs.search(search_object)
89
98
  same_platform_candidates = candidates.select do |spec|
90
- MatchPlatform.platforms_match?(spec.platform, platform_object)
99
+ MatchPlatform.platforms_match?(spec.platform, platform)
91
100
  end
92
101
  installable_candidates = same_platform_candidates.select do |spec|
93
102
  spec.is_a?(StubSpecification) ||
@@ -105,7 +114,7 @@ module Bundler
105
114
  end
106
115
 
107
116
  def to_s
108
- @__to_s ||= if platform == Gem::Platform::RUBY || platform.nil?
117
+ @__to_s ||= if platform == Gem::Platform::RUBY
109
118
  "#{name} (#{version})"
110
119
  else
111
120
  "#{name} (#{version}-#{platform})"
@@ -152,7 +161,7 @@ module Bundler
152
161
  # explicitly add a more specific platform.
153
162
  #
154
163
  def ruby_platform_materializes_to_ruby_platform?
155
- !Bundler.most_specific_locked_platform?(Gem::Platform::RUBY) || Bundler.settings[:force_ruby_platform]
164
+ !Bundler.most_specific_locked_platform?(generic_local_platform) || force_ruby_platform || Bundler.settings[:force_ruby_platform]
156
165
  end
157
166
  end
158
167
  end
@@ -93,6 +93,10 @@ module Bundler
93
93
  "and then `bundle install` to generate a new lockfile."
94
94
  end
95
95
 
96
+ def may_include_redundant_platform_specific_gems?
97
+ bundler_version.nil? || bundler_version < Gem::Version.new("1.16.2")
98
+ end
99
+
96
100
  private
97
101
 
98
102
  TYPES = {
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-ADD" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-ADD" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install
@@ -41,7 +41,7 @@ Specify version requirements(s) for the added gem\.
41
41
  Specify the group(s) for the added gem\. Multiple groups should be separated by commas\.
42
42
  .
43
43
  .TP
44
- \fB\-\-source\fR, , \fB\-s\fR
44
+ \fB\-\-source\fR, \fB\-s\fR
45
45
  Specify the source for the added gem\.
46
46
  .
47
47
  .TP
@@ -27,7 +27,7 @@ bundle add rails --group "development, test"
27
27
  * `--group`, `-g`:
28
28
  Specify the group(s) for the added gem. Multiple groups should be separated by commas.
29
29
 
30
- * `--source`, , `-s`:
30
+ * `--source`, `-s`:
31
31
  Specify the source for the added gem.
32
32
 
33
33
  * `--require`, `-r`:
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-BINSTUBS" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-BINSTUBS" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CACHE" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-CACHE" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CHECK" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-CHECK" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CLEAN" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-CLEAN" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CONFIG" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-CONFIG" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-config\fR \- Set bundler configuration options
@@ -74,6 +74,10 @@ Creates a directory (defaults to \fB~/bin\fR) and place any executables from the
74
74
  In deployment mode, Bundler will \'roll\-out\' the bundle for \fBproduction\fR use\. Please check carefully if you want to have this option enabled in \fBdevelopment\fR or \fBtest\fR environments\.
75
75
  .
76
76
  .TP
77
+ \fBonly\fR
78
+ A space\-separated list of groups to install only gems of the specified groups\.
79
+ .
80
+ .TP
77
81
  \fBpath\fR
78
82
  The location to install the specified gems to\. This defaults to Rubygems\' setting\. Bundler shares this location with Rubygems, \fBgem install \.\.\.\fR will have gem installed there, too\. Therefore, gems installed without a \fB\-\-path \.\.\.\fR setting will show up by calling \fBgem list\fR\. Accordingly, gems installed to other locations will not get listed\.
79
83
  .
@@ -205,6 +209,9 @@ The following is a list of all configuration keys and their purpose\. You can le
205
209
  \fBglobal_gem_cache\fR (\fBBUNDLE_GLOBAL_GEM_CACHE\fR): Whether Bundler should cache all gems globally, rather than locally to the installing Ruby installation\.
206
210
  .
207
211
  .IP "\(bu" 4
212
+ \fBignore_funding_requests\fR (\fBBUNDLE_IGNORE_FUNDING_REQUESTS\fR): When set, no funding requests will be printed\.
213
+ .
214
+ .IP "\(bu" 4
208
215
  \fBignore_messages\fR (\fBBUNDLE_IGNORE_MESSAGES\fR): When set, no post install messages will be printed\. To silence a single gem, use dot notation like \fBignore_messages\.httparty true\fR\.
209
216
  .
210
217
  .IP "\(bu" 4
@@ -220,6 +227,9 @@ The following is a list of all configuration keys and their purpose\. You can le
220
227
  \fBno_prune\fR (\fBBUNDLE_NO_PRUNE\fR): Whether Bundler should leave outdated gems unpruned when caching\.
221
228
  .
222
229
  .IP "\(bu" 4
230
+ \fBonly\fR (\fBBUNDLE_ONLY\fR): A space\-separated list of groups to install only gems of the specified groups\.
231
+ .
232
+ .IP "\(bu" 4
223
233
  \fBpath\fR (\fBBUNDLE_PATH\fR): The location on disk where all gems in your bundle will be located regardless of \fB$GEM_HOME\fR or \fB$GEM_PATH\fR values\. Bundle gems not found in this location will be installed by \fBbundle install\fR\. Defaults to \fBGem\.dir\fR\. When \-\-deployment is used, defaults to vendor/bundle\.
224
234
  .
225
235
  .IP "\(bu" 4
@@ -342,13 +352,13 @@ bundle config set \-\-global mirror\.SOURCE_URL MIRROR_URL
342
352
  .IP "" 0
343
353
  .
344
354
  .P
345
- For example, to use a mirror of rubygems\.org hosted at rubygems\-mirror\.org:
355
+ For example, to use a mirror of https://rubygems\.org hosted at https://example\.org:
346
356
  .
347
357
  .IP "" 4
348
358
  .
349
359
  .nf
350
360
 
351
- bundle config set \-\-global mirror\.http://rubygems\.org http://rubygems\-mirror\.org
361
+ bundle config set \-\-global mirror\.https://rubygems\.org https://example\.org
352
362
  .
353
363
  .fi
354
364
  .
@@ -74,6 +74,9 @@ The options that can be configured are:
74
74
  `production` use. Please check carefully if you want to have this option
75
75
  enabled in `development` or `test` environments.
76
76
 
77
+ * `only`:
78
+ A space-separated list of groups to install only gems of the specified groups.
79
+
77
80
  * `path`:
78
81
  The location to install the specified gems to. This defaults to Rubygems'
79
82
  setting. Bundler shares this location with Rubygems, `gem install ...` will
@@ -204,6 +207,8 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
204
207
  * `global_gem_cache` (`BUNDLE_GLOBAL_GEM_CACHE`):
205
208
  Whether Bundler should cache all gems globally, rather than locally to the
206
209
  installing Ruby installation.
210
+ * `ignore_funding_requests` (`BUNDLE_IGNORE_FUNDING_REQUESTS`):
211
+ When set, no funding requests will be printed.
207
212
  * `ignore_messages` (`BUNDLE_IGNORE_MESSAGES`):
208
213
  When set, no post install messages will be printed. To silence a single gem,
209
214
  use dot notation like `ignore_messages.httparty true`.
@@ -216,6 +221,8 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
216
221
  Whether `bundle package` should skip installing gems.
217
222
  * `no_prune` (`BUNDLE_NO_PRUNE`):
218
223
  Whether Bundler should leave outdated gems unpruned when caching.
224
+ * `only` (`BUNDLE_ONLY`):
225
+ A space-separated list of groups to install only gems of the specified groups.
219
226
  * `path` (`BUNDLE_PATH`):
220
227
  The location on disk where all gems in your bundle will be located regardless
221
228
  of `$GEM_HOME` or `$GEM_PATH` values. Bundle gems not found in this location
@@ -321,9 +328,9 @@ mirror to fetch gems.
321
328
 
322
329
  bundle config set --global mirror.SOURCE_URL MIRROR_URL
323
330
 
324
- For example, to use a mirror of rubygems.org hosted at rubygems-mirror.org:
331
+ For example, to use a mirror of https://rubygems.org hosted at https://example.org:
325
332
 
326
- bundle config set --global mirror.http://rubygems.org http://rubygems-mirror.org
333
+ bundle config set --global mirror.https://rubygems.org https://example.org
327
334
 
328
335
  Each mirror also provides a fallback timeout setting. If the mirror does not
329
336
  respond within the fallback timeout, Bundler will try to use the original
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-DOCTOR" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-DOCTOR" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-doctor\fR \- Checks the bundle for common problems
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-EXEC" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-EXEC" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-exec\fR \- Execute a command in the context of the bundle
@@ -155,7 +155,7 @@ You can find a list of all the gems containing gem plugins by running
155
155
  .
156
156
  .nf
157
157
 
158
- ruby \-rrubygems \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
158
+ ruby \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
159
159
  .
160
160
  .fi
161
161
  .
@@ -145,7 +145,7 @@ their plugins.
145
145
  You can find a list of all the gems containing gem plugins
146
146
  by running
147
147
 
148
- ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
148
+ ruby -e "puts Gem.find_files('rubygems_plugin.rb')"
149
149
 
150
150
  At the very least, you should remove all but the newest
151
151
  version of each gem plugin, and also remove all gem plugins
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-GEM" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-GEM" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-INFO" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-INFO" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-info\fR \- Show information for the given gem in your bundle
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-INIT" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-INIT" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-init\fR \- Generates a Gemfile into the current working directory
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-INJECT" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-INJECT" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
@@ -30,4 +30,7 @@ bundle inject \'rack\' \'> 0\'
30
30
  .IP "" 0
31
31
  .
32
32
  .P
33
- This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock
33
+ This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock\.
34
+ .
35
+ .P
36
+ The \fBbundle inject\fR command was deprecated in Bundler 2\.1 and will be removed in Bundler 3\.0\.
@@ -19,4 +19,6 @@ Example:
19
19
  bundle inject 'rack' '> 0'
20
20
 
21
21
  This will inject the 'rack' gem with a version greater than 0 in your
22
- [`Gemfile(5)`][Gemfile(5)] and Gemfile.lock
22
+ [`Gemfile(5)`][Gemfile(5)] and Gemfile.lock.
23
+
24
+ The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 3.0.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-INSTALL" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-INSTALL" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-LIST" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-LIST" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-list\fR \- List all the gems in the bundle
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-LOCK" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-LOCK" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-OPEN" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-OPEN" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-OUTDATED" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-OUTDATED" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-outdated\fR \- List installed gems with newer versions available
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-PLATFORM" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-PLATFORM" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-platform\fR \- Displays platform compatibility information
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-PRISTINE" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-PRISTINE" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-REMOVE" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-REMOVE" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-remove\fR \- Removes gems from the Gemfile
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-SHOW" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-SHOW" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-UPDATE" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-UPDATE" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-update\fR \- Update your gems to the latest available versions
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-VIZ" "1" "May 2022" "" ""
4
+ .TH "BUNDLE\-VIZ" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
@@ -15,6 +15,9 @@
15
15
  .P
16
16
  The associated gems must also be installed via \fBbundle install(1)\fR \fIbundle\-install\.1\.html\fR\.
17
17
  .
18
+ .P
19
+ \fBviz\fR command was deprecated in Bundler 2\.2\. Use bundler\-graph plugin \fIhttps://github\.com/rubygems/bundler\-graph\fR instead\.
20
+ .
18
21
  .SH "OPTIONS"
19
22
  .
20
23
  .TP
@@ -16,6 +16,8 @@ bundle-viz(1) -- Generates a visual dependency graph for your Gemfile
16
16
 
17
17
  The associated gems must also be installed via [`bundle install(1)`](bundle-install.1.html).
18
18
 
19
+ `viz` command was deprecated in Bundler 2.2. Use [bundler-graph plugin](https://github.com/rubygems/bundler-graph) instead.
20
+
19
21
  ## OPTIONS
20
22
 
21
23
  * `--file`, `-f`:
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE" "1" "May 2022" "" ""
4
+ .TH "BUNDLE" "1" "July 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\fR \- Ruby Dependency Management
@@ -93,7 +93,7 @@ Open an installed gem in the editor
93
93
  Generate a lockfile for your dependencies
94
94
  .
95
95
  .TP
96
- \fBbundle viz(1)\fR \fIbundle\-viz\.1\.html\fR
96
+ \fBbundle viz(1)\fR \fIbundle\-viz\.1\.html\fR (deprecated)
97
97
  Generate a visual representation of your dependencies
98
98
  .
99
99
  .TP
@@ -130,7 +130,7 @@ These commands are obsolete and should no longer be used:
130
130
  \fBbundle cache(1)\fR
131
131
  .
132
132
  .IP "\(bu" 4
133
- \fBbundle show(1)\fR
133
+ \fBbundle inject(1)\fR
134
134
  .
135
135
  .IP "" 0
136
136
 
@@ -76,7 +76,7 @@ We divide `bundle` subcommands into primary commands and utilities:
76
76
  * [`bundle lock(1)`](bundle-lock.1.html):
77
77
  Generate a lockfile for your dependencies
78
78
 
79
- * [`bundle viz(1)`](bundle-viz.1.html):
79
+ * [`bundle viz(1)`](bundle-viz.1.html) (deprecated):
80
80
  Generate a visual representation of your dependencies
81
81
 
82
82
  * [`bundle init(1)`](bundle-init.1.html):
@@ -108,4 +108,4 @@ and execute it, passing down any extra arguments to it.
108
108
  These commands are obsolete and should no longer be used:
109
109
 
110
110
  * `bundle cache(1)`
111
- * `bundle show(1)`
111
+ * `bundle inject(1)`