lib/zbatery.rb in zbatery-3.0.0 vs lib/zbatery.rb in zbatery-3.1.0
- old
+ new
@@ -2,12 +2,11 @@
# :enddoc:
require 'rainbows'
module Zbatery
- # version of Zbatery, currently 3.0.0
- VERSION = "3.0.0"
+ VERSION = "3.1.0"
class << self
# runs the Zbatery HttpServer with +app+ and +options+ and does
# not return until the server has exited.
@@ -34,10 +33,9 @@
after_fork.call(self, worker)
worker.user(*user) if user.kind_of?(Array) && ! worker.switched
build_app! unless preload_app
Rainbows::Response.setup(self.class)
Rainbows::MaxBody.setup
- Rainbows::RackInput.setup
Rainbows::ProcessClient.const_set(:APP, @app)
logger.info "Zbatery #@use worker_connections=#@worker_connections"
end
end