aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-03-19 06:31:09 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-03-19 06:31:09 +0800
commit68b6ed6d7994d40038ada83032d45116d0272096 (patch)
treea758fe2c0f9470a32efe571506740c8e43484c61
parentf6d6d64faeb5dd2f1db1a97798be158256c929f0 (diff)
downloadfreebsd-ports-gnome-68b6ed6d7994d40038ada83032d45116d0272096.tar.gz
freebsd-ports-gnome-68b6ed6d7994d40038ada83032d45116d0272096.tar.zst
freebsd-ports-gnome-68b6ed6d7994d40038ada83032d45116d0272096.zip
Add rubygem-retriable 3.0.1
Retriable is a simple DSL to retry failed code blocks with randomized exponential backoff time intervals. This is especially useful when interacting external api/services or file system calls. WWW: https://github.com/kamui/retriable
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-retriable/Makefile19
-rw-r--r--devel/rubygem-retriable/distinfo3
-rw-r--r--devel/rubygem-retriable/pkg-descr5
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bcc0e6b855eb..dc9e682cb2c6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5434,6 +5434,7 @@
SUBDIR += rubygem-ref
SUBDIR += rubygem-request_store
SUBDIR += rubygem-require_all
+ SUBDIR += rubygem-retriable
SUBDIR += rubygem-retryable
SUBDIR += rubygem-rgl
SUBDIR += rubygem-rice
diff --git a/devel/rubygem-retriable/Makefile b/devel/rubygem-retriable/Makefile
new file mode 100644
index 000000000000..3b8f98762f53
--- /dev/null
+++ b/devel/rubygem-retriable/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= retriable
+PORTVERSION= 3.0.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple DSL to retry failed code blocks
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-retriable/distinfo b/devel/rubygem-retriable/distinfo
new file mode 100644
index 000000000000..285caf103865
--- /dev/null
+++ b/devel/rubygem-retriable/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1489863795
+SHA256 (rubygem/retriable-3.0.1.gem) = 46d6069667b38818e26cb9ece43e3d8f2a450df2e2dc5f01fdefdb6a4fa7b3a7
+SIZE (rubygem/retriable-3.0.1.gem) = 15360
diff --git a/devel/rubygem-retriable/pkg-descr b/devel/rubygem-retriable/pkg-descr
new file mode 100644
index 000000000000..bb361b1b628c
--- /dev/null
+++ b/devel/rubygem-retriable/pkg-descr
@@ -0,0 +1,5 @@
+Retriable is a simple DSL to retry failed code blocks with randomized
+exponential backoff time intervals. This is especially useful when interacting
+external api/services or file system calls.
+
+WWW: https://github.com/kamui/retriable