lib/rack/handler/reel.rb in reel-0.4.0.pre vs lib/rack/handler/reel.rb in reel-0.4.0.pre2

- old
+ new

@@ -81,9 +81,10 @@ # Transform the options that rails s reel passes def normalize_options(options) options = options.inject({}) { |h, (k,v)| h[k.downcase] = v ; h } options[:rackup] = options[:config] if options[:config] options[:port] = options[:port].to_i if options[:port] + options[:workers] = options[:workers].to_i if options[:workers] options end end register :reel, Reel