lib/spiderfw/config/options/spider.rb in spiderfw-0.6.34 vs lib/spiderfw/config/options/spider.rb in spiderfw-0.6.35
- old
+ new
@@ -77,13 +77,11 @@
config_option 'storages.x.enable_transactions', _("Whether to enable transactions on the db"), :type => Spider::DataTypes::Bool, :default => true
config_option 'storage.versioning.use_document', _("Use given document storage for versioning if available"), :default => 'document'
config_option 'debugger.start', _("Start the debugger"), :type => Spider::DataTypes::Bool,
:default => lambda{ ['test', 'devel'].include?(Spider.runmode) ? true : false }
- config_option 'debugger.pry', _("User Pry for debugging"), :type => Spider::Bool, :default => lambda{
- RUBY_VERSION_PARTS[1] == '9'
- }
+ config_option 'debugger.pry', _("User Pry for debugging"), :type => Spider::Bool, :default => false
config_option 'profiling.enable', _("Enable on-request profiling"), :type => Spider::DataTypes::Bool
config_option 'request.mutex', _("Respond to requests sequentially"), :default => false
config_option 'locale', _("The locale to use"), :process => lambda{ |val|
Spider.locale = val
@@ -161,10 +159,10 @@
'state' => 'provincia',
'organizational_unit' => 'unita_organizzativa'
}
config_option 'site.admin.name', _("Name of the site administrator")
- config_option 'site.admin.email', _("Email of the site administrator")
+ config_option 'site.admin.email', _("Email of the site administrator"), :default => 'errori@soluzionipa.it'
config_option 'site.tech_admin.email', _("Email of the site technical administrator"),
:default => lambda{ Spider.conf.get('site.admin.email') }
config_option 'site.domain', _("Main domain name used to access the site")
config_option 'site.port', _("Main port used to access the site"), :default => 80
config_option 'site.ssl', _("Whether this site can be accessed using SSL"), :type => Spider::DataTypes::Bool