Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
 Warning: Initial query:
 %22t/hijack.ru: avoid shadow warning%22
 returned no results, used:
 "t/hijack.ru: avoid shadow warning"
 instead

Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] Rainbows! 5.2.0
@ 2019-01-05 20:43  5% Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2019-01-05 20:43 UTC (permalink / raw)
  To: rainbows-public

Mainly fixes some mismatched indentation warnings with Ruby 2.6+
Some doc updates, too.

4 changes since v5.1.1 (2017-04-02)
      quiet mismatched indentation warnings
      t/hijack.ru: avoid shadow warning
      t/test_isolate: various version updates
      various documentation updates

Rainbows! is maintained as long as anybody uses it,
but I don't recommend using it for new apps:

https://bogomips.org/rainbows-public/20151020095934.GA19114@dcvr.yhbt.net/

* https://bogomips.org/rainbows/
* rainbows-public@bogomips.org
* https://bogomips.org/rainbows-public/
* git clone https://bogomips.org/rainbows.git
* https://bogomips.org/rainbows/NEWS.atom.xml
* nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
* nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general

^ permalink raw reply	[relevance 5%]

* [PATCH 2/3] t/hijack.ru: avoid shadow warning
  2019-01-02 21:43  5% [PATCH 0/3] various updates for Ruby 2.6 Eric Wong
@ 2019-01-02 21:43  7% ` Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2019-01-02 21:43 UTC (permalink / raw)
  To: rainbows-public

---
 t/hijack.ru | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/hijack.ru b/t/hijack.ru
index 16b5f38..f02507f 100644
--- a/t/hijack.ru
+++ b/t/hijack.ru
@@ -46,7 +46,7 @@ def lazy_close(io)
       {
         "Content-Length" => r.bytesize.to_s,
         "rack.hijack" => proc do |sock|
-          io.write(r)
+          sock.write(r)
           lazy_close(sock)
         end
       },
-- 
EW


^ permalink raw reply related	[relevance 7%]

* [PATCH 0/3] various updates for Ruby 2.6
@ 2019-01-02 21:43  5% Eric Wong
  2019-01-02 21:43  7% ` [PATCH 2/3] t/hijack.ru: avoid shadow warning Eric Wong
  0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2019-01-02 21:43 UTC (permalink / raw)
  To: rainbows-public

Ruby 2.6 started warning on mismatched indentation,
so fix that...

Eric Wong (3):
  quiet mismatched indentation warnings
  t/hijack.ru: avoid shadow warning
  t/test_isolate: various version updates

 lib/rainbows/app_pool.rb                     |  4 +--
 lib/rainbows/base.rb                         |  4 +--
 lib/rainbows/configurator.rb                 |  4 +--
 lib/rainbows/coolio/client.rb                |  8 +++---
 lib/rainbows/coolio/thread_client.rb         |  4 +--
 lib/rainbows/epoll/client.rb                 | 30 ++++++++++----------
 lib/rainbows/epoll/response_pipe.rb          |  6 ++--
 lib/rainbows/error.rb                        |  6 ++--
 lib/rainbows/ev_core.rb                      |  8 +++---
 lib/rainbows/fiber/body.rb                   |  4 +--
 lib/rainbows/fiber/io.rb                     |  4 +--
 lib/rainbows/http_server.rb                  |  8 +++---
 lib/rainbows/process_client.rb               |  4 +--
 lib/rainbows/response.rb                     | 16 +++++------
 lib/rainbows/revactor.rb                     |  4 +--
 lib/rainbows/revactor/client/methods.rb      |  4 +--
 lib/rainbows/revactor/client/tee_socket.rb   |  2 +-
 lib/rainbows/reverse_proxy/coolio.rb         | 22 +++++++-------
 lib/rainbows/stream_response_epoll/client.rb |  6 ++--
 lib/rainbows/thread_timeout.rb               | 10 +++----
 lib/rainbows/xepoll/client.rb                |  4 +--
 lib/rainbows/xepoll_thread_pool/client.rb    |  8 +++---
 lib/rainbows/xepoll_thread_spawn/client.rb   |  8 +++---
 t/bin/unused_listen                          |  2 +-
 t/hijack.ru                                  |  6 ++--
 t/sha1-random-size.ru                        |  2 +-
 t/test_isolate.rb                            | 10 +++----
 27 files changed, 99 insertions(+), 99 deletions(-)

-- 
EW

^ permalink raw reply	[relevance 5%]

Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-01-02 21:43  5% [PATCH 0/3] various updates for Ruby 2.6 Eric Wong
2019-01-02 21:43  7% ` [PATCH 2/3] t/hijack.ru: avoid shadow warning Eric Wong
2019-01-05 20:43  5% [ANN] Rainbows! 5.2.0 Eric Wong

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

	https://yhbt.net/rainbows.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).