Sha256: 398f3d196a375874a84ec5c97516b18ee460bdd2f3053a239b1879a5ebedf6e1

Contents?: true

Size: 245 Bytes

Versions: 38

Compression:

Stored size: 245 Bytes

Contents

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

Version data entries

38 entries across 38 versions & 1 rubygems

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