Date: Mon, 5 Jan 2015 17:35:59 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376316 - in head/devel: . rubygem-retryable Message-ID: <201501051735.t05HZxNg037842@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Jan 5 17:35:58 2015 New Revision: 376316 URL: https://svnweb.freebsd.org/changeset/ports/376316 QAT: https://qat.redports.org/buildarchive/r376316/ Log: - Add rubygem-retryable 2.0.0 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. WWW: https://github.com/nfedyashev/retryable RG: https://rubygems.org/gems/retryable Added: head/devel/rubygem-retryable/ head/devel/rubygem-retryable/Makefile (contents, props changed) head/devel/rubygem-retryable/distinfo (contents, props changed) head/devel/rubygem-retryable/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jan 5 17:35:18 2015 (r376315) +++ head/devel/Makefile Mon Jan 5 17:35:58 2015 (r376316) @@ -4552,6 +4552,7 @@ SUBDIR += rubygem-ref SUBDIR += rubygem-request_store SUBDIR += rubygem-require_all + SUBDIR += rubygem-retryable SUBDIR += rubygem-rgl SUBDIR += rubygem-rr SUBDIR += rubygem-rrd-ffi Added: head/devel/rubygem-retryable/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-retryable/Makefile Mon Jan 5 17:35:58 2015 (r376316) @@ -0,0 +1,18 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= retryable +PORTVERSION= 2.0.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Allow for retrying of code blocks + +LICENSE= MIT + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> Added: head/devel/rubygem-retryable/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-retryable/distinfo Mon Jan 5 17:35:58 2015 (r376316) @@ -0,0 +1,2 @@ +SHA256 (rubygem/retryable-2.0.0.gem) = f4b25b0d7d658bb0b67a59dd4dbd89443e99688fe7d135849303c51384bef315 +SIZE (rubygem/retryable-2.0.0.gem) = 8704 Added: head/devel/rubygem-retryable/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-retryable/pkg-descr Mon Jan 5 17:35:58 2015 (r376316) @@ -0,0 +1,12 @@ +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. + +WWW: https://github.com/nfedyashev/retryable +RG: https://rubygems.org/gems/retryable
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501051735.t05HZxNg037842>