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  3% 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 3%]

* [PATCH 1/2] test_connect_fd_leak: do not close socket if non-existent
  2019-12-14 17:58  4% [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

---
 test/test_connect_fd_leak.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_connect_fd_leak.rb b/test/test_connect_fd_leak.rb
index 034fe5b..b1326f3 100644
--- a/test/test_connect_fd_leak.rb
+++ b/test/test_connect_fd_leak.rb
@@ -13,6 +13,6 @@ class TestConnectFDLeak < Test::Unit::TestCase
       sock = Kgio::UNIXSocket.new(path)
     rescue Errno::ENOENT
     end while (nr += 1) < 10000
-    sock.close
+    sock.close if sock
   end
 end

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] fix some test failures/warnings with newer Rubies
@ 2019-12-14 17:58  4% Eric Wong
  2019-12-14 17:58  7% ` [PATCH 1/2] test_connect_fd_leak: do not close socket if non-existent 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 4%]

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  4% [PATCH 0/2] fix some test failures/warnings with newer Rubies Eric Wong
2019-12-14 17:58  7% ` [PATCH 1/2] test_connect_fd_leak: do not close socket if non-existent Eric Wong
2020-01-08  9:29  3% [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).