Top Level Namespace
Defined in:
Constant Summary
-
COVERS =
(YamlConfig.from_yaml(File.read(ENV["MIRA_CONFIG"]))).covers.rstrip('/')
-
DB_HOST =
(YamlConfig.from_yaml(File.read(ENV["MIRA_CONFIG"]))).db_host
-
DB_NAME =
(YamlConfig.from_yaml(File.read(ENV["MIRA_CONFIG"]))).db_name
-
DB_PASSWORD =
(YamlConfig.from_yaml(File.read(ENV["MIRA_CONFIG"]))).db_password
-
DB_USER =
(YamlConfig.from_yaml(File.read(ENV["MIRA_CONFIG"]))).db_user
-
LIBRARY =
(YamlConfig.from_yaml(File.read(ENV["MIRA_CONFIG"]))).library.rstrip('/')
-
PORT =
(YamlConfig.from_yaml(File.read(ENV["MIRA_CONFIG"]))).port.to_i
-
.rstrip strips the last /'s, if any, so it'd end in nothing.
-
VERSION =
"1.0.0"