devel/ruby-fiber-storage - The NetBSD Packages Collection

Provides a compatibility shim for fiber storage

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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ruby32-base

Binary packages

OSArchitectureVersion
NetBSD 9.3x86_64ruby31-fiber-storage-0.1.0.tgz
NetBSD 9.3x86_64ruby32-fiber-storage-0.1.0.tgz
NetBSD 9.3x86_64ruby33-fiber-storage-0.1.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.