git: 9002e8760635 - main - mail/rubygem-mail_room: Update to 0.10.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 02 Nov 2023 07:42:14 UTC
The branch main has been updated by sunpoet:

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

commit 9002e8760635214b3c9ac4dd8d3a767ca7543fc2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-02 07:35:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-02 07:37:40 +0000

    mail/rubygem-mail_room: Update to 0.10.1
    
    - Take maintainership
    
    Changes:        https://github.com/tpitale/mail_room/commits/master
---
 mail/rubygem-mail_room/Makefile            |  7 +++++--
 mail/rubygem-mail_room/distinfo            |  6 +++---
 mail/rubygem-mail_room/files/patch-gemspec | 13 +++++++++++++
 3 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/mail/rubygem-mail_room/Makefile b/mail/rubygem-mail_room/Makefile
index e64c8d996a11..d0d606cbbc18 100644
--- a/mail/rubygem-mail_room/Makefile
+++ b/mail/rubygem-mail_room/Makefile
@@ -1,15 +1,18 @@
 PORTNAME=	mail_room
-PORTVERSION=	0.10.0
+PORTVERSION=	0.10.1
 CATEGORIES=	mail rubygems
 MASTER_SITES=	RG
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Proxy email (gmail) from IMAP to a delivery method
 WWW=		https://github.com/tpitale/mail_room
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+RUN_DEPENDS=	rubygem-net-imap>=0.2.1:mail/rubygem-net-imap \
+		rubygem-oauth2>=1.4.4<3:net/rubygem-oauth2
+
 USES=		gem
 
 NO_ARCH=	yes
diff --git a/mail/rubygem-mail_room/distinfo b/mail/rubygem-mail_room/distinfo
index 31ae27afc955..8892e39ec960 100644
--- a/mail/rubygem-mail_room/distinfo
+++ b/mail/rubygem-mail_room/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1576924116
-SHA256 (rubygem/mail_room-0.10.0.gem) = e44f2bc91671f2ed370dcf2677cae4d2ca53aa9df204b5d743464d6ef6740660
-SIZE (rubygem/mail_room-0.10.0.gem) = 25088
+TIMESTAMP = 1698848846
+SHA256 (rubygem/mail_room-0.10.1.gem) = d61469dea8b16e8a2dfe91287c0c30abdc1065586cc3295ae6b32c3ffd3b94af
+SIZE (rubygem/mail_room-0.10.1.gem) = 35328
diff --git a/mail/rubygem-mail_room/files/patch-gemspec b/mail/rubygem-mail_room/files/patch-gemspec
new file mode 100644
index 000000000000..f6866944e0a0
--- /dev/null
+++ b/mail/rubygem-mail_room/files/patch-gemspec
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/tpitale/mail_room/commit/48f8e0822ef407d517671a93a05222bee17af04c
+
+--- mail_room.gemspec.orig	2023-11-02 06:19:40 UTC
++++ mail_room.gemspec
+@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
+   s.specification_version = 4
+ 
+   s.add_runtime_dependency(%q<net-imap>.freeze, [">= 0.2.1"])
+-  s.add_runtime_dependency(%q<oauth2>.freeze, ["~> 1.4.4"])
++  s.add_runtime_dependency(%q<oauth2>.freeze, [">= 1.4.4", "< 3"])
+   s.add_development_dependency(%q<rake>.freeze, [">= 0"])
+   s.add_development_dependency(%q<rspec>.freeze, ["~> 3.9"])
+   s.add_development_dependency(%q<rubocop>.freeze, ["~> 1.11"])