git: e4166d923eaa - main - devel/rubygem-fiber-storage: Add rubygem-fiber-storage 0.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:23:23 UTC
The branch main has been updated by sunpoet:

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

commit e4166d923eaa12288e4c8a0acb9c21f964dce117
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 15:45:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:15:00 +0000

    devel/rubygem-fiber-storage: Add rubygem-fiber-storage 0.1.0
    
    Fiber::Storage provides a shim for Fiber.[], Fiber.[]=, Fiber#storage,
    Fiber#storage=, which was introduced in Ruby 3.2.
---
 devel/Makefile                        |  1 +
 devel/rubygem-fiber-storage/Makefile  | 17 +++++++++++++++++
 devel/rubygem-fiber-storage/distinfo  |  3 +++
 devel/rubygem-fiber-storage/pkg-descr |  2 ++
 4 files changed, 23 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 00a4410a5ca0..1fe66bd34b17 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6985,6 +6985,7 @@
     SUBDIR += rubygem-ffi-yajl
     SUBDIR += rubygem-fiber-annotation
     SUBDIR += rubygem-fiber-local
+    SUBDIR += rubygem-fiber-storage
     SUBDIR += rubygem-fiddle
     SUBDIR += rubygem-figaro
     SUBDIR += rubygem-file-tail
diff --git a/devel/rubygem-fiber-storage/Makefile b/devel/rubygem-fiber-storage/Makefile
new file mode 100644
index 000000000000..8e3d9b981647
--- /dev/null
+++ b/devel/rubygem-fiber-storage/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	fiber-storage
+PORTVERSION=	0.1.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Provide a compatibility shim for fiber storage
+WWW=		https://github.com/ioquatix/fiber-storage
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/license.md
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-fiber-storage/distinfo b/devel/rubygem-fiber-storage/distinfo
new file mode 100644
index 000000000000..99a8b7c4c2b5
--- /dev/null
+++ b/devel/rubygem-fiber-storage/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715842492
+SHA256 (rubygem/fiber-storage-0.1.0.gem) = f064828062a23c6a6695b61aed9127eb4c6de5c2039a7656d9eb5c501f9a6424
+SIZE (rubygem/fiber-storage-0.1.0.gem) = 10240
diff --git a/devel/rubygem-fiber-storage/pkg-descr b/devel/rubygem-fiber-storage/pkg-descr
new file mode 100644
index 000000000000..a6499492cd7a
--- /dev/null
+++ b/devel/rubygem-fiber-storage/pkg-descr
@@ -0,0 +1,2 @@
+Fiber::Storage provides a shim for Fiber.[], Fiber.[]=, Fiber#storage,
+Fiber#storage=, which was introduced in Ruby 3.2.