Sha256: b83cce110c693ea4aa97865a60899b0b1121801415daef2e7140d1b4c4ba9cff

Contents?: true

Size: 243 Bytes

Versions: 44

Compression:

Stored size: 243 Bytes

Contents

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

Version data entries

44 entries across 44 versions & 1 rubygems

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