Module: Hastie

Defined in:
lib/hastie/version.rb,
lib/hastie/constants.rb,
lib/hastie/id_server.rb,
lib/hastie/config_file.rb,
lib/hastie/server_reader.rb,
lib/hastie/report_updater.rb,
lib/hastie/report_watcher.rb,
lib/hastie/config_generator.rb,
lib/hastie/report_generator.rb,
lib/hastie/report_publisher.rb,
lib/hastie/server_generator.rb

Defined Under Namespace

Classes: ConfigFile, ConfigGenerator, IdServer, ReportGenerator, ReportPublisher, ReportUpdater, ReportWatcher, ServerGenerator, ServerReader

Constant Summary collapse

VERSION =
"1.1.2".freeze
CONFIG_FILE =
File.expand_path(File.join("~", ".hastie"))
SERVER_REPORTS_FILE =
"_reports.yml"
SERVER_CONFIG_FILE =
"_config.yml"
SERVER_PUBLISH_CONFIG_FILE =
"_server_config.yml"
DATA_ROOT =
"data"
REPORT_CONFIG_FILE =
"report.yml"
DEFAULT_REPORT_DIR =
"report"
DEFAULT_ID_DOMAIN =
"cbio"

Class Method Summary collapse

Class Method Details

.config_fileObject



12
13
14
# File 'lib/hastie/constants.rb', line 12

def self.config_file
  CONFIG_FILE
end

.default_report_dirObject



28
29
30
# File 'lib/hastie/constants.rb', line 28

def self.default_report_dir
  DEFAULT_REPORT_DIR
end

.id_domainObject



32
33
34
# File 'lib/hastie/constants.rb', line 32

def self.id_domain
  DEFAULT_ID_DOMAIN
end

.publish_config_fileObject



24
25
26
# File 'lib/hastie/constants.rb', line 24

def self.publish_config_file
  SERVER_PUBLISH_CONFIG_FILE
end

.report_config_nameObject



16
17
18
# File 'lib/hastie/constants.rb', line 16

def self.report_config_name
  REPORT_CONFIG_FILE
end

.watch_config_fileObject



20
21
22
# File 'lib/hastie/constants.rb', line 20

def self.watch_config_file
  SERVER_CONFIG_FILE
end