Sha256: 66cfdf3921ddf060540f804eaacd41dede1c7ad5145e0ea6a535f7809a2b58f9

Contents?: true

Size: 932 Bytes

Versions: 3

Compression:

Stored size: 932 Bytes

Contents

module Textbringer
  CONFIG[:mournmail_directory] = File.expand_path("~/.mournmail")
  CONFIG[:mournmail_accounts] = {}
  CONFIG[:mournmail_charset] = "utf-8"
  CONFIG[:mournmail_save_directory] = "/tmp"
  CONFIG[:mournmail_display_header_fields] = [
    "Subject",
    "Date",
    "From",
    "To",
    "Cc",
    "Reply-To",
    "User-Agent",
    "X-Mailer",
    "Content-Type"
  ]
  CONFIG[:mournmail_imap_connect_timeout] = 10
  CONFIG[:mournmail_keep_alive_interval] = 60
  case RUBY_PLATFORM
  when /mswin|mingw/
    CONFIG[:mournmail_file_open_comamnd] = "start"
    CONFIG[:mournmail_link_open_comamnd] = "start"
  when /darwin/
    CONFIG[:mournmail_file_open_comamnd] = "open"
    CONFIG[:mournmail_link_open_comamnd] = "open"
  else
    CONFIG[:mournmail_file_open_comamnd] = "xdg-open"
    CONFIG[:mournmail_link_open_comamnd] = "xdg-open"
  end
  CONFIG[:mournmail_addresses_path] = File.expand_path("~/.addresses")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mournmail-0.3.2 lib/mournmail/config.rb
mournmail-0.3.1 lib/mournmail/config.rb
mournmail-0.3.0 lib/mournmail/config.rb