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