Sha256: 9120c43788ff7f883301ea7bb157c62221d34fcd9a7c6330f081177620a33976

Contents?: true

Size: 241 Bytes

Versions: 36

Compression:

Stored size: 241 Bytes

Contents

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

Version data entries

36 entries across 36 versions & 1 rubygems

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