git: 2be576619fe0 - main - www/rubygem-faraday-follow_redirects: Add rubygem-faraday-follow_redirects 0.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Oct 2022 19:49:17 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2be576619fe0841566498111201b9317c1844c30
commit 2be576619fe0841566498111201b9317c1844c30
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 19:43:21 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 19:45:25 +0000
www/rubygem-faraday-follow_redirects: Add rubygem-faraday-follow_redirects 0.3.0
Faraday 2.x compatible extraction of FaradayMiddleware::FollowRedirects. This
gem will also work with Faraday 1.x, to support gem codebases which can work
with Faraday 1.x or 2.x. For the former standard version of this middleware for
Faraday 1.x, check out https://github.com/lostisland/faraday_middleware. Faraday
1.x support is considered deprecated, please update to Faraday 2.x.
---
www/Makefile | 1 +
www/rubygem-faraday-follow_redirects/Makefile | 20 ++++++++++++++++++++
www/rubygem-faraday-follow_redirects/distinfo | 3 +++
www/rubygem-faraday-follow_redirects/pkg-descr | 5 +++++
4 files changed, 29 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 5ad965913cee..bba73d24a9ec 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1890,6 +1890,7 @@
SUBDIR += rubygem-faraday
SUBDIR += rubygem-faraday-em_http
SUBDIR += rubygem-faraday-em_synchrony
+ SUBDIR += rubygem-faraday-follow_redirects
SUBDIR += rubygem-faraday-http-cache
SUBDIR += rubygem-faraday-httpclient
SUBDIR += rubygem-faraday-httpclient1
diff --git a/www/rubygem-faraday-follow_redirects/Makefile b/www/rubygem-faraday-follow_redirects/Makefile
new file mode 100644
index 000000000000..713c3318eae2
--- /dev/null
+++ b/www/rubygem-faraday-follow_redirects/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= faraday-follow_redirects
+PORTVERSION= 0.3.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Faraday 2.x compatible extraction of FaradayMiddleware::FollowRedirects
+WWW= https://github.com/tisba/faraday-follow-redirects
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= rubygem-faraday>=1<3:www/rubygem-faraday
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-faraday-follow_redirects/distinfo b/www/rubygem-faraday-follow_redirects/distinfo
new file mode 100644
index 000000000000..8738a6c7ee9f
--- /dev/null
+++ b/www/rubygem-faraday-follow_redirects/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665330602
+SHA256 (rubygem/faraday-follow_redirects-0.3.0.gem) = d92d975635e2c7fe525dd494fcd4b9bb7f0a4a0ec0d5f4c15c729530fdb807f9
+SIZE (rubygem/faraday-follow_redirects-0.3.0.gem) = 8704
diff --git a/www/rubygem-faraday-follow_redirects/pkg-descr b/www/rubygem-faraday-follow_redirects/pkg-descr
new file mode 100644
index 000000000000..3ad53089e29c
--- /dev/null
+++ b/www/rubygem-faraday-follow_redirects/pkg-descr
@@ -0,0 +1,5 @@
+Faraday 2.x compatible extraction of FaradayMiddleware::FollowRedirects. This
+gem will also work with Faraday 1.x, to support gem codebases which can work
+with Faraday 1.x or 2.x. For the former standard version of this middleware for
+Faraday 1.x, check out https://github.com/lostisland/faraday_middleware. Faraday
+1.x support is considered deprecated, please update to Faraday 2.x.