bundler 2.0.0.pre.3 → 2.1.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +721 -572
  3. data/LICENSE.md +18 -19
  4. data/README.md +9 -8
  5. data/bundler.gemspec +8 -25
  6. data/exe/bundle +19 -3
  7. data/lib/bundler.rb +121 -68
  8. data/lib/bundler/build_metadata.rb +3 -3
  9. data/lib/bundler/capistrano.rb +5 -5
  10. data/lib/bundler/cli.rb +133 -125
  11. data/lib/bundler/cli/add.rb +27 -16
  12. data/lib/bundler/cli/common.rb +11 -12
  13. data/lib/bundler/cli/config.rb +161 -86
  14. data/lib/bundler/cli/console.rb +2 -2
  15. data/lib/bundler/cli/doctor.rb +4 -4
  16. data/lib/bundler/cli/exec.rb +4 -9
  17. data/lib/bundler/cli/gem.rb +5 -5
  18. data/lib/bundler/cli/info.rb +17 -5
  19. data/lib/bundler/cli/init.rb +1 -1
  20. data/lib/bundler/cli/install.rb +12 -11
  21. data/lib/bundler/cli/issue.rb +3 -3
  22. data/lib/bundler/cli/open.rb +10 -6
  23. data/lib/bundler/cli/outdated.rb +85 -81
  24. data/lib/bundler/cli/package.rb +8 -9
  25. data/lib/bundler/cli/plugin.rb +9 -2
  26. data/lib/bundler/cli/pristine.rb +1 -1
  27. data/lib/bundler/cli/show.rb +1 -1
  28. data/lib/bundler/cli/update.rb +32 -12
  29. data/lib/bundler/compact_index_client.rb +25 -9
  30. data/lib/bundler/compact_index_client/updater.rb +2 -6
  31. data/lib/bundler/current_ruby.rb +8 -7
  32. data/lib/bundler/definition.rb +36 -27
  33. data/lib/bundler/dependency.rb +16 -4
  34. data/lib/bundler/deployment.rb +2 -2
  35. data/lib/bundler/dsl.rb +18 -42
  36. data/lib/bundler/env.rb +8 -13
  37. data/lib/bundler/environment_preserver.rb +0 -1
  38. data/lib/bundler/feature_flag.rb +1 -13
  39. data/lib/bundler/fetcher.rb +14 -11
  40. data/lib/bundler/fetcher/compact_index.rb +26 -12
  41. data/lib/bundler/fetcher/dependency.rb +1 -1
  42. data/lib/bundler/fetcher/downloader.rb +4 -1
  43. data/lib/bundler/fetcher/index.rb +4 -2
  44. data/lib/bundler/friendly_errors.rb +4 -5
  45. data/lib/bundler/gem_helper.rb +39 -24
  46. data/lib/bundler/gem_helpers.rb +2 -4
  47. data/lib/bundler/gem_tasks.rb +1 -1
  48. data/lib/bundler/gem_version_promoter.rb +3 -3
  49. data/lib/bundler/graph.rb +2 -2
  50. data/lib/bundler/injector.rb +10 -8
  51. data/lib/bundler/inline.rb +19 -18
  52. data/lib/bundler/installer.rb +7 -14
  53. data/lib/bundler/installer/gem_installer.rb +5 -1
  54. data/lib/bundler/installer/parallel_installer.rb +4 -8
  55. data/lib/bundler/installer/standalone.rb +1 -2
  56. data/lib/bundler/lazy_specification.rb +2 -2
  57. data/lib/bundler/lockfile_parser.rb +13 -21
  58. data/lib/bundler/match_platform.rb +1 -1
  59. data/lib/bundler/plugin.rb +42 -29
  60. data/lib/bundler/plugin/api.rb +1 -1
  61. data/lib/bundler/plugin/api/source.rb +2 -2
  62. data/lib/bundler/plugin/index.rb +14 -3
  63. data/lib/bundler/plugin/installer.rb +28 -15
  64. data/lib/bundler/psyched_yaml.rb +1 -1
  65. data/lib/bundler/resolver.rb +72 -24
  66. data/lib/bundler/resolver/spec_group.rb +2 -2
  67. data/lib/bundler/retry.rb +2 -2
  68. data/lib/bundler/ruby_version.rb +4 -19
  69. data/lib/bundler/rubygems_ext.rb +10 -66
  70. data/lib/bundler/rubygems_gem_installer.rb +1 -1
  71. data/lib/bundler/rubygems_integration.rb +144 -395
  72. data/lib/bundler/runtime.rb +2 -9
  73. data/lib/bundler/settings.rb +15 -48
  74. data/lib/bundler/setup.rb +6 -5
  75. data/lib/bundler/shared_helpers.rb +58 -71
  76. data/lib/bundler/similarity_detector.rb +2 -2
  77. data/lib/bundler/source.rb +5 -5
  78. data/lib/bundler/source/git.rb +19 -12
  79. data/lib/bundler/source/git/git_proxy.rb +35 -39
  80. data/lib/bundler/source/metadata.rb +7 -2
  81. data/lib/bundler/source/path.rb +13 -8
  82. data/lib/bundler/source/rubygems.rb +11 -5
  83. data/lib/bundler/source/rubygems/remote.rb +1 -2
  84. data/lib/bundler/source_list.rb +9 -12
  85. data/lib/bundler/spec_set.rb +1 -6
  86. data/lib/bundler/stub_specification.rb +18 -30
  87. data/lib/bundler/templates/Executable.bundler +23 -14
  88. data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +3 -3
  89. data/lib/bundler/templates/newgem/Gemfile.tt +8 -0
  90. data/lib/bundler/templates/newgem/README.md.tt +4 -3
  91. data/lib/bundler/templates/newgem/newgem.gemspec.tt +6 -27
  92. data/lib/bundler/templates/newgem/test/test_helper.rb.tt +1 -1
  93. data/lib/bundler/templates/newgem/travis.yml.tt +0 -1
  94. data/lib/bundler/ui.rb +3 -3
  95. data/lib/bundler/ui/rg_proxy.rb +1 -1
  96. data/lib/bundler/ui/shell.rb +4 -8
  97. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +161 -0
  98. data/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +66 -0
  99. data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +176 -0
  100. data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  101. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +151 -48
  102. data/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +5 -0
  103. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +6 -6
  104. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  105. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -1
  106. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -1
  107. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -1
  108. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -1
  109. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +6 -6
  110. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -1
  111. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -1
  112. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +30 -8
  113. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +1 -1
  114. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +4 -4
  115. data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +2 -2
  116. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +248 -279
  117. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +40 -0
  118. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +53 -0
  119. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  120. data/lib/bundler/vendor/thor/lib/thor.rb +1 -1
  121. data/lib/bundler/vendor/thor/lib/thor/actions.rb +21 -11
  122. data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -1
  123. data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -1
  124. data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +1 -1
  125. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +11 -2
  126. data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +1 -1
  127. data/lib/bundler/vendor/thor/lib/thor/base.rb +16 -17
  128. data/lib/bundler/vendor/thor/lib/thor/error.rb +82 -0
  129. data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
  130. data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
  131. data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
  132. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +7 -2
  133. data/lib/bundler/vendor/thor/lib/thor/runner.rb +6 -6
  134. data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
  135. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +52 -7
  136. data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
  137. data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +1 -1
  138. data/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  139. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  140. data/lib/bundler/vendored_fileutils.rb +1 -6
  141. data/lib/bundler/vendored_molinillo.rb +1 -1
  142. data/lib/bundler/vendored_persistent.rb +7 -5
  143. data/lib/bundler/vendored_thor.rb +2 -2
  144. data/lib/bundler/version.rb +1 -20
  145. data/lib/bundler/version_ranges.rb +51 -5
  146. data/lib/bundler/vlad.rb +3 -3
  147. data/lib/bundler/worker.rb +1 -3
  148. data/lib/bundler/yaml_serializer.rb +2 -3
  149. data/man/bundle-add.1 +10 -2
  150. data/man/bundle-add.1.txt +11 -5
  151. data/man/bundle-add.ronn +7 -1
  152. data/man/bundle-binstubs.1 +2 -2
  153. data/man/bundle-binstubs.1.txt +2 -2
  154. data/man/bundle-binstubs.ronn +1 -1
  155. data/man/bundle-check.1 +1 -1
  156. data/man/bundle-check.1.txt +6 -6
  157. data/man/bundle-clean.1 +1 -1
  158. data/man/bundle-clean.1.txt +1 -1
  159. data/man/bundle-config.1 +36 -36
  160. data/man/bundle-config.1.txt +66 -67
  161. data/man/bundle-config.ronn +42 -40
  162. data/man/bundle-doctor.1 +1 -1
  163. data/man/bundle-doctor.1.txt +1 -1
  164. data/man/bundle-exec.1 +1 -1
  165. data/man/bundle-exec.1.txt +1 -1
  166. data/man/bundle-gem.1 +1 -1
  167. data/man/bundle-gem.1.txt +3 -3
  168. data/man/bundle-info.1 +1 -1
  169. data/man/bundle-info.1.txt +1 -1
  170. data/man/bundle-init.1 +2 -2
  171. data/man/bundle-init.1.txt +2 -2
  172. data/man/bundle-init.ronn +1 -1
  173. data/man/bundle-inject.1 +1 -1
  174. data/man/bundle-inject.1.txt +1 -1
  175. data/man/bundle-install.1 +8 -5
  176. data/man/bundle-install.1.txt +56 -51
  177. data/man/bundle-install.ronn +9 -4
  178. data/man/bundle-list.1 +1 -1
  179. data/man/bundle-list.1.txt +1 -1
  180. data/man/bundle-lock.1 +1 -1
  181. data/man/bundle-lock.1.txt +16 -16
  182. data/man/bundle-open.1 +1 -1
  183. data/man/bundle-open.1.txt +1 -1
  184. data/man/bundle-outdated.1 +1 -1
  185. data/man/bundle-outdated.1.txt +1 -1
  186. data/man/bundle-package.1 +1 -1
  187. data/man/bundle-package.1.txt +1 -1
  188. data/man/bundle-platform.1 +1 -1
  189. data/man/bundle-platform.1.txt +1 -1
  190. data/man/bundle-pristine.1 +1 -1
  191. data/man/bundle-pristine.1.txt +1 -1
  192. data/man/bundle-remove.1 +1 -1
  193. data/man/bundle-remove.1.txt +1 -1
  194. data/man/bundle-show.1 +1 -1
  195. data/man/bundle-show.1.txt +1 -1
  196. data/man/bundle-update.1 +4 -4
  197. data/man/bundle-update.1.txt +64 -65
  198. data/man/bundle-update.ronn +3 -3
  199. data/man/bundle-viz.1 +1 -1
  200. data/man/bundle-viz.1.txt +1 -1
  201. data/man/bundle.1 +3 -3
  202. data/man/bundle.1.txt +8 -8
  203. data/man/bundle.ronn +2 -2
  204. data/man/gemfile.5 +13 -16
  205. data/man/gemfile.5.ronn +10 -14
  206. data/man/gemfile.5.txt +104 -108
  207. metadata +16 -102
  208. data/exe/bundle_ruby +0 -60
  209. data/lib/bundler/cli/cache.rb +0 -36
  210. data/lib/bundler/compatibility_guard.rb +0 -14
  211. data/lib/bundler/ssl_certs/.document +0 -1
  212. data/lib/bundler/ssl_certs/certificate_manager.rb +0 -66
  213. data/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +0 -21
  214. data/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
  215. data/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
  216. data/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +0 -27
  217. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +0 -129
@@ -1,14 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bundler/shared_helpers"
4
- Bundler::SharedHelpers.major_deprecation 3,
3
+ require_relative "shared_helpers"
4
+ Bundler::SharedHelpers.major_deprecation 2,
5
5
  "The Bundler task for Vlad"
6
6
 
7
7
  # Vlad task for Bundler.
8
8
  #
9
9
  # Add "require 'bundler/vlad'" in your Vlad deploy.rb, and
10
10
  # include the vlad:bundle:install task in your vlad:deploy task.
11
- require "bundler/deployment"
11
+ require_relative "deployment"
12
12
 
13
13
  include Rake::DSL if defined? Rake::DSL
14
14
 
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "thread"
4
-
5
3
  module Bundler
6
4
  class Worker
7
5
  POISON = Object.new
@@ -62,7 +60,7 @@ module Bundler
62
60
 
63
61
  def apply_func(obj, i)
64
62
  @func.call(obj, i)
65
- rescue Exception => e
63
+ rescue Exception => e # rubocop:disable Lint/RescueException
66
64
  WrappedException.new(e)
67
65
  end
68
66
 
@@ -32,7 +32,7 @@ module Bundler
32
32
  (.*) # value
33
33
  \1 # matching closing quote
34
34
  $
35
- /xo
35
+ /xo.freeze
36
36
 
37
37
  HASH_REGEX = /
38
38
  ^
@@ -40,12 +40,11 @@ module Bundler
40
40
  (.+) # key
41
41
  (?::(?=(?:\s|$))) # : (without the lookahead the #key includes this when : is present in value)
42
42
  [ ]?
43
- (?: !\s)? # optional exclamation mark found with ruby 1.9.3
44
43
  (['"]?) # optional opening quote
45
44
  (.*) # value
46
45
  \3 # matching closing quote
47
46
  $
48
- /xo
47
+ /xo.freeze
49
48
 
50
49
  def load(str)
51
50
  res = {}
@@ -1,13 +1,13 @@
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" "December 2018" "" ""
4
+ .TH "BUNDLE\-ADD" "1" "August 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle add\fR \fIGEM_NAME\fR [\-\-group=GROUP] [\-\-version=VERSION] [\-\-source=SOURCE] [\-\-skip\-install] [\-\-strict] [\-\-optimistic]
10
+ \fBbundle add\fR \fIGEM_NAME\fR [\-\-group=GROUP] [\-\-version=VERSION] [\-\-source=SOURCE] [\-\-git=GIT] [\-\-branch=BRANCH] [\-\-skip\-install] [\-\-strict] [\-\-optimistic]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  Adds the named gem to the Gemfile and run \fBbundle install\fR\. \fBbundle install\fR can be avoided by using the flag \fB\-\-skip\-install\fR\.
@@ -45,6 +45,14 @@ Specify the group(s) for the added gem\. Multiple groups should be separated by
45
45
  Specify the source for the added gem\.
46
46
  .
47
47
  .TP
48
+ \fB\-\-git\fR
49
+ Specify the git source for the added gem\.
50
+ .
51
+ .TP
52
+ \fB\-\-branch\fR
53
+ Specify the git branch for the added gem\.
54
+ .
55
+ .TP
48
56
  \fB\-\-skip\-install\fR
49
57
  Adds the gem to the Gemfile but does not install it\.
50
58
  .
@@ -7,10 +7,11 @@ NAME
7
7
 
8
8
  SYNOPSIS
9
9
  bundle add GEM_NAME [--group=GROUP] [--version=VERSION]
10
- [--source=SOURCE] [--skip-install] [--strict] [--optimistic]
10
+ [--source=SOURCE] [--git=GIT] [--branch=BRANCH] [--skip-install]
11
+ [--strict] [--optimistic]
11
12
 
12
13
  DESCRIPTION
13
- Adds the named gem to the Gemfile and run bundle install. bundle
14
+ Adds the named gem to the Gemfile and run bundle install. bundle
14
15
  install can be avoided by using the flag --skip-install.
15
16
 
16
17
  Example:
@@ -19,7 +20,7 @@ DESCRIPTION
19
20
 
20
21
  bundle add rails --version "< 3.0, > 1.1"
21
22
 
22
- bundle add rails --version "~> 5.0.0" --source "https://gems.exam-
23
+ bundle add rails --version "~> 5.0.0" --source "https://gems.exam-
23
24
  ple.com" --group "development"
24
25
 
25
26
  bundle add rails --skip-install
@@ -31,12 +32,17 @@ OPTIONS
31
32
  Specify version requirements(s) for the added gem.
32
33
 
33
34
  --group, -g
34
- Specify the group(s) for the added gem. Multiple groups should
35
+ Specify the group(s) for the added gem. Multiple groups should
35
36
  be separated by commas.
36
37
 
37
38
  --source, , -s
38
39
  Specify the source for the added gem.
39
40
 
41
+ --git Specify the git source for the added gem.
42
+
43
+ --branch
44
+ Specify the git branch for the added gem.
45
+
40
46
  --skip-install
41
47
  Adds the gem to the Gemfile but does not install it.
42
48
 
@@ -49,4 +55,4 @@ OPTIONS
49
55
 
50
56
 
51
57
 
52
- December 2018 BUNDLE-ADD(1)
58
+ August 2019 BUNDLE-ADD(1)
@@ -3,7 +3,7 @@ bundle-add(1) -- Add gem to the Gemfile and run bundle install
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--skip-install] [--strict] [--optimistic]
6
+ `bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--git=GIT] [--branch=BRANCH] [--skip-install] [--strict] [--optimistic]
7
7
 
8
8
  ## DESCRIPTION
9
9
  Adds the named gem to the Gemfile and run `bundle install`. `bundle install` can be avoided by using the flag `--skip-install`.
@@ -30,6 +30,12 @@ bundle add rails --group "development, test"
30
30
  * `--source`, , `-s`:
31
31
  Specify the source for the added gem.
32
32
 
33
+ * `--git`:
34
+ Specify the git source for the added gem.
35
+
36
+ * `--branch`:
37
+ Specify the git branch for the added gem.
38
+
33
39
  * `--skip-install`:
34
40
  Adds the gem to the Gemfile but does not install it.
35
41
 
@@ -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" "December 2018" "" ""
4
+ .TH "BUNDLE\-BINSTUBS" "1" "August 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
@@ -10,7 +10,7 @@
10
10
  \fBbundle binstubs\fR \fIGEM_NAME\fR [\-\-force] [\-\-path PATH] [\-\-standalone]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can by run directly, and one that will always run the correct gem version used by the application\.
13
+ Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can be run directly, and one that will always run the correct gem version used by the application\.
14
14
  .
15
15
  .P
16
16
  For example, if you run \fBbundle binstubs rspec\-core\fR, Bundler will create the file \fBbin/rspec\fR\. That file will contain enough code to load Bundler, tell it to load the bundled gems, and then run rspec\.
@@ -12,7 +12,7 @@ DESCRIPTION
12
12
  Binstubs are scripts that wrap around executables. Bundler creates a
13
13
  small Ruby file (a binstub) that loads Bundler, runs the command, and
14
14
  puts it into bin/. Binstubs are a shortcut-or alternative- to always
15
- using bundle exec. This gives you a file that can by run directly, and
15
+ using bundle exec. This gives you a file that can be run directly, and
16
16
  one that will always run the correct gem version used by the applica-
17
17
  tion.
18
18
 
@@ -45,4 +45,4 @@ BUNDLE INSTALL --BINSTUBS
45
45
 
46
46
 
47
47
 
48
- December 2018 BUNDLE-BINSTUBS(1)
48
+ August 2019 BUNDLE-BINSTUBS(1)
@@ -10,7 +10,7 @@ bundle-binstubs(1) -- Install the binstubs of the listed gems
10
10
  Binstubs are scripts that wrap around executables. Bundler creates a
11
11
  small Ruby file (a binstub) that loads Bundler, runs the command,
12
12
  and puts it into `bin/`. Binstubs are a shortcut-or alternative-
13
- to always using `bundle exec`. This gives you a file that can by run
13
+ to always using `bundle exec`. This gives you a file that can be run
14
14
  directly, and one that will always run the correct gem version
15
15
  used by the application.
16
16
 
@@ -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" "December 2018" "" ""
4
+ .TH "BUNDLE\-CHECK" "1" "August 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
@@ -9,8 +9,8 @@ SYNOPSIS
9
9
  bundle check [--dry-run] [--gemfile=FILE] [--path=PATH]
10
10
 
11
11
  DESCRIPTION
12
- check searches the local machine for each of the gems requested in the
13
- Gemfile. If all gems are found, Bundler prints a success message and
12
+ check searches the local machine for each of the gems requested in the
13
+ Gemfile. If all gems are found, Bundler prints a success message and
14
14
  exits with a status of 0.
15
15
 
16
16
  If not, the first missing gem is listed and Bundler exits status 1.
@@ -20,14 +20,14 @@ OPTIONS
20
20
  Locks the [Gemfile(5)][Gemfile(5)] before running the command.
21
21
 
22
22
  --gemfile
23
- Use the specified gemfile instead of the [Gemfile(5)][Gem-
23
+ Use the specified gemfile instead of the [Gemfile(5)][Gem-
24
24
  file(5)].
25
25
 
26
- --path Specify a different path than the system default ($BUNDLE_PATH
27
- or $GEM_HOME). Bundler will remember this value for future
26
+ --path Specify a different path than the system default ($BUNDLE_PATH
27
+ or $GEM_HOME). Bundler will remember this value for future
28
28
  installs on this machine.
29
29
 
30
30
 
31
31
 
32
32
 
33
- December 2018 BUNDLE-CHECK(1)
33
+ August 2019 BUNDLE-CHECK(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\-CLEAN" "1" "December 2018" "" ""
4
+ .TH "BUNDLE\-CLEAN" "1" "August 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
@@ -23,4 +23,4 @@ OPTIONS
23
23
 
24
24
 
25
25
 
26
- December 2018 BUNDLE-CLEAN(1)
26
+ August 2019 BUNDLE-CLEAN(1)
@@ -1,13 +1,13 @@
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" "December 2018" "" ""
4
+ .TH "BUNDLE\-CONFIG" "1" "August 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-config\fR \- Set bundler configuration options
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle config\fR [\fIname\fR [\fIvalue\fR]]
10
+ \fBbundle config\fR [list|get|set|unset] [\fIname\fR [\fIvalue\fR]]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  This command allows you to interact with Bundler\'s configuration system\.
@@ -30,31 +30,40 @@ Bundler default config
30
30
  .IP "" 0
31
31
  .
32
32
  .P
33
- Executing \fBbundle config\fR with no parameters will print a list of all bundler configuration for the current bundle, and where that configuration was set\.
33
+ Executing \fBbundle config list\fR with will print a list of all bundler configuration for the current bundle, and where that configuration was set\.
34
34
  .
35
35
  .P
36
- Executing \fBbundle config <name>\fR will print the value of that configuration setting, and where it was set\.
36
+ Executing \fBbundle config get <name>\fR will print the value of that configuration setting, and where it was set\.
37
37
  .
38
38
  .P
39
- Executing \fBbundle config <name> <value>\fR will set that configuration to the value specified for all bundles executed as the current user\. The configuration will be stored in \fB~/\.bundle/config\fR\. If \fIname\fR already is set, \fIname\fR will be overridden and user will be warned\.
39
+ Executing \fBbundle config set <name> <value>\fR will set that configuration to the value specified for all bundles executed as the current user\. The configuration will be stored in \fB~/\.bundle/config\fR\. If \fIname\fR already is set, \fIname\fR will be overridden and user will be warned\.
40
40
  .
41
41
  .P
42
- Executing \fBbundle config \-\-global <name> <value>\fR works the same as above\.
42
+ Executing \fBbundle config set \-\-global <name> <value>\fR works the same as above\.
43
43
  .
44
44
  .P
45
- Executing \fBbundle config \-\-local <name> <value>\fR will set that configuration to the local application\. The configuration will be stored in \fBapp/\.bundle/config\fR\.
45
+ Executing \fBbundle config set \-\-local <name> <value>\fR will set that configuration to the local application\. The configuration will be stored in \fBapp/\.bundle/config\fR\.
46
46
  .
47
47
  .P
48
- Executing \fBbundle config \-\-delete <name>\fR will delete the configuration in both local and global sources\. Not compatible with \-\-global or \-\-local flag\.
48
+ Executing \fBbundle config unset <name>\fR will delete the configuration in both local and global sources\.
49
+ .
50
+ .P
51
+ Executing \fBbundle config unset \-\-global <name>\fR will delete the configuration only from the user configuration\.
52
+ .
53
+ .P
54
+ Executing \fBbundle config unset \-\-local <name> <value>\fR will delete the configuration only from the local application\.
49
55
  .
50
56
  .P
51
57
  Executing bundle with the \fBBUNDLE_IGNORE_CONFIG\fR environment variable set will cause it to ignore all configuration\.
52
58
  .
53
59
  .P
54
- Executing \fBbundle config disable_multisource true\fR upgrades the warning about the Gemfile containing multiple primary sources to an error\. Executing \fBbundle config \-\-delete disable_multisource\fR downgrades this error to a warning\.
60
+ Executing \fBbundle config set disable_multisource true\fR upgrades the warning about the Gemfile containing multiple primary sources to an error\. Executing \fBbundle config unset disable_multisource\fR downgrades this error to a warning\.
55
61
  .
56
62
  .SH "REMEMBERING OPTIONS"
57
- Flags passed to \fBbundle install\fR or the Bundler runtime, such as \fB\-\-path foo\fR or \fB\-\-without production\fR, are not remembered between commands\. If these options must be remembered,they must be set using \fBbundle config\fR (e\.g\., \fBbundle config path foo\fR)\.
63
+ Flags passed to \fBbundle install\fR or the Bundler runtime, such as \fB\-\-path foo\fR or \fB\-\-without production\fR, are remembered between commands and saved to your local application\'s configuration (normally, \fB\./\.bundle/config\fR)\.
64
+ .
65
+ .P
66
+ However, this will be changed in bundler 3, so it\'s better not to rely on this behavior\. If these options must be remembered, it\'s better to set them using \fBbundle config\fR (e\.g\., \fBbundle config set path foo\fR)\.
58
67
  .
59
68
  .P
60
69
  The options that can be configured are:
@@ -102,7 +111,7 @@ Since the specific location of that executable can change from machine to machin
102
111
  .
103
112
  .nf
104
113
 
105
- bundle config build\.mysql \-\-with\-mysql\-config=/usr/local/mysql/bin/mysql_config
114
+ bundle config set build\.mysql \-\-with\-mysql\-config=/usr/local/mysql/bin/mysql_config
106
115
  .
107
116
  .fi
108
117
  .
@@ -151,7 +160,7 @@ The following is a list of all configuration keys and their purpose\. You can le
151
160
  \fBcache_all_platforms\fR (\fBBUNDLE_CACHE_ALL_PLATFORMS\fR): Cache gems for all platforms\.
152
161
  .
153
162
  .IP "\(bu" 4
154
- \fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/bundle\fR\.
163
+ \fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/cache\fR\.
155
164
  .
156
165
  .IP "\(bu" 4
157
166
  \fBclean\fR (\fBBUNDLE_CLEAN\fR): Whether Bundler should run \fBbundle clean\fR automatically after \fBbundle install\fR\.
@@ -175,7 +184,7 @@ The following is a list of all configuration keys and their purpose\. You can le
175
184
  \fBdisable_local_branch_check\fR (\fBBUNDLE_DISABLE_LOCAL_BRANCH_CHECK\fR): Allow Bundler to use a local git override without a branch specified in the Gemfile\.
176
185
  .
177
186
  .IP "\(bu" 4
178
- \fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config \-\-delete disable_multisource\fR to unset\.
187
+ \fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config unset disable_multisource\fR to unset\.
179
188
  .
180
189
  .IP "\(bu" 4
181
190
  \fBdisable_platform_warnings\fR (\fBBUNDLE_DISABLE_PLATFORM_WARNINGS\fR): Disable warnings during bundle install when a dependency is unused on the current platform\.
@@ -187,9 +196,6 @@ The following is a list of all configuration keys and their purpose\. You can le
187
196
  \fBdisable_version_check\fR (\fBBUNDLE_DISABLE_VERSION_CHECK\fR): Stop Bundler from checking if a newer Bundler version is available on rubygems\.org\.
188
197
  .
189
198
  .IP "\(bu" 4
190
- \fBerror_on_stderr\fR (\fBBUNDLE_ERROR_ON_STDERR\fR): Print Bundler errors to stderr\.
191
- .
192
- .IP "\(bu" 4
193
199
  \fBforce_ruby_platform\fR (\fBBUNDLE_FORCE_RUBY_PLATFORM\fR): Ignore the current machine\'s platform and install only \fBruby\fR platform gems\. As a result, gems with native extensions will be compiled from source\.
194
200
  .
195
201
  .IP "\(bu" 4
@@ -205,9 +211,6 @@ The following is a list of all configuration keys and their purpose\. You can le
205
211
  \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
212
  .
207
213
  .IP "\(bu" 4
208
- \fBglobal_path_appends_ruby_scope\fR (\fBBUNDLE_GLOBAL_PATH_APPENDS_RUBY_SCOPE\fR): Whether Bundler should append the Ruby scope (e\.g\. engine and ABI version) to a globally\-configured path\.
209
- .
210
- .IP "\(bu" 4
211
214
  \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\.
212
215
  .
213
216
  .IP "\(bu" 4
@@ -217,12 +220,6 @@ The following is a list of all configuration keys and their purpose\. You can le
217
220
  \fBjobs\fR (\fBBUNDLE_JOBS\fR): The number of gems Bundler can install in parallel\. Defaults to 1\.
218
221
  .
219
222
  .IP "\(bu" 4
220
- \fBlist_command\fR (\fBBUNDLE_LIST_COMMAND\fR) Enable new list command feature
221
- .
222
- .IP "\(bu" 4
223
- \fBmajor_deprecations\fR (\fBBUNDLE_MAJOR_DEPRECATIONS\fR): Whether Bundler should print deprecation warnings for behavior that will be changed in the next major version\.
224
- .
225
- .IP "\(bu" 4
226
223
  \fBno_install\fR (\fBBUNDLE_NO_INSTALL\fR): Whether \fBbundle package\fR should skip installing gems\.
227
224
  .
228
225
  .IP "\(bu" 4
@@ -238,13 +235,13 @@ The following is a list of all configuration keys and their purpose\. You can le
238
235
  \fBpath\.system\fR (\fBBUNDLE_PATH__SYSTEM\fR): Whether Bundler will install gems into the default system path (\fBGem\.dir\fR)\.
239
236
  .
240
237
  .IP "\(bu" 4
241
- \fBpath_relative_to_cwd\fR (\fBPATH_RELATIVE_TO_CWD\fR) Makes \fB\-\-path\fR relative to the CWD instead of the \fBGemfile\fR\.
238
+ \fBpath_relative_to_cwd\fR (\fBBUNDLE_PATH_RELATIVE_TO_CWD\fR) Makes \fB\-\-path\fR relative to the CWD instead of the \fBGemfile\fR\.
242
239
  .
243
240
  .IP "\(bu" 4
244
241
  \fBplugins\fR (\fBBUNDLE_PLUGINS\fR): Enable Bundler\'s experimental plugin system\.
245
242
  .
246
243
  .IP "\(bu" 4
247
- \fBprefer_gems_rb\fR (\fBBUNDLE_PREFER_GEMS_RB\fR) Prefer \fBgems\.rb\fR to \fBGemfile\fR when Bundler is searching for a Gemfile\.
244
+ \fBprefer_patch\fR (BUNDLE_PREFER_PATCH): Prefer updating only to next patch version during updates\. Makes \fBbundle update\fR calls equivalent to \fBbundler update \-\-patch\fR\.
248
245
  .
249
246
  .IP "\(bu" 4
250
247
  \fBprint_only_version_number\fR (\fBBUNDLE_PRINT_ONLY_VERSION_NUMBER\fR) Print only version number from \fBbundler \-\-version\fR\.
@@ -262,6 +259,9 @@ The following is a list of all configuration keys and their purpose\. You can le
262
259
  \fBshebang\fR (\fBBUNDLE_SHEBANG\fR): The program name that should be invoked for generated binstubs\. Defaults to the ruby install name used to generate the binstub\.
263
260
  .
264
261
  .IP "\(bu" 4
262
+ \fBsilence_deprecations\fR (\fBBUNDLE_SILENCE_DEPRECATIONS\fR): Whether Bundler should silence deprecation warnings for behavior that will be changed in the next major version\.
263
+ .
264
+ .IP "\(bu" 4
265
265
  \fBsilence_root_warning\fR (\fBBUNDLE_SILENCE_ROOT_WARNING\fR): Silence the warning Bundler prints when installing gems as root\.
266
266
  .
267
267
  .IP "\(bu" 4
@@ -318,7 +318,7 @@ Bundler also allows you to work against a git repository locally instead of usin
318
318
  .
319
319
  .nf
320
320
 
321
- bundle config local\.GEM_NAME /path/to/local/git/repository
321
+ bundle config set local\.GEM_NAME /path/to/local/git/repository
322
322
  .
323
323
  .fi
324
324
  .
@@ -331,7 +331,7 @@ For example, in order to use a local Rack repository, a developer could call:
331
331
  .
332
332
  .nf
333
333
 
334
- bundle config local\.rack ~/Work/git/rack
334
+ bundle config set local\.rack ~/Work/git/rack
335
335
  .
336
336
  .fi
337
337
  .
@@ -353,7 +353,7 @@ Bundler supports overriding gem sources with mirrors\. This allows you to config
353
353
  .
354
354
  .nf
355
355
 
356
- bundle config mirror\.SOURCE_URL MIRROR_URL
356
+ bundle config set mirror\.SOURCE_URL MIRROR_URL
357
357
  .
358
358
  .fi
359
359
  .
@@ -366,7 +366,7 @@ For example, to use a mirror of rubygems\.org hosted at rubygems\-mirror\.org:
366
366
  .
367
367
  .nf
368
368
 
369
- bundle config mirror\.http://rubygems\.org http://rubygems\-mirror\.org
369
+ bundle config set mirror\.http://rubygems\.org http://rubygems\-mirror\.org
370
370
  .
371
371
  .fi
372
372
  .
@@ -379,7 +379,7 @@ Each mirror also provides a fallback timeout setting\. If the mirror does not re
379
379
  .
380
380
  .nf
381
381
 
382
- bundle config mirror\.SOURCE_URL\.fallback_timeout TIMEOUT
382
+ bundle config set mirror\.SOURCE_URL\.fallback_timeout TIMEOUT
383
383
  .
384
384
  .fi
385
385
  .
@@ -392,7 +392,7 @@ For example, to fall back to rubygems\.org after 3 seconds:
392
392
  .
393
393
  .nf
394
394
 
395
- bundle config mirror\.https://rubygems\.org\.fallback_timeout 3
395
+ bundle config set mirror\.https://rubygems\.org\.fallback_timeout 3
396
396
  .
397
397
  .fi
398
398
  .
@@ -408,7 +408,7 @@ Bundler allows you to configure credentials for any gem source, which allows you
408
408
  .
409
409
  .nf
410
410
 
411
- bundle config SOURCE_HOSTNAME USERNAME:PASSWORD
411
+ bundle config set SOURCE_HOSTNAME USERNAME:PASSWORD
412
412
  .
413
413
  .fi
414
414
  .
@@ -421,7 +421,7 @@ For example, to save the credentials of user \fBclaudette\fR for the gem source
421
421
  .
422
422
  .nf
423
423
 
424
- bundle config gems\.longerous\.com claudette:s00pers3krit
424
+ bundle config set gems\.longerous\.com claudette:s00pers3krit
425
425
  .
426
426
  .fi
427
427
  .
@@ -447,7 +447,7 @@ For gems with a git source with HTTP(S) URL you can specify credentials like so:
447
447
  .
448
448
  .nf
449
449
 
450
- bundle config https://github\.com/bundler/bundler\.git username:password
450
+ bundle config set https://github\.com/bundler/bundler\.git username:password
451
451
  .
452
452
  .fi
453
453
  .