bundler 2.1.4 → 2.2.17

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 (225) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1774 -1430
  3. data/README.md +6 -8
  4. data/bundler.gemspec +4 -4
  5. data/exe/bundle +3 -0
  6. data/lib/bundler.rb +33 -9
  7. data/lib/bundler/build_metadata.rb +3 -11
  8. data/lib/bundler/cli.rb +59 -23
  9. data/lib/bundler/cli/add.rb +1 -1
  10. data/lib/bundler/cli/binstubs.rb +6 -2
  11. data/lib/bundler/cli/cache.rb +2 -7
  12. data/lib/bundler/cli/clean.rb +1 -1
  13. data/lib/bundler/cli/common.rb +29 -2
  14. data/lib/bundler/cli/console.rb +1 -1
  15. data/lib/bundler/cli/doctor.rb +1 -1
  16. data/lib/bundler/cli/exec.rb +4 -4
  17. data/lib/bundler/cli/fund.rb +36 -0
  18. data/lib/bundler/cli/gem.rb +129 -28
  19. data/lib/bundler/cli/info.rb +15 -4
  20. data/lib/bundler/cli/init.rb +2 -2
  21. data/lib/bundler/cli/inject.rb +1 -1
  22. data/lib/bundler/cli/install.rb +13 -11
  23. data/lib/bundler/cli/issue.rb +2 -2
  24. data/lib/bundler/cli/list.rb +12 -10
  25. data/lib/bundler/cli/outdated.rb +88 -67
  26. data/lib/bundler/cli/plugin.rb +10 -0
  27. data/lib/bundler/cli/pristine.rb +5 -0
  28. data/lib/bundler/cli/show.rb +1 -1
  29. data/lib/bundler/cli/update.rb +3 -1
  30. data/lib/bundler/compact_index_client.rb +1 -1
  31. data/lib/bundler/compact_index_client/cache.rb +6 -14
  32. data/lib/bundler/compact_index_client/gem_parser.rb +28 -0
  33. data/lib/bundler/compact_index_client/updater.rb +13 -17
  34. data/lib/bundler/current_ruby.rb +1 -0
  35. data/lib/bundler/definition.rb +121 -131
  36. data/lib/bundler/dep_proxy.rb +16 -9
  37. data/lib/bundler/dependency.rb +3 -10
  38. data/lib/bundler/dsl.rb +40 -33
  39. data/lib/bundler/endpoint_specification.rb +1 -1
  40. data/lib/bundler/env.rb +1 -1
  41. data/lib/bundler/environment_preserver.rb +26 -2
  42. data/lib/bundler/errors.rb +1 -0
  43. data/lib/bundler/feature_flag.rb +0 -5
  44. data/lib/bundler/fetcher.rb +5 -4
  45. data/lib/bundler/fetcher/base.rb +1 -1
  46. data/lib/bundler/fetcher/compact_index.rb +1 -1
  47. data/lib/bundler/fetcher/downloader.rb +9 -5
  48. data/lib/bundler/fetcher/index.rb +3 -4
  49. data/lib/bundler/friendly_errors.rb +22 -13
  50. data/lib/bundler/gem_helper.rb +51 -18
  51. data/lib/bundler/gem_helpers.rb +36 -25
  52. data/lib/bundler/gem_version_promoter.rb +4 -4
  53. data/lib/bundler/graph.rb +1 -1
  54. data/lib/bundler/index.rb +12 -7
  55. data/lib/bundler/injector.rb +23 -5
  56. data/lib/bundler/inline.rb +3 -2
  57. data/lib/bundler/installer.rb +37 -49
  58. data/lib/bundler/installer/gem_installer.rb +3 -3
  59. data/lib/bundler/installer/parallel_installer.rb +46 -25
  60. data/lib/bundler/installer/standalone.rb +17 -2
  61. data/lib/bundler/lazy_specification.rb +45 -25
  62. data/lib/bundler/lockfile_generator.rb +1 -1
  63. data/lib/bundler/lockfile_parser.rb +4 -14
  64. data/lib/bundler/man/.document +1 -0
  65. data/{man → lib/bundler/man}/bundle-add.1 +1 -1
  66. data/{man/bundle-add.ronn → lib/bundler/man/bundle-add.1.ronn} +0 -0
  67. data/{man → lib/bundler/man}/bundle-binstubs.1 +5 -3
  68. data/{man/bundle-binstubs.ronn → lib/bundler/man/bundle-binstubs.1.ronn} +2 -4
  69. data/{man → lib/bundler/man}/bundle-cache.1 +1 -1
  70. data/{man/bundle-cache.ronn → lib/bundler/man/bundle-cache.1.ronn} +0 -0
  71. data/{man → lib/bundler/man}/bundle-check.1 +1 -1
  72. data/{man/bundle-check.ronn → lib/bundler/man/bundle-check.1.ronn} +0 -0
  73. data/{man → lib/bundler/man}/bundle-clean.1 +1 -1
  74. data/{man/bundle-clean.ronn → lib/bundler/man/bundle-clean.1.ronn} +0 -0
  75. data/{man → lib/bundler/man}/bundle-config.1 +42 -34
  76. data/{man/bundle-config.ronn → lib/bundler/man/bundle-config.1.ronn} +51 -43
  77. data/{man → lib/bundler/man}/bundle-doctor.1 +1 -1
  78. data/{man/bundle-doctor.ronn → lib/bundler/man/bundle-doctor.1.ronn} +0 -0
  79. data/{man → lib/bundler/man}/bundle-exec.1 +1 -1
  80. data/{man/bundle-exec.ronn → lib/bundler/man/bundle-exec.1.ronn} +0 -0
  81. data/{man → lib/bundler/man}/bundle-gem.1 +25 -3
  82. data/{man/bundle-gem.ronn → lib/bundler/man/bundle-gem.1.ronn} +30 -7
  83. data/{man → lib/bundler/man}/bundle-info.1 +1 -1
  84. data/{man/bundle-info.ronn → lib/bundler/man/bundle-info.1.ronn} +0 -0
  85. data/{man → lib/bundler/man}/bundle-init.1 +1 -1
  86. data/{man/bundle-init.ronn → lib/bundler/man/bundle-init.1.ronn} +0 -0
  87. data/{man → lib/bundler/man}/bundle-inject.1 +1 -1
  88. data/{man/bundle-inject.ronn → lib/bundler/man/bundle-inject.1.ronn} +0 -0
  89. data/{man → lib/bundler/man}/bundle-install.1 +30 -3
  90. data/{man/bundle-install.ronn → lib/bundler/man/bundle-install.1.ronn} +25 -3
  91. data/{man → lib/bundler/man}/bundle-list.1 +7 -7
  92. data/{man/bundle-list.ronn → lib/bundler/man/bundle-list.1.ronn} +6 -6
  93. data/{man → lib/bundler/man}/bundle-lock.1 +1 -1
  94. data/{man/bundle-lock.ronn → lib/bundler/man/bundle-lock.1.ronn} +0 -0
  95. data/{man → lib/bundler/man}/bundle-open.1 +1 -1
  96. data/{man/bundle-open.ronn → lib/bundler/man/bundle-open.1.ronn} +0 -0
  97. data/{man → lib/bundler/man}/bundle-outdated.1 +1 -1
  98. data/{man/bundle-outdated.ronn → lib/bundler/man/bundle-outdated.1.ronn} +0 -0
  99. data/{man → lib/bundler/man}/bundle-platform.1 +1 -1
  100. data/{man/bundle-platform.ronn → lib/bundler/man/bundle-platform.1.ronn} +0 -0
  101. data/{man → lib/bundler/man}/bundle-pristine.1 +1 -1
  102. data/{man/bundle-pristine.ronn → lib/bundler/man/bundle-pristine.1.ronn} +0 -0
  103. data/{man → lib/bundler/man}/bundle-remove.1 +1 -1
  104. data/{man/bundle-remove.ronn → lib/bundler/man/bundle-remove.1.ronn} +0 -0
  105. data/{man → lib/bundler/man}/bundle-show.1 +1 -1
  106. data/{man/bundle-show.ronn → lib/bundler/man/bundle-show.1.ronn} +0 -0
  107. data/{man → lib/bundler/man}/bundle-update.1 +1 -1
  108. data/{man/bundle-update.ronn → lib/bundler/man/bundle-update.1.ronn} +0 -0
  109. data/{man → lib/bundler/man}/bundle-viz.1 +1 -1
  110. data/{man/bundle-viz.ronn → lib/bundler/man/bundle-viz.1.ronn} +0 -0
  111. data/{man → lib/bundler/man}/bundle.1 +1 -1
  112. data/{man/bundle.ronn → lib/bundler/man/bundle.1.ronn} +0 -0
  113. data/{man → lib/bundler/man}/gemfile.5 +4 -4
  114. data/{man → lib/bundler/man}/gemfile.5.ronn +4 -4
  115. data/{man → lib/bundler/man}/index.txt +0 -0
  116. data/lib/bundler/mirror.rb +2 -2
  117. data/lib/bundler/plugin.rb +33 -7
  118. data/lib/bundler/plugin/api/source.rb +8 -1
  119. data/lib/bundler/plugin/dsl.rb +1 -1
  120. data/lib/bundler/plugin/index.rb +10 -1
  121. data/lib/bundler/plugin/installer.rb +9 -11
  122. data/lib/bundler/plugin/installer/rubygems.rb +1 -1
  123. data/lib/bundler/plugin/source_list.rb +5 -1
  124. data/lib/bundler/psyched_yaml.rb +0 -15
  125. data/lib/bundler/remote_specification.rb +5 -2
  126. data/lib/bundler/resolver.rb +133 -77
  127. data/lib/bundler/resolver/spec_group.rb +75 -48
  128. data/lib/bundler/retry.rb +2 -2
  129. data/lib/bundler/ruby_version.rb +1 -1
  130. data/lib/bundler/rubygems_ext.rb +69 -9
  131. data/lib/bundler/rubygems_gem_installer.rb +50 -9
  132. data/lib/bundler/rubygems_integration.rb +25 -60
  133. data/lib/bundler/runtime.rb +4 -14
  134. data/lib/bundler/settings.rb +107 -54
  135. data/lib/bundler/shared_helpers.rb +3 -3
  136. data/lib/bundler/similarity_detector.rb +1 -1
  137. data/lib/bundler/source.rb +7 -1
  138. data/lib/bundler/source/git.rb +24 -22
  139. data/lib/bundler/source/git/git_proxy.rb +82 -80
  140. data/lib/bundler/source/metadata.rb +0 -4
  141. data/lib/bundler/source/path.rb +10 -4
  142. data/lib/bundler/source/path/installer.rb +10 -10
  143. data/lib/bundler/source/rubygems.rb +45 -24
  144. data/lib/bundler/source/rubygems/remote.rb +1 -1
  145. data/lib/bundler/source_list.rb +31 -26
  146. data/lib/bundler/spec_set.rb +29 -17
  147. data/lib/bundler/stub_specification.rb +25 -7
  148. data/lib/bundler/templates/Gemfile +1 -1
  149. data/lib/bundler/templates/gems.rb +1 -1
  150. data/lib/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
  151. data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +57 -47
  152. data/lib/bundler/templates/newgem/Gemfile.tt +9 -1
  153. data/lib/bundler/templates/newgem/README.md.tt +6 -5
  154. data/lib/bundler/templates/newgem/Rakefile.tt +19 -5
  155. data/lib/bundler/templates/newgem/bin/console.tt +1 -0
  156. data/lib/bundler/templates/newgem/circleci/config.yml.tt +13 -0
  157. data/lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt +2 -0
  158. data/lib/bundler/templates/newgem/github/workflows/main.yml.tt +16 -0
  159. data/lib/bundler/templates/newgem/gitlab-ci.yml.tt +9 -0
  160. data/lib/bundler/templates/newgem/lib/newgem.rb.tt +4 -2
  161. data/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +2 -0
  162. data/lib/bundler/templates/newgem/newgem.gemspec.tt +15 -7
  163. data/lib/bundler/templates/newgem/rubocop.yml.tt +13 -0
  164. data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +2 -0
  165. data/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +2 -1
  166. data/lib/bundler/templates/newgem/test/{newgem_test.rb.tt → minitest/newgem_test.rb.tt} +2 -0
  167. data/lib/bundler/templates/newgem/test/{test_helper.rb.tt → minitest/test_helper.rb.tt} +2 -0
  168. data/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  169. data/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  170. data/lib/bundler/ui/shell.rb +5 -5
  171. data/lib/bundler/uri_credentials_filter.rb +3 -1
  172. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +0 -1
  173. data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +7 -0
  174. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +34 -2
  175. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +2 -2
  176. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +11 -5
  177. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +3 -3
  178. data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +1 -1
  179. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +12 -1
  180. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +49 -47
  181. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +82 -189
  182. data/lib/bundler/vendor/thor/lib/thor.rb +5 -13
  183. data/lib/bundler/vendor/thor/lib/thor/actions.rb +1 -1
  184. data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +2 -1
  185. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +4 -2
  186. data/lib/bundler/vendor/thor/lib/thor/base.rb +9 -0
  187. data/lib/bundler/vendor/thor/lib/thor/error.rb +1 -1
  188. data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +5 -1
  189. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +9 -8
  190. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +5 -2
  191. data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +5 -1
  192. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  193. data/lib/bundler/vendor/tmpdir/lib/tmpdir.rb +154 -0
  194. data/lib/bundler/vendored_persistent.rb +0 -7
  195. data/lib/bundler/vendored_tmpdir.rb +4 -0
  196. data/lib/bundler/version.rb +1 -1
  197. data/lib/bundler/worker.rb +1 -1
  198. data/lib/bundler/yaml_serializer.rb +1 -1
  199. metadata +71 -85
  200. data/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +0 -26
  201. data/man/bundle-add.1.txt +0 -58
  202. data/man/bundle-binstubs.1.txt +0 -48
  203. data/man/bundle-cache.1.txt +0 -78
  204. data/man/bundle-check.1.txt +0 -33
  205. data/man/bundle-clean.1.txt +0 -26
  206. data/man/bundle-config.1.txt +0 -528
  207. data/man/bundle-doctor.1.txt +0 -44
  208. data/man/bundle-exec.1.txt +0 -178
  209. data/man/bundle-gem.1.txt +0 -91
  210. data/man/bundle-info.1.txt +0 -21
  211. data/man/bundle-init.1.txt +0 -34
  212. data/man/bundle-inject.1.txt +0 -32
  213. data/man/bundle-install.1.txt +0 -401
  214. data/man/bundle-list.1.txt +0 -43
  215. data/man/bundle-lock.1.txt +0 -93
  216. data/man/bundle-open.1.txt +0 -29
  217. data/man/bundle-outdated.1.txt +0 -131
  218. data/man/bundle-platform.1.txt +0 -57
  219. data/man/bundle-pristine.1.txt +0 -44
  220. data/man/bundle-remove.1.txt +0 -34
  221. data/man/bundle-show.1.txt +0 -27
  222. data/man/bundle-update.1.txt +0 -390
  223. data/man/bundle-viz.1.txt +0 -39
  224. data/man/bundle.1.txt +0 -116
  225. data/man/gemfile.5.txt +0 -649
@@ -1,43 +0,0 @@
1
- BUNDLE-LIST(1) BUNDLE-LIST(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-list - List all the gems in the bundle
7
-
8
- SYNOPSIS
9
- bundle list [--name-only] [--paths] [--without-group=GROUP]
10
- [--only-group=GROUP]
11
-
12
- DESCRIPTION
13
- Prints a list of all the gems in the bundle including their version.
14
-
15
- Example:
16
-
17
- bundle list --name-only
18
-
19
- bundle list --paths
20
-
21
- bundle list --without-group test
22
-
23
- bundle list --only-group dev
24
-
25
- bundle list --only-group dev --paths
26
-
27
- OPTIONS
28
- --name-only
29
- Print only the name of each gem.
30
-
31
- --paths
32
- Print the path to each gem in the bundle.
33
-
34
- --without-group
35
- Print all gems expect from a group.
36
-
37
- --only-group
38
- Print gems from a particular group.
39
-
40
-
41
-
42
-
43
- January 2020 BUNDLE-LIST(1)
@@ -1,93 +0,0 @@
1
- BUNDLE-LOCK(1) BUNDLE-LOCK(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-lock - Creates / Updates a lockfile without installing
7
-
8
- SYNOPSIS
9
- bundle lock [--update] [--local] [--print] [--lockfile=PATH]
10
- [--full-index] [--add-platform] [--remove-platform] [--patch] [--minor]
11
- [--major] [--strict] [--conservative]
12
-
13
- DESCRIPTION
14
- Lock the gems specified in Gemfile.
15
-
16
- OPTIONS
17
- --update=<*gems>
18
- Ignores the existing lockfile. Resolve then updates lockfile.
19
- Taking a list of gems or updating all gems if no list is given.
20
-
21
- --local
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
25
- exists on rubygems.org it will not be found.
26
-
27
- --print
28
- Prints the lockfile to STDOUT instead of writing to the file
29
- system.
30
-
31
- --lockfile=<path>
32
- The path where the lockfile should be written to.
33
-
34
- --full-index
35
- Fall back to using the single-file index of all gems.
36
-
37
- --add-platform
38
- Add a new platform to the lockfile, re-resolving for the addi-
39
- tion of that platform.
40
-
41
- --remove-platform
42
- Remove a platform from the lockfile.
43
-
44
- --patch
45
- If updating, prefer updating only to next patch version.
46
-
47
- --minor
48
- If updating, prefer updating only to next minor version.
49
-
50
- --major
51
- If updating, prefer updating to next major version (default).
52
-
53
- --strict
54
- If updating, do not allow any gem to be updated past latest
55
- --patch | --minor | --major.
56
-
57
- --conservative
58
- If updating, use bundle install conservative update behavior and
59
- do not allow shared dependencies to be updated.
60
-
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
65
- in the sources.
66
-
67
- UPDATING A LIST OF GEMS
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
70
- Gemfile.lock.
71
-
72
- For instance, you only want to update nokogiri, run bundle lock
73
- --update nokogiri.
74
-
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-
77
- file.lock.
78
-
79
- SUPPORTING OTHER PLATFORMS
80
- If you want your bundle to support platforms other than the one you're
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
84
- that matches PLATFORM handy to install those platform-specific gems on.
85
-
86
- For a full explanation of gem platforms, see gem help platform.
87
-
88
- PATCH LEVEL OPTIONS
89
- See bundle update(1) bundle-update.1.html for details.
90
-
91
-
92
-
93
- January 2020 BUNDLE-LOCK(1)
@@ -1,29 +0,0 @@
1
- BUNDLE-OPEN(1) BUNDLE-OPEN(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-open - Opens the source directory for a gem in your bundle
7
-
8
- SYNOPSIS
9
- bundle open [GEM]
10
-
11
- DESCRIPTION
12
- Opens the source directory of the provided GEM in your editor.
13
-
14
- For this to work the EDITOR or BUNDLER_EDITOR environment variable has
15
- to be set.
16
-
17
- Example:
18
-
19
-
20
-
21
- bundle open 'rack'
22
-
23
-
24
-
25
- Will open the source directory for the 'rack' gem in your bundle.
26
-
27
-
28
-
29
- January 2020 BUNDLE-OPEN(1)
@@ -1,131 +0,0 @@
1
- BUNDLE-OUTDATED(1) BUNDLE-OUTDATED(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-outdated - List installed gems with newer versions available
7
-
8
- SYNOPSIS
9
- bundle outdated [GEM] [--local] [--pre] [--source] [--strict]
10
- [--parseable | --porcelain] [--group=GROUP] [--groups]
11
- [--update-strict] [--patch|--minor|--major] [--filter-major] [--fil-
12
- ter-minor] [--filter-patch] [--only-explicit]
13
-
14
- DESCRIPTION
15
- Outdated lists the names and versions of gems that have a newer version
16
- available in the given source. Calling outdated with [GEM [GEM]] will
17
- only check for newer versions of the given gems. Prerelease gems are
18
- ignored by default. If your gems are up to date, Bundler will exit with
19
- a status of 0. Otherwise, it will exit 1.
20
-
21
- OPTIONS
22
- --local
23
- Do not attempt to fetch gems remotely and use the gem cache
24
- instead.
25
-
26
- --pre Check for newer pre-release gems.
27
-
28
- --source
29
- Check against a specific source.
30
-
31
- --strict
32
- Only list newer versions allowed by your Gemfile requirements.
33
-
34
- --parseable, --porcelain
35
- Use minimal formatting for more parseable output.
36
-
37
- --group
38
- List gems from a specific group.
39
-
40
- --groups
41
- List gems organized by groups.
42
-
43
- --update-strict
44
- Strict conservative resolution, do not allow any gem to be
45
- updated past latest --patch | --minor| --major.
46
-
47
- --minor
48
- Prefer updating only to next minor version.
49
-
50
- --major
51
- Prefer updating to next major version (default).
52
-
53
- --patch
54
- Prefer updating only to next patch version.
55
-
56
- --filter-major
57
- Only list major newer versions.
58
-
59
- --filter-minor
60
- Only list minor newer versions.
61
-
62
- --filter-patch
63
- Only list patch newer versions.
64
-
65
- --only-explicit
66
- Only list gems specified in your Gemfile, not their dependen-
67
- cies.
68
-
69
- PATCH LEVEL OPTIONS
70
- See bundle update(1) bundle-update.1.html for details.
71
-
72
- One difference between the patch level options in bundle update and
73
- here is the --strict option. --strict was already an option on outdated
74
- before the patch level options were added. --strict wasn't altered, and
75
- the --update-strict option on outdated reflects what --strict does on
76
- bundle update.
77
-
78
- FILTERING OUTPUT
79
- The 3 filtering options do not affect the resolution of versions,
80
- merely what versions are shown in the output.
81
-
82
- If the regular output shows the following:
83
-
84
-
85
-
86
- * faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test"
87
- * hashie (newest 3.4.6, installed 1.2.0, requested = 1.2.0) in groups "default"
88
- * headless (newest 2.3.1, installed 2.2.3) in groups "test"
89
-
90
-
91
-
92
- --filter-major would only show:
93
-
94
-
95
-
96
- * hashie (newest 3.4.6, installed 1.2.0, requested = 1.2.0) in groups "default"
97
-
98
-
99
-
100
- --filter-minor would only show:
101
-
102
-
103
-
104
- * headless (newest 2.3.1, installed 2.2.3) in groups "test"
105
-
106
-
107
-
108
- --filter-patch would only show:
109
-
110
-
111
-
112
- * faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test"
113
-
114
-
115
-
116
- Filter options can be combined. --filter-minor and --filter-patch would
117
- show:
118
-
119
-
120
-
121
- * faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test"
122
- * headless (newest 2.3.1, installed 2.2.3) in groups "test"
123
-
124
-
125
-
126
- Combining all three filter options would be the same result as provid-
127
- ing none of them.
128
-
129
-
130
-
131
- January 2020 BUNDLE-OUTDATED(1)
@@ -1,57 +0,0 @@
1
- BUNDLE-PLATFORM(1) BUNDLE-PLATFORM(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-platform - Displays platform compatibility information
7
-
8
- SYNOPSIS
9
- bundle platform [--ruby]
10
-
11
- DESCRIPTION
12
- platform will display information from your Gemfile, Gemfile.lock, and
13
- Ruby VM about your platform.
14
-
15
- For instance, using this Gemfile(5):
16
-
17
-
18
-
19
- source "https://rubygems.org"
20
-
21
- ruby "1.9.3"
22
-
23
- gem "rack"
24
-
25
-
26
-
27
- If you run bundle platform on Ruby 1.9.3, it will display the following
28
- output:
29
-
30
-
31
-
32
- Your platform is: x86_64-linux
33
-
34
- Your app has gems that work on these platforms:
35
- * ruby
36
-
37
- Your Gemfile specifies a Ruby version requirement:
38
- * ruby 1.9.3
39
-
40
- Your current platform satisfies the Ruby version requirement.
41
-
42
-
43
-
44
- platform will list all the platforms in your Gemfile.lock as well as
45
- the ruby directive if applicable from your Gemfile(5). It will also let
46
- you know if the ruby directive requirement has been met. If ruby direc-
47
- tive doesn't match the running Ruby VM, it will tell you what part does
48
- not.
49
-
50
- OPTIONS
51
- --ruby It will display the ruby directive information, so you don't
52
- have to parse it from the Gemfile(5).
53
-
54
-
55
-
56
-
57
- January 2020 BUNDLE-PLATFORM(1)
@@ -1,44 +0,0 @@
1
- BUNDLE-PRISTINE(1) BUNDLE-PRISTINE(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-pristine - Restores installed gems to their pristine condition
7
-
8
- SYNOPSIS
9
- bundle pristine
10
-
11
- DESCRIPTION
12
- pristine restores the installed gems in the bundle to their pristine
13
- condition using the local gem cache from RubyGems. For git gems, a
14
- forced checkout will be performed.
15
-
16
- For further explanation, bundle pristine ignores unpacked files on
17
- disk. In other words, this command utilizes the local .gem cache or the
18
- gem's git repository as if one were installing from scratch.
19
-
20
- Note: the Bundler gem cannot be restored to its original state with
21
- pristine. One also cannot use bundle pristine on gems with a 'path'
22
- option in the Gemfile, because bundler has no original copy it can
23
- restore from.
24
-
25
- When is it practical to use bundle pristine?
26
-
27
- It comes in handy when a developer is debugging a gem. bundle pristine
28
- is a great way to get rid of experimental changes to a gem that one may
29
- not want.
30
-
31
- Why use bundle pristine over gem pristine --all?
32
-
33
- Both commands are very similar. For context: bundle pristine, without
34
- arguments, cleans all gems from the lockfile. Meanwhile, gem pristine
35
- --all cleans all installed gems for that Ruby version.
36
-
37
- If a developer forgets which gems in their project they might have been
38
- debugging, the Rubygems gem pristine [GEMNAME] command may be inconve-
39
- nient. One can avoid waiting for gem pristine --all, and instead run
40
- bundle pristine.
41
-
42
-
43
-
44
- January 2020 BUNDLE-PRISTINE(1)
@@ -1,34 +0,0 @@
1
- BUNDLE-REMOVE(1) BUNDLE-REMOVE(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-remove - Removes gems from the Gemfile
7
-
8
- SYNOPSIS
9
- bundle remove [GEM [GEM ...]] [--install]
10
-
11
- DESCRIPTION
12
- Removes the given gems from the Gemfile while ensuring that the result-
13
- ing Gemfile is still valid. If a gem cannot be removed, a warning is
14
- printed. If a gem is already absent from the Gemfile, and error is
15
- raised.
16
-
17
- OPTIONS
18
- --install
19
- Runs bundle install after the given gems have been removed from
20
- the Gemfile, which ensures that both the lockfile and the
21
- installed gems on disk are also updated to remove the given
22
- gem(s).
23
-
24
- Example:
25
-
26
- bundle remove rails
27
-
28
- bundle remove rails rack
29
-
30
- bundle remove rails rack --install
31
-
32
-
33
-
34
- January 2020 BUNDLE-REMOVE(1)
@@ -1,27 +0,0 @@
1
- BUNDLE-SHOW(1) BUNDLE-SHOW(1)
2
-
3
-
4
-
5
- NAME
6
- bundle-show - Shows all the gems in your bundle, or the path to a gem
7
-
8
- SYNOPSIS
9
- bundle show [GEM] [--paths]
10
-
11
- DESCRIPTION
12
- Without the [GEM] option, show will print a list of the names and ver-
13
- sions of all gems that are required by your [Gemfile(5)][Gemfile(5)],
14
- sorted by name.
15
-
16
- Calling show with [GEM] will list the exact location of that gem on
17
- your machine.
18
-
19
- OPTIONS
20
- --paths
21
- List the paths of all gems that are required by your [Gem-
22
- file(5)][Gemfile(5)], sorted by gem name.
23
-
24
-
25
-
26
-
27
- January 2020 BUNDLE-SHOW(1)