Date: Wed, 12 Feb 2014 15:23:19 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343928 - in head/devel: . rubygem-celluloid-io Message-ID: <201402121523.s1CFNJGi049181@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed Feb 12 15:23:19 2014 New Revision: 343928 URL: http://svnweb.freebsd.org/changeset/ports/343928 QAT: https://qat.redports.org/buildarchive/r343928/ Log: - Add rubygem-celluloid-io 0.15.0 Celluloid::IO provides an event-driven IO system for building fast, scalable network applications that integrates directly with the Celluloid actor library, making it easy to combine both threaded and evented concepts. Celluloid::IO is ideal for servers which handle large numbers of mostly-idle connections, such as Websocket servers or chat/messaging systems. Celluloid::IO provides a different class of actor: one that's slightly slower and heavier than standard Celluloid actors, but one which contains a high-performance reactor just like EventMachine or Cool.io. This means Celluloid::IO actors have the power of both Celluloid actors and evented I/O loops. Unlike certain other evented I/O systems which limit you to a single event loop per process, Celluloid::IO lets you make as many actors as you want, system resources permitting. Rather than callbacks, Celluloid::IO exposes a synchronous API built on duck types of Ruby's own IO classes, such as TCPServer and TCPSocket. These classes work identically to their core Ruby counterparts, but in the scope of Celluloid::IO actors provide "evented" performance. Since they're drop-in replacements for the standard classes, there's no need to rewrite every library just to take advantage of Celluloid::IO's event loop and you can freely switch between evented and blocking IO even over the lifetime of a single connection. WWW: https://github.com/celluloid/celluloid-io RG: https://rubygems.org/gems/celluloid-io Added: head/devel/rubygem-celluloid-io/ head/devel/rubygem-celluloid-io/Makefile (contents, props changed) head/devel/rubygem-celluloid-io/distinfo (contents, props changed) head/devel/rubygem-celluloid-io/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Feb 12 15:22:22 2014 (r343927) +++ head/devel/Makefile Wed Feb 12 15:23:19 2014 (r343928) @@ -4116,6 +4116,7 @@ SUBDIR += rubygem-cairo-gobject SUBDIR += rubygem-capybara SUBDIR += rubygem-celluloid + SUBDIR += rubygem-celluloid-io SUBDIR += rubygem-childprocess SUBDIR += rubygem-chronic SUBDIR += rubygem-classifier Added: head/devel/rubygem-celluloid-io/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-celluloid-io/Makefile Wed Feb 12 15:23:19 2014 (r343928) @@ -0,0 +1,21 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= celluloid-io +PORTVERSION= 0.15.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Evented IO for Celluloid actors + +LICENSE= MIT + +RUN_DEPENDS= rubygem-celluloid>=0.15.0:${PORTSDIR}/devel/rubygem-celluloid \ + rubygem-nio4r>=0.5.0:${PORTSDIR}/devel/rubygem-nio4r + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> Added: head/devel/rubygem-celluloid-io/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-celluloid-io/distinfo Wed Feb 12 15:23:19 2014 (r343928) @@ -0,0 +1,2 @@ +SHA256 (rubygem/celluloid-io-0.15.0.gem) = 47d3c70d43580cd62d7c999cd3251b029ec2e4cdecb72ec40ab5614e82a3040a +SIZE (rubygem/celluloid-io-0.15.0.gem) = 52224 Added: head/devel/rubygem-celluloid-io/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-celluloid-io/pkg-descr Wed Feb 12 15:23:19 2014 (r343928) @@ -0,0 +1,24 @@ +Celluloid::IO provides an event-driven IO system for building fast, scalable +network applications that integrates directly with the Celluloid actor library, +making it easy to combine both threaded and evented concepts. Celluloid::IO is +ideal for servers which handle large numbers of mostly-idle connections, such as +Websocket servers or chat/messaging systems. + +Celluloid::IO provides a different class of actor: one that's slightly slower +and heavier than standard Celluloid actors, but one which contains a +high-performance reactor just like EventMachine or Cool.io. This means +Celluloid::IO actors have the power of both Celluloid actors and evented I/O +loops. Unlike certain other evented I/O systems which limit you to a single +event loop per process, Celluloid::IO lets you make as many actors as you want, +system resources permitting. + +Rather than callbacks, Celluloid::IO exposes a synchronous API built on duck +types of Ruby's own IO classes, such as TCPServer and TCPSocket. These classes +work identically to their core Ruby counterparts, but in the scope of +Celluloid::IO actors provide "evented" performance. Since they're drop-in +replacements for the standard classes, there's no need to rewrite every library +just to take advantage of Celluloid::IO's event loop and you can freely switch +between evented and blocking IO even over the lifetime of a single connection. + +WWW: https://github.com/celluloid/celluloid-io +RG: https://rubygems.org/gems/celluloid-io
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402121523.s1CFNJGi049181>