./devel/ruby-kgio, Provides non-blocking I/O methods for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 2.11.2, Package name: ruby24-kgio-2.11.2, Maintainer: pkgsrc-users

kgio provides non-blocking I/O methods for Ruby without raising exceptions on
EAGAIN and EINPROGRESS. It is intended for use with the Unicorn and Rainbows!
Rack servers, but may be used by other applications.

Required to run:

Required to build:

Master sites:

SHA1: 5b1cb69ca85f8f9cf117a6273dd4673b64df9813
RMD160: 7319eca50d7551e3e70dd882315b33c4890861e5
Filesize: 58.5 KB

Version history: (Expand)

CVS history: (Expand)

   2018-03-13 18:00:51 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-kgio: update to 2.11.2

=== kgio 2.11.2 - fix Ruby 2.5 compatibility for accept_class / 2018-01-30 21:11 UTC

  This release fixes a bug affecting the Rainbows! web server
  which uses Kgio.accept_class:

https://bogomips.org/rainbows-public/CA … gmail.com/

  * accept: avoid passing unnecessary arg to rb_funcall

=== kgio 2.11.1 - fix Ruby 2.5.0dev compatibility / 2017-12-15 19:40 UTC

  This release fixes compatibility with Ruby 2.5.0 preview and
  release candidates (and thus should be ready for 2.5.0 final)
  on some platforms.  At least clang 5.0.0 on OpenBSD is affected.

  Thanks to Jeremy Evans for the fix.

  There's also minor documentation updates since 2.11.0
   2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163)
Log message:
Follow some redirects.
   2017-03-12 15:38:18 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.11.0.

=== kgio 2.11.0 - reverting 2.10.0 breakage / 2016-12-16 22:56 UTC

  Mainly this release reverts back to kgio 2.9.3 behavior by
  supporting "autopush" functionality in the C extension.
  Removing this feature in 2.10.0 was a monumental mistake(*) on
  my part which caused a performance regression for ONE known user
  of kgio on the deprecated (but supported) Rainbows! server.

  This release does not affect known users outside of Rainbows!,
  but we may have unknown users, too.

  The attempt at a pure Ruby version of autopush had flaws and
  regressions in real-world testing, so that was abandoned.

  So yeah, kgio will be supported indefinitely even in the face
  of internal changes to MRI, but I strongly discourage its use
  for new projects.
  Users who only support Ruby 2.3 (and later) are encouraged to
  use `exception: false` with all *_nonblock methods.

  4 changes since 2.10.0:

        resurrect Kgio.autopush support in pure Ruby [REVERTED]
        reinstate the original (and dangerous) autopush in C
        TODO: update with Ruby 2.3 status
        test: increase test data sizes to fill socket buffers

  (*) - as was making this a separate project, at all
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-10-04 14:17:04 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.10.0.

=== kgio 2.10.0 - slimming down... / 2015-09-06 08:12 UTC

  The largely-unused autopush functionality is now a no-op.
  Existing applications will probably not notice, and are
  better off using MSG_MORE anyways if they're on Linux.

  Our poll(2) wrapper now uses rb_hash_clear if available,
  reducing global method cache dependence.

  shortlog of changes since 2.9.3:

        README: remove reference to Rainbows!
        writev: update comment on preserving errno
        poll: avoid rb_funcall for rb_hash_clear
        minor doc updates
        remove autopush support and make it a no-op
        HACKING: update URL for Message-ID lookup
   2015-03-08 16:17:22 by Takahiro Kambe | Files touched by this commit (58) | Package updated
Log message:
Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.
   2015-02-01 15:33:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.9.3.

=== kgio 2.9.3 - minor cleanups and fixes / 2015-01-12 08:46 UTC

  Most notably there's a new RB_GC_GUARD to fix an occasional segfault at
  load time for Ruby 1.8 users thanks to Petr Novodvorskiy for reporting
  the issue.

  There's been a new mailing list for a few months now at:


  No subscription is required, but if you wish to subscribe
  (existing librelist subscribers must resubscribe)


  There's also a bunch of code cleanups and packaging
  cleanups.  Our website is faster now thanks to olddoc:



        test/lib_read_write: fix trywritev blocking test
        new mailing list info: kgio-public@bogomips.org
        relax license to allow LGPLv2.1 or later
        gemspec: modernize for more recent rubygems
        doc: switch to olddoc
        remove references to rubyforge and ancient Rubies
        TODO: updates for the future of kgio
        tryopen: add RB_GC_GUARD for Ruby 1.8
        LICENSE: prefer URL to FSF address
        cleanup packaging harder
        fixup -Wshorten-64-to-32 warnings
        cleanup: avoid shadowing rb_str_subseq
        cleanup: avoid shadowing rb_ary_subseq
        pkg.mk: synchronize with my other projects
        gemspec: remove invalid rdoc_options
        gemspec: use SPDX license abbreviation
   2014-03-14 16:42:16 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.9.2.

=== kgio 2.9.2 - avoid deprecated/removed function / 2014-02-15 09:27 UTC

  This release is for compatibility with future releases of mainline ruby,
  as rb_thread_blocking_region is removed in r44955 of ruby trunk
  This also avoids deprecation warnings fo rb_thread_blocking_region
  2.0 and 2.1.

=== kgio 2.9.1 - various Ruby 1.8.7 fixes / 2014-02-05 17:50 UTC

  Thanks to Christopher Rigor for this release.

  Eric Wong (2):
        only define and test kgio_syssend on 1.9+
        various 1.8.7 fixes

=== kgio 2.9.0 - cleanups, bug fixes, minor improvements / 2014-02-04 03:09 UTC

  This adds a new kgio_syssend method for Ruby 1.9+ which behaves
  like BasicSocket#send, but will not raise exceptions on EAGAIN.

  Eric Wong (12):
        test_poll: remove race prone test_poll_EINTR_changed test
        tryopen: remove RARRAY_PTR usage in init
        read_write: remove the rest of RARRAY_PTR usage
        my_writev: stylistic fixes
        Rakefile: kill raa_update task
        avoid downsizing casts
        connect: constify RSTRING-related things
        set RSTRING_MODIFIED where appropriate for Rubinius
        split read_write.c into {read,write,writev}.c
        add kgio_syssend method to wrap send(2)
        write: correct check for various blocking regions
        tryopen: additional debug information for bad Errno values

  Hleb Valoshka (1):
        Don't use deprecated api