auracle: add page, gem,bundle: update (#4572)

gem: add SemVer spec install example
bundle: fix update example, add patch-update, group-update, and outdated examples
beep
Hermann Mayer 2020-10-15 00:22:59 +02:00 committed by GitHub
parent 7161d65a40
commit dd955ca693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 6 deletions

View File

@ -11,9 +11,21 @@
`bundle update`
- Update one specific gem defined in the `Gemfile`:
- Update one or more specific gem(s) defined in the `Gemfile`:
`bundle update --source {{gemname}}`
`bundle update {{gemname}} {{gemname}}`
- Update one or more specific gems(s) defined in the `Gemfile` but only to the next patch version:
`bundle update --patch {{gemname}} {{gemname}}`
- Update update all gems within the given group in the `Gemfile`:
`bundle update --group {{development}}`
- List installed gems in the `Gemfile` with newer versions available:
`bundle outdated`
- Create a new gem skeleton:

View File

@ -3,10 +3,6 @@
> Interact with the package manager for the Ruby programming language.
> More information: <https://rubygems.org>.
- Search for remote gem(s):
`gem search {{regexp}}`
- Search for remote gem(s) and show all available versions:
`gem search {{regexp}} --all`
@ -19,6 +15,10 @@
`gem install {{gemname}} --version {{1.0.0}}`
- Install the latest matching (SemVer) version of a gem:
`gem install {{gemname}} --version '~> {{1.0}}'`
- Update a gem:
`gem update {{gemname}}`

20
pages/linux/auracle.md Normal file
View File

@ -0,0 +1,20 @@
# auracle
> Command line tool used to interact with Arch Linux's User Repository, commonly referred to as the AUR.
> More information: <https://github.com/falconindy/auracle>.
- Display AUR packages that match a regular expression:
`auracle search '{{regex}}'`
- Display package information for a space-separated list of AUR packages:
`auracle info {{package1}} {{package2}}`
- Display the `PKGBUILD` file (build information) for a space-separated list of AUR packages:
`auracle show {{package1}} {{package2}}`
- Display updates for installed AUR packages:
`auracle outdated`