BSD Ports

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

SystemPortVersion
FreeBSDdevel/rubygem-retryable3.0.5
DragonFlydevel/rubygem-retryable3.0.5
MidnightBSDdevel/rubygem-retryable3.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.53.0.53.0.53.0.53.0.5
FreeBSD:14:quarterly3.0.53.0.5n/a3.0.53.0.5
FreeBSD:15:latest3.0.53.0.5n/a3.0.53.0.5
FreeBSD:15:quarterly3.0.53.0.5n/an/an/a
FreeBSD:16:latest3.0.53.0.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
rubygem/retryable-3.0.5.gem13824c9f3dd6836bacf59c08b3f33548416debca7c0757e0c008d35df32ec9266d55f
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.