git: 8f2c4995199f - main - www/rubygem-faraday-retry1: Add rubygem-faraday-retry1 1.0.3 (copied from rubygem-faraday-retry)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 Jun 2022 19:39:01 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f2c4995199f2ed4e0e31921a5f3c61b8ba4bcf7

commit 8f2c4995199f2ed4e0e31921a5f3c61b8ba4bcf7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-16 19:30:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-16 19:33:24 +0000

    www/rubygem-faraday-retry1: Add rubygem-faraday-retry1 1.0.3 (copied from rubygem-faraday-retry)
    
    - Add PORTSCOUT
---
 www/Makefile                         |  1 +
 www/rubygem-faraday-retry1/Makefile  | 22 ++++++++++++++++++++++
 www/rubygem-faraday-retry1/distinfo  |  3 +++
 www/rubygem-faraday-retry1/pkg-descr |  9 +++++++++
 4 files changed, 35 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index e65eb243e126..e7cf6a94c237 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1939,6 +1939,7 @@
     SUBDIR += rubygem-faraday-rack
     SUBDIR += rubygem-faraday-rack1
     SUBDIR += rubygem-faraday-retry
+    SUBDIR += rubygem-faraday-retry1
     SUBDIR += rubygem-faraday0
     SUBDIR += rubygem-faraday1
     SUBDIR += rubygem-faraday14
diff --git a/www/rubygem-faraday-retry1/Makefile b/www/rubygem-faraday-retry1/Makefile
new file mode 100644
index 000000000000..0b48d5f9c5c5
--- /dev/null
+++ b/www/rubygem-faraday-retry1/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	faraday-retry
+PORTVERSION=	1.0.3
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	1
+
+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
+
+PORTSCOUT=	limit:^1\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-faraday-retry1/distinfo b/www/rubygem-faraday-retry1/distinfo
new file mode 100644
index 000000000000..c09755f4b698
--- /dev/null
+++ b/www/rubygem-faraday-retry1/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-retry1/pkg-descr b/www/rubygem-faraday-retry1/pkg-descr
new file mode 100644
index 000000000000..f4386f828022
--- /dev/null
+++ b/www/rubygem-faraday-retry1/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