bundler 1.16.0 → 1.16.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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +13 -0
- data/bundler.gemspec +57 -0
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/cli/gem.rb +1 -1
- data/lib/bundler/cli/init.rb +1 -5
- data/lib/bundler/cli/update.rb +3 -1
- data/lib/bundler/definition.rb +1 -1
- data/lib/bundler/resolver.rb +4 -1
- data/lib/bundler/source/rubygems.rb +2 -4
- data/lib/bundler/templates/.document +1 -0
- data/lib/bundler/templates/Executable +11 -3
- data/lib/bundler/templates/newgem/{.travis.yml.tt → travis.yml.tt} +0 -0
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-add.1 +1 -1
- data/man/bundle-add.1.txt +11 -11
- data/man/bundle-binstubs.1.txt +19 -19
- data/man/bundle-check.1 +1 -1
- data/man/bundle-check.1.txt +15 -15
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +10 -10
- data/man/bundle-config.1 +1 -1
- data/man/bundle-config.1.txt +194 -194
- data/man/bundle-exec.1 +1 -1
- data/man/bundle-exec.1.txt +62 -62
- data/man/bundle-gem.1 +1 -1
- data/man/bundle-gem.1.txt +38 -38
- data/man/bundle-info.1 +1 -1
- data/man/bundle-info.1.txt +8 -8
- data/man/bundle-init.1 +1 -1
- data/man/bundle-init.1.txt +12 -12
- data/man/bundle-inject.1 +1 -1
- data/man/bundle-inject.1.txt +9 -9
- data/man/bundle-install.1 +1 -1
- data/man/bundle-install.1.txt +165 -165
- data/man/bundle-list.1 +1 -1
- data/man/bundle-list.1.txt +8 -8
- data/man/bundle-lock.1 +1 -1
- data/man/bundle-lock.1.txt +46 -46
- data/man/bundle-open.1 +1 -1
- data/man/bundle-open.1.txt +7 -7
- data/man/bundle-outdated.1 +1 -1
- data/man/bundle-outdated.1.txt +33 -33
- data/man/bundle-package.1 +1 -1
- data/man/bundle-package.1.txt +35 -35
- data/man/bundle-platform.1 +1 -1
- data/man/bundle-platform.1.txt +13 -13
- data/man/bundle-pristine.1 +1 -1
- data/man/bundle-pristine.1.txt +19 -19
- data/man/bundle-show.1 +1 -1
- data/man/bundle-show.1.txt +11 -11
- data/man/bundle-update.1 +1 -1
- data/man/bundle-update.1.txt +98 -98
- data/man/bundle-viz.1 +1 -1
- data/man/bundle-viz.1.txt +16 -16
- data/man/bundle.1 +1 -1
- data/man/bundle.1.txt +50 -50
- data/man/gemfile.5 +1 -1
- data/man/gemfile.5.txt +200 -200
- metadata +5 -3
data/man/bundle-list.1
CHANGED
data/man/bundle-list.1.txt
CHANGED
@@ -2,20 +2,20 @@ BUNDLE-LIST(1) BUNDLE-LIST(1)
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
NAME
|
6
|
+
bundle-list - List all the gems in the bundle
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
SYNOPSIS
|
9
|
+
bundle list [--name-only]
|
10
10
|
|
11
|
-
|
11
|
+
DESCRIPTION
|
12
12
|
Prints a list of all the gems in the bundle including their version.
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
OPTIONS
|
15
|
+
--name-only
|
16
16
|
Print only the name of each gem.
|
17
17
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
|
21
|
+
August 2017 BUNDLE-LIST(1)
|
data/man/bundle-lock.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\-LOCK" "1" "
|
4
|
+
.TH "BUNDLE\-LOCK" "1" "February 2017" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
|
data/man/bundle-lock.1.txt
CHANGED
@@ -2,92 +2,92 @@ BUNDLE-LOCK(1) BUNDLE-LOCK(1)
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
NAME
|
6
|
+
bundle-lock - Creates / Updates a lockfile without installing
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
SYNOPSIS
|
9
|
+
bundle lock [--update] [--local] [--print] [--lockfile=PATH]
|
10
10
|
[--full-index] [--add-platform] [--remove-platform] [--patch] [--minor]
|
11
11
|
[--major] [--strict] [--conservative]
|
12
12
|
|
13
|
-
|
13
|
+
DESCRIPTION
|
14
14
|
Lock the gems specified in Gemfile.
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
OPTIONS
|
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
|
19
|
+
Taking a list of gems or updating all gems if no list is given.
|
20
20
|
|
21
|
-
|
22
|
-
Do not attempt to connect to
|
23
|
-
use
|
24
|
-
|
25
|
-
exists on
|
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
26
|
|
27
|
-
|
28
|
-
Prints
|
27
|
+
--print
|
28
|
+
Prints the lockfile to STDOUT instead of writing to the file
|
29
29
|
system.
|
30
30
|
|
31
|
-
|
31
|
+
--lockfile=<path>
|
32
32
|
The path where the lockfile should be written to.
|
33
33
|
|
34
|
-
|
34
|
+
--full-index
|
35
35
|
Fall back to using the single-file index of all gems.
|
36
36
|
|
37
|
-
|
38
|
-
Add
|
37
|
+
--add-platform
|
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
|
42
42
|
Remove a platform from the lockfile.
|
43
43
|
|
44
|
-
|
44
|
+
--patch
|
45
45
|
If updating, prefer updating only to next patch version.
|
46
46
|
|
47
|
-
|
47
|
+
--minor
|
48
48
|
If updating, prefer updating only to next minor version.
|
49
49
|
|
50
|
-
|
50
|
+
--major
|
51
51
|
If updating, prefer updating to next major version (default).
|
52
52
|
|
53
|
-
|
54
|
-
If
|
53
|
+
--strict
|
54
|
+
If updating, do not allow any gem to be updated past latest
|
55
55
|
--patch | --minor | --major.
|
56
56
|
|
57
|
-
|
57
|
+
--conservative
|
58
58
|
If updating, use bundle install conservative update behavior and
|
59
59
|
do not allow shared dependencies to be updated.
|
60
60
|
|
61
|
-
|
62
|
-
If
|
63
|
-
bundler
|
64
|
-
dependencies
|
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
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
|
70
|
-
|
69
|
+
the rest of the gems that you specified locked to the versions in the
|
70
|
+
Gemfile.lock.
|
71
71
|
|
72
|
-
For
|
73
|
-
|
72
|
+
For instance, you only want to update nokogiri, run bundle lock
|
73
|
+
--update nokogiri.
|
74
74
|
|
75
|
-
Bundler will update
|
76
|
-
rest
|
77
|
-
|
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
78
|
|
79
|
-
|
80
|
-
If
|
81
|
-
running locally, you can run
|
82
|
-
PLATFORM
|
83
|
-
new
|
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
84
|
that matches PLATFORM handy to install those platform-specific gems on.
|
85
85
|
|
86
|
-
For a full explanation of gem platforms, see
|
86
|
+
For a full explanation of gem platforms, see gem help platform.
|
87
87
|
|
88
|
-
|
88
|
+
PATCH LEVEL OPTIONS
|
89
89
|
See [bundle update(1)][bundle-update] for details.
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
|
93
|
+
February 2017 BUNDLE-LOCK(1)
|
data/man/bundle-open.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\-OPEN" "1" "
|
4
|
+
.TH "BUNDLE\-OPEN" "1" "February 2017" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
|
data/man/bundle-open.1.txt
CHANGED
@@ -2,16 +2,16 @@ BUNDLE-OPEN(1) BUNDLE-OPEN(1)
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
NAME
|
6
|
+
bundle-open - Opens the source directory for a gem in your bundle
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
SYNOPSIS
|
9
|
+
bundle open [GEM]
|
10
10
|
|
11
|
-
|
11
|
+
DESCRIPTION
|
12
12
|
Opens the source directory of the provided GEM in your editor.
|
13
13
|
|
14
|
-
For this to work the
|
14
|
+
For this to work the EDITOR or BUNDLER_EDITOR environment variable has
|
15
15
|
to be set.
|
16
16
|
|
17
17
|
Example:
|
@@ -26,4 +26,4 @@ BUNDLE-OPEN(1) BUNDLE-OPEN(1)
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
|
29
|
+
February 2017 BUNDLE-OPEN(1)
|
data/man/bundle-outdated.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\-OUTDATED" "1" "
|
4
|
+
.TH "BUNDLE\-OUTDATED" "1" "July 2017" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-outdated\fR \- List installed gems with newer versions available
|
data/man/bundle-outdated.1.txt
CHANGED
@@ -2,76 +2,76 @@ BUNDLE-OUTDATED(1) BUNDLE-OUTDATED(1)
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
NAME
|
6
|
+
bundle-outdated - List installed gems with newer versions available
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
SYNOPSIS
|
9
|
+
bundle outdated [GEM] [--local] [--pre] [--source] [--strict]
|
10
10
|
[--parseable | --porcelain] [--group=GROUP] [--groups]
|
11
11
|
[--update-strict] [--patch|--minor|--major] [--filter-major] [--fil-
|
12
12
|
ter-minor] [--filter-patch]
|
13
13
|
|
14
|
-
|
14
|
+
DESCRIPTION
|
15
15
|
Outdated lists the names and versions of gems that have a newer version
|
16
16
|
available in the given source. Calling outdated with [GEM [GEM]] will
|
17
17
|
only check for newer versions of the given gems. Prerelease gems are
|
18
18
|
ignored by default. If your gems are up to date, Bundler will exit with
|
19
19
|
a status of 0. Otherwise, it will exit 1.
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
OPTIONS
|
22
|
+
--local
|
23
23
|
Do not attempt to fetch gems remotely and use the gem cache
|
24
24
|
instead.
|
25
25
|
|
26
|
-
|
26
|
+
--pre Check for newer pre-release gems.
|
27
27
|
|
28
|
-
|
28
|
+
--source
|
29
29
|
Check against a specific source.
|
30
30
|
|
31
|
-
|
31
|
+
--strict
|
32
32
|
Only list newer versions allowed by your Gemfile requirements.
|
33
33
|
|
34
|
-
|
34
|
+
--parseable, --porcelain
|
35
35
|
Use minimal formatting for more parseable output.
|
36
36
|
|
37
|
-
|
37
|
+
--group
|
38
38
|
List gems from a specific group.
|
39
39
|
|
40
|
-
|
40
|
+
--groups
|
41
41
|
List gems organized by groups.
|
42
42
|
|
43
|
-
|
43
|
+
--update-strict
|
44
44
|
Strict conservative resolution, do not allow any gem to be
|
45
45
|
updated past latest --patch | --minor| --major.
|
46
46
|
|
47
|
-
|
47
|
+
--minor
|
48
48
|
Prefer updating only to next minor version.
|
49
49
|
|
50
|
-
|
50
|
+
--major
|
51
51
|
Prefer updating to next major version (default).
|
52
52
|
|
53
|
-
|
53
|
+
--patch
|
54
54
|
Prefer updating only to next patch version.
|
55
55
|
|
56
|
-
|
56
|
+
--filter-major
|
57
57
|
Only list major newer versions.
|
58
58
|
|
59
|
-
|
59
|
+
--filter-minor
|
60
60
|
Only list minor newer versions.
|
61
61
|
|
62
|
-
|
62
|
+
--filter-patch
|
63
63
|
Only list patch newer versions.
|
64
64
|
|
65
|
-
|
65
|
+
PATCH LEVEL OPTIONS
|
66
66
|
See [bundle update(1)][bundle-update] for details.
|
67
67
|
|
68
|
-
One difference between the patch level options in
|
69
|
-
here is the
|
70
|
-
before the patch level options were added.
|
71
|
-
the
|
72
|
-
|
68
|
+
One difference between the patch level options in bundle update and
|
69
|
+
here is the --strict option. --strict was already an option on outdated
|
70
|
+
before the patch level options were added. --strict wasn't altered, and
|
71
|
+
the --update-strict option on outdated reflects what --strict does on
|
72
|
+
bundle update.
|
73
73
|
|
74
|
-
|
74
|
+
FILTERING OUTPUT
|
75
75
|
The 3 filtering options do not affect the resolution of versions,
|
76
76
|
merely what versions are shown in the output.
|
77
77
|
|
@@ -85,7 +85,7 @@ BUNDLE-OUTDATED(1) BUNDLE-OUTDATED(1)
|
|
85
85
|
|
86
86
|
|
87
87
|
|
88
|
-
|
88
|
+
--filter-major would only show:
|
89
89
|
|
90
90
|
|
91
91
|
|
@@ -93,7 +93,7 @@ BUNDLE-OUTDATED(1) BUNDLE-OUTDATED(1)
|
|
93
93
|
|
94
94
|
|
95
95
|
|
96
|
-
|
96
|
+
--filter-minor would only show:
|
97
97
|
|
98
98
|
|
99
99
|
|
@@ -101,7 +101,7 @@ BUNDLE-OUTDATED(1) BUNDLE-OUTDATED(1)
|
|
101
101
|
|
102
102
|
|
103
103
|
|
104
|
-
|
104
|
+
--filter-patch would only show:
|
105
105
|
|
106
106
|
|
107
107
|
|
@@ -109,7 +109,7 @@ BUNDLE-OUTDATED(1) BUNDLE-OUTDATED(1)
|
|
109
109
|
|
110
110
|
|
111
111
|
|
112
|
-
Filter options can be combined.
|
112
|
+
Filter options can be combined. --filter-minor and --filter-patch would
|
113
113
|
show:
|
114
114
|
|
115
115
|
|
@@ -119,9 +119,9 @@ BUNDLE-OUTDATED(1) BUNDLE-OUTDATED(1)
|
|
119
119
|
|
120
120
|
|
121
121
|
|
122
|
-
Combining all three
|
122
|
+
Combining all three filter options would be the same result as provid-
|
123
123
|
ing none of them.
|
124
124
|
|
125
125
|
|
126
126
|
|
127
|
-
|
127
|
+
July 2017 BUNDLE-OUTDATED(1)
|
data/man/bundle-package.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\-PACKAGE" "1" "
|
4
|
+
.TH "BUNDLE\-PACKAGE" "1" "September 2017" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-package\fR \- Package your needed \fB\.gem\fR files into your application
|
data/man/bundle-package.1.txt
CHANGED
@@ -2,36 +2,36 @@ BUNDLE-PACKAGE(1) BUNDLE-PACKAGE(1)
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
NAME
|
6
|
+
bundle-package - Package your needed .gem files into your application
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
SYNOPSIS
|
9
|
+
bundle package
|
10
10
|
|
11
|
-
|
12
|
-
Copy all of the
|
13
|
-
|
11
|
+
DESCRIPTION
|
12
|
+
Copy all of the .gem files needed to run the application into the ven-
|
13
|
+
dor/cache directory. In the future, when running [bundle
|
14
14
|
install(1)][bundle-install], use the gems in the cache in preference to
|
15
|
-
the ones on
|
15
|
+
the ones on rubygems.org.
|
16
16
|
|
17
|
-
|
18
|
-
Since Bundler 1.2, the
|
19
|
-
|
20
|
-
enabled via the
|
17
|
+
GIT AND PATH GEMS
|
18
|
+
Since Bundler 1.2, the bundle package command can also package :git and
|
19
|
+
:path dependencies besides .gem files. This needs to be explicitly
|
20
|
+
enabled via the --all option. Once used, the --all option will be
|
21
21
|
remembered.
|
22
22
|
|
23
|
-
|
23
|
+
SUPPORT FOR MULTIPLE PLATFORMS
|
24
24
|
When using gems that have different packages for different platforms,
|
25
25
|
Bundler 1.8 and newer support caching of gems for other platforms where
|
26
|
-
the Gemfile has been resolved (i.e. present in the lockfile) in
|
27
|
-
|
26
|
+
the Gemfile has been resolved (i.e. present in the lockfile) in ven-
|
27
|
+
dor/cache. This needs to be enabled via the --all-platforms option.
|
28
28
|
This setting will be remembered in your local bundler configuration.
|
29
29
|
|
30
|
-
|
30
|
+
REMOTE FETCHING
|
31
31
|
By default, if you run [bundle install(1)][bundle-install] after run-
|
32
32
|
ning [bundle package(1)][bundle-package], bundler will still connect to
|
33
|
-
|
34
|
-
the gems in
|
33
|
+
rubygems.org to check whether a platform-specific gem exists for any of
|
34
|
+
the gems in vendor/cache.
|
35
35
|
|
36
36
|
For instance, consider this Gemfile(5):
|
37
37
|
|
@@ -43,37 +43,37 @@ BUNDLE-PACKAGE(1) BUNDLE-PACKAGE(1)
|
|
43
43
|
|
44
44
|
|
45
45
|
|
46
|
-
If you run
|
47
|
-
sion of
|
48
|
-
run
|
49
|
-
platformed
|
46
|
+
If you run bundle package under C Ruby, bundler will retrieve the ver-
|
47
|
+
sion of nokogiri for the "ruby" platform. If you deploy to JRuby and
|
48
|
+
run bundle install, bundler is forced to check to see whether a "java"
|
49
|
+
platformed nokogiri exists.
|
50
50
|
|
51
|
-
Even though the
|
51
|
+
Even though the nokogiri gem for the Ruby platform is technically
|
52
52
|
acceptable on JRuby, it has a C extension that does not run on JRuby.
|
53
|
-
As a result, bundler will, by default, still connect to
|
53
|
+
As a result, bundler will, by default, still connect to rubygems.org to
|
54
54
|
check whether it has a version of one of your gems more specific to
|
55
55
|
your platform.
|
56
56
|
|
57
|
-
This problem is also not limited to the
|
57
|
+
This problem is also not limited to the "java" platform. A similar
|
58
58
|
(common) problem can happen when developing on Windows and deploying to
|
59
59
|
Linux, or even when developing on OSX and deploying to Linux.
|
60
60
|
|
61
|
-
If you know for sure that the gems packaged in
|
62
|
-
priate for the platform you are on, you can run
|
63
|
-
to skip checking for more appropriate gems, and use the ones in
|
64
|
-
|
61
|
+
If you know for sure that the gems packaged in vendor/cache are appro-
|
62
|
+
priate for the platform you are on, you can run bundle install --local
|
63
|
+
to skip checking for more appropriate gems, and use the ones in ven-
|
64
|
+
dor/cache.
|
65
65
|
|
66
66
|
One way to be sure that you have the right platformed versions of all
|
67
|
-
your gems is to run
|
68
|
-
the gems. For instance, you can run
|
69
|
-
staging box during your staging process, and check in the
|
67
|
+
your gems is to run bundle package on an identical machine and check in
|
68
|
+
the gems. For instance, you can run bundle package on an identical
|
69
|
+
staging box during your staging process, and check in the vendor/cache
|
70
70
|
before deploying to production.
|
71
71
|
|
72
72
|
By default, [bundle package(1)][bundle-package] fetches and also
|
73
73
|
installs the gems to the default location. To package the dependencies
|
74
|
-
to
|
75
|
-
you can run
|
74
|
+
to vendor/cache without installing them to the local install location,
|
75
|
+
you can run bundle package --no-install.
|
76
76
|
|
77
77
|
|
78
78
|
|
79
|
-
|
79
|
+
September 2017 BUNDLE-PACKAGE(1)
|