kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] kgio 2.11.3 - deprecated project moves off deprecated TLD
@ 2020-01-08  9:29  5% Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2020-01-08  9:29 UTC (permalink / raw)
  To: kgio-public

This is a legacy project, do not use it for new projects.  Ruby
2.3 and later should make this obsolete.  kgio provides
non-blocking I/O methods for Ruby without raising exceptions on
EAGAIN and EINPROGRESS.

Note: I do not recommend using kgio for future applications, Ruby 2.x
has a lot of the functionality of kgio and Ruby 2.3+ has even more.

* homepage: https://yhbt.net/kgio/
* public mailing list: kgio-public@yhbt.net
* git clone https://yhbt.net/kgio.git
* Atom feed https://yhbt.net/kgio/NEWS.atom.xml
* mail archives: https://yhbt.net/kgio-public/

Changes:

    Some doc and warning fixes for newer Rubies.

    We're no longer on bogomips.org since it's due
    for expiry and I can't pay extortionists for a .org, so
    s/bogomips.org/yhbt.net/ for now, and be prepared to move again
    when extortionists move onto the .net TLD.

          pkg.mk: use --local to "gem install"
          pkg.mk: use dark216 theme for Earth Day 2019
          test: fix warnings with RUBYOPT=-w
          tests: fix unused variable warnings from newer Rubies
          test_connect_fd_leak: do not close socket if non-existent
          test_syssend: avoid warning on cleanup
          build: remove olddoc from the gemspec
          doc: remove private email and outdated gmane archives
          doc: move from bogomips.org/kgio to yhbt.net/kgio

Again, using kgio for new projects is strongly discouraged.
Use Ruby 2.3+ instead.

^ permalink raw reply	[relevance 5%]

* [PATCH 2/2] test_syssend: avoid warning on cleanup
  2019-12-14 17:58  6% [PATCH 0/2] fix some test failures/warnings with newer Rubies Eric Wong
@ 2019-12-14 17:58  7% ` Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2019-12-14 17:58 UTC (permalink / raw)
  To: kgio-public

We don't want to clutter up logs with warnings for cross-thread
IO#close
---
 test/test_syssend.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/test_syssend.rb b/test/test_syssend.rb
index 7d2511a..a722462 100644
--- a/test/test_syssend.rb
+++ b/test/test_syssend.rb
@@ -37,6 +37,8 @@ class TestKgioSyssend < Test::Unit::TestCase
     # blocking
     th = Thread.new { loop { acc.kgio_syssend("ZZZZ", 0) } }
     assert_nil th.join(0.1)
+    th.kill
+    assert th.join(10), 'thread should be killed'
   ensure
     [ srv, acc, client ].each { |io| io.close if io }
   end

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] fix some test failures/warnings with newer Rubies
@ 2019-12-14 17:58  6% Eric Wong
  2019-12-14 17:58  7% ` [PATCH 2/2] test_syssend: avoid warning on cleanup Eric Wong
  0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2019-12-14 17:58 UTC (permalink / raw)
  To: kgio-public

Newer rubies are pickier...

Eric Wong (2):
  test_connect_fd_leak: do not close socket if non-existent
  test_syssend: avoid warning on cleanup

 test/test_connect_fd_leak.rb | 2 +-
 test/test_syssend.rb         | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)


^ permalink raw reply	[relevance 6%]

Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-12-14 17:58  6% [PATCH 0/2] fix some test failures/warnings with newer Rubies Eric Wong
2019-12-14 17:58  7% ` [PATCH 2/2] test_syssend: avoid warning on cleanup Eric Wong
2020-01-08  9:29  5% [ANN] kgio 2.11.3 - deprecated project moves off deprecated TLD Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).