Sha256: 3e58b31687c3f6700d8df07745df7919e41d1e383b21607ec3c5b0db51e0243b

Contents?: true

Size: 827 Bytes

Versions: 2

Compression:

Stored size: 827 Bytes

Contents

module Wlog
# Static path data.
#
# Please follow the convention that if vars are dirs, then they end with '/'
#
# @author  Simon Symeonidis 
module StaticConfigurations
  # The application name
  AppName = "wlog"
  
  # Absolute path to the configuration directory
  ConfigDirectory = "#{ENV['HOME']}/.config/"

  # Absolute path to the application directory
  AppDirectory = "#{ConfigDirectory}#{AppName}/"

  # Absolute path to the data directory
  DataDirectory = "#{AppDirectory}data/"

  # Where the template files exist
  TemplateDir = "#{AppDirectory}templates/"

  # Default database name (when unspecified)
  DefaultDb = "default"

  # This is used to see if it is the first setup or not
  TaintFile = "#{AppDirectory}tainted"

  # The configuration file
  ConfigFile = "#{AppDirectory}config"
end
end # module Wlog

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wlog-1.1.1 lib/wlog/domain/static_configurations.rb
wlog-1.0.5 lib/wlog/domain/static_configurations.rb