git: 589a51ef89ea - main - devel/rubygem-redlock: Update to 2.0.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Aug 2023 19:05:47 UTC
The branch main has been updated by sunpoet:

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

commit 589a51ef89eade5e8034e4f02fcfd7d932871926
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-21 18:54:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-21 19:01:29 +0000

    devel/rubygem-redlock: Update to 2.0.3
    
    Changes:        https://github.com/leandromoreira/redlock-rb/releases
---
 devel/rubygem-redlock/Makefile            |  5 ++---
 devel/rubygem-redlock/distinfo            |  6 +++---
 devel/rubygem-redlock/files/patch-gemspec | 11 -----------
 3 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/devel/rubygem-redlock/Makefile b/devel/rubygem-redlock/Makefile
index 677423b0badf..028589722606 100644
--- a/devel/rubygem-redlock/Makefile
+++ b/devel/rubygem-redlock/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	redlock
-PORTVERSION=	2.0.2
-PORTREVISION=	1
+PORTVERSION=	2.0.3
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +10,7 @@ WWW=		https://github.com/leandromoreira/redlock-rb
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-redis-client>=0.14.1<1:databases/rubygem-redis-client
+RUN_DEPENDS=	rubygem-redis-client>=0.14.1<1.0.0:databases/rubygem-redis-client
 
 USES=		gem
 
diff --git a/devel/rubygem-redlock/distinfo b/devel/rubygem-redlock/distinfo
index f1bc9472c5e5..ba976c5857ed 100644
--- a/devel/rubygem-redlock/distinfo
+++ b/devel/rubygem-redlock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688167108
-SHA256 (rubygem/redlock-2.0.2.gem) = 9a750c2fa8fad96f9546114ffd659975e1e6b7fb0489fa24ff67a83cbc81ffd0
-SIZE (rubygem/redlock-2.0.2.gem) = 18432
+TIMESTAMP = 1692640080
+SHA256 (rubygem/redlock-2.0.3.gem) = 10cb53db7e442c66df6f500506ba46453575e5e9fa8e33248627a8e78030e8a1
+SIZE (rubygem/redlock-2.0.3.gem) = 18944
diff --git a/devel/rubygem-redlock/files/patch-gemspec b/devel/rubygem-redlock/files/patch-gemspec
deleted file mode 100644
index edcc9bb256dc..000000000000
--- a/devel/rubygem-redlock/files/patch-gemspec
+++ /dev/null
@@ -1,11 +0,0 @@
---- redlock.gemspec.orig	2023-08-03 15:43:05 UTC
-+++ redlock.gemspec
-@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
- 
-   s.specification_version = 4
- 
--  s.add_runtime_dependency(%q<redis-client>.freeze, ["~> 0.14.1"])
-+  s.add_runtime_dependency(%q<redis-client>.freeze, ["~> 0.14", ">= 0.14.1"])
-   s.add_development_dependency(%q<connection_pool>.freeze, ["~> 2.2"])
-   s.add_development_dependency(%q<coveralls>.freeze, ["~> 0.8"])
-   s.add_development_dependency(%q<json>.freeze, [">= 2.3.0", "~> 2.3.1"])