bundler 2.3.16 → 2.3.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +71 -0
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/cli/cache.rb +1 -1
- data/lib/bundler/cli/common.rb +1 -0
- data/lib/bundler/cli/install.rb +2 -0
- data/lib/bundler/cli.rb +6 -2
- data/lib/bundler/compact_index_client/updater.rb +16 -3
- data/lib/bundler/current_ruby.rb +1 -1
- data/lib/bundler/definition.rb +51 -18
- data/lib/bundler/dependency.rb +3 -2
- data/lib/bundler/dsl.rb +3 -3
- data/lib/bundler/friendly_errors.rb +5 -2
- data/lib/bundler/gem_helpers.rb +2 -0
- data/lib/bundler/incomplete_specification.rb +12 -0
- data/lib/bundler/index.rb +11 -17
- data/lib/bundler/installer/standalone.rb +29 -2
- data/lib/bundler/lazy_specification.rb +17 -8
- data/lib/bundler/lockfile_parser.rb +4 -0
- data/lib/bundler/man/bundle-add.1 +2 -2
- data/lib/bundler/man/bundle-add.1.ronn +1 -1
- data/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/lib/bundler/man/bundle-cache.1 +1 -1
- data/lib/bundler/man/bundle-check.1 +1 -1
- data/lib/bundler/man/bundle-clean.1 +1 -1
- data/lib/bundler/man/bundle-config.1 +13 -3
- data/lib/bundler/man/bundle-config.1.ronn +9 -2
- data/lib/bundler/man/bundle-doctor.1 +1 -1
- data/lib/bundler/man/bundle-exec.1 +2 -2
- data/lib/bundler/man/bundle-exec.1.ronn +1 -1
- data/lib/bundler/man/bundle-gem.1 +1 -1
- data/lib/bundler/man/bundle-info.1 +1 -1
- data/lib/bundler/man/bundle-init.1 +1 -1
- data/lib/bundler/man/bundle-inject.1 +5 -2
- data/lib/bundler/man/bundle-inject.1.ronn +3 -1
- data/lib/bundler/man/bundle-install.1 +1 -1
- data/lib/bundler/man/bundle-list.1 +1 -1
- data/lib/bundler/man/bundle-lock.1 +1 -1
- data/lib/bundler/man/bundle-open.1 +1 -1
- data/lib/bundler/man/bundle-outdated.1 +1 -1
- data/lib/bundler/man/bundle-platform.1 +1 -1
- data/lib/bundler/man/bundle-pristine.1 +1 -1
- data/lib/bundler/man/bundle-remove.1 +1 -1
- data/lib/bundler/man/bundle-show.1 +1 -1
- data/lib/bundler/man/bundle-update.1 +1 -1
- data/lib/bundler/man/bundle-viz.1 +4 -1
- data/lib/bundler/man/bundle-viz.1.ronn +2 -0
- data/lib/bundler/man/bundle.1 +3 -3
- data/lib/bundler/man/bundle.1.ronn +2 -2
- data/lib/bundler/man/gemfile.5 +77 -47
- data/lib/bundler/man/gemfile.5.ronn +75 -54
- data/lib/bundler/match_platform.rb +0 -1
- data/lib/bundler/remote_specification.rb +5 -4
- data/lib/bundler/resolver/spec_group.rb +5 -4
- data/lib/bundler/resolver.rb +11 -9
- data/lib/bundler/rubygems_ext.rb +6 -5
- data/lib/bundler/rubygems_gem_installer.rb +19 -12
- data/lib/bundler/runtime.rb +0 -1
- data/lib/bundler/settings.rb +1 -0
- data/lib/bundler/source/rubygems.rb +14 -6
- data/lib/bundler/spec_set.rb +31 -20
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler.rb +1 -0
- metadata +4 -3
@@ -27,7 +27,7 @@ bundle add rails --group "development, test"
|
|
27
27
|
* `--group`, `-g`:
|
28
28
|
Specify the group(s) for the added gem. Multiple groups should be separated by commas.
|
29
29
|
|
30
|
-
* `--source`,
|
30
|
+
* `--source`, `-s`:
|
31
31
|
Specify the source for the added gem.
|
32
32
|
|
33
33
|
* `--require`, `-r`:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CACHE" "1" "
|
4
|
+
.TH "BUNDLE\-CACHE" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CHECK" "1" "
|
4
|
+
.TH "BUNDLE\-CHECK" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CONFIG" "1" "
|
4
|
+
.TH "BUNDLE\-CONFIG" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-config\fR \- Set bundler configuration options
|
@@ -74,6 +74,10 @@ Creates a directory (defaults to \fB~/bin\fR) and place any executables from the
|
|
74
74
|
In deployment mode, Bundler will \'roll\-out\' the bundle for \fBproduction\fR use\. Please check carefully if you want to have this option enabled in \fBdevelopment\fR or \fBtest\fR environments\.
|
75
75
|
.
|
76
76
|
.TP
|
77
|
+
\fBonly\fR
|
78
|
+
A space\-separated list of groups to install only gems of the specified groups\.
|
79
|
+
.
|
80
|
+
.TP
|
77
81
|
\fBpath\fR
|
78
82
|
The location to install the specified gems to\. This defaults to Rubygems\' setting\. Bundler shares this location with Rubygems, \fBgem install \.\.\.\fR will have gem installed there, too\. Therefore, gems installed without a \fB\-\-path \.\.\.\fR setting will show up by calling \fBgem list\fR\. Accordingly, gems installed to other locations will not get listed\.
|
79
83
|
.
|
@@ -205,6 +209,9 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
205
209
|
\fBglobal_gem_cache\fR (\fBBUNDLE_GLOBAL_GEM_CACHE\fR): Whether Bundler should cache all gems globally, rather than locally to the installing Ruby installation\.
|
206
210
|
.
|
207
211
|
.IP "\(bu" 4
|
212
|
+
\fBignore_funding_requests\fR (\fBBUNDLE_IGNORE_FUNDING_REQUESTS\fR): When set, no funding requests will be printed\.
|
213
|
+
.
|
214
|
+
.IP "\(bu" 4
|
208
215
|
\fBignore_messages\fR (\fBBUNDLE_IGNORE_MESSAGES\fR): When set, no post install messages will be printed\. To silence a single gem, use dot notation like \fBignore_messages\.httparty true\fR\.
|
209
216
|
.
|
210
217
|
.IP "\(bu" 4
|
@@ -220,6 +227,9 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
220
227
|
\fBno_prune\fR (\fBBUNDLE_NO_PRUNE\fR): Whether Bundler should leave outdated gems unpruned when caching\.
|
221
228
|
.
|
222
229
|
.IP "\(bu" 4
|
230
|
+
\fBonly\fR (\fBBUNDLE_ONLY\fR): A space\-separated list of groups to install only gems of the specified groups\.
|
231
|
+
.
|
232
|
+
.IP "\(bu" 4
|
223
233
|
\fBpath\fR (\fBBUNDLE_PATH\fR): The location on disk where all gems in your bundle will be located regardless of \fB$GEM_HOME\fR or \fB$GEM_PATH\fR values\. Bundle gems not found in this location will be installed by \fBbundle install\fR\. Defaults to \fBGem\.dir\fR\. When \-\-deployment is used, defaults to vendor/bundle\.
|
224
234
|
.
|
225
235
|
.IP "\(bu" 4
|
@@ -342,13 +352,13 @@ bundle config set \-\-global mirror\.SOURCE_URL MIRROR_URL
|
|
342
352
|
.IP "" 0
|
343
353
|
.
|
344
354
|
.P
|
345
|
-
For example, to use a mirror of rubygems\.org hosted at
|
355
|
+
For example, to use a mirror of https://rubygems\.org hosted at https://example\.org:
|
346
356
|
.
|
347
357
|
.IP "" 4
|
348
358
|
.
|
349
359
|
.nf
|
350
360
|
|
351
|
-
bundle config set \-\-global mirror\.
|
361
|
+
bundle config set \-\-global mirror\.https://rubygems\.org https://example\.org
|
352
362
|
.
|
353
363
|
.fi
|
354
364
|
.
|
@@ -74,6 +74,9 @@ The options that can be configured are:
|
|
74
74
|
`production` use. Please check carefully if you want to have this option
|
75
75
|
enabled in `development` or `test` environments.
|
76
76
|
|
77
|
+
* `only`:
|
78
|
+
A space-separated list of groups to install only gems of the specified groups.
|
79
|
+
|
77
80
|
* `path`:
|
78
81
|
The location to install the specified gems to. This defaults to Rubygems'
|
79
82
|
setting. Bundler shares this location with Rubygems, `gem install ...` will
|
@@ -204,6 +207,8 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
204
207
|
* `global_gem_cache` (`BUNDLE_GLOBAL_GEM_CACHE`):
|
205
208
|
Whether Bundler should cache all gems globally, rather than locally to the
|
206
209
|
installing Ruby installation.
|
210
|
+
* `ignore_funding_requests` (`BUNDLE_IGNORE_FUNDING_REQUESTS`):
|
211
|
+
When set, no funding requests will be printed.
|
207
212
|
* `ignore_messages` (`BUNDLE_IGNORE_MESSAGES`):
|
208
213
|
When set, no post install messages will be printed. To silence a single gem,
|
209
214
|
use dot notation like `ignore_messages.httparty true`.
|
@@ -216,6 +221,8 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
216
221
|
Whether `bundle package` should skip installing gems.
|
217
222
|
* `no_prune` (`BUNDLE_NO_PRUNE`):
|
218
223
|
Whether Bundler should leave outdated gems unpruned when caching.
|
224
|
+
* `only` (`BUNDLE_ONLY`):
|
225
|
+
A space-separated list of groups to install only gems of the specified groups.
|
219
226
|
* `path` (`BUNDLE_PATH`):
|
220
227
|
The location on disk where all gems in your bundle will be located regardless
|
221
228
|
of `$GEM_HOME` or `$GEM_PATH` values. Bundle gems not found in this location
|
@@ -321,9 +328,9 @@ mirror to fetch gems.
|
|
321
328
|
|
322
329
|
bundle config set --global mirror.SOURCE_URL MIRROR_URL
|
323
330
|
|
324
|
-
For example, to use a mirror of rubygems.org hosted at
|
331
|
+
For example, to use a mirror of https://rubygems.org hosted at https://example.org:
|
325
332
|
|
326
|
-
bundle config set --global mirror.
|
333
|
+
bundle config set --global mirror.https://rubygems.org https://example.org
|
327
334
|
|
328
335
|
Each mirror also provides a fallback timeout setting. If the mirror does not
|
329
336
|
respond within the fallback timeout, Bundler will try to use the original
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-EXEC" "1" "
|
4
|
+
.TH "BUNDLE\-EXEC" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
@@ -155,7 +155,7 @@ You can find a list of all the gems containing gem plugins by running
|
|
155
155
|
.
|
156
156
|
.nf
|
157
157
|
|
158
|
-
ruby \-
|
158
|
+
ruby \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
|
159
159
|
.
|
160
160
|
.fi
|
161
161
|
.
|
@@ -145,7 +145,7 @@ their plugins.
|
|
145
145
|
You can find a list of all the gems containing gem plugins
|
146
146
|
by running
|
147
147
|
|
148
|
-
ruby -
|
148
|
+
ruby -e "puts Gem.find_files('rubygems_plugin.rb')"
|
149
149
|
|
150
150
|
At the very least, you should remove all but the newest
|
151
151
|
version of each gem plugin, and also remove all gem plugins
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-INJECT" "1" "
|
4
|
+
.TH "BUNDLE\-INJECT" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
@@ -30,4 +30,7 @@ bundle inject \'rack\' \'> 0\'
|
|
30
30
|
.IP "" 0
|
31
31
|
.
|
32
32
|
.P
|
33
|
-
This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock
|
33
|
+
This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock\.
|
34
|
+
.
|
35
|
+
.P
|
36
|
+
The \fBbundle inject\fR command was deprecated in Bundler 2\.1 and will be removed in Bundler 3\.0\.
|
@@ -19,4 +19,6 @@ Example:
|
|
19
19
|
bundle inject 'rack' '> 0'
|
20
20
|
|
21
21
|
This will inject the 'rack' gem with a version greater than 0 in your
|
22
|
-
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock
|
22
|
+
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock.
|
23
|
+
|
24
|
+
The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 3.0.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-INSTALL" "1" "
|
4
|
+
.TH "BUNDLE\-INSTALL" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-OUTDATED" "1" "
|
4
|
+
.TH "BUNDLE\-OUTDATED" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-outdated\fR \- List installed gems with newer versions available
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-PRISTINE" "1" "
|
4
|
+
.TH "BUNDLE\-PRISTINE" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-VIZ" "1" "
|
4
|
+
.TH "BUNDLE\-VIZ" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
|
@@ -15,6 +15,9 @@
|
|
15
15
|
.P
|
16
16
|
The associated gems must also be installed via \fBbundle install(1)\fR \fIbundle\-install\.1\.html\fR\.
|
17
17
|
.
|
18
|
+
.P
|
19
|
+
\fBviz\fR command was deprecated in Bundler 2\.2\. Use bundler\-graph plugin \fIhttps://github\.com/rubygems/bundler\-graph\fR instead\.
|
20
|
+
.
|
18
21
|
.SH "OPTIONS"
|
19
22
|
.
|
20
23
|
.TP
|
@@ -16,6 +16,8 @@ bundle-viz(1) -- Generates a visual dependency graph for your Gemfile
|
|
16
16
|
|
17
17
|
The associated gems must also be installed via [`bundle install(1)`](bundle-install.1.html).
|
18
18
|
|
19
|
+
`viz` command was deprecated in Bundler 2.2. Use [bundler-graph plugin](https://github.com/rubygems/bundler-graph) instead.
|
20
|
+
|
19
21
|
## OPTIONS
|
20
22
|
|
21
23
|
* `--file`, `-f`:
|
data/lib/bundler/man/bundle.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE" "1" "
|
4
|
+
.TH "BUNDLE" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\fR \- Ruby Dependency Management
|
@@ -93,7 +93,7 @@ Open an installed gem in the editor
|
|
93
93
|
Generate a lockfile for your dependencies
|
94
94
|
.
|
95
95
|
.TP
|
96
|
-
\fBbundle viz(1)\fR \fIbundle\-viz\.1\.html\fR
|
96
|
+
\fBbundle viz(1)\fR \fIbundle\-viz\.1\.html\fR (deprecated)
|
97
97
|
Generate a visual representation of your dependencies
|
98
98
|
.
|
99
99
|
.TP
|
@@ -130,7 +130,7 @@ These commands are obsolete and should no longer be used:
|
|
130
130
|
\fBbundle cache(1)\fR
|
131
131
|
.
|
132
132
|
.IP "\(bu" 4
|
133
|
-
\fBbundle
|
133
|
+
\fBbundle inject(1)\fR
|
134
134
|
.
|
135
135
|
.IP "" 0
|
136
136
|
|
@@ -76,7 +76,7 @@ We divide `bundle` subcommands into primary commands and utilities:
|
|
76
76
|
* [`bundle lock(1)`](bundle-lock.1.html):
|
77
77
|
Generate a lockfile for your dependencies
|
78
78
|
|
79
|
-
* [`bundle viz(1)`](bundle-viz.1.html):
|
79
|
+
* [`bundle viz(1)`](bundle-viz.1.html) (deprecated):
|
80
80
|
Generate a visual representation of your dependencies
|
81
81
|
|
82
82
|
* [`bundle init(1)`](bundle-init.1.html):
|
@@ -108,4 +108,4 @@ and execute it, passing down any extra arguments to it.
|
|
108
108
|
These commands are obsolete and should no longer be used:
|
109
109
|
|
110
110
|
* `bundle cache(1)`
|
111
|
-
* `bundle
|
111
|
+
* `bundle inject(1)`
|