pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-faraday-retry www/ruby-faraday-retry: add pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98d2d7fe85a6
branches:  trunk
changeset: 391282:98d2d7fe85a6
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Jan 07 15:25:34 2023 +0000

description:
www/ruby-faraday-retry: add package version 1.0.3

Required by newer ruby-faraday package.

Faraday Retry

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 (see below for an example).

diffstat:

 www/ruby-faraday-retry/DESCR    |  13 +++++++++++++
 www/ruby-faraday-retry/Makefile |  14 ++++++++++++++
 www/ruby-faraday-retry/PLIST    |  10 ++++++++++
 www/ruby-faraday-retry/distinfo |   5 +++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r fda55e0c57b2 -r 98d2d7fe85a6 www/ruby-faraday-retry/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry/DESCR      Sat Jan 07 15:25:34 2023 +0000
@@ -0,0 +1,13 @@
+Faraday Retry
+
+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 (see below for an example).
diff -r fda55e0c57b2 -r 98d2d7fe85a6 www/ruby-faraday-retry/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry/Makefile   Sat Jan 07 15:25:34 2023 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2023/01/07 15:25:34 taca Exp $
+
+DISTNAME=      faraday-retry-1.0.3
+CATEGORIES=    www
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/lostisland/faraday-retry
+COMMENT=       Catches exceptions and retries each request a limited times
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fda55e0c57b2 -r 98d2d7fe85a6 www/ruby-faraday-retry/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry/PLIST      Sat Jan 07 15:25:34 2023 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/07 15:25:34 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/LICENSE.md
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/faraday/retriable_response.rb
+${GEM_LIBDIR}/lib/faraday/retry.rb
+${GEM_LIBDIR}/lib/faraday/retry/middleware.rb
+${GEM_LIBDIR}/lib/faraday/retry/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r fda55e0c57b2 -r 98d2d7fe85a6 www/ruby-faraday-retry/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry/distinfo   Sat Jan 07 15:25:34 2023 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/01/07 15:25:34 taca Exp $
+
+BLAKE2s (faraday-retry-1.0.3.gem) = 8603686f2329f6df1bdd96f2e12154de7204b152f0f2858af43ea6c93c0d7b2e
+SHA512 (faraday-retry-1.0.3.gem) = c5a5f4cf5f605c5c91da8bee276c07c1dc132bbfa5e8b8d3b6670921799a8abfe39c0fbff761f6ef35b7f26f6a86b8fa8d35119998a75ee3134fbe7349b4e258
+Size (faraday-retry-1.0.3.gem) = 10240 bytes



Home | Main Index | Thread Index | Old Index