зеркало из https://github.com/github/ruby.git
[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:
Родитель
b106cf2eef
Коммит
f72ddd92be
2
dir.rb
2
dir.rb
|
@ -390,7 +390,7 @@ class Dir
|
|||
# enables the pattern extension
|
||||
# <tt>'{_a_,_b_}'</tt>, which matches pattern _a_ and pattern _b_;
|
||||
# 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>):
|
||||
#
|
||||
# pattern = '{LEGAL,BSDL}'
|
||||
|
|
2
file.c
2
file.c
|
@ -7707,7 +7707,7 @@ Init_File(void)
|
|||
* Flag File::FNM_EXTGLOB enables pattern <tt>'{_a_,_b_}'</tt>,
|
||||
* which matches pattern '_a_' and pattern '_b_';
|
||||
* 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>):
|
||||
*
|
||||
* pattern = '{LEGAL,BSDL}'
|
||||
|
|
|
@ -83,9 +83,10 @@ If the regular output shows the following:
|
|||
.
|
||||
.nf
|
||||
|
||||
* faker (newest 1\.6\.6, installed 1\.6\.5, requested ~> 1\.4) in groups "development, test"
|
||||
* hashie (newest 3\.4\.6, installed 1\.2\.0, requested = 1\.2\.0) in groups "default"
|
||||
* headless (newest 2\.3\.1, installed 2\.2\.3) in groups "test"
|
||||
* Gem Current Latest Requested Groups
|
||||
* faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
|
||||
* hashie 1\.2\.0 3\.4\.6 = 1\.2\.0 default
|
||||
* headless 2\.2\.3 2\.3\.1 = 2\.2\.3 test
|
||||
.
|
||||
.fi
|
||||
.
|
||||
|
@ -98,7 +99,8 @@ If the regular output shows the following:
|
|||
.
|
||||
.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
|
||||
.
|
||||
|
@ -111,7 +113,8 @@ If the regular output shows the following:
|
|||
.
|
||||
.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
|
||||
.
|
||||
|
@ -124,7 +127,8 @@ If the regular output shows the following:
|
|||
.
|
||||
.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
|
||||
.
|
||||
|
@ -137,8 +141,8 @@ Filter options can be combined\. \fB\-\-filter\-minor\fR and \fB\-\-filter\-patc
|
|||
.
|
||||
.nf
|
||||
|
||||
* faker (newest 1\.6\.6, installed 1\.6\.5, requested ~> 1\.4) in groups "development, test"
|
||||
* headless (newest 2\.3\.1, installed 2\.2\.3) in groups "test"
|
||||
* Gem Current Latest Requested Groups
|
||||
* faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
|
||||
.
|
||||
.fi
|
||||
.
|
||||
|
|
|
@ -78,25 +78,28 @@ in the output.
|
|||
|
||||
If the regular output shows the following:
|
||||
|
||||
* faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test"
|
||||
* hashie (newest 3.4.6, installed 1.2.0, requested = 1.2.0) in groups "default"
|
||||
* headless (newest 2.3.1, installed 2.2.3) in groups "test"
|
||||
* Gem Current Latest Requested Groups
|
||||
* faker 1.6.5 1.6.6 ~> 1.4 development, 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:
|
||||
|
||||
* 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:
|
||||
|
||||
* 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:
|
||||
|
||||
* 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:
|
||||
|
||||
* faker (newest 1.6.6, installed 1.6.5, requested ~> 1.4) in groups "development, test"
|
||||
* headless (newest 2.3.1, installed 2.2.3) in groups "test"
|
||||
|
||||
* Gem Current Latest Requested Groups
|
||||
* 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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче