Sha256: 76bef0b5b5ac802e583f6220cf9e51dc4e9bd6319aced9f66b6565aaacfebffe
Contents?: true
Size: 637 Bytes
Versions: 2
Compression:
Stored size: 637 Bytes
Contents
module Ring class SQA class Alarm Config = Asetus.new name: 'sqa', load: false, usrdir: Directory, cfgfile: 'alarm.conf' Config.default.email.to = false Config.default.email.from = 'foo@example.com' Config.default.email.prefix = false Config.default.irc.host = '213.136.8.179' Config.default.irc.port = 5502 Config.default.irc.password = 'shough2oChoo' Config.default.irc.target = '#ring' begin Config.load rescue => error raise InvalidConfig, "Error loading alarm.conf configuration: #{error.message}" end CFG = Config.cfg Config.create end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ring-sqa-0.0.23 | lib/ring/sqa/alarm/cfg.rb |
ring-sqa-0.0.22 | lib/ring/sqa/alarm/cfg.rb |