git: 05e25916bfcf - main - www/rubygem-faraday-retry: Add rubygem-faraday-retry 1.0.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jan 2022 19:26:17 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=05e25916bfcf9302abb5d2995f36b7e6eb90b3ed
commit 05e25916bfcf9302abb5d2995f36b7e6eb90b3ed
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-23 18:05:46 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-23 18:05:46 +0000
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
---
www/Makefile | 1 +
www/rubygem-faraday-retry/Makefile | 19 +++++++++++++++++++
www/rubygem-faraday-retry/distinfo | 3 +++
www/rubygem-faraday-retry/pkg-descr | 9 +++++++++
4 files changed, 32 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 30d9d06264c7..efe7f583fa5f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -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
diff --git a/www/rubygem-faraday-retry/Makefile b/www/rubygem-faraday-retry/Makefile
new file mode 100644
index 000000000000..27b9e1b48e3a
--- /dev/null
+++ b/www/rubygem-faraday-retry/Makefile
@@ -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>
diff --git a/www/rubygem-faraday-retry/distinfo b/www/rubygem-faraday-retry/distinfo
new file mode 100644
index 000000000000..c09755f4b698
--- /dev/null
+++ b/www/rubygem-faraday-retry/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642102123
+SHA256 (rubygem/faraday-retry-1.0.3.gem) = add154f4f399243cbe070806ed41b96906942e7f5259bb1fe6daf2ec8f497194
+SIZE (rubygem/faraday-retry-1.0.3.gem) = 10240
diff --git a/www/rubygem-faraday-retry/pkg-descr b/www/rubygem-faraday-retry/pkg-descr
new file mode 100644
index 000000000000..f4386f828022
--- /dev/null
+++ b/www/rubygem-faraday-retry/pkg-descr
@@ -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