1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Commit man pages to source control

This has the benefit that:

* Allows the installation of bundler as a default gem from rubygems to
include man pages.
* Removes the need to build man pages during our tests.
* Makes working with the manifest easier, because we only have source
controlled files, and not a mix of source control and generated files.

To make sure they never fall out of sync, we replace the previous
`man:build` CI task with a `man:check` task that makes sure the
generated man pages are up to date.

https://github.com/bundler/bundler/commit/23de1d0177
This commit is contained in:
David Rodríguez 2019-07-10 17:26:55 +02:00 committed by SHIBATA Hiroshi
parent 8f28ae65a8
commit f48a61fb46
Notes: git 2019-08-31 04:40:14 +09:00
54 changed files with 296 additions and 298 deletions

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-ADD" "1" "May 2019" "" "" .TH "BUNDLE\-ADD" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install \fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install

View file

@ -55,4 +55,4 @@ OPTIONS
May 2019 BUNDLE-ADD(1) August 2019 BUNDLE-ADD(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-BINSTUBS" "1" "March 2019" "" "" .TH "BUNDLE\-BINSTUBS" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-binstubs\fR \- Install the binstubs of the listed gems \fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
@ -10,7 +10,7 @@
\fBbundle binstubs\fR \fIGEM_NAME\fR [\-\-force] [\-\-path PATH] [\-\-standalone] \fBbundle binstubs\fR \fIGEM_NAME\fR [\-\-force] [\-\-path PATH] [\-\-standalone]
. .
.SH "DESCRIPTION" .SH "DESCRIPTION"
Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can by run directly, and one that will always run the correct gem version used by the application\. Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can be run directly, and one that will always run the correct gem version used by the application\.
. .
.P .P
For example, if you run \fBbundle binstubs rspec\-core\fR, Bundler will create the file \fBbin/rspec\fR\. That file will contain enough code to load Bundler, tell it to load the bundled gems, and then run rspec\. For example, if you run \fBbundle binstubs rspec\-core\fR, Bundler will create the file \fBbin/rspec\fR\. That file will contain enough code to load Bundler, tell it to load the bundled gems, and then run rspec\.

View file

@ -12,7 +12,7 @@ DESCRIPTION
Binstubs are scripts that wrap around executables. Bundler creates a Binstubs are scripts that wrap around executables. Bundler creates a
small Ruby file (a binstub) that loads Bundler, runs the command, and small Ruby file (a binstub) that loads Bundler, runs the command, and
puts it into bin/. Binstubs are a shortcut-or alternative- to always puts it into bin/. Binstubs are a shortcut-or alternative- to always
using bundle exec. This gives you a file that can by run directly, and using bundle exec. This gives you a file that can be run directly, and
one that will always run the correct gem version used by the applica- one that will always run the correct gem version used by the applica-
tion. tion.
@ -45,4 +45,4 @@ BUNDLE INSTALL --BINSTUBS
March 2019 BUNDLE-BINSTUBS(1) August 2019 BUNDLE-BINSTUBS(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-CHECK" "1" "March 2019" "" "" .TH "BUNDLE\-CHECK" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems \fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems

View file

@ -30,4 +30,4 @@ OPTIONS
March 2019 BUNDLE-CHECK(1) August 2019 BUNDLE-CHECK(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-CLEAN" "1" "March 2019" "" "" .TH "BUNDLE\-CLEAN" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory \fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory

View file

@ -23,4 +23,4 @@ OPTIONS
March 2019 BUNDLE-CLEAN(1) August 2019 BUNDLE-CLEAN(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-CONFIG" "1" "May 2019" "" "" .TH "BUNDLE\-CONFIG" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-config\fR \- Set bundler configuration options \fBbundle\-config\fR \- Set bundler configuration options
@ -157,7 +157,7 @@ The following is a list of all configuration keys and their purpose\. You can le
\fBcache_all_platforms\fR (\fBBUNDLE_CACHE_ALL_PLATFORMS\fR): Cache gems for all platforms\. \fBcache_all_platforms\fR (\fBBUNDLE_CACHE_ALL_PLATFORMS\fR): Cache gems for all platforms\.
. .
.IP "\(bu" 4 .IP "\(bu" 4
\fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/bundle\fR\. \fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/cache\fR\.
. .
.IP "\(bu" 4 .IP "\(bu" 4
\fBclean\fR (\fBBUNDLE_CLEAN\fR): Whether Bundler should run \fBbundle clean\fR automatically after \fBbundle install\fR\. \fBclean\fR (\fBBUNDLE_CLEAN\fR): Whether Bundler should run \fBbundle clean\fR automatically after \fBbundle install\fR\.
@ -184,9 +184,6 @@ The following is a list of all configuration keys and their purpose\. You can le
\fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config unset disable_multisource\fR to unset\. \fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config unset disable_multisource\fR to unset\.
. .
.IP "\(bu" 4 .IP "\(bu" 4
\fBdisable_platform_warnings\fR (\fBBUNDLE_DISABLE_PLATFORM_WARNINGS\fR): Disable warnings during bundle install when a dependency is unused on the current platform\.
.
.IP "\(bu" 4
\fBdisable_shared_gems\fR (\fBBUNDLE_DISABLE_SHARED_GEMS\fR): Stop Bundler from accessing gems installed to RubyGems\' normal location\. \fBdisable_shared_gems\fR (\fBBUNDLE_DISABLE_SHARED_GEMS\fR): Stop Bundler from accessing gems installed to RubyGems\' normal location\.
. .
.IP "\(bu" 4 .IP "\(bu" 4

View file

@ -179,7 +179,7 @@ LIST OF AVAILABLE KEYS
o cache_path (BUNDLE_CACHE_PATH): The directory that bundler will o cache_path (BUNDLE_CACHE_PATH): The directory that bundler will
place cached gems in when running bundle package, and that bundler place cached gems in when running bundle package, and that bundler
will look in when installing gems. Defaults to vendor/bundle. will look in when installing gems. Defaults to vendor/cache.
o clean (BUNDLE_CLEAN): Whether Bundler should run bundle clean auto- o clean (BUNDLE_CLEAN): Whether Bundler should run bundle clean auto-
matically after bundle install. matically after bundle install.
@ -210,10 +210,6 @@ LIST OF AVAILABLE KEYS
files containing multiple sources will produce errors instead of files containing multiple sources will produce errors instead of
warnings. Use bundle config unset disable_multisource to unset. warnings. Use bundle config unset disable_multisource to unset.
o disable_platform_warnings (BUNDLE_DISABLE_PLATFORM_WARNINGS): Dis-
able warnings during bundle install when a dependency is unused on
the current platform.
o disable_shared_gems (BUNDLE_DISABLE_SHARED_GEMS): Stop Bundler from o disable_shared_gems (BUNDLE_DISABLE_SHARED_GEMS): Stop Bundler from
accessing gems installed to RubyGems' normal location. accessing gems installed to RubyGems' normal location.
@ -522,4 +518,4 @@ CONFIGURE BUNDLER DIRECTORIES
May 2019 BUNDLE-CONFIG(1) August 2019 BUNDLE-CONFIG(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-DOCTOR" "1" "March 2019" "" "" .TH "BUNDLE\-DOCTOR" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-doctor\fR \- Checks the bundle for common problems \fBbundle\-doctor\fR \- Checks the bundle for common problems

View file

@ -41,4 +41,4 @@ OPTIONS
March 2019 BUNDLE-DOCTOR(1) August 2019 BUNDLE-DOCTOR(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-EXEC" "1" "March 2019" "" "" .TH "BUNDLE\-EXEC" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-exec\fR \- Execute a command in the context of the bundle \fBbundle\-exec\fR \- Execute a command in the context of the bundle

View file

@ -175,4 +175,4 @@ RUBYGEMS PLUGINS
March 2019 BUNDLE-EXEC(1) August 2019 BUNDLE-EXEC(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-GEM" "1" "March 2019" "" "" .TH "BUNDLE\-GEM" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem

View file

@ -77,8 +77,8 @@ OPTIONS
-e, --edit[=EDITOR] -e, --edit[=EDITOR]
Open the resulting GEM_NAME.gemspec in EDITOR, or the default Open the resulting GEM_NAME.gemspec in EDITOR, or the default
editor if not specified. The default is $BUNDLER_EDITOR, editor if not specified. The default is $BUNDLER_EDITOR, $VIS-
$VISUAL, or $EDITOR. UAL, or $EDITOR.
SEE ALSO SEE ALSO
o bundle config(1) bundle-config.1.html o bundle config(1) bundle-config.1.html
@ -88,4 +88,4 @@ SEE ALSO
March 2019 BUNDLE-GEM(1) August 2019 BUNDLE-GEM(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-INFO" "1" "March 2019" "" "" .TH "BUNDLE\-INFO" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-info\fR \- Show information for the given gem in your bundle \fBbundle\-info\fR \- Show information for the given gem in your bundle

View file

@ -18,4 +18,4 @@ OPTIONS
March 2019 BUNDLE-INFO(1) August 2019 BUNDLE-INFO(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-INIT" "1" "April 2019" "" "" .TH "BUNDLE\-INIT" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory \fBbundle\-init\fR \- Generates a Gemfile into the current working directory

View file

@ -31,4 +31,4 @@ SEE ALSO
April 2019 BUNDLE-INIT(1) August 2019 BUNDLE-INIT(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-INJECT" "1" "March 2019" "" "" .TH "BUNDLE\-INJECT" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile \fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile

View file

@ -29,4 +29,4 @@ DESCRIPTION
March 2019 BUNDLE-INJECT(1) August 2019 BUNDLE-INJECT(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-INSTALL" "1" "April 2019" "" "" .TH "BUNDLE\-INSTALL" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile \fBbundle\-install\fR \- Install the dependencies specified in your Gemfile

View file

@ -398,4 +398,4 @@ SEE ALSO
April 2019 BUNDLE-INSTALL(1) August 2019 BUNDLE-INSTALL(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-LIST" "1" "March 2019" "" "" .TH "BUNDLE\-LIST" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-list\fR \- List all the gems in the bundle \fBbundle\-list\fR \- List all the gems in the bundle

View file

@ -40,4 +40,4 @@ OPTIONS
March 2019 BUNDLE-LIST(1) August 2019 BUNDLE-LIST(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-LOCK" "1" "March 2019" "" "" .TH "BUNDLE\-LOCK" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-lock\fR \- Creates / Updates a lockfile without installing \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing

View file

@ -90,4 +90,4 @@ PATCH LEVEL OPTIONS
March 2019 BUNDLE-LOCK(1) August 2019 BUNDLE-LOCK(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-OPEN" "1" "March 2019" "" "" .TH "BUNDLE\-OPEN" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-open\fR \- Opens the source directory for a gem in your bundle \fBbundle\-open\fR \- Opens the source directory for a gem in your bundle

View file

@ -26,4 +26,4 @@ DESCRIPTION
March 2019 BUNDLE-OPEN(1) August 2019 BUNDLE-OPEN(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-OUTDATED" "1" "March 2019" "" "" .TH "BUNDLE\-OUTDATED" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-outdated\fR \- List installed gems with newer versions available \fBbundle\-outdated\fR \- List installed gems with newer versions available

View file

@ -128,4 +128,4 @@ FILTERING OUTPUT
March 2019 BUNDLE-OUTDATED(1) August 2019 BUNDLE-OUTDATED(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-PACKAGE" "1" "March 2019" "" "" .TH "BUNDLE\-PACKAGE" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-package\fR \- Package your needed \fB\.gem\fR files into your application \fBbundle\-package\fR \- Package your needed \fB\.gem\fR files into your application

View file

@ -76,4 +76,4 @@ REMOTE FETCHING
March 2019 BUNDLE-PACKAGE(1) August 2019 BUNDLE-PACKAGE(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-PLATFORM" "1" "March 2019" "" "" .TH "BUNDLE\-PLATFORM" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-platform\fR \- Displays platform compatibility information \fBbundle\-platform\fR \- Displays platform compatibility information

View file

@ -54,4 +54,4 @@ OPTIONS
March 2019 BUNDLE-PLATFORM(1) August 2019 BUNDLE-PLATFORM(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-PRISTINE" "1" "March 2019" "" "" .TH "BUNDLE\-PRISTINE" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-pristine\fR \- Restores installed gems to their pristine condition \fBbundle\-pristine\fR \- Restores installed gems to their pristine condition

View file

@ -41,4 +41,4 @@ DESCRIPTION
March 2019 BUNDLE-PRISTINE(1) August 2019 BUNDLE-PRISTINE(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-REMOVE" "1" "March 2019" "" "" .TH "BUNDLE\-REMOVE" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-remove\fR \- Removes gems from the Gemfile \fBbundle\-remove\fR \- Removes gems from the Gemfile

View file

@ -31,4 +31,4 @@ OPTIONS
March 2019 BUNDLE-REMOVE(1) August 2019 BUNDLE-REMOVE(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-SHOW" "1" "March 2019" "" "" .TH "BUNDLE\-SHOW" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem \fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem

View file

@ -24,4 +24,4 @@ OPTIONS
March 2019 BUNDLE-SHOW(1) August 2019 BUNDLE-SHOW(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-UPDATE" "1" "April 2019" "" "" .TH "BUNDLE\-UPDATE" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-update\fR \- Update your gems to the latest available versions \fBbundle\-update\fR \- Update your gems to the latest available versions

View file

@ -387,4 +387,4 @@ RECOMMENDED WORKFLOW
April 2019 BUNDLE-UPDATE(1) August 2019 BUNDLE-UPDATE(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE\-VIZ" "1" "March 2019" "" "" .TH "BUNDLE\-VIZ" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile \fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile

View file

@ -36,4 +36,4 @@ OPTIONS
March 2019 BUNDLE-VIZ(1) August 2019 BUNDLE-VIZ(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BUNDLE" "1" "May 2019" "" "" .TH "BUNDLE" "1" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBbundle\fR \- Ruby Dependency Management \fBbundle\fR \- Ruby Dependency Management

View file

@ -113,4 +113,4 @@ OBSOLETE
May 2019 BUNDLE(1) August 2019 BUNDLE(1)

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "GEMFILE" "5" "April 2019" "" "" .TH "GEMFILE" "5" "August 2019" "" ""
. .
.SH "NAME" .SH "NAME"
\fBGemfile\fR \- A format for describing gem dependencies for Ruby programs \fBGemfile\fR \- A format for describing gem dependencies for Ruby programs
@ -409,19 +409,16 @@ Git repositories support a number of additional options\.
. .
.TP .TP
\fBbranch\fR, \fBtag\fR, and \fBref\fR \fBbranch\fR, \fBtag\fR, and \fBref\fR
You \fBMUST\fR only specify at most one of these options\. The default is \fB:branch => "master"\fR You \fBMUST\fR only specify at most one of these options\. The default is \fB:branch => "master"\fR\. For example:
.
.TP
For example:
. .
.IP .IP
git "https://github\.com/rails/rails\.git", :branch => "5\-0\-stable" do gem "rails", :git => "https://github\.com/rails/rails\.git", :branch => "5\-0\-stable"
. .
.IP .IP
git "https://github\.com/rails/rails\.git", :tag => "v5\.0\.0" do gem "rails", :git => "https://github\.com/rails/rails\.git", :tag => "v5\.0\.0"
. .
.IP .IP
git "https://github\.com/rails/rails\.git", :ref => "4aded" do gem "rails", :git => "https://github\.com/rails/rails\.git", :ref => "4aded"
. .
.TP .TP
\fBsubmodules\fR \fBsubmodules\fR

View file

@ -376,16 +376,16 @@ GEMS
branch, tag, and ref branch, tag, and ref
You MUST only specify at most one of these options. The default You MUST only specify at most one of these options. The default
is :branch => "master" is :branch => "master". For example:
For example: gem "rails", :git => "https://github.com/rails/rails.git",
:branch => "5-0-stable"
git "https://github.com/rails/rails.git", :branch => "5-0-sta- gem "rails", :git => "https://github.com/rails/rails.git", :tag
ble" do => "v5.0.0"
git "https://github.com/rails/rails.git", :tag => "v5.0.0" do gem "rails", :git => "https://github.com/rails/rails.git", :ref
=> "4aded"
git "https://github.com/rails/rails.git", :ref => "4aded" do
submodules submodules
For reference, a git submodule For reference, a git submodule
@ -650,4 +650,4 @@ SOURCE PRIORITY
April 2019 GEMFILE(5) August 2019 GEMFILE(5)

25
man/index.txt Normal file
View file

@ -0,0 +1,25 @@
Gemfile(5) gemfile.5
bundle(1) bundle.1
bundle-add(1) bundle-add.1
bundle-binstubs(1) bundle-binstubs.1
bundle-check(1) bundle-check.1
bundle-clean(1) bundle-clean.1
bundle-config(1) bundle-config.1
bundle-doctor(1) bundle-doctor.1
bundle-exec(1) bundle-exec.1
bundle-gem(1) bundle-gem.1
bundle-info(1) bundle-info.1
bundle-init(1) bundle-init.1
bundle-inject(1) bundle-inject.1
bundle-install(1) bundle-install.1
bundle-list(1) bundle-list.1
bundle-lock(1) bundle-lock.1
bundle-open(1) bundle-open.1
bundle-outdated(1) bundle-outdated.1
bundle-package(1) bundle-package.1
bundle-platform(1) bundle-platform.1
bundle-pristine(1) bundle-pristine.1
bundle-remove(1) bundle-remove.1
bundle-show(1) bundle-show.1
bundle-update(1) bundle-update.1
bundle-viz(1) bundle-viz.1

View file

@ -105,7 +105,7 @@ RSpec.describe "The library itself" do
end end
it "has no malformed whitespace" do it "has no malformed whitespace" do
exempt = /\.gitmodules|\.marshal|fixtures|vendor|LICENSE|vcr_cassettes|rbreadline\.diff/ exempt = /\.gitmodules|\.marshal|fixtures|vendor|LICENSE|vcr_cassettes|rbreadline\.diff|\.txt$/
error_messages = [] error_messages = []
Dir.chdir(root) do Dir.chdir(root) do
files = ruby_core? ? `git ls-files -z -- lib/bundler lib/bundler.rb spec/bundler` : `git ls-files -z` files = ruby_core? ? `git ls-files -z -- lib/bundler lib/bundler.rb spec/bundler` : `git ls-files -z`
@ -132,7 +132,7 @@ RSpec.describe "The library itself" do
end end
it "does not include any leftover debugging or development mechanisms" do it "does not include any leftover debugging or development mechanisms" do
exempt = %r{quality_spec.rb|support/helpers|vcr_cassettes|\.md|\.ronn} exempt = %r{quality_spec.rb|support/helpers|vcr_cassettes|\.md|\.ronn|\.txt|\.5|\.1}
error_messages = [] error_messages = []
Dir.chdir(root) do Dir.chdir(root) do
files = ruby_core? ? `git ls-files -z -- lib/bundler lib/bundler.rb spec/bundler` : `git ls-files -z` files = ruby_core? ? `git ls-files -z -- lib/bundler lib/bundler.rb spec/bundler` : `git ls-files -z`
@ -253,9 +253,8 @@ RSpec.describe "The library itself" do
it "ships the correct set of files", :ruby_repo do it "ships the correct set of files", :ruby_repo do
Dir.chdir(root) do Dir.chdir(root) do
git_list = IO.popen("git ls-files -z", &:read).split("\x0").select {|f| f.match(%r{^(lib|exe)/}) } git_list = IO.popen("git ls-files -z", &:read).split("\x0").select {|f| f.match(%r{^(lib|man|exe)/}) }
git_list += %w[CHANGELOG.md LICENSE.md README.md bundler.gemspec] git_list += %w[CHANGELOG.md LICENSE.md README.md bundler.gemspec]
git_list += Dir.glob("man/**/*")
gem_list = Gem::Specification.load(gemspec.to_s).files gem_list = Gem::Specification.load(gemspec.to_s).files

View file

@ -22,8 +22,6 @@ end
$debug = false $debug = false
Spec::Manpages.setup unless Gem.win_platform?
module Gem module Gem
def self.ruby=(ruby) def self.ruby=(ruby)
@ruby = ruby @ruby = ruby

View file

@ -1,14 +0,0 @@
# frozen_string_literal: true
module Spec
module Manpages
def self.setup
man_path = Spec::Path.root.join("man")
return if man_path.children(false).select {|file| file.extname == ".ronn" }.all? do |man|
Dir[man_path.join("#{man.to_s[0..-6]}*.txt").to_s].any?
end
system(Spec::Path.root.join("bin", "rake").to_s, "man:build") || raise("Failed building man pages")
end
end
end