bundler 1.16.6 → 1.17.0.pre.1

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

Potentially problematic release.


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

Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -18
  3. data/README.md +1 -1
  4. data/bundler.gemspec +1 -1
  5. data/lib/bundler.rb +2 -2
  6. data/lib/bundler/build_metadata.rb +2 -2
  7. data/lib/bundler/cli.rb +32 -18
  8. data/lib/bundler/cli/add.rb +15 -5
  9. data/lib/bundler/cli/doctor.rb +47 -1
  10. data/lib/bundler/cli/install.rb +8 -5
  11. data/lib/bundler/cli/list.rb +41 -5
  12. data/lib/bundler/cli/outdated.rb +7 -1
  13. data/lib/bundler/cli/pristine.rb +4 -0
  14. data/lib/bundler/definition.rb +28 -34
  15. data/lib/bundler/endpoint_specification.rb +1 -1
  16. data/lib/bundler/env.rb +6 -8
  17. data/lib/bundler/feature_flag.rb +5 -0
  18. data/lib/bundler/fetcher.rb +1 -1
  19. data/lib/bundler/gem_helper.rb +1 -1
  20. data/lib/bundler/gem_version_promoter.rb +4 -2
  21. data/lib/bundler/injector.rb +14 -3
  22. data/lib/bundler/installer.rb +29 -6
  23. data/lib/bundler/installer/gem_installer.rb +1 -1
  24. data/lib/bundler/installer/parallel_installer.rb +6 -1
  25. data/lib/bundler/mirror.rb +2 -2
  26. data/lib/bundler/plugin.rb +9 -2
  27. data/lib/bundler/plugin/events.rb +61 -0
  28. data/lib/bundler/plugin/index.rb +1 -1
  29. data/lib/bundler/resolver.rb +2 -2
  30. data/lib/bundler/resolver/spec_group.rb +4 -0
  31. data/lib/bundler/runtime.rb +9 -3
  32. data/lib/bundler/settings.rb +23 -2
  33. data/lib/bundler/settings/validator.rb +23 -0
  34. data/lib/bundler/source.rb +9 -9
  35. data/lib/bundler/source/metadata.rb +1 -1
  36. data/lib/bundler/templates/newgem/lib/newgem.rb.tt +1 -0
  37. data/lib/bundler/templates/newgem/newgem.gemspec.tt +0 -4
  38. data/lib/bundler/version.rb +1 -1
  39. data/man/bundle-add.1 +18 -3
  40. data/man/bundle-add.1.txt +17 -5
  41. data/man/bundle-add.ronn +13 -2
  42. data/man/bundle-binstubs.1 +1 -1
  43. data/man/bundle-binstubs.1.txt +1 -1
  44. data/man/bundle-check.1 +1 -1
  45. data/man/bundle-check.1.txt +1 -1
  46. data/man/bundle-clean.1 +1 -1
  47. data/man/bundle-clean.1.txt +1 -1
  48. data/man/bundle-config.1 +10 -1
  49. data/man/bundle-config.1.txt +22 -10
  50. data/man/bundle-config.ronn +7 -0
  51. data/man/bundle-doctor.1 +1 -1
  52. data/man/bundle-doctor.1.txt +1 -1
  53. data/man/bundle-exec.1 +1 -1
  54. data/man/bundle-exec.1.txt +1 -1
  55. data/man/bundle-gem.1 +1 -1
  56. data/man/bundle-gem.1.txt +1 -1
  57. data/man/bundle-info.1 +1 -1
  58. data/man/bundle-info.1.txt +1 -1
  59. data/man/bundle-init.1 +1 -1
  60. data/man/bundle-init.1.txt +1 -1
  61. data/man/bundle-inject.1 +1 -1
  62. data/man/bundle-inject.1.txt +1 -1
  63. data/man/bundle-install.1 +2 -5
  64. data/man/bundle-install.1.txt +7 -17
  65. data/man/bundle-install.ronn +2 -11
  66. data/man/bundle-list.1 +32 -2
  67. data/man/bundle-list.1.txt +24 -2
  68. data/man/bundle-list.ronn +19 -1
  69. data/man/bundle-lock.1 +1 -1
  70. data/man/bundle-lock.1.txt +1 -1
  71. data/man/bundle-open.1 +1 -1
  72. data/man/bundle-open.1.txt +1 -1
  73. data/man/bundle-outdated.1 +6 -2
  74. data/man/bundle-outdated.1.txt +10 -6
  75. data/man/bundle-outdated.ronn +4 -0
  76. data/man/bundle-package.1 +1 -1
  77. data/man/bundle-package.1.txt +1 -1
  78. data/man/bundle-platform.1 +1 -1
  79. data/man/bundle-platform.1.txt +1 -1
  80. data/man/bundle-pristine.1 +1 -1
  81. data/man/bundle-pristine.1.txt +1 -1
  82. data/man/bundle-show.1 +1 -1
  83. data/man/bundle-show.1.txt +1 -1
  84. data/man/bundle-update.1 +6 -10
  85. data/man/bundle-update.1.txt +14 -16
  86. data/man/bundle-update.ronn +6 -10
  87. data/man/bundle-viz.1 +1 -1
  88. data/man/bundle-viz.1.txt +1 -1
  89. data/man/bundle.1 +1 -1
  90. data/man/bundle.1.txt +1 -1
  91. data/man/gemfile.5 +1 -1
  92. data/man/gemfile.5.txt +1 -1
  93. metadata +3 -3
@@ -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" "October 2018" "" ""
4
+ .TH "BUNDLE\-PACKAGE" "1" "September 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-package\fR \- Package your needed \fB\.gem\fR files into your application
@@ -76,4 +76,4 @@ REMOTE FETCHING
76
76
 
77
77
 
78
78
 
79
- October 2018 BUNDLE-PACKAGE(1)
79
+ September 2018 BUNDLE-PACKAGE(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" "September 2018" "" ""
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
+ September 2018 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" "September 2018" "" ""
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
+ September 2018 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\-SHOW" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-SHOW" "1" "September 2018" "" ""
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
+ September 2018 BUNDLE-SHOW(1)
@@ -1,16 +1,16 @@
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" "October 2018" "" ""
4
+ .TH "BUNDLE\-UPDATE" "1" "September 2018" "" ""
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 [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-jobs=JOBS] [\-\-quiet] [\-\-force] [\-\-patch|\-\-minor|\-\-major] [\-\-strict] [\-\-conservative]
11
11
  .
12
12
  .SH "DESCRIPTION"
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\.
13
+ Update the gems specified (all gems, if none are specified), 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\.
14
14
  .
15
15
  .P
16
16
  You would use \fBbundle update\fR to explicitly update the version of a gem\.
@@ -18,10 +18,6 @@ You would use \fBbundle update\fR to explicitly update the version of a gem\.
18
18
  .SH "OPTIONS"
19
19
  .
20
20
  .TP
21
- \fB\-\-all\fR
22
- Update all gems specified in Gemfile\.
23
- .
24
- .TP
25
21
  \fB\-\-group=<name>\fR, \fB\-g=[<name>]\fR
26
22
  Only update the gems in the specified group\. For instance, you can update all gems in the development group with \fBbundle update \-\-group development\fR\. You can also call \fBbundle update rails \-\-group test\fR to update the rails gem and all gems in the test group, for example\.
27
23
  .
@@ -82,7 +78,7 @@ Do not allow any gem to be updated past latest \fB\-\-patch\fR | \fB\-\-minor\fR
82
78
  Use bundle install conservative update behavior and do not allow shared dependencies to be updated\.
83
79
  .
84
80
  .SH "UPDATING ALL GEMS"
85
- If you run \fBbundle update \-\-all\fR, bundler will ignore any previously installed gems and resolve all dependencies again based on the latest versions of all gems available in the sources\.
81
+ If you run \fBbundle update\fR with no parameters, bundler will ignore any previously installed gems and resolve all dependencies again based on the latest versions of all gems available in the sources\.
86
82
  .
87
83
  .P
88
84
  Consider the following Gemfile(5):
@@ -153,7 +149,7 @@ After checking in the \fBGemfile\.lock\fR into version control and cloning it on
153
149
  However, from time to time, you might want to update the gems you are using to the newest versions that still match the gems in your Gemfile(5)\.
154
150
  .
155
151
  .P
156
- To do this, run \fBbundle update \-\-all\fR, which will ignore the \fBGemfile\.lock\fR, and resolve all the dependencies again\. Keep in mind that this process can result in a significantly different set of the 25 gems, based on the requirements of new gems that the gem authors released since the last time you ran \fBbundle update \-\-all\fR\.
152
+ To do this, run \fBbundle update\fR, which will ignore the \fBGemfile\.lock\fR, and resolve all the dependencies again\. Keep in mind that this process can result in a significantly different set of the 25 gems, based on the requirements of new gems that the gem authors released since the last time you ran \fBbundle update\fR\.
157
153
  .
158
154
  .SH "UPDATING A LIST OF GEMS"
159
155
  Sometimes, you want to update a single gem in the Gemfile(5), and leave the rest of the gems that you specified locked to the versions in the \fBGemfile\.lock\fR\.
@@ -388,7 +384,7 @@ $ bundle update rails thin
388
384
  If you want to update all the gems to the latest possible versions that still match the gems listed in the Gemfile(5), run
389
385
  .
390
386
  .IP
391
- $ bundle update \-\-all
387
+ $ bundle update
392
388
  .
393
389
  .IP "" 0
394
390
 
@@ -6,12 +6,12 @@ NAME
6
6
  bundle-update - Update your gems to the latest available versions
7
7
 
8
8
  SYNOPSIS
9
- bundle update *gems [--all] [--group=NAME] [--source=NAME] [--local]
10
- [--ruby] [--bundler[=VERSION]] [--full-index] [--jobs=JOBS] [--quiet]
11
- [--force] [--patch|--minor|--major] [--strict] [--conservative]
9
+ bundle update *gems [--group=NAME] [--source=NAME] [--local] [--ruby]
10
+ [--bundler[=VERSION]] [--full-index] [--jobs=JOBS] [--quiet] [--force]
11
+ [--patch|--minor|--major] [--strict] [--conservative]
12
12
 
13
13
  DESCRIPTION
14
- Update the gems specified (all gems, if --all flag is used), ignoring
14
+ Update the gems specified (all gems, if none are specified), ignoring
15
15
  the previously installed gems specified in the Gemfile.lock. In gen-
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.
@@ -19,8 +19,6 @@ DESCRIPTION
19
19
  You would use bundle update to explicitly update the version of a gem.
20
20
 
21
21
  OPTIONS
22
- --all Update all gems specified in Gemfile.
23
-
24
22
  --group=<name>, -g=[<name>]
25
23
  Only update the gems in the specified group. For instance, you
26
24
  can update all gems in the development group with bundle update
@@ -78,9 +76,9 @@ OPTIONS
78
76
  shared dependencies to be updated.
79
77
 
80
78
  UPDATING ALL GEMS
81
- If you run bundle update --all, bundler will ignore any previously
82
- installed gems and resolve all dependencies again based on the latest
83
- versions of all gems available in the sources.
79
+ If you run bundle update with no parameters, bundler will ignore any
80
+ previously installed gems and resolve all dependencies again based on
81
+ the latest versions of all gems available in the sources.
84
82
 
85
83
  Consider the following Gemfile(5):
86
84
 
@@ -149,11 +147,11 @@ UPDATING ALL GEMS
149
147
  using to the newest versions that still match the gems in your Gem-
150
148
  file(5).
151
149
 
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
156
- released since the last time you ran bundle update --all.
150
+ To do this, run bundle update, which will ignore the Gemfile.lock, and
151
+ resolve all the dependencies again. Keep in mind that this process can
152
+ result in a significantly different set of the 25 gems, based on the
153
+ requirements of new gems that the gem authors released since the last
154
+ time you ran bundle update.
157
155
 
158
156
  UPDATING A LIST OF GEMS
159
157
  Sometimes, you want to update a single gem in the Gemfile(5), and leave
@@ -380,11 +378,11 @@ RECOMMENDED WORKFLOW
380
378
  o If you want to update all the gems to the latest possible versions
381
379
  that still match the gems listed in the Gemfile(5), run
382
380
 
383
- $ bundle update --all
381
+ $ bundle update
384
382
 
385
383
 
386
384
 
387
385
 
388
386
 
389
387
 
390
- October 2018 BUNDLE-UPDATE(1)
388
+ September 2018 BUNDLE-UPDATE(1)
@@ -3,8 +3,7 @@ bundle-update(1) -- Update your gems to the latest available versions
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle update` <*gems> [--all]
7
- [--group=NAME]
6
+ `bundle update` <*gems> [--group=NAME]
8
7
  [--source=NAME]
9
8
  [--local]
10
9
  [--ruby]
@@ -19,7 +18,7 @@ bundle-update(1) -- Update your gems to the latest available versions
19
18
 
20
19
  ## DESCRIPTION
21
20
 
22
- Update the gems specified (all gems, if `--all` flag is used), ignoring
21
+ Update the gems specified (all gems, if none are specified), ignoring
23
22
  the previously installed gems specified in the `Gemfile.lock`. In
24
23
  general, you should use [bundle install(1)](bundle-install.1.html) to install the same exact
25
24
  gems and versions across machines.
@@ -29,9 +28,6 @@ gem.
29
28
 
30
29
  ## OPTIONS
31
30
 
32
- * `--all`:
33
- Update all gems specified in Gemfile.
34
-
35
31
  * `--group=<name>`, `-g=[<name>]`:
36
32
  Only update the gems in the specified group. For instance, you can update all gems
37
33
  in the development group with `bundle update --group development`. You can also
@@ -84,7 +80,7 @@ gem.
84
80
 
85
81
  ## UPDATING ALL GEMS
86
82
 
87
- If you run `bundle update --all`, bundler will ignore
83
+ If you run `bundle update` with no parameters, bundler will ignore
88
84
  any previously installed gems and resolve all dependencies again
89
85
  based on the latest versions of all gems available in the sources.
90
86
 
@@ -143,10 +139,10 @@ the gems you use.
143
139
  However, from time to time, you might want to update the gems you are using to the
144
140
  newest versions that still match the gems in your Gemfile(5).
145
141
 
146
- To do this, run `bundle update --all`, which will ignore the `Gemfile.lock`, and resolve
142
+ To do this, run `bundle update`, which will ignore the `Gemfile.lock`, and resolve
147
143
  all the dependencies again. Keep in mind that this process can result in a significantly
148
144
  different set of the 25 gems, based on the requirements of new gems that the gem
149
- authors released since the last time you ran `bundle update --all`.
145
+ authors released since the last time you ran `bundle update`.
150
146
 
151
147
  ## UPDATING A LIST OF GEMS
152
148
 
@@ -347,4 +343,4 @@ use the following workflow:
347
343
  * If you want to update all the gems to the latest possible versions that
348
344
  still match the gems listed in the Gemfile(5), run
349
345
 
350
- $ bundle update --all
346
+ $ bundle update
@@ -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" "October 2018" "" ""
4
+ .TH "BUNDLE\-VIZ" "1" "September 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
@@ -36,4 +36,4 @@ OPTIONS
36
36
 
37
37
 
38
38
 
39
- October 2018 BUNDLE-VIZ(1)
39
+ September 2018 BUNDLE-VIZ(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" "1" "October 2018" "" ""
4
+ .TH "BUNDLE" "1" "September 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\fR \- Ruby Dependency Management
@@ -110,4 +110,4 @@ OBSOLETE
110
110
 
111
111
 
112
112
 
113
- October 2018 BUNDLE(1)
113
+ September 2018 BUNDLE(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 "GEMFILE" "5" "October 2018" "" ""
4
+ .TH "GEMFILE" "5" "September 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBGemfile\fR \- A format for describing gem dependencies for Ruby programs
@@ -650,4 +650,4 @@ SOURCE PRIORITY
650
650
 
651
651
 
652
652
 
653
- October 2018 GEMFILE(5)
653
+ September 2018 GEMFILE(5)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.6
4
+ version: 1.17.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -10,7 +10,6 @@ authors:
10
10
  - Hiroshi Shibata
11
11
  - David Rodríguez
12
12
  - Grey Baker
13
- - Stephanie Morillo
14
13
  - Chris Morris
15
14
  - James Wen
16
15
  - Tim Moore
@@ -22,7 +21,7 @@ authors:
22
21
  autorequire:
23
22
  bindir: exe
24
23
  cert_chain: []
25
- date: 2018-10-05 00:00:00.000000000 Z
24
+ date: 2018-09-23 00:00:00.000000000 Z
26
25
  dependencies:
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: automatiek
@@ -203,6 +202,7 @@ files:
203
202
  - lib/bundler/plugin/api.rb
204
203
  - lib/bundler/plugin/api/source.rb
205
204
  - lib/bundler/plugin/dsl.rb
205
+ - lib/bundler/plugin/events.rb
206
206
  - lib/bundler/plugin/index.rb
207
207
  - lib/bundler/plugin/installer.rb
208
208
  - lib/bundler/plugin/installer/git.rb