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

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 (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +774 -574
  3. data/LICENSE.md +18 -19
  4. data/README.md +9 -8
  5. data/bundler.gemspec +12 -23
  6. data/exe/bundle +19 -3
  7. data/lib/bundler.rb +203 -87
  8. data/lib/bundler/build_metadata.rb +14 -7
  9. data/lib/bundler/capistrano.rb +5 -5
  10. data/lib/bundler/cli.rb +181 -143
  11. data/lib/bundler/cli/add.rb +28 -16
  12. data/lib/bundler/cli/cache.rb +25 -13
  13. data/lib/bundler/cli/common.rb +11 -12
  14. data/lib/bundler/cli/config.rb +161 -86
  15. data/lib/bundler/cli/console.rb +2 -2
  16. data/lib/bundler/cli/doctor.rb +4 -4
  17. data/lib/bundler/cli/exec.rb +4 -16
  18. data/lib/bundler/cli/gem.rb +5 -5
  19. data/lib/bundler/cli/info.rb +17 -5
  20. data/lib/bundler/cli/init.rb +1 -1
  21. data/lib/bundler/cli/install.rb +12 -11
  22. data/lib/bundler/cli/issue.rb +3 -3
  23. data/lib/bundler/cli/open.rb +10 -6
  24. data/lib/bundler/cli/outdated.rb +85 -81
  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 +9 -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 -11
  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 +5 -6
  45. data/lib/bundler/gem_helper.rb +38 -25
  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 +25 -20
  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 +14 -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 +3 -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 +11 -67
  70. data/lib/bundler/rubygems_gem_installer.rb +1 -1
  71. data/lib/bundler/rubygems_integration.rb +143 -395
  72. data/lib/bundler/runtime.rb +2 -9
  73. data/lib/bundler/settings.rb +15 -48
  74. data/lib/bundler/setup.rb +7 -13
  75. data/lib/bundler/shared_helpers.rb +57 -73
  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 +36 -40
  80. data/lib/bundler/source/metadata.rb +9 -5
  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 +23 -12
  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 -2
  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 +273 -147
  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 +12 -4
  121. data/lib/bundler/vendor/thor/lib/thor/actions.rb +22 -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 +7 -17
  125. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +16 -7
  126. data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +19 -8
  127. data/lib/bundler/vendor/thor/lib/thor/base.rb +25 -24
  128. data/lib/bundler/vendor/thor/lib/thor/command.rb +21 -14
  129. data/lib/bundler/vendor/thor/lib/thor/error.rb +78 -0
  130. data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
  131. data/lib/bundler/vendor/thor/lib/thor/invocation.rb +1 -0
  132. data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
  133. data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +1 -1
  134. data/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +6 -6
  135. data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
  136. data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +1 -1
  137. data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +8 -6
  138. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +20 -5
  139. data/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +1 -0
  140. data/lib/bundler/vendor/thor/lib/thor/runner.rb +8 -6
  141. data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
  142. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +52 -7
  143. data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +6 -2
  144. data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +1 -1
  145. data/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  146. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  147. data/lib/bundler/vendored_fileutils.rb +1 -6
  148. data/lib/bundler/vendored_molinillo.rb +1 -1
  149. data/lib/bundler/vendored_persistent.rb +7 -5
  150. data/lib/bundler/vendored_thor.rb +2 -2
  151. data/lib/bundler/version.rb +1 -20
  152. data/lib/bundler/version_ranges.rb +51 -5
  153. data/lib/bundler/vlad.rb +3 -3
  154. data/lib/bundler/worker.rb +1 -3
  155. data/lib/bundler/yaml_serializer.rb +2 -3
  156. data/man/bundle-add.1 +10 -2
  157. data/man/bundle-add.1.txt +11 -5
  158. data/man/bundle-add.ronn +7 -1
  159. data/man/bundle-binstubs.1 +2 -2
  160. data/man/bundle-binstubs.1.txt +2 -2
  161. data/man/bundle-binstubs.ronn +1 -1
  162. data/man/bundle-cache.1 +55 -0
  163. data/man/bundle-cache.1.txt +78 -0
  164. data/man/{bundle-package.ronn → bundle-cache.ronn} +15 -15
  165. data/man/bundle-check.1 +1 -1
  166. data/man/bundle-check.1.txt +6 -6
  167. data/man/bundle-clean.1 +1 -1
  168. data/man/bundle-clean.1.txt +1 -1
  169. data/man/bundle-config.1 +36 -36
  170. data/man/bundle-config.1.txt +66 -67
  171. data/man/bundle-config.ronn +42 -40
  172. data/man/bundle-doctor.1 +1 -1
  173. data/man/bundle-doctor.1.txt +1 -1
  174. data/man/bundle-exec.1 +2 -2
  175. data/man/bundle-exec.1.txt +2 -2
  176. data/man/bundle-exec.ronn +1 -1
  177. data/man/bundle-gem.1 +1 -1
  178. data/man/bundle-gem.1.txt +3 -3
  179. data/man/bundle-info.1 +1 -1
  180. data/man/bundle-info.1.txt +1 -1
  181. data/man/bundle-init.1 +2 -2
  182. data/man/bundle-init.1.txt +2 -2
  183. data/man/bundle-init.ronn +1 -1
  184. data/man/bundle-inject.1 +1 -1
  185. data/man/bundle-inject.1.txt +1 -1
  186. data/man/bundle-install.1 +8 -5
  187. data/man/bundle-install.1.txt +56 -51
  188. data/man/bundle-install.ronn +9 -4
  189. data/man/bundle-list.1 +1 -1
  190. data/man/bundle-list.1.txt +1 -1
  191. data/man/bundle-lock.1 +1 -1
  192. data/man/bundle-lock.1.txt +16 -16
  193. data/man/bundle-open.1 +1 -1
  194. data/man/bundle-open.1.txt +1 -1
  195. data/man/bundle-outdated.1 +1 -1
  196. data/man/bundle-outdated.1.txt +1 -1
  197. data/man/bundle-platform.1 +1 -1
  198. data/man/bundle-platform.1.txt +1 -1
  199. data/man/bundle-pristine.1 +1 -1
  200. data/man/bundle-pristine.1.txt +1 -1
  201. data/man/bundle-remove.1 +1 -1
  202. data/man/bundle-remove.1.txt +1 -1
  203. data/man/bundle-show.1 +1 -1
  204. data/man/bundle-show.1.txt +1 -1
  205. data/man/bundle-update.1 +4 -4
  206. data/man/bundle-update.1.txt +64 -65
  207. data/man/bundle-update.ronn +3 -3
  208. data/man/bundle-viz.1 +1 -1
  209. data/man/bundle-viz.1.txt +1 -1
  210. data/man/bundle.1 +7 -3
  211. data/man/bundle.1.txt +11 -8
  212. data/man/bundle.ronn +5 -2
  213. data/man/gemfile.5 +17 -20
  214. data/man/gemfile.5.ronn +14 -18
  215. data/man/gemfile.5.txt +108 -112
  216. data/man/index.txt +1 -1
  217. metadata +19 -107
  218. data/exe/bundle_ruby +0 -60
  219. data/lib/bundler/cli/package.rb +0 -49
  220. data/lib/bundler/compatibility_guard.rb +0 -14
  221. data/lib/bundler/ssl_certs/.document +0 -1
  222. data/lib/bundler/ssl_certs/certificate_manager.rb +0 -66
  223. data/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +0 -21
  224. data/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
  225. data/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
  226. data/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +0 -27
  227. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +0 -129
  228. data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +0 -129
  229. data/man/bundle-package.1 +0 -55
  230. data/man/bundle-package.1.txt +0 -79
@@ -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" "October 2018" "" ""
4
+ .TH "BUNDLE\-LIST" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-list\fR \- List all the gems in the bundle
@@ -40,4 +40,4 @@ OPTIONS
40
40
 
41
41
 
42
42
 
43
- October 2018 BUNDLE-LIST(1)
43
+ November 2019 BUNDLE-LIST(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\-LOCK" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-LOCK" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
@@ -16,16 +16,16 @@ DESCRIPTION
16
16
  OPTIONS
17
17
  --update=<*gems>
18
18
  Ignores the existing lockfile. Resolve then updates lockfile.
19
- Taking a list of gems or updating all gems if no list is given.
19
+ Taking a list of gems or updating all gems if no list is given.
20
20
 
21
21
  --local
22
22
  Do not attempt to connect to rubygems.org. Instead, Bundler will
23
- use the gems already present in Rubygems' cache or in ven-
24
- dor/cache. Note that if a appropriate platform-specific gem
23
+ use the gems already present in Rubygems' cache or in ven-
24
+ dor/cache. Note that if a appropriate platform-specific gem
25
25
  exists on rubygems.org it will not be found.
26
26
 
27
27
  --print
28
- Prints the lockfile to STDOUT instead of writing to the file
28
+ Prints the lockfile to STDOUT instead of writing to the file
29
29
  system.
30
30
 
31
31
  --lockfile=<path>
@@ -35,7 +35,7 @@ OPTIONS
35
35
  Fall back to using the single-file index of all gems.
36
36
 
37
37
  --add-platform
38
- Add a new platform to the lockfile, re-resolving for the addi-
38
+ Add a new platform to the lockfile, re-resolving for the addi-
39
39
  tion of that platform.
40
40
 
41
41
  --remove-platform
@@ -51,7 +51,7 @@ OPTIONS
51
51
  If updating, prefer updating to next major version (default).
52
52
 
53
53
  --strict
54
- If updating, do not allow any gem to be updated past latest
54
+ If updating, do not allow any gem to be updated past latest
55
55
  --patch | --minor | --major.
56
56
 
57
57
  --conservative
@@ -59,28 +59,28 @@ OPTIONS
59
59
  do not allow shared dependencies to be updated.
60
60
 
61
61
  UPDATING ALL GEMS
62
- If you run bundle lock with --update option without list of gems,
63
- bundler will ignore any previously installed gems and resolve all
64
- dependencies again based on the latest versions of all gems available
62
+ If you run bundle lock with --update option without list of gems,
63
+ bundler will ignore any previously installed gems and resolve all
64
+ dependencies again based on the latest versions of all gems available
65
65
  in the sources.
66
66
 
67
67
  UPDATING A LIST OF GEMS
68
68
  Sometimes, you want to update a single gem in the Gemfile(5), and leave
69
- the rest of the gems that you specified locked to the versions in the
69
+ the rest of the gems that you specified locked to the versions in the
70
70
  Gemfile.lock.
71
71
 
72
- For instance, you only want to update nokogiri, run bundle lock
72
+ For instance, you only want to update nokogiri, run bundle lock
73
73
  --update nokogiri.
74
74
 
75
75
  Bundler will update nokogiri and any of its dependencies, but leave the
76
- rest of the gems that you specified locked to the versions in the Gem-
76
+ rest of the gems that you specified locked to the versions in the Gem-
77
77
  file.lock.
78
78
 
79
79
  SUPPORTING OTHER PLATFORMS
80
- If you want your bundle to support platforms other than the one you're
80
+ If you want your bundle to support platforms other than the one you're
81
81
  running locally, you can run bundle lock --add-platform PLATFORM to add
82
- PLATFORM to the lockfile, force bundler to re-resolve and consider the
83
- new platform when picking gems, all without needing to have a machine
82
+ PLATFORM to the lockfile, force bundler to re-resolve and consider the
83
+ new platform when picking gems, all without needing to have a machine
84
84
  that matches PLATFORM handy to install those platform-specific gems on.
85
85
 
86
86
  For a full explanation of gem platforms, see gem help platform.
@@ -90,4 +90,4 @@ PATCH LEVEL OPTIONS
90
90
 
91
91
 
92
92
 
93
- October 2018 BUNDLE-LOCK(1)
93
+ November 2019 BUNDLE-LOCK(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\-OPEN" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-OPEN" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
@@ -26,4 +26,4 @@ DESCRIPTION
26
26
 
27
27
 
28
28
 
29
- October 2018 BUNDLE-OPEN(1)
29
+ November 2019 BUNDLE-OPEN(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\-OUTDATED" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-OUTDATED" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-outdated\fR \- List installed gems with newer versions available
@@ -128,4 +128,4 @@ FILTERING OUTPUT
128
128
 
129
129
 
130
130
 
131
- October 2018 BUNDLE-OUTDATED(1)
131
+ November 2019 BUNDLE-OUTDATED(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\-PLATFORM" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-PLATFORM" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-platform\fR \- Displays platform compatibility information
@@ -54,4 +54,4 @@ OPTIONS
54
54
 
55
55
 
56
56
 
57
- October 2018 BUNDLE-PLATFORM(1)
57
+ November 2019 BUNDLE-PLATFORM(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\-PRISTINE" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-PRISTINE" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
@@ -41,4 +41,4 @@ DESCRIPTION
41
41
 
42
42
 
43
43
 
44
- October 2018 BUNDLE-PRISTINE(1)
44
+ November 2019 BUNDLE-PRISTINE(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\-REMOVE" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-REMOVE" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-remove\fR \- Removes gems from the Gemfile
@@ -31,4 +31,4 @@ OPTIONS
31
31
 
32
32
 
33
33
 
34
- October 2018 BUNDLE-REMOVE(1)
34
+ November 2019 BUNDLE-REMOVE(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\-SHOW" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-SHOW" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
@@ -24,4 +24,4 @@ OPTIONS
24
24
 
25
25
 
26
26
 
27
- October 2018 BUNDLE-SHOW(1)
27
+ November 2019 BUNDLE-SHOW(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\-UPDATE" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-UPDATE" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-update\fR \- Update your gems to the latest available versions
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-jobs=JOBS] [\-\-quiet] [\-\-force] [\-\-patch|\-\-minor|\-\-major] [\-\-strict] [\-\-conservative]
10
+ \fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-jobs=JOBS] [\-\-quiet] [\-\-patch|\-\-minor|\-\-major] [\-\-redownload] [\-\-strict] [\-\-conservative]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  Update the gems specified (all gems, if \fB\-\-all\fR flag is used), ignoring the previously installed gems specified in the \fBGemfile\.lock\fR\. In general, you should use bundle install(1) \fIbundle\-install\.1\.html\fR to install the same exact gems and versions across machines\.
@@ -58,8 +58,8 @@ Retry failed network or git requests for \fInumber\fR times\.
58
58
  Only output warnings and errors\.
59
59
  .
60
60
  .TP
61
- \fB\-\-force\fR
62
- Force downloading every gem\. \fB\-\-redownload\fR is an alias of this option\.
61
+ \fB\-\-redownload\fR
62
+ Force downloading every gem\.
63
63
  .
64
64
  .TP
65
65
  \fB\-\-patch\fR
@@ -8,7 +8,7 @@ NAME
8
8
  SYNOPSIS
9
9
  bundle update *gems [--all] [--group=NAME] [--source=NAME] [--local]
10
10
  [--ruby] [--bundler[=VERSION]] [--full-index] [--jobs=JOBS] [--quiet]
11
- [--force] [--patch|--minor|--major] [--strict] [--conservative]
11
+ [--patch|--minor|--major] [--redownload] [--strict] [--conservative]
12
12
 
13
13
  DESCRIPTION
14
14
  Update the gems specified (all gems, if --all flag is used), ignoring
@@ -16,29 +16,29 @@ DESCRIPTION
16
16
  eral, you should use bundle install(1) bundle-install.1.html to install
17
17
  the same exact gems and versions across machines.
18
18
 
19
- You would use bundle update to explicitly update the version of a gem.
19
+ You would use bundle update to explicitly update the version of a gem.
20
20
 
21
21
  OPTIONS
22
22
  --all Update all gems specified in Gemfile.
23
23
 
24
24
  --group=<name>, -g=[<name>]
25
- Only update the gems in the specified group. For instance, you
26
- can update all gems in the development group with bundle update
27
- --group development. You can also call bundle update rails
28
- --group test to update the rails gem and all gems in the test
25
+ Only update the gems in the specified group. For instance, you
26
+ can update all gems in the development group with bundle update
27
+ --group development. You can also call bundle update rails
28
+ --group test to update the rails gem and all gems in the test
29
29
  group, for example.
30
30
 
31
31
  --source=<name>
32
- The name of a :git or :path source used in the Gemfile(5). For
33
- instance, with a :git source of
34
- http://github.com/rails/rails.git, you would call bundle update
32
+ The name of a :git or :path source used in the Gemfile(5). For
33
+ instance, with a :git source of
34
+ http://github.com/rails/rails.git, you would call bundle update
35
35
  --source rails
36
36
 
37
37
  --local
38
- Do not attempt to fetch gems remotely and use the gem cache
38
+ Do not attempt to fetch gems remotely and use the gem cache
39
39
  instead.
40
40
 
41
- --ruby Update the locked version of Ruby to the current version of
41
+ --ruby Update the locked version of Ruby to the current version of
42
42
  Ruby.
43
43
 
44
44
  --bundler
@@ -57,9 +57,8 @@ OPTIONS
57
57
  --quiet
58
58
  Only output warnings and errors.
59
59
 
60
- --force
61
- Force downloading every gem. --redownload is an alias of this
62
- option.
60
+ --redownload
61
+ Force downloading every gem.
63
62
 
64
63
  --patch
65
64
  Prefer updating only to next patch version.
@@ -79,8 +78,8 @@ OPTIONS
79
78
  shared dependencies to be updated.
80
79
 
81
80
  UPDATING ALL GEMS
82
- If you run bundle update --all, bundler will ignore any previously
83
- installed gems and resolve all dependencies again based on the latest
81
+ If you run bundle update --all, bundler will ignore any previously
82
+ installed gems and resolve all dependencies again based on the latest
84
83
  versions of all gems available in the sources.
85
84
 
86
85
  Consider the following Gemfile(5):
@@ -94,8 +93,8 @@ UPDATING ALL GEMS
94
93
 
95
94
 
96
95
 
97
- When you run bundle install(1) bundle-install.1.html the first time,
98
- bundler will resolve all of the dependencies, all the way down, and
96
+ When you run bundle install(1) bundle-install.1.html the first time,
97
+ bundler will resolve all of the dependencies, all the way down, and
99
98
  install what you need:
100
99
 
101
100
 
@@ -134,43 +133,43 @@ UPDATING ALL GEMS
134
133
 
135
134
 
136
135
 
137
- As you can see, even though you have two gems in the Gemfile(5), your
138
- application needs 26 different gems in order to run. Bundler remembers
139
- the exact versions it installed in Gemfile.lock. The next time you run
140
- bundle install(1) bundle-install.1.html, bundler skips the dependency
136
+ As you can see, even though you have two gems in the Gemfile(5), your
137
+ application needs 26 different gems in order to run. Bundler remembers
138
+ the exact versions it installed in Gemfile.lock. The next time you run
139
+ bundle install(1) bundle-install.1.html, bundler skips the dependency
141
140
  resolution and installs the same gems as it installed last time.
142
141
 
143
- After checking in the Gemfile.lock into version control and cloning it
144
- on another machine, running bundle install(1) bundle-install.1.html
145
- will still install the gems that you installed last time. You don't
142
+ After checking in the Gemfile.lock into version control and cloning it
143
+ on another machine, running bundle install(1) bundle-install.1.html
144
+ will still install the gems that you installed last time. You don't
146
145
  need to worry that a new release of erubis or mail changes the gems you
147
146
  use.
148
147
 
149
- However, from time to time, you might want to update the gems you are
150
- using to the newest versions that still match the gems in your Gem-
148
+ However, from time to time, you might want to update the gems you are
149
+ using to the newest versions that still match the gems in your Gem-
151
150
  file(5).
152
151
 
153
- To do this, run bundle update --all, which will ignore the Gem-
154
- file.lock, and resolve all the dependencies again. Keep in mind that
155
- this process can result in a significantly different set of the 25
156
- gems, based on the requirements of new gems that the gem authors
152
+ To do this, run bundle update --all, which will ignore the Gem-
153
+ file.lock, and resolve all the dependencies again. Keep in mind that
154
+ this process can result in a significantly different set of the 25
155
+ gems, based on the requirements of new gems that the gem authors
157
156
  released since the last time you ran bundle update --all.
158
157
 
159
158
  UPDATING A LIST OF GEMS
160
159
  Sometimes, you want to update a single gem in the Gemfile(5), and leave
161
- the rest of the gems that you specified locked to the versions in the
160
+ the rest of the gems that you specified locked to the versions in the
162
161
  Gemfile.lock.
163
162
 
164
- For instance, in the scenario above, imagine that nokogiri releases
163
+ For instance, in the scenario above, imagine that nokogiri releases
165
164
  version 1.4.4, and you want to update it without updating Rails and all
166
165
  of its dependencies. To do this, run bundle update nokogiri.
167
166
 
168
- Bundler will update nokogiri and any of its dependencies, but leave
167
+ Bundler will update nokogiri and any of its dependencies, but leave
169
168
  alone Rails and its dependencies.
170
169
 
171
170
  OVERLAPPING DEPENDENCIES
172
- Sometimes, multiple gems declared in your Gemfile(5) are satisfied by
173
- the same second-level dependency. For instance, consider the case of
171
+ Sometimes, multiple gems declared in your Gemfile(5) are satisfied by
172
+ the same second-level dependency. For instance, consider the case of
174
173
  thin and rack-perftools-profiler.
175
174
 
176
175
 
@@ -182,7 +181,7 @@ OVERLAPPING DEPENDENCIES
182
181
 
183
182
 
184
183
 
185
- The thin gem depends on rack >= 1.0, while rack-perftools-profiler
184
+ The thin gem depends on rack >= 1.0, while rack-perftools-profiler
186
185
  depends on rack ~> 1.0. If you run bundle install, you get:
187
186
 
188
187
 
@@ -200,14 +199,14 @@ OVERLAPPING DEPENDENCIES
200
199
 
201
200
 
202
201
  In this case, the two gems have their own set of dependencies, but they
203
- share rack in common. If you run bundle update thin, bundler will
204
- update daemons, eventmachine and rack, which are dependencies of thin,
205
- but not open4 or perftools.rb, which are dependencies of
206
- rack-perftools_profiler. Note that bundle update thin will update rack
202
+ share rack in common. If you run bundle update thin, bundler will
203
+ update daemons, eventmachine and rack, which are dependencies of thin,
204
+ but not open4 or perftools.rb, which are dependencies of
205
+ rack-perftools_profiler. Note that bundle update thin will update rack
207
206
  even though it's also a dependency of rack-perftools_profiler.
208
207
 
209
- In short, by default, when you update a gem using bundle update,
210
- bundler will update all dependencies of that gem, including those that
208
+ In short, by default, when you update a gem using bundle update,
209
+ bundler will update all dependencies of that gem, including those that
211
210
  are also dependencies of another gem.
212
211
 
213
212
  To prevent updating shared dependencies, prior to version 1.14 the only
@@ -215,8 +214,8 @@ OVERLAPPING DEPENDENCIES
215
214
  dle-install.1.html:
216
215
 
217
216
  In this scenario, updating the thin version manually in the Gemfile(5),
218
- and then running bundle install(1) bundle-install.1.html will only
219
- update daemons and eventmachine, but not rack. For more information,
217
+ and then running bundle install(1) bundle-install.1.html will only
218
+ update daemons and eventmachine, but not rack. For more information,
220
219
  see the CONSERVATIVE UPDATING section of bundle install(1) bun-
221
220
  dle-install.1.html.
222
221
 
@@ -224,8 +223,8 @@ OVERLAPPING DEPENDENCIES
224
223
  vent shared dependencies from being updated.
225
224
 
226
225
  PATCH LEVEL OPTIONS
227
- Version 1.14 introduced 4 patch-level options that will influence how
228
- gem versions are resolved. One of the following options can be used:
226
+ Version 1.14 introduced 4 patch-level options that will influence how
227
+ gem versions are resolved. One of the following options can be used:
229
228
  --patch, --minor or --major. --strict can be added to further influence
230
229
  resolution.
231
230
 
@@ -242,41 +241,41 @@ PATCH LEVEL OPTIONS
242
241
  Do not allow any gem to be updated past latest --patch | --minor
243
242
  | --major.
244
243
 
245
- When Bundler is resolving what versions to use to satisfy declared
246
- requirements in the Gemfile or in parent gems, it looks up all avail-
244
+ When Bundler is resolving what versions to use to satisfy declared
245
+ requirements in the Gemfile or in parent gems, it looks up all avail-
247
246
  able versions, filters out any versions that don't satisfy the require-
248
247
  ment, and then, by default, sorts them from newest to oldest, consider-
249
248
  ing them in that order.
250
249
 
251
- Providing one of the patch level options (e.g. --patch) changes the
252
- sort order of the satisfying versions, causing Bundler to consider the
250
+ Providing one of the patch level options (e.g. --patch) changes the
251
+ sort order of the satisfying versions, causing Bundler to consider the
253
252
  latest --patch or --minor version available before other versions. Note
254
253
  that versions outside the stated patch level could still be resolved to
255
254
  if necessary to find a suitable dependency graph.
256
255
 
257
- For example, if gem 'foo' is locked at 1.0.2, with no gem requirement
258
- defined in the Gemfile, and versions 1.0.3, 1.0.4, 1.1.0, 1.1.1, 2.0.0
256
+ For example, if gem 'foo' is locked at 1.0.2, with no gem requirement
257
+ defined in the Gemfile, and versions 1.0.3, 1.0.4, 1.1.0, 1.1.1, 2.0.0
259
258
  all exist, the default order of preference by default (--major) will be
260
259
  "2.0.0, 1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2".
261
260
 
262
- If the --patch option is used, the order of preference will change to
261
+ If the --patch option is used, the order of preference will change to
263
262
  "1.0.4, 1.0.3, 1.0.2, 1.1.1, 1.1.0, 2.0.0".
264
263
 
265
- If the --minor option is used, the order of preference will change to
264
+ If the --minor option is used, the order of preference will change to
266
265
  "1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2, 2.0.0".
267
266
 
268
- Combining the --strict option with any of the patch level options will
269
- remove any versions beyond the scope of the patch level option, to
267
+ Combining the --strict option with any of the patch level options will
268
+ remove any versions beyond the scope of the patch level option, to
270
269
  ensure that no gem is updated that far.
271
270
 
272
- To continue the previous example, if both --patch and --strict options
271
+ To continue the previous example, if both --patch and --strict options
273
272
  are used, the available versions for resolution would be "1.0.4, 1.0.3,
274
- 1.0.2". If --minor and --strict are used, it would be "1.1.1, 1.1.0,
273
+ 1.0.2". If --minor and --strict are used, it would be "1.1.1, 1.1.0,
275
274
  1.0.4, 1.0.3, 1.0.2".
276
275
 
277
- Gem requirements as defined in the Gemfile will still be the first
276
+ Gem requirements as defined in the Gemfile will still be the first
278
277
  determining factor for what versions are available. If the gem require-
279
- ment for foo in the Gemfile is '~> 1.0', that will accomplish the same
278
+ ment for foo in the Gemfile is '~> 1.0', that will accomplish the same
280
279
  thing as providing the --minor and --strict options.
281
280
 
282
281
  PATCH LEVEL EXAMPLES
@@ -325,11 +324,11 @@ PATCH LEVEL EXAMPLES
325
324
 
326
325
 
327
326
 
328
- In case 1, bar is upgraded to 2.1.1, a minor version increase, because
327
+ In case 1, bar is upgraded to 2.1.1, a minor version increase, because
329
328
  the dependency from foo 1.4.5 required it.
330
329
 
331
- In case 2, only foo is requested to be unlocked, but bar is also
332
- allowed to move because it's not a declared dependency in the Gemfile.
330
+ In case 2, only foo is requested to be unlocked, but bar is also
331
+ allowed to move because it's not a declared dependency in the Gemfile.
333
332
 
334
333
  In case 3, bar goes up a whole major release, because a minor increase
335
334
  is preferred now for foo, and when it goes to 1.5.1, it requires 3.0.0
@@ -388,4 +387,4 @@ RECOMMENDED WORKFLOW
388
387
 
389
388
 
390
389
 
391
- November 2018 BUNDLE-UPDATE(1)
390
+ November 2019 BUNDLE-UPDATE(1)