diff options
author | Eric Wong <e@80x24.org> | 2016-11-17 02:55:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-11-17 03:17:26 +0000 |
commit | e71795005f8cdf90159ef681aba4e0dce3f6a587 (patch) | |
tree | 447dd4f6ded612df17d7f1179b1a05d79e4316c3 /t/test_isolate.rb | |
parent | 072e33c3a4ead1f9cb5b40c462df426dbc1fa5ba (diff) | |
download | rainbows-e71795005f8cdf90159ef681aba4e0dce3f6a587.tar.gz |
This requires updating to unicorn 5.1+ to relax the rack requirement. Unlike unicorn, Rainbows! is considerably larger and cannot function without rack installed. There were no code changes required to pass the test suite; but some other optional gems needed to be updated for testing. Support for async_sinatra is no longer tested as that is tied to rack 1.x; but the remaining EventMachine-dependent parts remain tested. Thanks to Julia López Aladro for reminding us on the mailing list: https://bogomips.org/rainbows-public/CAPhSs6OAU+motd+MF=WOSek9==StLjEQJsNwAO3-aRWCZzhs=g@mail.gmail.com/
Diffstat (limited to 't/test_isolate.rb')
-rw-r--r-- | t/test_isolate.rb | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/t/test_isolate.rb b/t/test_isolate.rb index 58bc4dc..bb56ef0 100644 --- a/t/test_isolate.rb +++ b/t/test_isolate.rb @@ -17,15 +17,18 @@ lock = File.open(__FILE__, "rb") lock.flock(File::LOCK_EX) Isolate.now!(opts) do gem 'kgio', '2.10.0' - gem 'rack', '1.6.4' - gem 'kcar', '0.5.0' - gem 'raindrops', '0.13.0' - gem 'unicorn', '5.0.1' + gem 'rack', '2.0.1' + gem 'kcar', '0.6.0' + gem 'raindrops', '0.17.0' + gem 'unicorn', '5.2.0' if engine == "ruby" gem 'sendfile', '1.2.2' - gem 'eventmachine', '1.0.8' - gem 'async_sinatra', '1.2.0' + gem 'eventmachine', '1.2.0.1' + + # not compatible with rack 2.x + # gem 'async_sinatra', '1.2.1' + if RUBY_VERSION.to_f < 2.2 gem 'cool.io', '1.1.0' gem 'neverblock', '0.1.6.2' |