Sha256: bdc1b9de1616eae36330e1b96055af3dee10680503ebf8557bc6a4e9e3080a65

Contents?: true

Size: 246 Bytes

Versions: 38

Compression:

Stored size: 246 Bytes

Contents

use Rack::ContentLength
use Rack::ContentType
run lambda { |env|
  if env['rack.multithread'] && env['rainbows.model'] == :WriterThreadSpawn
    [ 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_WriterThreadSpawn.ru
rainbows-5.2.0 t/simple-http_WriterThreadSpawn.ru
rainbows-5.1.1 t/simple-http_WriterThreadSpawn.ru
rainbows-5.1.0 t/simple-http_WriterThreadSpawn.ru
rainbows-5.0.0.5.ge717 t/simple-http_WriterThreadSpawn.ru
rainbows-5.0.0 t/simple-http_WriterThreadSpawn.ru
rainbows-4.7.0 t/simple-http_WriterThreadSpawn.ru
rainbows-4.6.2 t/simple-http_WriterThreadSpawn.ru
rainbows-4.6.1 t/simple-http_WriterThreadSpawn.ru
rainbows-4.6.0.4.g4108 t/simple-http_WriterThreadSpawn.ru
rainbows-4.6.0 t/simple-http_WriterThreadSpawn.ru
rainbows-4.5.0 t/simple-http_WriterThreadSpawn.ru
rainbows-4.4.3 t/simple-http_WriterThreadSpawn.ru
rainbows-4.4.2 t/simple-http_WriterThreadSpawn.ru
rainbows-4.4.1.1.gd5c8c t/simple-http_WriterThreadSpawn.ru
rainbows-4.4.1 t/simple-http_WriterThreadSpawn.ru
rainbows-4.4.0 t/simple-http_WriterThreadSpawn.ru
rainbows-4.3.1 t/simple-http_WriterThreadSpawn.ru
rainbows-4.3.0 t/simple-http_WriterThreadSpawn.ru
rainbows-4.2.0 t/simple-http_WriterThreadSpawn.ru