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-4.1.0 t/simple-http_NeverBlock.ru
rainbows-4.0.0 t/simple-http_NeverBlock.ru
rainbows-3.4.0 t/simple-http_NeverBlock.ru
rainbows-3.3.0 t/simple-http_NeverBlock.ru
rainbows-3.2.0 t/simple-http_NeverBlock.ru
rainbows-3.1.0 t/simple-http_NeverBlock.ru
rainbows-3.0.0 t/simple-http_NeverBlock.ru
rainbows-2.1.0 t/simple-http_NeverBlock.ru
rainbows-2.0.1 t/simple-http_NeverBlock.ru
rainbows-2.0.0 t/simple-http_NeverBlock.ru
rainbows-1.0.0 t/simple-http_NeverBlock.ru
rainbows-1.0.0pre1 t/simple-http_NeverBlock.ru
rainbows-0.97.0 t/simple-http_NeverBlock.ru
rainbows-0.96.0 t/simple-http_NeverBlock.ru
rainbows-0.95.1 t/simple-http_NeverBlock.ru
rainbows-0.95.0 t/simple-http_NeverBlock.ru
rainbows-0.94.0 t/simple-http_NeverBlock.ru
rainbows-0.93.0 t/simple-http_NeverBlock.ru
rainbows-0.92.0 t/simple-http_NeverBlock.ru
rainbows-0.91.1 t/simple-http_NeverBlock.ru