[rubygems/rubygems] Bundler: Update bundle-outdated(1) man

Updated output examples to current format since the output format has changed since version 2.2.0.dev

https://github.com/rubygems/rubygems/commit/48d98f906a
This commit is contained in:
Kentaro Takeyama 2023-07-23 10:19:50 +09:00 committed by git
parent b106cf2eef
commit f72ddd92be
4 changed files with 26 additions and 19 deletions

2
dir.rb
View File

@ -390,7 +390,7 @@ class Dir
# enables the pattern extension # enables the pattern extension
# <tt>'{_a_,_b_}'</tt>, which matches pattern _a_ and pattern _b_; # <tt>'{_a_,_b_}'</tt>, which matches pattern _a_ and pattern _b_;
# behaves like a # behaves like a
# {regexp union}[https://docs.ruby-lang.org/en/master/Regexp.html#method-c-union] # {regexp union}[rdoc-ref:Regexp.union]
# (e.g., <tt>'(?:_a_|_b_)'</tt>): # (e.g., <tt>'(?:_a_|_b_)'</tt>):
# #
# pattern = '{LEGAL,BSDL}' # pattern = '{LEGAL,BSDL}'

2
file.c
View File

@ -7707,7 +7707,7 @@ Init_File(void)
* Flag File::FNM_EXTGLOB enables pattern <tt>'{_a_,_b_}'</tt>, * Flag File::FNM_EXTGLOB enables pattern <tt>'{_a_,_b_}'</tt>,
* which matches pattern '_a_' and pattern '_b_'; * which matches pattern '_a_' and pattern '_b_';
* behaves like * behaves like
* a {regexp union}[https://docs.ruby-lang.org/en/master/Regexp.html#method-c-union] * a {regexp union}[rdoc-ref:Regexp.union]
* (e.g., <tt>'(?:_a_|_b_)'</tt>): * (e.g., <tt>'(?:_a_|_b_)'</tt>):
* *
* pattern = '{LEGAL,BSDL}' * pattern = '{LEGAL,BSDL}'

View File

@ -83,9 +83,10 @@ If the regular output shows the following:
. .
.nf .nf
* faker (newest 1\.6\.6, installed 1\.6\.5, requested ~> 1\.4) in groups "development, test" * Gem Current Latest Requested Groups
* hashie (newest 3\.4\.6, installed 1\.2\.0, requested = 1\.2\.0) in groups "default" * faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
* headless (newest 2\.3\.1, installed 2\.2\.3) in groups "test" * hashie 1\.2\.0 3\.4\.6 = 1\.2\.0 default
* headless 2\.2\.3 2\.3\.1 = 2\.2\.3 test
. .
.fi .fi
. .
@ -98,7 +99,8 @@ If the regular output shows the following:
. .
.nf .nf
* hashie (newest 3\.4\.6, installed 1\.2\.0, requested = 1\.2\.0) in groups "default" * Gem Current Latest Requested Groups
* hashie 1\.2\.0 3\.4\.6 = 1\.2\.0 default
. .
.fi .fi
. .
@ -111,7 +113,8 @@ If the regular output shows the following:
. .
.nf .nf
* headless (newest 2\.3\.1, installed 2\.2\.3) in groups "test" * Gem Current Latest Requested Groups
* headless 2\.2\.3 2\.3\.1 = 2\.2\.3 test
. .
.fi .fi
. .
@ -124,7 +127,8 @@ If the regular output shows the following:
. .
.nf .nf
* faker (newest 1\.6\.6, installed 1\.6\.5, requested ~> 1\.4) in groups "development, test" * Gem Current Latest Requested Groups
* faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
. .
.fi .fi
. .
@ -137,8 +141,8 @@ Filter options can be combined\. \fB\-\-filter\-minor\fR and \fB\-\-filter\-patc
. .
.nf .nf
* faker (newest 1\.6\.6, installed 1\.6\.5, requested ~> 1\.4) in groups "development, test" * Gem Current Latest Requested Groups
* headless (newest 2\.3\.1, installed 2\.2\.3) in groups "test" * faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
. .
.fi .fi
. .

View File

@ -78,25 +78,28 @@ in the output.
If the regular output shows the following: If the regular output shows the following:
* faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test" * Gem Current Latest Requested Groups
* hashie (newest 3.4.6, installed 1.2.0, requested = 1.2.0) in groups "default" * faker 1.6.5 1.6.6 ~> 1.4 development, test
* headless (newest 2.3.1, installed 2.2.3) in groups "test" * hashie 1.2.0 3.4.6 = 1.2.0 default
* headless 2.2.3 2.3.1 = 2.2.3 test
`--filter-major` would only show: `--filter-major` would only show:
* hashie (newest 3.4.6, installed 1.2.0, requested = 1.2.0) in groups "default" * Gem Current Latest Requested Groups
* hashie 1.2.0 3.4.6 = 1.2.0 default
`--filter-minor` would only show: `--filter-minor` would only show:
* headless (newest 2.3.1, installed 2.2.3) in groups "test" * Gem Current Latest Requested Groups
* headless 2.2.3 2.3.1 = 2.2.3 test
`--filter-patch` would only show: `--filter-patch` would only show:
* faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test" * Gem Current Latest Requested Groups
* faker 1.6.5 1.6.6 ~> 1.4 development, test
Filter options can be combined. `--filter-minor` and `--filter-patch` would show: Filter options can be combined. `--filter-minor` and `--filter-patch` would show:
* faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test" * Gem Current Latest Requested Groups
* headless (newest 2.3.1, installed 2.2.3) in groups "test" * faker 1.6.5 1.6.6 ~> 1.4 development, test
Combining all three `filter` options would be the same result as providing none of them. Combining all three `filter` options would be the same result as providing none of them.