pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-io-like Importing ruby-io-like version 0.3.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34d0247bb820
branches:  trunk
changeset: 601253:34d0247bb820
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Mar 20 07:24:21 2012 +0000

description:
Importing ruby-io-like version 0.3.0.


The IO::Like module provides the methods of an IO object based upon on a few
simple methods provided by the including class: unbuffered_read,
unbuffered_write, and unbuffered_seek.

These methods provide the underlying read, write, and seek support
respectively, and only the method or methods necessary to the correct
operation of the IO aspects of the including class need to be provided.

Missing functionality will cause the resulting object to appear read-only,
write-only, and/or unseekable depending on which underlying methods are
absent.

Additionally, read and write operations which are buffered in IO are buffered
with independently configurable buffer sizes.  Duplexed objects (those with
separate read and write streams) are also supported.

diffstat:

 devel/ruby-io-like/DESCR    |  15 +++++++++++++++
 devel/ruby-io-like/Makefile |  12 ++++++++++++
 devel/ruby-io-like/PLIST    |  13 +++++++++++++
 devel/ruby-io-like/distinfo |   5 +++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 1b2a83719877 -r 34d0247bb820 devel/ruby-io-like/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-io-like/DESCR  Tue Mar 20 07:24:21 2012 +0000
@@ -0,0 +1,15 @@
+The IO::Like module provides the methods of an IO object based upon on a few
+simple methods provided by the including class: unbuffered_read,
+unbuffered_write, and unbuffered_seek.
+
+These methods provide the underlying read, write, and seek support
+respectively, and only the method or methods necessary to the correct
+operation of the IO aspects of the including class need to be provided.
+
+Missing functionality will cause the resulting object to appear read-only,
+write-only, and/or unseekable depending on which underlying methods are
+absent.
+
+Additionally, read and write operations which are buffered in IO are buffered
+with independently configurable buffer sizes.  Duplexed objects (those with
+separate read and write streams) are also supported.
diff -r 1b2a83719877 -r 34d0247bb820 devel/ruby-io-like/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-io-like/Makefile       Tue Mar 20 07:24:21 2012 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/03/20 07:24:21 taca Exp $
+
+DISTNAME=      io-like-0.3.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://io-like.rubyforge.org
+COMMENT=       Functionality of an IO object to any class
+LICENSE=       #
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1b2a83719877 -r 34d0247bb820 devel/ruby-io-like/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-io-like/PLIST  Tue Mar 20 07:24:21 2012 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/20 07:24:21 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CONTRIBUTORS
+${GEM_LIBDIR}/GPL
+${GEM_LIBDIR}/HACKING
+${GEM_LIBDIR}/LEGAL
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/LICENSE.rubyspec
+${GEM_LIBDIR}/MANIFEST
+${GEM_LIBDIR}/NEWS
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/lib/io/like.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 1b2a83719877 -r 34d0247bb820 devel/ruby-io-like/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-io-like/distinfo       Tue Mar 20 07:24:21 2012 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/03/20 07:24:21 taca Exp $
+
+SHA1 (io-like-0.3.0.gem) = 10948be02ec924e43df28985a554dabf556f9282
+RMD160 (io-like-0.3.0.gem) = 605e44be3f2e8563b0be4e4a1b19106558cb6227
+Size (io-like-0.3.0.gem) = 31744 bytes



Home | Main Index | Thread Index | Old Index