lib/spiderfw/config/options/spider.rb in spiderfw-0.6.37 vs lib/spiderfw/config/options/spider.rb in spiderfw-0.6.38

- old
+ new

@@ -26,9 +26,10 @@ config_option 'webserver.show_traces', _("Whether to show the stack trace on error"), :type => Spider::DataTypes::Bool, :default => Proc.new{ ['test', 'devel'].include?(Spider.config.get('runmode')) ? true : false } config_option 'webserver.reload_sources', _("Reload application and spider sources on each request"), :type => Spider::DataTypes::Bool, :default => Proc.new{ Spider.config.get('runmode') == 'devel' ? true : false } + config_option 'webserver.host', _("Port to use for the http server"), :type => Fixnum, :default => '0.0.0.0' config_option 'webserver.port', _("Port to use for the http server"), :type => Fixnum, :default => 8080 config_option 'webserver.force_threads', _("Force threading on non-threaded adapters"), :type => Spider::DataTypes::Bool, :default => Proc.new{ Spider.runmode != 'test' && RUBY_VERSION_PARTS[1] == '8'} config_option 'webserver.timeout', _("Time allowed for each request (in seconds)"), :type=> Fixnum, :default => nil config_option 'webserver.respawn_on_change', _("Restart the webserver when application code changes"), :type => Spider::Bool,