pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-faraday-retry1 www/ruby-faraday-retry1: add v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/474e3916fdfc
branches:  trunk
changeset: 391447:474e3916fdfc
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jan 09 07:41:01 2023 +0000

description:
www/ruby-faraday-retry1: add version 1.0.3

Add current ruby-faraday-retry as ruby-faraday-retry1 package.

diffstat:

 www/ruby-faraday-retry1/DESCR    |  15 +++++++++++++++
 www/ruby-faraday-retry1/Makefile |  15 +++++++++++++++
 www/ruby-faraday-retry1/PLIST    |  10 ++++++++++
 www/ruby-faraday-retry1/distinfo |   5 +++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r af12725eb50a -r 474e3916fdfc www/ruby-faraday-retry1/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry1/DESCR     Mon Jan 09 07:41:01 2023 +0000
@@ -0,0 +1,15 @@
+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).
+
+This is version 1.x package.
diff -r af12725eb50a -r 474e3916fdfc www/ruby-faraday-retry1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry1/Makefile  Mon Jan 09 07:41:01 2023 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2023/01/09 07:41:01 taca Exp $
+
+DISTNAME=      faraday-retry-1.0.3
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/retry/&1/}
+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 af12725eb50a -r 474e3916fdfc www/ruby-faraday-retry1/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry1/PLIST     Mon Jan 09 07:41:01 2023 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/09 07:41:01 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 af12725eb50a -r 474e3916fdfc www/ruby-faraday-retry1/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-faraday-retry1/distinfo  Mon Jan 09 07:41:01 2023 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/01/09 07:41:01 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