t/test_isolate.rb in rainbows-3.2.0 vs t/test_isolate.rb in rainbows-3.3.0

- old
+ new

@@ -14,13 +14,14 @@ $stdout.reopen($stderr) lock = File.open(__FILE__, "rb") lock.flock(File::LOCK_EX) Isolate.now!(opts) do - gem 'unicorn', '3.5.0' + gem 'kgio', '2.4.0' + gem 'unicorn', '3.6.2' gem 'kcar', '0.2.0' - gem 'raindrops', '0.4.1' + gem 'raindrops', '0.6.1' if engine == "ruby" gem 'sendfile', '1.1.0' # next Rubinius should support this gem 'cool.io', '1.0.0' @@ -34,10 +35,15 @@ if defined?(::Fiber) && engine == "ruby" gem 'revactor', '0.1.5' gem 'rack-fiber_pool', '0.9.1' end - gem 'sleepy_penguin', '2.0.0' if RUBY_PLATFORM =~ /linux/ + if RUBY_PLATFORM =~ /linux/ + gem 'sleepy_penguin', '2.0.0' + + # is 2.6.32 new enough? + gem 'io_splice', '4.1.0' if `uname -r`.strip > '2.6.32' + end end $stdout.reopen(old_out) # don't load the old Rev if it exists, Cool.io 1.0.0 is compatible with it,