pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-async
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 27 15:50:34 UTC 2025
Modified Files:
pkgsrc/devel/ruby-async: Makefile PLIST distinfo
Log Message:
devel/ruby-async: update to 2.27.0
2.25.0
* Added support for io_select hook in the fiber scheduler, allowing
non-blocking IO.select operations. This enables better integration with
code that uses IO.select for multiplexing IO operations.
- Use IO::Event::WorkerPool for Blocking Operations
- Better handling of IO#close using fiber_interrupt
2.26.0
* Async::Notification#signal now returns true if a task was signaled, false
otherwise, providing better feedback for notification operations.
* require "async/limited_queue" is required to use Async::LimitedQueue
without a deprecation warning. Async::LimitedQueue is not deprecated, but
it's usage via async/queue is deprecated.
* Async::Task#sleep is deprecated with no replacement.
* Async::Task.yield is deprecated with no replacement.
* Async::Scheduler#async is deprecated, use Async{}, Sync{} or
Async::Task#async instead.
* Agent context is now available, via the agent-context gem.
* Async::Barrier Improvements
Async::Barrier now provides more flexible and predictable behavior for
waiting on task completion:
- Completion-order waiting: barrier.wait now processes tasks in the order
they complete rather than the order they were created. This provides
more predictable behavior when tasks have different execution times.
- Block-based waiting: barrier.wait now accepts an optional block that
yields each task as it completes, allowing for custom handling of
individual tasks.
- Partial completion support: The new block-based interface allows you to
wait for only the first N tasks to complete.
* Introduce Async::Queue#close
Async::Queue and Async::LimitedQueue can now be closed, which provides
better resource management and error handling:
- New close method: Both queue types now have a close method that prevents
further items from being added and signals any waiting tasks.
- Consistent error handling: All queue modification methods (push,
enqueue, <<) now raise Async::Queue::ClosedError when called on a closed
queue.
- Waiting task signaling: When a queue is closed, any tasks waiting on
dequeue (for regular queues) or enqueue (for limited queues) are
properly signaled and can complete.
2.27.0
* Async::Task#stop supports an optional cause: argument (that defaults to
$!), which allows you to specify the cause (exception) for stopping the
task.
* Add thread-safety agent context.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/ruby-async/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-async/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/ruby-async/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/ruby-async/Makefile
diff -u pkgsrc/devel/ruby-async/Makefile:1.34 pkgsrc/devel/ruby-async/Makefile:1.35
--- pkgsrc/devel/ruby-async/Makefile:1.34 Tue May 27 16:13:44 2025
+++ pkgsrc/devel/ruby-async/Makefile Sun Jul 27 15:50:34 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2025/05/27 16:13:44 taca Exp $
+# $NetBSD: Makefile,v 1.35 2025/07/27 15:50:34 taca Exp $
-DISTNAME= async-2.24.0
+DISTNAME= async-2.27.0
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -11,7 +11,7 @@ LICENSE= mit
USE_LANGUAGES= # none
DEPENDS+= ${RUBY_PKGPREFIX}-console>=1.29<2:../../devel/ruby-console
-DEPENDS+= ${RUBY_PKGPREFIX}-io-event>=1.9<2:../../devel/ruby-io-event
+DEPENDS+= ${RUBY_PKGPREFIX}-io-event>=1.12<2:../../devel/ruby-io-event
DEPENDS+= ${RUBY_PKGPREFIX}-fiber-annotation>=0:../../devel/ruby-fiber-annotation
DEPENDS+= ${RUBY_PKGPREFIX}-traces>=0.15<1:../../devel/ruby-traces
DEPENDS+= ${RUBY_PKGPREFIX}-metrics>=0.12<1:../../devel/ruby-metrics
Index: pkgsrc/devel/ruby-async/PLIST
diff -u pkgsrc/devel/ruby-async/PLIST:1.9 pkgsrc/devel/ruby-async/PLIST:1.10
--- pkgsrc/devel/ruby-async/PLIST:1.9 Sat May 17 06:06:02 2025
+++ pkgsrc/devel/ruby-async/PLIST Sun Jul 27 15:50:34 2025
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.9 2025/05/17 06:06:02 taca Exp $
+@comment $NetBSD: PLIST,v 1.10 2025/07/27 15:50:34 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/agent.md
${GEM_LIBDIR}/lib/async.rb
${GEM_LIBDIR}/lib/async/barrier.md
${GEM_LIBDIR}/lib/async/barrier.rb
@@ -17,14 +18,13 @@ ${GEM_LIBDIR}/lib/async/reactor.rb
${GEM_LIBDIR}/lib/async/scheduler.rb
${GEM_LIBDIR}/lib/async/semaphore.md
${GEM_LIBDIR}/lib/async/semaphore.rb
+${GEM_LIBDIR}/lib/async/stop.rb
${GEM_LIBDIR}/lib/async/task.md
${GEM_LIBDIR}/lib/async/task.rb
${GEM_LIBDIR}/lib/async/timeout.rb
${GEM_LIBDIR}/lib/async/variable.rb
${GEM_LIBDIR}/lib/async/version.rb
-${GEM_LIBDIR}/lib/async/waiter.md
${GEM_LIBDIR}/lib/async/waiter.rb
-${GEM_LIBDIR}/lib/async/worker_pool.rb
${GEM_LIBDIR}/lib/kernel/async.rb
${GEM_LIBDIR}/lib/kernel/sync.rb
${GEM_LIBDIR}/lib/metrics/provider/async.rb
Index: pkgsrc/devel/ruby-async/distinfo
diff -u pkgsrc/devel/ruby-async/distinfo:1.30 pkgsrc/devel/ruby-async/distinfo:1.31
--- pkgsrc/devel/ruby-async/distinfo:1.30 Sat May 17 06:06:02 2025
+++ pkgsrc/devel/ruby-async/distinfo Sun Jul 27 15:50:34 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2025/05/17 06:06:02 taca Exp $
+$NetBSD: distinfo,v 1.31 2025/07/27 15:50:34 taca Exp $
-BLAKE2s (async-2.24.0.gem) = 9571a837f256a8b875af2f0ede444beb9ade6b01a984c0efec8f1dd4e96265f8
-SHA512 (async-2.24.0.gem) = 862919a10c07281c8f4164ccfd016d01f210409fe7353c76ddb52992fb987876349c33e8d09788df3bb51fcc1f39248cbf92c491fa7b799f5e849ffd3a4a35a3
-Size (async-2.24.0.gem) = 36864 bytes
+BLAKE2s (async-2.27.0.gem) = 640b292c7a2111abfcc8ee8242f97ef978cfc8627f75c300a5484829aacefca4
+SHA512 (async-2.27.0.gem) = fb26c1e197a26d3bca87baa02a0bdbf5a94d36609df65412dd7c96c39faa37714cbcf656cf7119e8254494d5fb1ff943c149bd265abc3e45df40ba288d6f12e8
+Size (async-2.27.0.gem) = 39936 bytes
Home |
Main Index |
Thread Index |
Old Index