lib/capcode/configuration.rb in Capcode-0.9.7 vs lib/capcode/configuration.rb in Capcode-0.9.8

- old
+ new

@@ -7,11 +7,11 @@ class << self def configuration( args = {} ) #:nodoc: @configuration = config.merge({ :port => args[:port]||Capcode::Configuration.get(:port)||3000, :host => args[:host]||Capcode::Configuration.get(:host)||"0.0.0.0", - :server => args[:server]||Capcode::Configuration.get(:server)||nil, + :server => args[:server]||Capcode::Configuration.get(:server)||"mongrel", :log => args[:log]||Capcode::Configuration.get(:log)||$stdout, :session => args[:session]||Capcode::Configuration.get(:session)||{}, :pid => args[:pid]||Capcode::Configuration.get(:pid)||"#{$0}.pid", :daemonize => args[:daemonize]||Capcode::Configuration.get(:daemonize)||false, :db_config => File.expand_path(args[:db_config]||Capcode::Configuration.get(:db_config)||"database.yml"), @@ -34,10 +34,10 @@ # Set global configuration options # # Options : # * <tt>:port</tt> = Listen port (default: 3000) # * <tt>:host</tt> = Listen host (default: 0.0.0.0) - # * <tt>:server</tt> = Server type (webrick, mongrel or thin) + # * <tt>:server</tt> = Server type (webrick, mongrel, thin, unicorn or rainbow) # * <tt>:log</tt> = Output logfile (default: STDOUT) # * <tt>:session</tt> = Session parameters. See Rack::Session for more informations # * <tt>:pid</tt> = PID file (default: $0.pid) # * <tt>:daemonize</tt> = Daemonize application (default: false) # * <tt>:db_config</tt> = database configuration file (default: database.yml)