From owner-svn-ports-all@FreeBSD.ORG Wed Feb 12 15:22:23 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD09D248; Wed, 12 Feb 2014 15:22:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A47151D3B; Wed, 12 Feb 2014 15:22:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CFMNgG048977; Wed, 12 Feb 2014 15:22:23 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CFMMVA048971; Wed, 12 Feb 2014 15:22:22 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201402121522.s1CFMMVA048971@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Wed, 12 Feb 2014 15:22:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343927 - in head/devel: . rubygem-nio4r X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 15:22:23 -0000 Author: sunpoet Date: Wed Feb 12 15:22:22 2014 New Revision: 343927 URL: http://svnweb.freebsd.org/changeset/ports/343927 QAT: https://qat.redports.org/buildarchive/r343927/ Log: - Add rubygem-nio4r 1.0.0 nio4r provides an abstract, cross-platform stateful I/O selector API for Ruby. I/O selectors are the heart of "reactor"-based event loops, and monitor multiple I/O objects for various types of readiness, e.g. ready for reading or writing. The most similar API provided by Ruby today is Kernel.select, however the select API requires you to pass in arrays of all of the I/O objects you're interested in every time. nio4r provides a more object-oriented API that lets you register I/O objects with a selector then handle them when they're selected for various types of events. nio4r is modeled after the Java NIO API, but simplified for ease-of-use. Its goals are: - Expose high-level interfaces for stateful IO selectors - Keep the API small to maximize both portability and performance across many different OSes and Ruby VMs - Provide inherently thread-safe facilities for working with IO objects WWW: https://github.com/celluloid/nio4r RG: https://rubygems.org/gems/nio4r Added: head/devel/rubygem-nio4r/ head/devel/rubygem-nio4r/Makefile (contents, props changed) head/devel/rubygem-nio4r/distinfo (contents, props changed) head/devel/rubygem-nio4r/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Feb 12 14:43:10 2014 (r343926) +++ head/devel/Makefile Wed Feb 12 15:22:22 2014 (r343927) @@ -4248,6 +4248,7 @@ SUBDIR += rubygem-mutter SUBDIR += rubygem-needle SUBDIR += rubygem-nice-ffi + SUBDIR += rubygem-nio4r SUBDIR += rubygem-notify SUBDIR += rubygem-open4 SUBDIR += rubygem-orm_adapter Added: head/devel/rubygem-nio4r/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-nio4r/Makefile Wed Feb 12 15:22:22 2014 (r343927) @@ -0,0 +1,18 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= nio4r +PORTVERSION= 1.0.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= New IO for Ruby + +LICENSE= MIT + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include Added: head/devel/rubygem-nio4r/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-nio4r/distinfo Wed Feb 12 15:22:22 2014 (r343927) @@ -0,0 +1,2 @@ +SHA256 (rubygem/nio4r-1.0.0.gem) = 2ee3b2f1d8f8b91ee65bba485309acff284d6a824546b7b9960ce54cd7211559 +SIZE (rubygem/nio4r-1.0.0.gem) = 88064 Added: head/devel/rubygem-nio4r/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-nio4r/pkg-descr Wed Feb 12 15:22:22 2014 (r343927) @@ -0,0 +1,20 @@ +nio4r provides an abstract, cross-platform stateful I/O selector API for Ruby. +I/O selectors are the heart of "reactor"-based event loops, and monitor multiple +I/O objects for various types of readiness, e.g. ready for reading or writing. + +The most similar API provided by Ruby today is Kernel.select, however the select +API requires you to pass in arrays of all of the I/O objects you're interested +in every time. nio4r provides a more object-oriented API that lets you register +I/O objects with a selector then handle them when they're selected for various +types of events. + +nio4r is modeled after the Java NIO API, but simplified for ease-of-use. + +Its goals are: +- Expose high-level interfaces for stateful IO selectors +- Keep the API small to maximize both portability and performance across many + different OSes and Ruby VMs +- Provide inherently thread-safe facilities for working with IO objects + +WWW: https://github.com/celluloid/nio4r +RG: https://rubygems.org/gems/nio4r