Sha256: a732537216d1ac4b82d463d2838b87b431dbb8610b0b948a30b8f852a22fb839

Contents?: true

Size: 263 Bytes

Versions: 47

Compression:

Stored size: 263 Bytes

Contents

use Rack::ContentLength
use Rack::ContentType
run lambda { |env|
  if env['rack.multithread'] == false &&
    EM.reactor_running? &&
    env['rainbows.model'] == :NeverBlock
    [ 200, {}, [ Thread.current.inspect << "\n" ] ]
  else
    raise env.inspect
  end
}

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
rainbows-5.2.1 t/simple-http_NeverBlock.ru
rainbows-5.2.0 t/simple-http_NeverBlock.ru
rainbows-5.1.1 t/simple-http_NeverBlock.ru
rainbows-5.1.0 t/simple-http_NeverBlock.ru
rainbows-5.0.0.5.ge717 t/simple-http_NeverBlock.ru
rainbows-5.0.0 t/simple-http_NeverBlock.ru
rainbows-4.7.0 t/simple-http_NeverBlock.ru
rainbows-4.6.2 t/simple-http_NeverBlock.ru
rainbows-4.6.1 t/simple-http_NeverBlock.ru
rainbows-4.6.0.4.g4108 t/simple-http_NeverBlock.ru
rainbows-4.6.0 t/simple-http_NeverBlock.ru
rainbows-4.5.0 t/simple-http_NeverBlock.ru
rainbows-4.4.3 t/simple-http_NeverBlock.ru
rainbows-4.4.2 t/simple-http_NeverBlock.ru
rainbows-4.4.1.1.gd5c8c t/simple-http_NeverBlock.ru
rainbows-4.4.1 t/simple-http_NeverBlock.ru
rainbows-4.4.0 t/simple-http_NeverBlock.ru
rainbows-4.3.1 t/simple-http_NeverBlock.ru
rainbows-4.3.0 t/simple-http_NeverBlock.ru
rainbows-4.2.0 t/simple-http_NeverBlock.ru