Sha256: b58f1a0fbbd1d15bc0dd858392d4d82e94459f364d93f61df6c7410f800ba255
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
Proselytism.config do |config| #Open Office binary path /usr/bin/soffice for unix or /Applications/OpenOffice.org.app/Contents/MacOS/soffice for mac OSX config.open_office_path = "/Applications/OpenOffice.org.app/Contents/MacOS/soffice" #Bridge PYOD or JOD (PYOD dones't work as is on mac) config.oo_server_bridge = "JOD" #When ensuring server availability (before converting a doc), #Restart the server if all processs are above max cpu during max_cpu_delay config.oo_server_max_cpu = 95 #percent config.oo_server_max_cpu_delay = 2 #seconds #Time the server waits for availability before converting a doc config.oo_server_availability_delay = 6 # seconds # Wait time after server start config.oo_server_start_delay = 2 #seconds config.oo_conversion_max_tries = 2 #max time for performing a conversion (then restart an attempt) config.oo_conversion_max_time = 5 #seconds #Path where conversion are done by default system temp dir #config.tmp_path = File.expand_path("../tmp", __FILE__) #Log level: By default env log level #config.log_level = Rails.logger.level #Log path : #config.log_path = File.join(Rails.root, 'log', "proselytism.log") #Logger instance #config.logger = Proselytism::BufferedLogger.new Proselytism.config.log_path, Proselytism.config.log_level end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
proselytism-0.0.3 | lib/generators/proselytism/templates/initializer.rb |
proselytism-0.0.2 | lib/generators/proselytism/templates/initializer.rb |