Rainbows! Rack HTTP server user/dev discussion
 help / color / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
						download: 
* [PATCH] update dependencies for Ruby 2.2.0dev
@ 2014-10-08 21:47 Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2014-10-08 21:47 UTC (permalink / raw)
  To: rainbows-public

This will allow me to test for unintentional breakage in 2.2.0.

Part of the reason for putting this project on maintenance mode
is because many of the libraries we depend on have not kept up
with the latest changes to Ruby.  So we will disable many tests
for 2.2+ to ensure the core parts remain working.
---
 t/GNUmakefile     | 15 +++++++++------
 t/test_isolate.rb | 22 ++++++++++++----------
 2 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/t/GNUmakefile b/t/GNUmakefile
index 4843e37..c456877 100644
--- a/t/GNUmakefile
+++ b/t/GNUmakefile
@@ -29,7 +29,6 @@ models += WriterThreadPool
 models += WriterThreadSpawn
 models += ThreadPool
 models += ThreadSpawn
-models += Coolio
 
 models += StreamResponseEpoll
 
@@ -42,12 +41,16 @@ ifeq ($(RUBY_ENGINE),ruby)
     endif
     models += FiberSpawn
     models += FiberPool
-    models += CoolioThreadPool
-    models += CoolioThreadSpawn
-    models += CoolioFiberSpawn
 
-    models += EventMachine
-    models += NeverBlock
+    RUBY_LE_2_1 := $(shell $(RUBY) -e 'puts((RUBY_VERSION.to_f <= 2.1).to_s))')
+    ifeq ($(RUBY_LE_2_1), true)
+      models += Coolio
+      models += CoolioThreadPool
+      models += CoolioThreadSpawn
+      models += CoolioFiberSpawn
+      models += EventMachine
+      models += NeverBlock
+    endif
   endif
 endif
 
diff --git a/t/test_isolate.rb b/t/test_isolate.rb
index ee66ea3..4ae4894 100644
--- a/t/test_isolate.rb
+++ b/t/test_isolate.rb
@@ -23,25 +23,27 @@ Isolate.now!(opts) do
   gem 'unicorn', '4.8.3'
 
   if engine == "ruby"
-    gem 'sendfile', '1.2.1'
-    gem 'cool.io', '1.1.0'
-
-    gem 'eventmachine', '1.0.3'
-    gem 'async_sinatra', '1.0.0'
-
-    gem 'neverblock', '0.1.6.2'
+    gem 'sendfile', '1.2.2'
+    if RUBY_VERSION.to_f < 2.2
+      gem 'cool.io', '1.1.0'
+      gem 'eventmachine', '1.0.3'
+      gem 'async_sinatra', '1.0.0'
+      gem 'neverblock', '0.1.6.2'
+    end
   end
 
   if defined?(::Fiber) && engine == "ruby"
-    gem 'revactor', '0.1.5'
-    gem 'rack-fiber_pool', '0.9.2'
+    if RUBY_VERSION.to_f < 2.2
+      gem 'revactor', '0.1.5'
+      gem 'rack-fiber_pool', '0.9.2' # depends on EM
+    end
   end
 
   if RUBY_PLATFORM =~ /linux/
     gem 'sleepy_penguin', '3.3.0'
 
     # is 2.6.32 new enough?
-    gem 'io_splice', '4.2.0' if `uname -r`.strip > '2.6.32'
+    gem 'io_splice', '4.3.0' if `uname -r`.strip > '2.6.32'
   end
 end
 
-- 
EW


^ permalink raw reply	[relevance 7%]

* [ANN] Rainbows! 4.7.0 - Rack HTTP server for the sleepy
@ 2015-10-19 21:28 Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2015-10-19 21:28 UTC (permalink / raw)
  To: rainbows-public; +Cc: ruby-talk

Rainbows! is an HTTP server for sleepy Rack applications.
Use of Rainbows! for new projects is not recommended,
try other servers instead.

Changes since 4.6.2:

    Rainbows! 4.7.0 - updates for ruby 2.3.0dev

    This release includes fixes for upcoming changes in Ruby 2.3.0
    (due December 2015).  Use of Rainbows! for new projects is not
    recommended, try other servers instead.

    * update dependencies for Ruby 2.2.0dev
    * switch docs + website to olddoc
    * gemspec: fix bad reference to rdoc_options
    * README: reference yahns
    * build: fix quoting issue with double parens
    * response: avoid unnecessary args to IO.copy_stream
    * t/close-has-env.ru: ensure close is idempotent
    * sync_close: This fix breakage from Ruby-trunk r50118
    * t/t0044-autopush.sh: remove test
    * t/test_isolate.rb: updates for various gem versions
    * response: convert source arg to path before IO.copy_stream
    * speed up QUIT for users of the unicorn worker_loop
    * gemspec: use SPDX-compatible license for GPL-2.0+

* http://rainbows.bogomips.org/
* rainbows-public@bogomips.org
* http://bogomips.org/rainbows-public/
* git clone git://bogomips.org/rainbows.git
* http://rainbows.bogomips.org/NEWS.atom.xml

^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse results
2014-10-08 21:47 [PATCH] update dependencies for Ruby 2.2.0dev Eric Wong
2015-10-19 21:28 [ANN] Rainbows! 4.7.0 - Rack HTTP server for the sleepy Eric Wong


Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror https://bogomips.org/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git