pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-fiber-storage
Module Name: pkgsrc
Committed By: taca
Date: Sun May 5 16:10:02 UTC 2024
Added Files:
pkgsrc/devel/ruby-fiber-storage: DESCR Makefile PLIST distinfo
Log Message:
devel/ruby-fiber-storage: add package version 0.1.0
This package is required by new version of devel/ruby-fiber-local
package.
Fiber::Storage
This gem provides a shim for Fiber.[], Fiber.[]=, Fiber#storage,
Fiber#storage=, which was introduced in Ruby 3.2.
Motivation
Ruby 3.2 introduces inheritable fiber storage for per-request or
per-operation state. This gem provides a shim for Ruby 3.1 and earlier to
make adoption easier. It isn't able to provide the full range of features,
but it should be sufficient for most use cases.
Notably, it does not support inheritance across threads or lazy Enumerator.
This is a limitation of the shim implementation.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-fiber-storage/DESCR \
pkgsrc/devel/ruby-fiber-storage/Makefile \
pkgsrc/devel/ruby-fiber-storage/PLIST \
pkgsrc/devel/ruby-fiber-storage/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/ruby-fiber-storage/DESCR
diff -u /dev/null pkgsrc/devel/ruby-fiber-storage/DESCR:1.1
--- /dev/null Sun May 5 16:10:02 2024
+++ pkgsrc/devel/ruby-fiber-storage/DESCR Sun May 5 16:10:02 2024
@@ -0,0 +1,14 @@
+Fiber::Storage
+
+This gem provides a shim for Fiber.[], Fiber.[]=, Fiber#storage,
+Fiber#storage=, which was introduced in Ruby 3.2.
+
+Motivation
+
+Ruby 3.2 introduces inheritable fiber storage for per-request or
+per-operation state. This gem provides a shim for Ruby 3.1 and earlier to
+make adoption easier. It isn't able to provide the full range of features,
+but it should be sufficient for most use cases.
+
+Notably, it does not support inheritance across threads or lazy Enumerator.
+This is a limitation of the shim implementation.
Index: pkgsrc/devel/ruby-fiber-storage/Makefile
diff -u /dev/null pkgsrc/devel/ruby-fiber-storage/Makefile:1.1
--- /dev/null Sun May 5 16:10:02 2024
+++ pkgsrc/devel/ruby-fiber-storage/Makefile Sun May 5 16:10:02 2024
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2024/05/05 16:10:02 taca Exp $
+
+DISTNAME= fiber-storage-0.1.0
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/socketry/fiber-storage
+COMMENT= Provides a compatibility shim for fiber storage
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/ruby-fiber-storage/PLIST
diff -u /dev/null pkgsrc/devel/ruby-fiber-storage/PLIST:1.1
--- /dev/null Sun May 5 16:10:02 2024
+++ pkgsrc/devel/ruby-fiber-storage/PLIST Sun May 5 16:10:02 2024
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/05 16:10:02 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/lib/fiber/storage.rb
+${GEM_LIBDIR}/lib/fiber/storage/version.rb
+${GEM_LIBDIR}/license.md
+${GEM_LIBDIR}/readme.md
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/devel/ruby-fiber-storage/distinfo
diff -u /dev/null pkgsrc/devel/ruby-fiber-storage/distinfo:1.1
--- /dev/null Sun May 5 16:10:02 2024
+++ pkgsrc/devel/ruby-fiber-storage/distinfo Sun May 5 16:10:02 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/05/05 16:10:02 taca Exp $
+
+BLAKE2s (fiber-storage-0.1.0.gem) = ec035f0da290cc753e4617eaaa7aa02e5e1ad2a6cab2d3d1cf666963eb7fab7a
+SHA512 (fiber-storage-0.1.0.gem) = 9ab93f9b6ed0657f585a08b7ff89af2eb289bfcf4a1f5dd36363cf6fe622191cf95f4045411e36765f763d19fdc673dc9c2fb7e277f52245d46b6c1ddcc1757f
+Size (fiber-storage-0.1.0.gem) = 10240 bytes
Home |
Main Index |
Thread Index |
Old Index