aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 19:43:21 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 19:45:25 +0000
commit2be576619fe0841566498111201b9317c1844c30 (patch)
tree3c93591e32445dfaca13205be17f775544d2b7d5
parentd4e70cca1a2e5638cf401106f1a8c758d401fd7a (diff)
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.
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-faraday-follow_redirects/Makefile20
-rw-r--r--www/rubygem-faraday-follow_redirects/distinfo3
-rw-r--r--www/rubygem-faraday-follow_redirects/pkg-descr5
4 files changed, 29 insertions, 0 deletions
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.