bundler 1.15.2 → 1.17.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 (286) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +302 -0
  3. data/README.md +17 -8
  4. data/bundler.gemspec +25 -9
  5. data/exe/bundle +1 -1
  6. data/exe/bundle_ruby +4 -3
  7. data/lib/bundler/build_metadata.rb +53 -0
  8. data/lib/bundler/capistrano.rb +5 -0
  9. data/lib/bundler/cli/add.rb +15 -6
  10. data/lib/bundler/cli/binstubs.rb +17 -9
  11. data/lib/bundler/cli/cache.rb +5 -4
  12. data/lib/bundler/cli/check.rb +3 -5
  13. data/lib/bundler/cli/clean.rb +5 -6
  14. data/lib/bundler/cli/common.rb +11 -2
  15. data/lib/bundler/cli/config.rb +2 -1
  16. data/lib/bundler/cli/console.rb +2 -1
  17. data/lib/bundler/cli/doctor.rb +48 -1
  18. data/lib/bundler/cli/exec.rb +6 -5
  19. data/lib/bundler/cli/gem.rb +13 -8
  20. data/lib/bundler/cli/info.rb +0 -1
  21. data/lib/bundler/cli/init.rb +18 -6
  22. data/lib/bundler/cli/inject.rb +1 -0
  23. data/lib/bundler/cli/install.rb +64 -61
  24. data/lib/bundler/cli/issue.rb +1 -1
  25. data/lib/bundler/cli/list.rb +58 -0
  26. data/lib/bundler/cli/lock.rb +0 -1
  27. data/lib/bundler/cli/open.rb +2 -2
  28. data/lib/bundler/cli/outdated.rb +20 -9
  29. data/lib/bundler/cli/package.rb +9 -6
  30. data/lib/bundler/cli/platform.rb +1 -0
  31. data/lib/bundler/cli/plugin.rb +1 -0
  32. data/lib/bundler/cli/pristine.rb +20 -6
  33. data/lib/bundler/cli/remove.rb +18 -0
  34. data/lib/bundler/cli/show.rb +0 -1
  35. data/lib/bundler/cli/update.rb +35 -7
  36. data/lib/bundler/cli/viz.rb +1 -0
  37. data/lib/bundler/cli.rb +227 -89
  38. data/lib/bundler/compact_index_client/cache.rb +1 -2
  39. data/lib/bundler/compact_index_client/updater.rb +14 -4
  40. data/lib/bundler/compact_index_client.rb +1 -0
  41. data/lib/bundler/compatibility_guard.rb +14 -0
  42. data/lib/bundler/constants.rb +1 -0
  43. data/lib/bundler/current_ruby.rb +13 -5
  44. data/lib/bundler/definition.rb +192 -139
  45. data/lib/bundler/dep_proxy.rb +3 -1
  46. data/lib/bundler/dependency.rb +9 -9
  47. data/lib/bundler/deployment.rb +1 -1
  48. data/lib/bundler/deprecate.rb +15 -3
  49. data/lib/bundler/dsl.rb +115 -64
  50. data/lib/bundler/endpoint_specification.rb +10 -1
  51. data/lib/bundler/env.rb +90 -29
  52. data/lib/bundler/environment_preserver.rb +27 -6
  53. data/lib/bundler/errors.rb +1 -0
  54. data/lib/bundler/feature_flag.rb +46 -4
  55. data/lib/bundler/fetcher/base.rb +1 -0
  56. data/lib/bundler/fetcher/compact_index.rb +2 -11
  57. data/lib/bundler/fetcher/dependency.rb +2 -1
  58. data/lib/bundler/fetcher/downloader.rb +11 -5
  59. data/lib/bundler/fetcher/index.rb +3 -2
  60. data/lib/bundler/fetcher.rb +18 -11
  61. data/lib/bundler/friendly_errors.rb +6 -1
  62. data/lib/bundler/gem_helper.rb +19 -10
  63. data/lib/bundler/gem_helpers.rb +1 -0
  64. data/lib/bundler/gem_remote_fetcher.rb +1 -0
  65. data/lib/bundler/gem_tasks.rb +1 -0
  66. data/lib/bundler/gem_version_promoter.rb +17 -2
  67. data/lib/bundler/gemdeps.rb +1 -0
  68. data/lib/bundler/graph.rb +1 -0
  69. data/lib/bundler/index.rb +8 -8
  70. data/lib/bundler/injector.rb +192 -30
  71. data/lib/bundler/inline.rb +5 -7
  72. data/lib/bundler/installer/gem_installer.rb +11 -2
  73. data/lib/bundler/installer/parallel_installer.rb +78 -42
  74. data/lib/bundler/installer/standalone.rb +1 -0
  75. data/lib/bundler/installer.rb +138 -53
  76. data/lib/bundler/lazy_specification.rb +3 -2
  77. data/lib/bundler/lockfile_generator.rb +95 -0
  78. data/lib/bundler/lockfile_parser.rb +10 -4
  79. data/lib/bundler/match_platform.rb +1 -0
  80. data/lib/bundler/mirror.rb +8 -5
  81. data/lib/bundler/plugin/api/source.rb +9 -2
  82. data/lib/bundler/plugin/events.rb +61 -0
  83. data/lib/bundler/plugin/index.rb +7 -2
  84. data/lib/bundler/plugin/installer.rb +7 -6
  85. data/lib/bundler/plugin/source_list.rb +7 -8
  86. data/lib/bundler/plugin.rb +13 -5
  87. data/lib/bundler/process_lock.rb +24 -0
  88. data/lib/bundler/psyched_yaml.rb +10 -0
  89. data/lib/bundler/remote_specification.rb +1 -0
  90. data/lib/bundler/resolver/spec_group.rb +106 -0
  91. data/lib/bundler/resolver.rb +158 -195
  92. data/lib/bundler/retry.rb +1 -0
  93. data/lib/bundler/ruby_dsl.rb +1 -0
  94. data/lib/bundler/ruby_version.rb +2 -1
  95. data/lib/bundler/rubygems_ext.rb +5 -4
  96. data/lib/bundler/rubygems_gem_installer.rb +31 -1
  97. data/lib/bundler/rubygems_integration.rb +71 -32
  98. data/lib/bundler/runtime.rb +11 -9
  99. data/lib/bundler/settings/validator.rb +102 -0
  100. data/lib/bundler/settings.rb +200 -77
  101. data/lib/bundler/setup.rb +1 -0
  102. data/lib/bundler/shared_helpers.rb +131 -26
  103. data/lib/bundler/similarity_detector.rb +1 -0
  104. data/lib/bundler/source/gemspec.rb +1 -0
  105. data/lib/bundler/source/git/git_proxy.rb +21 -11
  106. data/lib/bundler/source/git.rb +24 -19
  107. data/lib/bundler/source/metadata.rb +62 -0
  108. data/lib/bundler/source/path/installer.rb +2 -0
  109. data/lib/bundler/source/path.rb +8 -8
  110. data/lib/bundler/source/rubygems/remote.rb +8 -2
  111. data/lib/bundler/source/rubygems.rb +161 -84
  112. data/lib/bundler/source.rb +36 -0
  113. data/lib/bundler/source_list.rb +75 -15
  114. data/lib/bundler/spec_set.rb +10 -5
  115. data/lib/bundler/ssl_certs/certificate_manager.rb +2 -1
  116. data/lib/bundler/stub_specification.rb +1 -0
  117. data/lib/bundler/templates/.document +1 -0
  118. data/lib/bundler/templates/Executable +12 -0
  119. data/lib/bundler/templates/Executable.bundler +105 -0
  120. data/lib/bundler/templates/Gemfile +1 -0
  121. data/lib/bundler/templates/gems.rb +8 -0
  122. data/lib/bundler/templates/newgem/README.md.tt +1 -1
  123. data/lib/bundler/templates/newgem/gitignore.tt +0 -1
  124. data/lib/bundler/templates/newgem/lib/newgem.rb.tt +1 -0
  125. data/lib/bundler/templates/newgem/newgem.gemspec.tt +12 -3
  126. data/lib/bundler/templates/newgem/rspec.tt +1 -0
  127. data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -2
  128. data/lib/bundler/templates/newgem/{.travis.yml.tt → travis.yml.tt} +2 -0
  129. data/lib/bundler/ui/rg_proxy.rb +1 -0
  130. data/lib/bundler/ui/shell.rb +17 -4
  131. data/lib/bundler/ui/silent.rb +1 -0
  132. data/lib/bundler/ui.rb +1 -0
  133. data/lib/bundler/uri_credentials_filter.rb +1 -0
  134. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
  135. data/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
  136. data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +7 -0
  137. data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +1 -0
  138. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +1 -0
  139. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -0
  140. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -0
  141. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -0
  142. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -0
  143. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +1 -0
  144. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -0
  145. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -0
  146. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +15 -4
  147. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +3 -2
  148. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +75 -7
  149. data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  150. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +1 -0
  151. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +3 -1
  152. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +491 -148
  153. data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +1 -0
  154. data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +8 -4
  155. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +2 -0
  156. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1 -1
  157. data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -0
  158. data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -0
  159. data/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +9 -1
  160. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +45 -8
  161. data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +9 -3
  162. data/lib/bundler/vendor/thor/lib/thor/actions.rb +6 -3
  163. data/lib/bundler/vendor/thor/lib/thor/base.rb +27 -4
  164. data/lib/bundler/vendor/thor/lib/thor/command.rb +9 -7
  165. data/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +12 -0
  166. data/lib/bundler/vendor/thor/lib/thor/group.rb +1 -1
  167. data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +2 -0
  168. data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +5 -5
  169. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +6 -5
  170. data/lib/bundler/vendor/thor/lib/thor/runner.rb +6 -4
  171. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +10 -9
  172. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  173. data/lib/bundler/vendor/thor/lib/thor.rb +25 -8
  174. data/lib/bundler/vendored_fileutils.rb +9 -0
  175. data/lib/bundler/vendored_molinillo.rb +1 -0
  176. data/lib/bundler/vendored_persistent.rb +35 -0
  177. data/lib/bundler/vendored_thor.rb +1 -0
  178. data/lib/bundler/version.rb +6 -2
  179. data/lib/bundler/version_ranges.rb +1 -0
  180. data/lib/bundler/vlad.rb +5 -0
  181. data/lib/bundler/worker.rb +1 -0
  182. data/lib/bundler/yaml_serializer.rb +3 -3
  183. data/lib/bundler.rb +86 -52
  184. data/man/bundle-add.1 +18 -3
  185. data/man/bundle-add.1.txt +26 -14
  186. data/man/bundle-add.ronn +13 -2
  187. data/man/bundle-binstubs.1 +11 -1
  188. data/man/bundle-binstubs.1.txt +33 -18
  189. data/man/bundle-binstubs.ronn +15 -1
  190. data/man/bundle-check.1 +4 -4
  191. data/man/bundle-check.1.txt +15 -14
  192. data/man/bundle-check.ronn +3 -3
  193. data/man/bundle-clean.1 +1 -1
  194. data/man/bundle-clean.1.txt +10 -10
  195. data/man/bundle-config.1 +129 -29
  196. data/man/bundle-config.1.txt +285 -174
  197. data/man/bundle-config.ronn +167 -88
  198. data/man/bundle-doctor.1 +44 -0
  199. data/man/bundle-doctor.1.txt +44 -0
  200. data/man/bundle-doctor.ronn +33 -0
  201. data/man/bundle-exec.1 +6 -3
  202. data/man/bundle-exec.1.txt +78 -71
  203. data/man/bundle-exec.ronn +10 -3
  204. data/man/bundle-gem.1 +3 -3
  205. data/man/bundle-gem.1.txt +40 -39
  206. data/man/bundle-gem.ronn +2 -1
  207. data/man/bundle-info.1 +1 -1
  208. data/man/bundle-info.1.txt +8 -8
  209. data/man/bundle-init.1 +9 -4
  210. data/man/bundle-init.1.txt +23 -13
  211. data/man/bundle-init.ronn +15 -4
  212. data/man/bundle-inject.1 +4 -4
  213. data/man/bundle-inject.1.txt +10 -10
  214. data/man/bundle-inject.ronn +3 -3
  215. data/man/bundle-install.1 +31 -28
  216. data/man/bundle-install.1.txt +205 -194
  217. data/man/bundle-install.ronn +44 -35
  218. data/man/bundle-list.1 +50 -0
  219. data/man/bundle-list.1.txt +43 -0
  220. data/man/bundle-list.ronn +33 -0
  221. data/man/bundle-lock.1 +1 -1
  222. data/man/bundle-lock.1.txt +47 -47
  223. data/man/bundle-lock.ronn +1 -1
  224. data/man/bundle-open.1 +1 -1
  225. data/man/bundle-open.1.txt +7 -7
  226. data/man/bundle-outdated.1 +7 -3
  227. data/man/bundle-outdated.1.txt +40 -36
  228. data/man/bundle-outdated.ronn +6 -2
  229. data/man/bundle-package.1 +6 -3
  230. data/man/bundle-package.1.txt +44 -39
  231. data/man/bundle-package.ronn +7 -2
  232. data/man/bundle-platform.1 +1 -1
  233. data/man/bundle-platform.1.txt +13 -13
  234. data/man/bundle-pristine.1 +21 -3
  235. data/man/bundle-pristine.1.txt +33 -10
  236. data/man/bundle-pristine.ronn +24 -3
  237. data/man/bundle-remove.1 +31 -0
  238. data/man/bundle-remove.1.txt +34 -0
  239. data/man/bundle-remove.ronn +23 -0
  240. data/man/bundle-show.1 +3 -3
  241. data/man/bundle-show.1.txt +14 -12
  242. data/man/bundle-show.ronn +3 -2
  243. data/man/bundle-update.1 +13 -9
  244. data/man/bundle-update.1.txt +133 -130
  245. data/man/bundle-update.ronn +21 -17
  246. data/man/bundle-viz.1 +7 -7
  247. data/man/bundle-viz.1.txt +17 -15
  248. data/man/bundle-viz.ronn +6 -6
  249. data/man/bundle.1 +31 -23
  250. data/man/bundle.1.txt +63 -57
  251. data/man/bundle.ronn +35 -29
  252. data/man/gemfile.5 +44 -8
  253. data/man/gemfile.5.ronn +54 -8
  254. data/man/gemfile.5.txt +218 -165
  255. data/man/index.txt +25 -15
  256. metadata +36 -36
  257. data/.codeclimate.yml +0 -25
  258. data/.gitignore +0 -18
  259. data/.rspec +0 -3
  260. data/.rubocop.yml +0 -131
  261. data/.rubocop_todo.yml +0 -418
  262. data/.travis.yml +0 -122
  263. data/CODE_OF_CONDUCT.md +0 -42
  264. data/CONTRIBUTING.md +0 -17
  265. data/Rakefile +0 -338
  266. data/bin/rake +0 -19
  267. data/bin/rspec +0 -15
  268. data/bin/rubocop +0 -17
  269. data/bin/with_rubygems +0 -39
  270. data/doc/README.md +0 -30
  271. data/doc/TROUBLESHOOTING.md +0 -64
  272. data/doc/contributing/BUG_TRIAGE.md +0 -36
  273. data/doc/contributing/COMMUNITY.md +0 -13
  274. data/doc/contributing/GETTING_HELP.md +0 -11
  275. data/doc/contributing/HOW_YOU_CAN_HELP.md +0 -27
  276. data/doc/contributing/ISSUES.md +0 -51
  277. data/doc/contributing/README.md +0 -38
  278. data/doc/development/NEW_FEATURES.md +0 -10
  279. data/doc/development/PULL_REQUESTS.md +0 -40
  280. data/doc/development/README.md +0 -19
  281. data/doc/development/RELEASING.md +0 -9
  282. data/doc/development/SETUP.md +0 -27
  283. data/doc/documentation/README.md +0 -29
  284. data/doc/documentation/VISION.md +0 -26
  285. data/doc/documentation/WRITING.md +0 -54
  286. data/task/release.rake +0 -116
@@ -5,24 +5,24 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
5
5
 
6
6
  `bundle install` [--binstubs[=DIRECTORY]]
7
7
  [--clean]
8
+ [--deployment]
9
+ [--force]
10
+ [--frozen]
8
11
  [--full-index]
9
12
  [--gemfile=GEMFILE]
10
13
  [--jobs=NUMBER]
11
14
  [--local]
12
- [--deployment]
13
- [--force]
14
- [--frozen]
15
15
  [--no-cache]
16
16
  [--no-prune]
17
17
  [--path PATH]
18
- [--system]
19
18
  [--quiet]
20
19
  [--retry=NUMBER]
21
20
  [--shebang]
22
21
  [--standalone[=GROUP[ GROUP...]]]
22
+ [--system]
23
23
  [--trust-policy=POLICY]
24
- [--without=GROUP[ GROUP...]]
25
24
  [--with=GROUP[ GROUP...]]
25
+ [--without=GROUP[ GROUP...]]
26
26
 
27
27
  ## DESCRIPTION
28
28
 
@@ -43,7 +43,7 @@ update process below under [CONSERVATIVE UPDATING][].
43
43
 
44
44
  ## OPTIONS
45
45
 
46
- To apply any of `--deployment`, `--path`, `--binstubs`, or `--without` every
46
+ To apply any of `--binstubs`, `--deployment`, `--path`, or `--without` every
47
47
  time `bundle install` is run, use `bundle config` (see bundle-config(1)).
48
48
 
49
49
  * `--binstubs[=<directory>]`:
@@ -59,10 +59,23 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
59
59
  in the current Gemfile(5). Don't worry, gems currently in use will not be
60
60
  removed.
61
61
 
62
+ * `--deployment`:
63
+ In [deployment mode][DEPLOYMENT MODE], Bundler will 'roll-out' the bundle for
64
+ production or CI use. Please check carefully if you want to have this option
65
+ enabled in your development environment.
66
+
67
+ * `--force`:
68
+ Force download every gem, even if the required versions are already available
69
+ locally. `--redownload` is an alias of this option.
70
+
71
+ * `--frozen`:
72
+ Do not allow the Gemfile.lock to be updated after this install. Exits
73
+ non-zero if there are going to be changes to the Gemfile.lock.
74
+
62
75
  * `--full-index`:
63
76
  Bundler will not call Rubygems' API endpoint (default) but download and cache
64
77
  a (currently big) index file of all gems. Performance can be improved for
65
- large bundles that seldomly change by enabling this option.
78
+ large bundles that seldom change by enabling this option.
66
79
 
67
80
  * `--gemfile=<gemfile>`:
68
81
  The location of the Gemfile(5) which Bundler should use. This defaults
@@ -71,7 +84,7 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
71
84
  root and will try to find `Gemfile.lock` and `vendor/cache` relative
72
85
  to this location.
73
86
 
74
- * `--jobs=[<number>]`:
87
+ * `--jobs=[<number>]`, `-j[<number>]`:
75
88
  The maximum number of parallel download and install jobs. The default
76
89
  is `1`.
77
90
 
@@ -81,23 +94,6 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
81
94
  appropriate platform-specific gem exists on `rubygems.org` it will not be
82
95
  found.
83
96
 
84
- * `--deployment`:
85
- In [deployment mode][DEPLOYMENT MODE], Bundler will 'roll-out' the bundle for
86
- production or CI use. Please check carefully if you want to have this option
87
- enabled in your development environment.
88
-
89
- * `--force`:
90
- Force download every gem, even if the required versions are already available
91
- locally.
92
-
93
- * `--frozen`:
94
- Do not allow the Gemfile.lock to be updated after this install. Exits
95
- non-zero if there are going to be changes to the Gemfile.lock.
96
-
97
- * `--system`:
98
- Installs the gems specified in the bundle to the system's Rubygems location.
99
- This overrides any previous configuration of `--path`.
100
-
101
97
  * `--no-cache`:
102
98
  Do not update the cache in `vendor/cache` with the newly bundled gems. This
103
99
  does not remove any gems in the cache but keeps the newly bundled gems from
@@ -134,23 +130,27 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
134
130
  in the manner required. Using this option implicitly sets `path`, which is a
135
131
  [remembered option][REMEMBERED OPTIONS].
136
132
 
133
+ * `--system`:
134
+ Installs the gems specified in the bundle to the system's Rubygems location.
135
+ This overrides any previous configuration of `--path`.
136
+
137
137
  * `--trust-policy=[<policy>]`:
138
138
  Apply the Rubygems security policy <policy>, where policy is one of
139
139
  `HighSecurity`, `MediumSecurity`, `LowSecurity`, `AlmostNoSecurity`, or
140
140
  `NoSecurity`. For more details, please see the Rubygems signing documentation
141
141
  linked below in [SEE ALSO][].
142
142
 
143
- * `--without=<list>`:
144
- A space-separated list of groups referencing gems to skip during installation.
145
- If a group is given that is in the remembered list of groups given
146
- to --with, it is removed from that list.
147
-
148
143
  * `--with=<list>`:
149
144
  A space-separated list of groups referencing gems to install. If an
150
145
  optional group is given it is installed. If a group is given that is
151
146
  in the remembered list of groups given to --without, it is removed
152
147
  from that list.
153
148
 
149
+ * `--without=<list>`:
150
+ A space-separated list of groups referencing gems to skip during installation.
151
+ If a group is given that is in the remembered list of groups given
152
+ to --with, it is removed from that list.
153
+
154
154
  ## DEPLOYMENT MODE
155
155
 
156
156
  Bundler's defaults are optimized for development. To switch to
@@ -290,12 +290,21 @@ of a dependency of a gem in your Gemfile(5)) can result in radically
290
290
  different gems being needed to satisfy all dependencies.
291
291
 
292
292
  As a result, you `SHOULD` check your `Gemfile.lock` into version
293
- control. If you do not, every machine that checks out your
294
- repository (including your production server) will resolve all
293
+ control, in both applications and gems. If you do not, every machine that
294
+ checks out your repository (including your production server) will resolve all
295
295
  dependencies again, which will result in different versions of
296
296
  third-party code being used if `any` of the gems in the Gemfile(5)
297
297
  or any of their dependencies have been updated.
298
298
 
299
+ When Bundler first shipped, the `Gemfile.lock` was included in the `.gitignore`
300
+ file included with generated gems. Over time, however, it became clear that
301
+ this practice forces the pain of broken dependencies onto new contributors,
302
+ while leaving existing contributors potentially unaware of the problem. Since
303
+ `bundle install` is usually the first step towards a contribution, the pain of
304
+ broken dependencies would discourage new contributors from contributing. As a
305
+ result, we have revised our guidance for gem authors to now recommend checking
306
+ in the lock for gems.
307
+
299
308
  ## CONSERVATIVE UPDATING
300
309
 
301
310
  When you make a change to the Gemfile(5) and then run `bundle install`,
@@ -361,9 +370,9 @@ which other gems in the Gemfile(5) still depend on, run
361
370
  `Summary`: In general, after making a change to the Gemfile(5) , you
362
371
  should first try to run `bundle install`, which will guarantee that no
363
372
  other gem in the Gemfile(5) is impacted by the change. If that
364
- does not work, run [bundle update(1)][bundle-update].
373
+ does not work, run [bundle update(1)](bundle-update.1.html).
365
374
 
366
375
  ## SEE ALSO
367
376
 
368
- * Gem install docs: http://guides.rubygems.org/rubygems-basics/#installing-gems
369
- * Rubygems signing docs: http://guides.rubygems.org/security/
377
+ * [Gem install docs](http://guides.rubygems.org/rubygems-basics/#installing-gems)
378
+ * [Rubygems signing docs](http://guides.rubygems.org/security/)
data/man/bundle-list.1 ADDED
@@ -0,0 +1,50 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-LIST" "1" "December 2018" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-list\fR \- List all the gems in the bundle
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBbundle list\fR [\-\-name\-only] [\-\-paths] [\-\-without\-group=GROUP] [\-\-only\-group=GROUP]
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Prints a list of all the gems in the bundle including their version\.
14
+ .
15
+ .P
16
+ Example:
17
+ .
18
+ .P
19
+ bundle list \-\-name\-only
20
+ .
21
+ .P
22
+ bundle list \-\-paths
23
+ .
24
+ .P
25
+ bundle list \-\-without\-group test
26
+ .
27
+ .P
28
+ bundle list \-\-only\-group dev
29
+ .
30
+ .P
31
+ bundle list \-\-only\-group dev \-\-paths
32
+ .
33
+ .SH "OPTIONS"
34
+ .
35
+ .TP
36
+ \fB\-\-name\-only\fR
37
+ Print only the name of each gem\.
38
+ .
39
+ .TP
40
+ \fB\-\-paths\fR
41
+ Print the path to each gem in the bundle\.
42
+ .
43
+ .TP
44
+ \fB\-\-without\-group\fR
45
+ Print all gems expect from a group\.
46
+ .
47
+ .TP
48
+ \fB\-\-only\-group\fR
49
+ Print gems from a particular group\.
50
+
@@ -0,0 +1,43 @@
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
+ December 2018 BUNDLE-LIST(1)
@@ -0,0 +1,33 @@
1
+ bundle-list(1) -- List all the gems in the bundle
2
+ =========================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle list` [--name-only] [--paths] [--without-group=GROUP] [--only-group=GROUP]
7
+
8
+ ## DESCRIPTION
9
+
10
+ Prints a list of all the gems in the bundle including their version.
11
+
12
+ Example:
13
+
14
+ bundle list --name-only
15
+
16
+ bundle list --paths
17
+
18
+ bundle list --without-group test
19
+
20
+ bundle list --only-group dev
21
+
22
+ bundle list --only-group dev --paths
23
+
24
+ ## OPTIONS
25
+
26
+ * `--name-only`:
27
+ Print only the name of each gem.
28
+ * `--paths`:
29
+ Print the path to each gem in the bundle.
30
+ * `--without-group`:
31
+ Print all gems expect from a group.
32
+ * `--only-group`:
33
+ Print gems from a particular group.
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" "June 2017" "" ""
4
+ .TH "BUNDLE\-LOCK" "1" "November 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
@@ -2,92 +2,92 @@ BUNDLE-LOCK(1) BUNDLE-LOCK(1)
2
2
 
3
3
 
4
4
 
5
- 1mNAME0m
6
- 1mbundle-lock 22m- Creates / Updates a lockfile without installing
5
+ NAME
6
+ bundle-lock - Creates / Updates a lockfile without installing
7
7
 
8
- 1mSYNOPSIS0m
9
- 1mbundle lock 22m[--update] [--local] [--print] [--lockfile=PATH]
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
- 1mDESCRIPTION0m
13
+ DESCRIPTION
14
14
  Lock the gems specified in Gemfile.
15
15
 
16
- 1mOPTIONS0m
17
- 1m--update=<*gems>0m
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 given.
19
+ Taking a list of gems or updating all gems if no list is given.
20
20
 
21
- 1m--local0m
22
- Do not attempt to connect to 1mrubygems.org22m. Instead, Bundler will
23
- use the gems already present in Rubygems' cache or in 1mven-0m
24
- 1mdor/cache22m. Note that if a appropriate platform-specific gem
25
- exists on 1mrubygems.org 22mit will not be found.
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
- 1m--print0m
28
- Prints the lockfile to STDOUT instead of writing to the file
27
+ --print
28
+ Prints the lockfile to STDOUT instead of writing to the file
29
29
  system.
30
30
 
31
- 1m--lockfile=<path>0m
31
+ --lockfile=<path>
32
32
  The path where the lockfile should be written to.
33
33
 
34
- 1m--full-index0m
34
+ --full-index
35
35
  Fall back to using the single-file index of all gems.
36
36
 
37
- 1m--add-platform0m
38
- Add a new platform to the lockfile, re-resolving for the addi-
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
- 1m--remove-platform0m
41
+ --remove-platform
42
42
  Remove a platform from the lockfile.
43
43
 
44
- 1m--patch0m
44
+ --patch
45
45
  If updating, prefer updating only to next patch version.
46
46
 
47
- 1m--minor0m
47
+ --minor
48
48
  If updating, prefer updating only to next minor version.
49
49
 
50
- 1m--major0m
50
+ --major
51
51
  If updating, prefer updating to next major version (default).
52
52
 
53
- 1m--strict0m
54
- If updating, do not allow any gem to be updated past latest
53
+ --strict
54
+ If updating, do not allow any gem to be updated past latest
55
55
  --patch | --minor | --major.
56
56
 
57
- 1m--conservative0m
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
- 1mUPDATING ALL GEMS0m
62
- If you run 1mbundle lock 22mwith 1m--update 22moption 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
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
- 1mUPDATING A LIST OF GEMS0m
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
70
- 1mGemfile.lock22m.
69
+ the rest of the gems that you specified locked to the versions in the
70
+ Gemfile.lock.
71
71
 
72
- For instance, you only want to update 1mnokogiri22m, run 1mbundle lock0m
73
- 1m--update nokogiri22m.
72
+ For instance, you only want to update nokogiri, run bundle lock
73
+ --update nokogiri.
74
74
 
75
- Bundler will update 1mnokogiri 22mand any of its dependencies, but leave the
76
- rest of the gems that you specified locked to the versions in the 1mGem-0m
77
- 1mfile.lock22m.
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
- 1mSUPPORTING OTHER PLATFORMS0m
80
- If you want your bundle to support platforms other than the one you're
81
- running locally, you can run 1mbundle lock --add-platform PLATFORM 22mto 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
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 1mgem help platform22m.
86
+ For a full explanation of gem platforms, see gem help platform.
87
87
 
88
- 1mPATCH LEVEL OPTIONS0m
89
- See bundle update(1) 4mbundle-update.1.html24m for details.
88
+ PATCH LEVEL OPTIONS
89
+ See bundle update(1) bundle-update.1.html for details.
90
90
 
91
91
 
92
92
 
93
- June 2017 BUNDLE-LOCK(1)
93
+ November 2018 BUNDLE-LOCK(1)
data/man/bundle-lock.ronn CHANGED
@@ -91,4 +91,4 @@ For a full explanation of gem platforms, see `gem help platform`.
91
91
 
92
92
  ## PATCH LEVEL OPTIONS
93
93
 
94
- See [bundle update(1)][bundle-update] for details.
94
+ See [bundle update(1)](bundle-update.1.html) for details.
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" "June 2017" "" ""
4
+ .TH "BUNDLE\-OPEN" "1" "November 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
@@ -2,16 +2,16 @@ BUNDLE-OPEN(1) BUNDLE-OPEN(1)
2
2
 
3
3
 
4
4
 
5
- 1mNAME0m
6
- 1mbundle-open 22m- Opens the source directory for a gem in your bundle
5
+ NAME
6
+ bundle-open - Opens the source directory for a gem in your bundle
7
7
 
8
- 1mSYNOPSIS0m
9
- 1mbundle open 22m[GEM]
8
+ SYNOPSIS
9
+ bundle open [GEM]
10
10
 
11
- 1mDESCRIPTION0m
11
+ DESCRIPTION
12
12
  Opens the source directory of the provided GEM in your editor.
13
13
 
14
- For this to work the 1mEDITOR 22mor 1mBUNDLER_EDITOR 22menvironment variable has
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
- June 2017 BUNDLE-OPEN(1)
29
+ November 2018 BUNDLE-OPEN(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\-OUTDATED" "1" "June 2017" "" ""
4
+ .TH "BUNDLE\-OUTDATED" "1" "December 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-outdated\fR \- List installed gems with newer versions available
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle outdated\fR [GEM] [\-\-local] [\-\-pre] [\-\-source] [\-\-strict] [\-\-parseable | \-\-porcelain] [\-\-group=GROUP] [\-\-groups] [\-\-update\-strict] [\-\-patch|\-\-minor|\-\-major] [\-\-filter\-major] [\-\-filter\-minor] [\-\-filter\-patch]
10
+ \fBbundle outdated\fR [GEM] [\-\-local] [\-\-pre] [\-\-source] [\-\-strict] [\-\-parseable | \-\-porcelain] [\-\-group=GROUP] [\-\-groups] [\-\-update\-strict] [\-\-patch|\-\-minor|\-\-major] [\-\-filter\-major] [\-\-filter\-minor] [\-\-filter\-patch] [\-\-only\-explicit]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  Outdated lists the names and versions of gems that have a newer version available in the given source\. Calling outdated with [GEM [GEM]] will only check for newer versions of the given gems\. Prerelease gems are ignored by default\. If your gems are up to date, Bundler will exit with a status of 0\. Otherwise, it will exit 1\.
@@ -31,7 +31,7 @@ Check against a specific source\.
31
31
  Only list newer versions allowed by your Gemfile requirements\.
32
32
  .
33
33
  .TP
34
- \fB\-\-parseable\fR
34
+ \fB\-\-parseable\fR, \fB\-\-porcelain\fR
35
35
  Use minimal formatting for more parseable output\.
36
36
  .
37
37
  .TP
@@ -70,6 +70,10 @@ Only list minor newer versions\.
70
70
  \fB\-\-filter\-patch\fR
71
71
  Only list patch newer versions\.
72
72
  .
73
+ .TP
74
+ \fB\-\-only\-explicit\fR
75
+ Only list gems specified in your Gemfile, not their dependencies\.
76
+ .
73
77
  .SH "PATCH LEVEL OPTIONS"
74
78
  See bundle update(1) \fIbundle\-update\.1\.html\fR for details\.
75
79
  .