git: dab7167fbf68 - main - devel/rubygem-grape20: fix regression from 656f3fb43c1edac1b2ba32fce8a36a35f62d6daa

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Thu, 27 Jun 2024 04:49:49 UTC
The branch main has been updated by mfechner:

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

commit dab7167fbf684a5b578354cde054cfb4126bfd70
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-06-22 16:06:12 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-06-27 04:38:59 +0000

    devel/rubygem-grape20: fix regression from 656f3fb43c1edac1b2ba32fce8a36a35f62d6daa
    
    Make version 2.0 available that is required by gitlab.
    
    PR:             279905
---
 devel/Makefile                  |  1 +
 devel/rubygem-grape20/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/rubygem-grape20/distinfo  |  3 +++
 devel/rubygem-grape20/pkg-descr |  1 +
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f66194726676..3f864f0d5069 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7139,6 +7139,7 @@
     SUBDIR += rubygem-googleapis-common-protos-types
     SUBDIR += rubygem-graf
     SUBDIR += rubygem-grape
+    SUBDIR += rubygem-grape20
     SUBDIR += rubygem-grape-entity
     SUBDIR += rubygem-grape-path-helpers
     SUBDIR += rubygem-grape-route-helpers
diff --git a/devel/rubygem-grape20/Makefile b/devel/rubygem-grape20/Makefile
new file mode 100644
index 000000000000..4a5a8bc6b56a
--- /dev/null
+++ b/devel/rubygem-grape20/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	grape
+PORTVERSION=	2.0.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	20
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Framework for rapid API development with great conventions
+WWW=		https://www.ruby-grape.org/ \
+		https://github.com/ruby-grape/grape
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport70>=5:devel/rubygem-activesupport70 \
+		rubygem-builder>=0:devel/rubygem-builder \
+		rubygem-dry-types>=1.1:devel/rubygem-dry-types \
+		rubygem-mustermann-grape10>=1.0.0<1.1:devel/rubygem-mustermann-grape10 \
+		rubygem-rack>=1.3.0,3:www/rubygem-rack \
+		rubygem-rack-accept>=0:www/rubygem-rack-accept
+
+USES=		cpe gem
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	ruby-grape
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-grape20/distinfo b/devel/rubygem-grape20/distinfo
new file mode 100644
index 000000000000..3e9ce5b2c62f
--- /dev/null
+++ b/devel/rubygem-grape20/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1718880840
+SHA256 (rubygem/grape-2.0.0.gem) = 3aeff94c17e84ccead4ff98833df691e7da0c108878cc128ca31f80c1047494a
+SIZE (rubygem/grape-2.0.0.gem) = 146944
diff --git a/devel/rubygem-grape20/pkg-descr b/devel/rubygem-grape20/pkg-descr
new file mode 100644
index 000000000000..164d91bf02ec
--- /dev/null
+++ b/devel/rubygem-grape20/pkg-descr
@@ -0,0 +1 @@
+A Ruby framework for rapid API development with great conventions.