Sha256: acc426674c0c0c99c372b61385cc2c3ae626b45eac536ed576be5d050c36a02d

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 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__)

  #Logger (otherwhise rails logger)
  #config.logger = ActiveSupport::BufferedLogger.new("your/log/path")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
proselytism-0.0.1 lib/generators/proselytism/templates/initializer.rb