git: e4e040581678 - main - www/rubygem-faraday: Update to 2.10.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 21:19:49 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e4e040581678f632332055d3047f72a5ba24009e

commit e4e040581678f632332055d3047f72a5ba24009e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 21:17:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 21:17:30 +0000

    www/rubygem-faraday: Update to 2.10.1
    
    - Fix gemspec for rubygem-faraday-net_http 3.2.0 update
    
    Changes:        https://github.com/lostisland/faraday/releases
---
 www/rubygem-faraday/Makefile            |  4 ++--
 www/rubygem-faraday/distinfo            |  6 +++---
 www/rubygem-faraday/files/patch-gemspec | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/www/rubygem-faraday/Makefile b/www/rubygem-faraday/Makefile
index f7abc0ae6320..2c7a93696102 100644
--- a/www/rubygem-faraday/Makefile
+++ b/www/rubygem-faraday/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	faraday
-PORTVERSION=	2.10.0
+PORTVERSION=	2.10.1
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -10,7 +10,7 @@ WWW=		https://github.com/lostisland/faraday
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-RUN_DEPENDS=	rubygem-faraday-net_http>=2.0<3.2:www/rubygem-faraday-net_http \
+RUN_DEPENDS=	rubygem-faraday-net_http>=2.0<3.3:www/rubygem-faraday-net_http \
 		rubygem-logger>=0:devel/rubygem-logger
 
 USES=		cpe gem
diff --git a/www/rubygem-faraday/distinfo b/www/rubygem-faraday/distinfo
index 40515a0a5342..b4e79337d6e4 100644
--- a/www/rubygem-faraday/distinfo
+++ b/www/rubygem-faraday/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720536552
-SHA256 (rubygem/faraday-2.10.0.gem) = 1a3e6c02acc511fc334d799521f1013e449bde38aa2dceb3af71e8030519bda9
-SIZE (rubygem/faraday-2.10.0.gem) = 73216
+TIMESTAMP = 1722798885
+SHA256 (rubygem/faraday-2.10.1.gem) = 6bc9fba3f6191684449d94215195b2c43e2a07bd40b321d245881450923d9a80
+SIZE (rubygem/faraday-2.10.1.gem) = 73216
diff --git a/www/rubygem-faraday/files/patch-gemspec b/www/rubygem-faraday/files/patch-gemspec
new file mode 100644
index 000000000000..8eb2a74c53da
--- /dev/null
+++ b/www/rubygem-faraday/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- faraday.gemspec.orig	2024-08-04 19:54:57 UTC
++++ faraday.gemspec
+@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<faraday-net_http>.freeze, [">= 2.0".freeze, "< 3.2".freeze])
++  s.add_runtime_dependency(%q<faraday-net_http>.freeze, [">= 2.0".freeze, "< 3.3".freeze])
+   s.add_runtime_dependency(%q<logger>.freeze, [">= 0".freeze])
+ end
+