devel/rubygem-retryable 3.0.5 FreeBSD
Allow for retrying of code blocks
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 11.5 KiB, 34.7 KiB installed
Description
Retryable uns a code block, and retries it when an exception occurs. It's great when working with flakey webservices (for example).
It's configured using four optional parameters :tries, :on, :sleep, :matching, :ensure, :exception_cb and runs the passed block. Should an exception occur, it'll retry for (n-1) times.
Should the number of retries be reached without success, the last exception will be raised.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-retryable | 3.0.5 |
| DragonFly | devel/rubygem-retryable | 3.0.5 |
| MidnightBSD | devel/rubygem-retryable | 3.0.5 |
Install
Binary package:
pkg install rubygem-retryable
From the ports tree:
cd /usr/ports/devel/rubygem-retryable/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-retryable>0:devel/rubygem-retryable
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.0.5 | 3.0.5 | 3.0.5 | 3.0.5 | 3.0.5 |
| FreeBSD:14:quarterly | 3.0.5 | 3.0.5 | n/a | 3.0.5 | 3.0.5 |
| FreeBSD:15:latest | 3.0.5 | 3.0.5 | n/a | 3.0.5 | 3.0.5 |
| FreeBSD:15:quarterly | 3.0.5 | 3.0.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.0.5 | 3.0.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 6
Required by 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/retryable-3.0.5.gem | 13824 | c9f3dd6836bacf59c08b3f33548416debca7c0757e0c008d35df32ec9266d55f |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.