rubygems-update 3.1.6 → 3.2.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (347) hide show
  1. checksums.yaml +4 -4
  2. data/CODE_OF_CONDUCT.md +55 -19
  3. data/CONTRIBUTING.md +1 -2
  4. data/History.txt +122 -14
  5. data/Manifest.txt +13 -25
  6. data/POLICIES.md +2 -9
  7. data/README.md +1 -1
  8. data/Rakefile +31 -33
  9. data/bin/update_rubygems +1 -1
  10. data/bundler/CHANGELOG.md +806 -741
  11. data/bundler/README.md +6 -8
  12. data/bundler/UPGRADING.md +16 -30
  13. data/bundler/bundler.gemspec +3 -3
  14. data/bundler/exe/bundle +3 -0
  15. data/bundler/lib/bundler.rb +15 -4
  16. data/bundler/lib/bundler/build_metadata.rb +2 -2
  17. data/bundler/lib/bundler/cli.rb +32 -11
  18. data/bundler/lib/bundler/cli/console.rb +1 -1
  19. data/bundler/lib/bundler/cli/gem.rb +83 -10
  20. data/bundler/lib/bundler/cli/info.rb +13 -3
  21. data/bundler/lib/bundler/cli/init.rb +1 -1
  22. data/bundler/lib/bundler/cli/install.rb +5 -14
  23. data/bundler/lib/bundler/cli/issue.rb +2 -2
  24. data/bundler/lib/bundler/cli/list.rb +11 -9
  25. data/bundler/lib/bundler/cli/outdated.rb +88 -65
  26. data/bundler/lib/bundler/cli/plugin.rb +10 -0
  27. data/bundler/lib/bundler/cli/pristine.rb +5 -0
  28. data/bundler/lib/bundler/definition.rb +32 -32
  29. data/bundler/lib/bundler/dependency.rb +0 -9
  30. data/bundler/lib/bundler/dsl.rb +1 -5
  31. data/bundler/lib/bundler/environment_preserver.rb +26 -2
  32. data/bundler/lib/bundler/errors.rb +1 -0
  33. data/bundler/lib/bundler/feature_flag.rb +0 -2
  34. data/bundler/lib/bundler/fetcher.rb +1 -0
  35. data/bundler/lib/bundler/friendly_errors.rb +4 -10
  36. data/bundler/lib/bundler/gem_helper.rb +17 -10
  37. data/bundler/lib/bundler/gem_version_promoter.rb +1 -1
  38. data/bundler/lib/bundler/injector.rb +14 -3
  39. data/bundler/lib/bundler/inline.rb +1 -1
  40. data/bundler/lib/bundler/installer.rb +29 -28
  41. data/bundler/lib/bundler/installer/gem_installer.rb +2 -2
  42. data/bundler/lib/bundler/installer/parallel_installer.rb +9 -9
  43. data/bundler/lib/bundler/lazy_specification.rb +16 -3
  44. data/bundler/lib/bundler/plugin.rb +26 -0
  45. data/bundler/lib/bundler/plugin/index.rb +9 -0
  46. data/bundler/lib/bundler/psyched_yaml.rb +0 -15
  47. data/bundler/lib/bundler/remote_specification.rb +4 -1
  48. data/bundler/lib/bundler/resolver.rb +31 -8
  49. data/bundler/lib/bundler/resolver/spec_group.rb +26 -5
  50. data/bundler/lib/bundler/rubygems_ext.rb +7 -8
  51. data/bundler/lib/bundler/rubygems_gem_installer.rb +1 -7
  52. data/bundler/lib/bundler/rubygems_integration.rb +3 -48
  53. data/bundler/lib/bundler/runtime.rb +2 -12
  54. data/bundler/lib/bundler/settings.rb +0 -3
  55. data/bundler/lib/bundler/shared_helpers.rb +1 -1
  56. data/bundler/lib/bundler/source/git.rb +4 -4
  57. data/bundler/lib/bundler/source/git/git_proxy.rb +53 -58
  58. data/bundler/lib/bundler/source/path.rb +5 -1
  59. data/bundler/lib/bundler/source/path/installer.rb +7 -9
  60. data/bundler/lib/bundler/source/rubygems.rb +11 -14
  61. data/bundler/lib/bundler/stub_specification.rb +16 -4
  62. data/bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +57 -47
  63. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +9 -1
  64. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +19 -5
  65. data/bundler/lib/bundler/templates/newgem/bin/console.tt +2 -0
  66. data/bundler/lib/bundler/templates/newgem/circleci/config.yml.tt +13 -0
  67. data/bundler/lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt +2 -0
  68. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +18 -0
  69. data/bundler/lib/bundler/templates/newgem/gitlab-ci.yml.tt +9 -0
  70. data/bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt +2 -0
  71. data/bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +2 -0
  72. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +6 -4
  73. data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +10 -0
  74. data/bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +2 -0
  75. data/bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +2 -0
  76. data/bundler/lib/bundler/templates/newgem/test/{newgem_test.rb.tt → minitest/newgem_test.rb.tt} +2 -0
  77. data/bundler/lib/bundler/templates/newgem/test/{test_helper.rb.tt → minitest/test_helper.rb.tt} +2 -0
  78. data/bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  79. data/bundler/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  80. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +75 -189
  81. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +0 -7
  82. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +2 -1
  83. data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +9 -0
  84. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  85. data/bundler/lib/bundler/version.rb +1 -1
  86. data/bundler/man/bundle-add.1 +1 -1
  87. data/bundler/man/bundle-add.1.txt +15 -15
  88. data/bundler/man/bundle-binstubs.1 +1 -1
  89. data/bundler/man/bundle-binstubs.1.txt +10 -10
  90. data/bundler/man/bundle-cache.1 +1 -1
  91. data/bundler/man/bundle-cache.1.txt +15 -15
  92. data/bundler/man/bundle-check.1 +1 -1
  93. data/bundler/man/bundle-check.1.txt +8 -8
  94. data/bundler/man/bundle-clean.1 +1 -1
  95. data/bundler/man/bundle-clean.1.txt +6 -6
  96. data/bundler/man/bundle-config.1 +3 -9
  97. data/bundler/man/bundle-config.1.txt +271 -272
  98. data/bundler/man/bundle-config.ronn +5 -9
  99. data/bundler/man/bundle-doctor.1 +1 -1
  100. data/bundler/man/bundle-doctor.1.txt +9 -9
  101. data/bundler/man/bundle-exec.1 +1 -1
  102. data/bundler/man/bundle-exec.1.txt +84 -81
  103. data/bundler/man/bundle-gem.1 +25 -3
  104. data/bundler/man/bundle-gem.1.txt +65 -39
  105. data/bundler/man/bundle-gem.ronn +30 -7
  106. data/bundler/man/bundle-info.1 +1 -1
  107. data/bundler/man/bundle-info.1.txt +2 -2
  108. data/bundler/man/bundle-init.1 +1 -1
  109. data/bundler/man/bundle-init.1.txt +9 -9
  110. data/bundler/man/bundle-inject.1 +1 -1
  111. data/bundler/man/bundle-inject.1.txt +4 -4
  112. data/bundler/man/bundle-install.1 +1 -1
  113. data/bundler/man/bundle-install.1.txt +169 -169
  114. data/bundler/man/bundle-list.1 +7 -7
  115. data/bundler/man/bundle-list.1.txt +12 -11
  116. data/bundler/man/bundle-list.ronn +6 -6
  117. data/bundler/man/bundle-lock.1 +1 -1
  118. data/bundler/man/bundle-lock.1.txt +28 -28
  119. data/bundler/man/bundle-open.1 +1 -1
  120. data/bundler/man/bundle-open.1.txt +3 -3
  121. data/bundler/man/bundle-outdated.1 +1 -1
  122. data/bundler/man/bundle-outdated.1.txt +34 -34
  123. data/bundler/man/bundle-platform.1 +1 -1
  124. data/bundler/man/bundle-platform.1.txt +16 -16
  125. data/bundler/man/bundle-pristine.1 +1 -1
  126. data/bundler/man/bundle-pristine.1.txt +8 -8
  127. data/bundler/man/bundle-remove.1 +1 -1
  128. data/bundler/man/bundle-remove.1.txt +9 -9
  129. data/bundler/man/bundle-show.1 +1 -1
  130. data/bundler/man/bundle-show.1.txt +8 -8
  131. data/bundler/man/bundle-update.1 +1 -1
  132. data/bundler/man/bundle-update.1.txt +149 -148
  133. data/bundler/man/bundle-viz.1 +1 -1
  134. data/bundler/man/bundle-viz.1.txt +11 -11
  135. data/bundler/man/bundle.1 +1 -1
  136. data/bundler/man/bundle.1.txt +31 -31
  137. data/bundler/man/gemfile.5 +1 -1
  138. data/bundler/man/gemfile.5.txt +218 -216
  139. data/lib/rubygems.rb +68 -148
  140. data/lib/rubygems/available_set.rb +4 -4
  141. data/lib/rubygems/basic_specification.rb +11 -5
  142. data/lib/rubygems/bundler_version_finder.rb +14 -9
  143. data/lib/rubygems/command.rb +16 -14
  144. data/lib/rubygems/command_manager.rb +4 -3
  145. data/lib/rubygems/commands/cert_command.rb +1 -1
  146. data/lib/rubygems/commands/cleanup_command.rb +3 -3
  147. data/lib/rubygems/commands/contents_command.rb +4 -4
  148. data/lib/rubygems/commands/dependency_command.rb +6 -6
  149. data/lib/rubygems/commands/fetch_command.rb +2 -2
  150. data/lib/rubygems/commands/help_command.rb +1 -1
  151. data/lib/rubygems/commands/info_command.rb +9 -4
  152. data/lib/rubygems/commands/install_command.rb +3 -3
  153. data/lib/rubygems/commands/list_command.rb +9 -6
  154. data/lib/rubygems/commands/lock_command.rb +1 -1
  155. data/lib/rubygems/commands/open_command.rb +0 -2
  156. data/lib/rubygems/commands/pristine_command.rb +10 -2
  157. data/lib/rubygems/commands/push_command.rb +4 -42
  158. data/lib/rubygems/commands/query_command.rb +7 -352
  159. data/lib/rubygems/commands/search_command.rb +8 -6
  160. data/lib/rubygems/commands/setup_command.rb +128 -32
  161. data/lib/rubygems/commands/specification_command.rb +2 -2
  162. data/lib/rubygems/commands/stale_command.rb +1 -1
  163. data/lib/rubygems/commands/uninstall_command.rb +1 -1
  164. data/lib/rubygems/commands/unpack_command.rb +1 -1
  165. data/lib/rubygems/commands/update_command.rb +40 -10
  166. data/lib/rubygems/config_file.rb +11 -2
  167. data/lib/rubygems/core_ext/kernel_require.rb +2 -2
  168. data/lib/rubygems/defaults.rb +99 -5
  169. data/lib/rubygems/dependency.rb +2 -5
  170. data/lib/rubygems/dependency_installer.rb +1 -73
  171. data/lib/rubygems/dependency_list.rb +7 -7
  172. data/lib/rubygems/deprecate.rb +46 -1
  173. data/lib/rubygems/doctor.rb +4 -2
  174. data/lib/rubygems/errors.rb +3 -2
  175. data/lib/rubygems/exceptions.rb +2 -13
  176. data/lib/rubygems/ext.rb +6 -6
  177. data/lib/rubygems/ext/build_error.rb +2 -0
  178. data/lib/rubygems/ext/builder.rb +1 -1
  179. data/lib/rubygems/ext/cmake_builder.rb +1 -1
  180. data/lib/rubygems/ext/ext_conf_builder.rb +6 -7
  181. data/lib/rubygems/gem_runner.rb +3 -8
  182. data/lib/rubygems/gemcutter_utilities.rb +1 -1
  183. data/lib/rubygems/indexer.rb +1 -19
  184. data/lib/rubygems/install_update_options.rb +5 -5
  185. data/lib/rubygems/installer.rb +45 -42
  186. data/lib/rubygems/installer_test_case.rb +19 -2
  187. data/lib/rubygems/installer_uninstaller_utils.rb +24 -0
  188. data/lib/rubygems/local_remote_options.rb +1 -1
  189. data/lib/rubygems/name_tuple.rb +2 -4
  190. data/lib/rubygems/package.rb +8 -13
  191. data/lib/rubygems/package/old.rb +1 -1
  192. data/lib/rubygems/package/tar_header.rb +3 -3
  193. data/lib/rubygems/package/tar_reader.rb +0 -1
  194. data/lib/rubygems/package/tar_reader/entry.rb +0 -1
  195. data/lib/rubygems/package/tar_test_case.rb +1 -1
  196. data/lib/rubygems/package/tar_writer.rb +2 -6
  197. data/lib/rubygems/package_task.rb +1 -5
  198. data/lib/rubygems/path_support.rb +1 -1
  199. data/lib/rubygems/platform.rb +3 -3
  200. data/lib/rubygems/query_utils.rb +362 -0
  201. data/lib/rubygems/rdoc.rb +0 -12
  202. data/lib/rubygems/remote_fetcher.rb +5 -19
  203. data/lib/rubygems/request/connection_pools.rb +1 -1
  204. data/lib/rubygems/request_set.rb +5 -5
  205. data/lib/rubygems/request_set/gem_dependency_api.rb +1 -1
  206. data/lib/rubygems/request_set/lockfile.rb +8 -8
  207. data/lib/rubygems/request_set/lockfile/tokenizer.rb +1 -1
  208. data/lib/rubygems/requirement.rb +14 -15
  209. data/lib/rubygems/resolver.rb +7 -8
  210. data/lib/rubygems/resolver/api_set.rb +3 -3
  211. data/lib/rubygems/resolver/composed_set.rb +3 -3
  212. data/lib/rubygems/resolver/conflict.rb +1 -1
  213. data/lib/rubygems/resolver/index_set.rb +1 -1
  214. data/lib/rubygems/resolver/installer_set.rb +3 -3
  215. data/lib/rubygems/resolver/lock_set.rb +1 -1
  216. data/lib/rubygems/safe_yaml.rb +4 -4
  217. data/lib/rubygems/security.rb +25 -25
  218. data/lib/rubygems/security/policy.rb +3 -3
  219. data/lib/rubygems/security/signer.rb +4 -4
  220. data/lib/rubygems/security/trust_dir.rb +1 -1
  221. data/lib/rubygems/server.rb +8 -8
  222. data/lib/rubygems/source/git.rb +7 -6
  223. data/lib/rubygems/source/local.rb +2 -2
  224. data/lib/rubygems/source_list.rb +4 -5
  225. data/lib/rubygems/spec_fetcher.rb +18 -15
  226. data/lib/rubygems/specification.rb +79 -104
  227. data/lib/rubygems/specification_policy.rb +79 -27
  228. data/lib/rubygems/ssl_certs/{rubygems.org → index.rubygems.org}/GlobalSignRootCA.pem +0 -0
  229. data/lib/rubygems/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +23 -0
  230. data/lib/rubygems/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +25 -0
  231. data/lib/rubygems/test_case.rb +63 -83
  232. data/lib/rubygems/test_utilities.rb +6 -6
  233. data/lib/rubygems/uninstaller.rb +35 -14
  234. data/lib/rubygems/user_interaction.rb +1 -10
  235. data/lib/rubygems/util.rb +10 -2
  236. data/lib/rubygems/util/licenses.rb +4 -4
  237. data/lib/rubygems/validator.rb +1 -1
  238. data/lib/rubygems/version.rb +4 -4
  239. data/rubygems-update.gemspec +2 -2
  240. data/setup.rb +2 -7
  241. data/test/rubygems/specifications/bar-0.0.2.gemspec +0 -2
  242. data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +0 -2
  243. data/test/rubygems/test_bundled_ca.rb +4 -12
  244. data/test/rubygems/test_deprecate.rb +43 -4
  245. data/test/rubygems/test_gem.rb +79 -74
  246. data/test/rubygems/test_gem_available_set.rb +3 -3
  247. data/test/rubygems/test_gem_bundler_version_finder.rb +19 -1
  248. data/test/rubygems/test_gem_command.rb +24 -3
  249. data/test/rubygems/test_gem_command_manager.rb +37 -4
  250. data/test/rubygems/test_gem_commands_build_command.rb +7 -2
  251. data/test/rubygems/test_gem_commands_cert_command.rb +2 -2
  252. data/test/rubygems/test_gem_commands_cleanup_command.rb +1 -1
  253. data/test/rubygems/test_gem_commands_contents_command.rb +48 -15
  254. data/test/rubygems/test_gem_commands_environment_command.rb +21 -21
  255. data/test/rubygems/test_gem_commands_generate_index_command.rb +1 -5
  256. data/test/rubygems/test_gem_commands_info_command.rb +6 -6
  257. data/test/rubygems/test_gem_commands_install_command.rb +31 -31
  258. data/test/rubygems/test_gem_commands_mirror.rb +1 -1
  259. data/test/rubygems/test_gem_commands_open_command.rb +4 -4
  260. data/test/rubygems/test_gem_commands_owner_command.rb +11 -3
  261. data/test/rubygems/test_gem_commands_pristine_command.rb +41 -8
  262. data/test/rubygems/test_gem_commands_push_command.rb +7 -2
  263. data/test/rubygems/test_gem_commands_query_command.rb +9 -5
  264. data/test/rubygems/test_gem_commands_setup_command.rb +160 -108
  265. data/test/rubygems/test_gem_commands_signin_command.rb +6 -4
  266. data/test/rubygems/test_gem_commands_signout_command.rb +0 -5
  267. data/test/rubygems/test_gem_commands_specification_command.rb +18 -18
  268. data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -1
  269. data/test/rubygems/test_gem_commands_update_command.rb +68 -5
  270. data/test/rubygems/test_gem_commands_which_command.rb +3 -3
  271. data/test/rubygems/test_gem_commands_yank_command.rb +14 -6
  272. data/test/rubygems/test_gem_config_file.rb +7 -10
  273. data/test/rubygems/test_gem_dependency_installer.rb +52 -189
  274. data/test/rubygems/test_gem_dependency_list.rb +8 -8
  275. data/test/rubygems/test_gem_dependency_resolution_error.rb +1 -1
  276. data/test/rubygems/test_gem_doctor.rb +28 -0
  277. data/test/rubygems/test_gem_ext_builder.rb +14 -25
  278. data/test/rubygems/test_gem_ext_cmake_builder.rb +13 -12
  279. data/test/rubygems/test_gem_ext_configure_builder.rb +1 -9
  280. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +0 -1
  281. data/test/rubygems/test_gem_ext_rake_builder.rb +9 -9
  282. data/test/rubygems/test_gem_gem_runner.rb +42 -0
  283. data/test/rubygems/test_gem_gemcutter_utilities.rb +5 -0
  284. data/test/rubygems/test_gem_indexer.rb +9 -13
  285. data/test/rubygems/test_gem_installer.rb +149 -45
  286. data/test/rubygems/test_gem_package.rb +13 -12
  287. data/test/rubygems/test_gem_package_tar_header.rb +19 -0
  288. data/test/rubygems/test_gem_package_tar_writer.rb +3 -3
  289. data/test/rubygems/test_gem_package_task.rb +46 -11
  290. data/test/rubygems/test_gem_remote_fetcher.rb +152 -190
  291. data/test/rubygems/test_gem_request.rb +11 -11
  292. data/test/rubygems/test_gem_request_set.rb +20 -20
  293. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +3 -3
  294. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +9 -9
  295. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +118 -118
  296. data/test/rubygems/test_gem_requirement.rb +2 -2
  297. data/test/rubygems/test_gem_resolver.rb +6 -6
  298. data/test/rubygems/test_gem_resolver_api_set.rb +3 -3
  299. data/test/rubygems/test_gem_resolver_best_set.rb +2 -2
  300. data/test/rubygems/test_gem_resolver_index_set.rb +2 -2
  301. data/test/rubygems/test_gem_resolver_installer_set.rb +7 -7
  302. data/test/rubygems/test_gem_resolver_lock_set.rb +3 -3
  303. data/test/rubygems/test_gem_security.rb +20 -20
  304. data/test/rubygems/test_gem_security_policy.rb +5 -8
  305. data/test/rubygems/test_gem_security_signer.rb +8 -8
  306. data/test/rubygems/test_gem_security_trust_dir.rb +2 -2
  307. data/test/rubygems/test_gem_server.rb +10 -10
  308. data/test/rubygems/test_gem_source.rb +12 -14
  309. data/test/rubygems/test_gem_source_git.rb +12 -11
  310. data/test/rubygems/test_gem_source_installed.rb +7 -7
  311. data/test/rubygems/test_gem_source_local.rb +8 -8
  312. data/test/rubygems/test_gem_source_lock.rb +10 -10
  313. data/test/rubygems/test_gem_source_specific_file.rb +7 -7
  314. data/test/rubygems/test_gem_source_vendor.rb +7 -7
  315. data/test/rubygems/test_gem_spec_fetcher.rb +11 -2
  316. data/test/rubygems/test_gem_specification.rb +143 -113
  317. data/test/rubygems/test_gem_stream_ui.rb +3 -1
  318. data/test/rubygems/test_gem_text.rb +1 -1
  319. data/test/rubygems/test_gem_uninstaller.rb +134 -10
  320. data/test/rubygems/test_gem_util.rb +7 -5
  321. data/test/rubygems/test_gem_version.rb +1 -1
  322. data/test/rubygems/test_kernel.rb +10 -12
  323. data/test/rubygems/test_project_sanity.rb +8 -1
  324. data/test/rubygems/test_require.rb +141 -43
  325. metadata +32 -45
  326. data/.bundle/config +0 -2
  327. data/.rubocop.yml +0 -91
  328. data/Gemfile +0 -8
  329. data/Gemfile.lock +0 -43
  330. data/bundler/CODE_OF_CONDUCT.md +0 -136
  331. data/lib/rubygems/source_local.rb +0 -7
  332. data/lib/rubygems/source_specific_file.rb +0 -6
  333. data/lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +0 -21
  334. data/lib/ubygems.rb +0 -14
  335. data/tmp/.keep +0 -0
  336. data/util/CL2notes +0 -55
  337. data/util/bisect +0 -10
  338. data/util/ci.sh +0 -62
  339. data/util/cops/deprecations.rb +0 -52
  340. data/util/create_certs.rb +0 -171
  341. data/util/create_certs.sh +0 -27
  342. data/util/create_encrypted_key.rb +0 -16
  343. data/util/generate_spdx_license_list.rb +0 -63
  344. data/util/patch_with_prs.rb +0 -77
  345. data/util/rubocop +0 -8
  346. data/util/update_bundled_ca_certificates.rb +0 -137
  347. data/util/update_changelog.rb +0 -64
@@ -11,7 +11,7 @@ This command allows you to interact with Bundler's configuration system.
11
11
 
12
12
  Bundler loads configuration settings in this order:
13
13
 
14
- 1. Local config (`app/.bundle/config`)
14
+ 1. Local config (`<project_root>/.bundle/config` or `$BUNDLE_APP_CONFIG/config`)
15
15
  2. Environmental variables (`ENV`)
16
16
  3. Global config (`~/.bundle/config`)
17
17
  4. Bundler default config
@@ -30,8 +30,10 @@ overridden and user will be warned.
30
30
 
31
31
  Executing `bundle config set --global <name> <value>` works the same as above.
32
32
 
33
- Executing `bundle config set --local <name> <value>` will set that configuration to
34
- the local application. The configuration will be stored in `app/.bundle/config`.
33
+ Executing `bundle config set --local <name> <value>` will set that configuration
34
+ in the directory for the local application. The configuration will be stored in
35
+ `<project_root>/.bundle/config`. If `BUNDLE_APP_CONFIG` is set, the configuration
36
+ will be stored in `$BUNDLE_APP_CONFIG/config`.
35
37
 
36
38
  Executing `bundle config unset <name>` will delete the configuration in both
37
39
  local and global sources.
@@ -179,8 +181,6 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
179
181
  When set, Gemfiles containing multiple sources will produce errors
180
182
  instead of warnings.
181
183
  Use `bundle config unset disable_multisource` to unset.
182
- * `disable_platform_warnings` (`BUNDLE_DISABLE_PLATFORM_WARNINGS`):
183
- Disable warnings during bundle install when a dependency is unused on the current platform.
184
184
  * `disable_shared_gems` (`BUNDLE_DISABLE_SHARED_GEMS`):
185
185
  Stop Bundler from accessing gems installed to RubyGems' normal location.
186
186
  * `disable_version_check` (`BUNDLE_DISABLE_VERSION_CHECK`):
@@ -249,9 +249,6 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
249
249
  be changed in the next major version.
250
250
  * `silence_root_warning` (`BUNDLE_SILENCE_ROOT_WARNING`):
251
251
  Silence the warning Bundler prints when installing gems as root.
252
- * `skip_default_git_sources` (`BUNDLE_SKIP_DEFAULT_GIT_SOURCES`):
253
- Whether Bundler should skip adding default git source shortcuts to the
254
- Gemfile DSL.
255
252
  * `specific_platform` (`BUNDLE_SPECIFIC_PLATFORM`):
256
253
  Allow bundler to resolve for the specific running platform and store it in
257
254
  the lockfile, instead of only using a generic platform.
@@ -396,4 +393,3 @@ outlines the available environment variables and their default values
396
393
  BUNDLE_USER_CACHE : $BUNDLE_USER_HOME/cache
397
394
  BUNDLE_USER_CONFIG : $BUNDLE_USER_HOME/config
398
395
  BUNDLE_USER_PLUGIN : $BUNDLE_USER_HOME/plugin
399
-
@@ -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" "January 2020" "" ""
4
+ .TH "BUNDLE\-DOCTOR" "1" "July 2020" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-doctor\fR \- Checks the bundle for common problems
@@ -1,4 +1,4 @@
1
- BUNDLE-DOCTOR(1) BUNDLE-DOCTOR(1)
1
+ BUNDLE-DOCTOR(1) BUNDLE-DOCTOR(1)
2
2
 
3
3
 
4
4
 
@@ -10,7 +10,7 @@ SYNOPSIS
10
10
 
11
11
  DESCRIPTION
12
12
  Checks your Gemfile and gem environment for common problems. If issues
13
- are detected, Bundler prints them and exits status 1. Otherwise,
13
+ are detected, Bundler prints them and exits status 1. Otherwise,
14
14
  Bundler prints a success message and exits status 0.
15
15
 
16
16
  Examples of common problems caught by bundle-doctor include:
@@ -29,16 +29,16 @@ DESCRIPTION
29
29
 
30
30
  OPTIONS
31
31
  --quiet
32
- Only output warnings and errors.
32
+ Only output warnings and errors.
33
33
 
34
34
  --gemfile=<gemfile>
35
- The location of the Gemfile(5) which Bundler should use. This
36
- defaults to a Gemfile(5) in the current working directory. In
37
- general, Bundler will assume that the location of the Gemfile(5)
38
- is also the project's root and will try to find Gemfile.lock and
39
- vendor/cache relative to this location.
35
+ The location of the Gemfile(5) which Bundler should use. This
36
+ defaults to a Gemfile(5) in the current working directory. In
37
+ general, Bundler will assume that the location of the Gemfile(5)
38
+ is also the project's root and will try to find Gemfile.lock and
39
+ vendor/cache relative to this location.
40
40
 
41
41
 
42
42
 
43
43
 
44
- January 2020 BUNDLE-DOCTOR(1)
44
+ July 2020 BUNDLE-DOCTOR(1)
@@ -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" "January 2020" "" ""
4
+ .TH "BUNDLE\-EXEC" "1" "July 2020" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-exec\fR \- Execute a command in the context of the bundle
@@ -1,4 +1,4 @@
1
- BUNDLE-EXEC(1) BUNDLE-EXEC(1)
1
+ BUNDLE-EXEC(1) BUNDLE-EXEC(1)
2
2
 
3
3
 
4
4
 
@@ -9,47 +9,48 @@ SYNOPSIS
9
9
  bundle exec [--keep-file-descriptors] command
10
10
 
11
11
  DESCRIPTION
12
- This command executes the command, making all gems specified in the
12
+ This command executes the command, making all gems specified in the
13
13
  [Gemfile(5)][Gemfile(5)] available to require in Ruby programs.
14
14
 
15
- Essentially, if you would normally have run something like rspec
16
- spec/my_spec.rb, and you want to use the gems specified in the [Gem-
17
- file(5)][Gemfile(5)] and installed via bundle install(1) bun-
18
- dle-install.1.html, you should run bundle exec rspec spec/my_spec.rb.
15
+ Essentially, if you would normally have run something like rspec
16
+ spec/my_spec.rb, and you want to use the gems specified in the
17
+ [Gemfile(5)][Gemfile(5)] and installed via bundle install(1)
18
+ bundle-install.1.html, you should run bundle exec rspec
19
+ spec/my_spec.rb.
19
20
 
20
- Note that bundle exec does not require that an executable is available
21
+ Note that bundle exec does not require that an executable is available
21
22
  on your shell's $PATH.
22
23
 
23
24
  OPTIONS
24
25
  --keep-file-descriptors
25
- Exec in Ruby 2.0 began discarding non-standard file descriptors.
26
- When this flag is passed, exec will revert to the 1.9 behaviour
27
- of passing all file descriptors to the new process.
26
+ Exec in Ruby 2.0 began discarding non-standard file descriptors.
27
+ When this flag is passed, exec will revert to the 1.9 behaviour
28
+ of passing all file descriptors to the new process.
28
29
 
29
30
  BUNDLE INSTALL --BINSTUBS
30
- If you use the --binstubs flag in bundle install(1) bun-
31
- dle-install.1.html, Bundler will automatically create a directory
32
- (which defaults to app_root/bin) containing all of the executables
31
+ If you use the --binstubs flag in bundle install(1)
32
+ bundle-install.1.html, Bundler will automatically create a directory
33
+ (which defaults to app_root/bin) containing all of the executables
33
34
  available from gems in the bundle.
34
35
 
35
- After using --binstubs, bin/rspec spec/my_spec.rb is identical to bun-
36
- dle exec rspec spec/my_spec.rb.
36
+ After using --binstubs, bin/rspec spec/my_spec.rb is identical to
37
+ bundle exec rspec spec/my_spec.rb.
37
38
 
38
39
  ENVIRONMENT MODIFICATIONS
39
- bundle exec makes a number of changes to the shell environment, then
40
+ bundle exec makes a number of changes to the shell environment, then
40
41
  executes the command you specify in full.
41
42
 
42
- o make sure that it's still possible to shell out to bundle from
43
- inside a command invoked by bundle exec (using $BUNDLE_BIN_PATH)
43
+ o make sure that it's still possible to shell out to bundle from
44
+ inside a command invoked by bundle exec (using $BUNDLE_BIN_PATH)
44
45
 
45
- o put the directory containing executables (like rails, rspec,
46
- rackup) for your bundle on $PATH
46
+ o put the directory containing executables (like rails, rspec,
47
+ rackup) for your bundle on $PATH
47
48
 
48
- o make sure that if bundler is invoked in the subshell, it uses the
49
- same Gemfile (by setting BUNDLE_GEMFILE)
49
+ o make sure that if bundler is invoked in the subshell, it uses the
50
+ same Gemfile (by setting BUNDLE_GEMFILE)
50
51
 
51
- o add -rbundler/setup to $RUBYOPT, which makes sure that Ruby pro-
52
- grams invoked in the subshell can see the gems in the bundle
52
+ o add -rbundler/setup to $RUBYOPT, which makes sure that Ruby
53
+ programs invoked in the subshell can see the gems in the bundle
53
54
 
54
55
 
55
56
 
@@ -57,122 +58,124 @@ ENVIRONMENT MODIFICATIONS
57
58
 
58
59
  o disallow loading additional gems not in the bundle
59
60
 
60
- o modify the gem method to be a no-op if a gem matching the require-
61
- ments is in the bundle, and to raise a Gem::LoadError if it's not
61
+ o modify the gem method to be a no-op if a gem matching the
62
+ requirements is in the bundle, and to raise a Gem::LoadError if
63
+ it's not
62
64
 
63
- o Define Gem.refresh to be a no-op, since the source index is always
64
- frozen when using bundler, and to prevent gems from the system
65
- leaking into the environment
65
+ o Define Gem.refresh to be a no-op, since the source index is always
66
+ frozen when using bundler, and to prevent gems from the system
67
+ leaking into the environment
66
68
 
67
- o Override Gem.bin_path to use the gems in the bundle, making system
68
- executables work
69
+ o Override Gem.bin_path to use the gems in the bundle, making system
70
+ executables work
69
71
 
70
72
  o Add all gems in the bundle into Gem.loaded_specs
71
73
 
72
74
 
73
75
 
74
- Finally, bundle exec also implicitly modifies Gemfile.lock if the lock-
75
- file and the Gemfile do not match. Bundler needs the Gemfile to deter-
76
- mine things such as a gem's groups, autorequire, and platforms, etc.,
77
- and that information isn't stored in the lockfile. The Gemfile and
78
- lockfile must be synced in order to bundle exec successfully, so bundle
79
- exec updates the lockfile beforehand.
76
+ Finally, bundle exec also implicitly modifies Gemfile.lock if the
77
+ lockfile and the Gemfile do not match. Bundler needs the Gemfile to
78
+ determine things such as a gem's groups, autorequire, and platforms,
79
+ etc., and that information isn't stored in the lockfile. The Gemfile
80
+ and lockfile must be synced in order to bundle exec successfully, so
81
+ bundle exec updates the lockfile beforehand.
80
82
 
81
83
  Loading
82
- By default, when attempting to bundle exec to a file with a ruby she-
83
- bang, Bundler will Kernel.load that file instead of using Kernel.exec.
84
- For the vast majority of cases, this is a performance improvement. In a
85
- rare few cases, this could cause some subtle side-effects (such as
86
- dependence on the exact contents of $0 or __FILE__) and the optimiza-
87
- tion can be disabled by enabling the disable_exec_load setting.
84
+ By default, when attempting to bundle exec to a file with a ruby
85
+ shebang, Bundler will Kernel.load that file instead of using
86
+ Kernel.exec. For the vast majority of cases, this is a performance
87
+ improvement. In a rare few cases, this could cause some subtle
88
+ side-effects (such as dependence on the exact contents of $0 or
89
+ __FILE__) and the optimization can be disabled by enabling the
90
+ disable_exec_load setting.
88
91
 
89
92
  Shelling out
90
- Any Ruby code that opens a subshell (like system, backticks, or %x{})
91
- will automatically use the current Bundler environment. If you need to
92
- shell out to a Ruby command that is not part of your current bundle,
93
- use the with_clean_env method with a block. Any subshells created
94
- inside the block will be given the environment present before Bundler
95
- was activated. For example, Homebrew commands run Ruby, but don't work
93
+ Any Ruby code that opens a subshell (like system, backticks, or %x{})
94
+ will automatically use the current Bundler environment. If you need to
95
+ shell out to a Ruby command that is not part of your current bundle,
96
+ use the with_clean_env method with a block. Any subshells created
97
+ inside the block will be given the environment present before Bundler
98
+ was activated. For example, Homebrew commands run Ruby, but don't work
96
99
  inside a bundle:
97
100
 
98
101
 
99
102
 
100
- Bundler.with_clean_env do
101
- `brew install wget`
102
- end
103
+ Bundler.with_clean_env do
104
+ `brew install wget`
105
+ end
103
106
 
104
107
 
105
108
 
106
- Using with_clean_env is also necessary if you are shelling out to a
107
- different bundle. Any Bundler commands run in a subshell will inherit
108
- the current Gemfile, so commands that need to run in the context of a
109
+ Using with_clean_env is also necessary if you are shelling out to a
110
+ different bundle. Any Bundler commands run in a subshell will inherit
111
+ the current Gemfile, so commands that need to run in the context of a
109
112
  different bundle also need to use with_clean_env.
110
113
 
111
114
 
112
115
 
113
- Bundler.with_clean_env do
114
- Dir.chdir "/other/bundler/project" do
115
- `bundle exec ./script`
116
- end
117
- end
116
+ Bundler.with_clean_env do
117
+ Dir.chdir "/other/bundler/project" do
118
+ `bundle exec ./script`
119
+ end
120
+ end
118
121
 
119
122
 
120
123
 
121
- Bundler provides convenience helpers that wrap system and exec, and
124
+ Bundler provides convenience helpers that wrap system and exec, and
122
125
  they can be used like this:
123
126
 
124
127
 
125
128
 
126
- Bundler.clean_system('brew install wget')
127
- Bundler.clean_exec('brew install wget')
129
+ Bundler.clean_system('brew install wget')
130
+ Bundler.clean_exec('brew install wget')
128
131
 
129
132
 
130
133
 
131
134
  RUBYGEMS PLUGINS
132
- At present, the Rubygems plugin system requires all files named
133
- rubygems_plugin.rb on the load path of any installed gem when any Ruby
135
+ At present, the Rubygems plugin system requires all files named
136
+ rubygems_plugin.rb on the load path of any installed gem when any Ruby
134
137
  code requires rubygems.rb. This includes executables installed into the
135
138
  system, like rails, rackup, and rspec.
136
139
 
137
- Since Rubygems plugins can contain arbitrary Ruby code, they commonly
140
+ Since Rubygems plugins can contain arbitrary Ruby code, they commonly
138
141
  end up activating themselves or their dependencies.
139
142
 
140
- For instance, the gemcutter 0.5 gem depended on json_pure. If you had
141
- that version of gemcutter installed (even if you also had a newer ver-
142
- sion without this problem), Rubygems would activate gemcutter 0.5 and
143
- json_pure <latest>.
143
+ For instance, the gemcutter 0.5 gem depended on json_pure. If you had
144
+ that version of gemcutter installed (even if you also had a newer
145
+ version without this problem), Rubygems would activate gemcutter 0.5
146
+ and json_pure <latest>.
144
147
 
145
148
  If your Gemfile(5) also contained json_pure (or a gem with a dependency
146
- on json_pure), the latest version on your system might conflict with
147
- the version in your Gemfile(5), or the snapshot version in your Gem-
148
- file.lock.
149
+ on json_pure), the latest version on your system might conflict with
150
+ the version in your Gemfile(5), or the snapshot version in your
151
+ Gemfile.lock.
149
152
 
150
153
  If this happens, bundler will say:
151
154
 
152
155
 
153
156
 
154
- You have already activated json_pure 1.4.6 but your Gemfile
155
- requires json_pure 1.4.3. Consider using bundle exec.
157
+ You have already activated json_pure 1.4.6 but your Gemfile
158
+ requires json_pure 1.4.3. Consider using bundle exec.
156
159
 
157
160
 
158
161
 
159
- In this situation, you almost certainly want to remove the underlying
160
- gem with the problematic gem plugin. In general, the authors of these
161
- plugins (in this case, the gemcutter gem) have released newer versions
162
+ In this situation, you almost certainly want to remove the underlying
163
+ gem with the problematic gem plugin. In general, the authors of these
164
+ plugins (in this case, the gemcutter gem) have released newer versions
162
165
  that are more careful in their plugins.
163
166
 
164
167
  You can find a list of all the gems containing gem plugins by running
165
168
 
166
169
 
167
170
 
168
- ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
171
+ ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
169
172
 
170
173
 
171
174
 
172
175
  At the very least, you should remove all but the newest version of each
173
- gem plugin, and also remove all gem plugins that you aren't using (gem
176
+ gem plugin, and also remove all gem plugins that you aren't using (gem
174
177
  uninstall gem_name).
175
178
 
176
179
 
177
180
 
178
- January 2020 BUNDLE-EXEC(1)
181
+ July 2020 BUNDLE-EXEC(1)
@@ -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" "January 2020" "" ""
4
+ .TH "BUNDLE\-GEM" "1" "July 2020" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
@@ -64,8 +64,30 @@ Add an MIT license to a \fBLICENSE\.txt\fR file in the root of the generated pro
64
64
  Do not create a \fBLICENSE\.txt\fR (overrides \fB\-\-mit\fR specified in the global config)\.
65
65
  .
66
66
  .TP
67
- \fB\-t\fR, \fB\-\-test=minitest\fR, \fB\-\-test=rspec\fR
68
- Specify the test framework that Bundler should use when generating the project\. Acceptable values are \fBminitest\fR and \fBrspec\fR\. The \fBGEM_NAME\.gemspec\fR will be configured and a skeleton test/spec directory will be created based on this option\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\. If no option is specified, the default testing framework is RSpec\.
67
+ \fB\-t\fR, \fB\-\-test=minitest\fR, \fB\-\-test=rspec\fR, \fB\-\-test=test\-unit\fR
68
+ Specify the test framework that Bundler should use when generating the project\. Acceptable values are \fBminitest\fR, \fBrspec\fR and \fBtest\-unit\fR\. The \fBGEM_NAME\.gemspec\fR will be configured and a skeleton test/spec directory will be created based on this option\. Given no option is specified:
69
+ .
70
+ .IP
71
+ When Bundler is configured to generate tests, this defaults to Bundler\'s global config setting \fBgem\.test\fR\.
72
+ .
73
+ .IP
74
+ When Bundler is configured to not generate tests, an interactive prompt will be displayed and the answer will be used for the current rubygem project\.
75
+ .
76
+ .IP
77
+ When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
78
+ .
79
+ .TP
80
+ \fB\-\-ci\fR, \fB\-\-ci=github\fR, \fB\-\-ci=travis\fR, \fB\-\-ci=gitlab\fR, \fB\-\-ci=circle\fR
81
+ Specify the continuous integration service that Bundler should use when generating the project\. Acceptable values are \fBgithub\fR, \fBtravis\fR, \fBgitlab\fR and \fBcircle\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
82
+ .
83
+ .IP
84
+ When Bundler is configured to generate CI files, this defaults to Bundler\'s global config setting \fBgem\.ci\fR\.
85
+ .
86
+ .IP
87
+ When Bundler is configured to not generate CI files, an interactive prompt will be displayed and the answer will be used for the current rubygem project\.
88
+ .
89
+ .IP
90
+ When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
69
91
  .
70
92
  .TP
71
93
  \fB\-e\fR, \fB\-\-edit[=EDITOR]\fR
@@ -1,4 +1,4 @@
1
- BUNDLE-GEM(1) BUNDLE-GEM(1)
1
+ BUNDLE-GEM(1) BUNDLE-GEM(1)
2
2
 
3
3
 
4
4
 
@@ -16,8 +16,8 @@ DESCRIPTION
16
16
  Run rake -T in the resulting project for a list of Rake tasks that can
17
17
  be used to test and publish the gem to rubygems.org.
18
18
 
19
- The generated project skeleton can be customized with OPTIONS, as
20
- explained below. Note that these options can also be specified via
19
+ The generated project skeleton can be customized with OPTIONS, as
20
+ explained below. Note that these options can also be specified via
21
21
  Bundler's global configuration file using the following names:
22
22
 
23
23
  o gem.coc
@@ -30,55 +30,81 @@ DESCRIPTION
30
30
 
31
31
  OPTIONS
32
32
  --exe or -b or --bin
33
- Specify that Bundler should create a binary executable (as
34
- exe/GEM_NAME) in the generated rubygem project. This binary will
35
- also be added to the GEM_NAME.gemspec manifest. This behavior is
36
- disabled by default.
33
+ Specify that Bundler should create a binary executable (as
34
+ exe/GEM_NAME) in the generated rubygem project. This binary will
35
+ also be added to the GEM_NAME.gemspec manifest. This behavior is
36
+ disabled by default.
37
37
 
38
38
  --no-exe
39
- Do not create a binary (overrides --exe specified in the global
40
- config).
39
+ Do not create a binary (overrides --exe specified in the global
40
+ config).
41
41
 
42
- --coc Add a CODE_OF_CONDUCT.md file to the root of the generated
43
- project. If this option is unspecified, an interactive prompt
44
- will be displayed and the answer will be saved in Bundler's
45
- global config for future bundle gem use.
42
+ --coc Add a CODE_OF_CONDUCT.md file to the root of the generated
43
+ project. If this option is unspecified, an interactive prompt
44
+ will be displayed and the answer will be saved in Bundler's
45
+ global config for future bundle gem use.
46
46
 
47
47
  --no-coc
48
- Do not create a CODE_OF_CONDUCT.md (overrides --coc specified in
49
- the global config).
48
+ Do not create a CODE_OF_CONDUCT.md (overrides --coc specified in
49
+ the global config).
50
50
 
51
51
  --ext Add boilerplate for C extension code to the generated project.
52
- This behavior is disabled by default.
52
+ This behavior is disabled by default.
53
53
 
54
54
  --no-ext
55
- Do not add C extension code (overrides --ext specified in the
56
- global config).
55
+ Do not add C extension code (overrides --ext specified in the
56
+ global config).
57
57
 
58
- --mit Add an MIT license to a LICENSE.txt file in the root of the gen-
59
- erated project. Your name from the global git config is used for
60
- the copyright statement. If this option is unspecified, an
61
- interactive prompt will be displayed and the answer will be
62
- saved in Bundler's global config for future bundle gem use.
58
+ --mit Add an MIT license to a LICENSE.txt file in the root of the
59
+ generated project. Your name from the global git config is used
60
+ for the copyright statement. If this option is unspecified, an
61
+ interactive prompt will be displayed and the answer will be
62
+ saved in Bundler's global config for future bundle gem use.
63
63
 
64
64
  --no-mit
65
- Do not create a LICENSE.txt (overrides --mit specified in the
66
- global config).
67
-
68
- -t, --test=minitest, --test=rspec
69
- Specify the test framework that Bundler should use when generat-
70
- ing the project. Acceptable values are minitest and rspec. The
71
- GEM_NAME.gemspec will be configured and a skeleton test/spec
72
- directory will be created based on this option. If this option
73
- is unspecified, an interactive prompt will be displayed and the
74
- answer will be saved in Bundler's global config for future bun-
75
- dle gem use. If no option is specified, the default testing
76
- framework is RSpec.
65
+ Do not create a LICENSE.txt (overrides --mit specified in the
66
+ global config).
67
+
68
+ -t, --test=minitest, --test=rspec, --test=test-unit
69
+ Specify the test framework that Bundler should use when
70
+ generating the project. Acceptable values are minitest, rspec
71
+ and test-unit. The GEM_NAME.gemspec will be configured and a
72
+ skeleton test/spec directory will be created based on this
73
+ option. Given no option is specified:
74
+
75
+ When Bundler is configured to generate tests, this defaults to
76
+ Bundler's global config setting gem.test.
77
+
78
+ When Bundler is configured to not generate tests, an interactive
79
+ prompt will be displayed and the answer will be used for the
80
+ current rubygem project.
81
+
82
+ When Bundler is unconfigured, an interactive prompt will be
83
+ displayed and the answer will be saved in Bundler's global
84
+ config for future bundle gem use.
85
+
86
+ --ci, --ci=github, --ci=travis, --ci=gitlab, --ci=circle
87
+ Specify the continuous integration service that Bundler should
88
+ use when generating the project. Acceptable values are github,
89
+ travis, gitlab and circle. A configuration file will be
90
+ generated in the project directory. Given no option is
91
+ specified:
92
+
93
+ When Bundler is configured to generate CI files, this defaults
94
+ to Bundler's global config setting gem.ci.
95
+
96
+ When Bundler is configured to not generate CI files, an
97
+ interactive prompt will be displayed and the answer will be used
98
+ for the current rubygem project.
99
+
100
+ When Bundler is unconfigured, an interactive prompt will be
101
+ displayed and the answer will be saved in Bundler's global
102
+ config for future bundle gem use.
77
103
 
78
104
  -e, --edit[=EDITOR]
79
- Open the resulting GEM_NAME.gemspec in EDITOR, or the default
80
- editor if not specified. The default is $BUNDLER_EDITOR, $VIS-
81
- UAL, or $EDITOR.
105
+ Open the resulting GEM_NAME.gemspec in EDITOR, or the default
106
+ editor if not specified. The default is $BUNDLER_EDITOR,
107
+ $VISUAL, or $EDITOR.
82
108
 
83
109
  SEE ALSO
84
110
  o bundle config(1) bundle-config.1.html
@@ -88,4 +114,4 @@ SEE ALSO
88
114
 
89
115
 
90
116
 
91
- January 2020 BUNDLE-GEM(1)
117
+ July 2020 BUNDLE-GEM(1)