1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

www/rubygem-faraday-retry: Add rubygem-faraday-retry 1.0.3

The Retry middleware automatically retries requests that fail due to
intermittent client or server errors (such as network hiccups). By default, it
retries 2 times and handles only timeout exceptions. It can be configured with
an arbitrary number of retries, a list of exceptions to handle, a retry
interval, a percentage of randomness to add to the retry interval, and a backoff
factor. The middleware can also handle the Retry-After header automatically when
configured with the right status codes.

WWW: https://github.com/lostisland/faraday-retry
This commit is contained in:
Po-Chuan Hsieh 2022-01-24 02:05:46 +08:00
parent c9f2d794ea
commit 05e25916bf
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 32 additions and 0 deletions

View File

@ -1906,6 +1906,7 @@
SUBDIR += rubygem-faraday-net_http_persistent
SUBDIR += rubygem-faraday-patron
SUBDIR += rubygem-faraday-rack
SUBDIR += rubygem-faraday-retry
SUBDIR += rubygem-faraday0
SUBDIR += rubygem-faraday14
SUBDIR += rubygem-faraday_middleware

View File

@ -0,0 +1,19 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= faraday-retry
PORTVERSION= 1.0.3
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Catch exceptions and retries each request a limited number of times
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1642102123
SHA256 (rubygem/faraday-retry-1.0.3.gem) = add154f4f399243cbe070806ed41b96906942e7f5259bb1fe6daf2ec8f497194
SIZE (rubygem/faraday-retry-1.0.3.gem) = 10240

View File

@ -0,0 +1,9 @@
The Retry middleware automatically retries requests that fail due to
intermittent client or server errors (such as network hiccups). By default, it
retries 2 times and handles only timeout exceptions. It can be configured with
an arbitrary number of retries, a list of exceptions to handle, a retry
interval, a percentage of randomness to add to the retry interval, and a backoff
factor. The middleware can also handle the Retry-After header automatically when
configured with the right status codes.
WWW: https://github.com/lostisland/faraday-retry