Sha256: 0ccc10f05dd03c3423d5c82c34a491da854c7e0993ee86965706b11d843cd0aa

Contents?: true

Size: 745 Bytes

Versions: 3

Compression:

Stored size: 745 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     = "ring-sqa@" + CFG.host.name
    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'
    Config.default.exec.command   = false
    Config.default.exec.arguments = false

    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

3 entries across 3 versions & 1 rubygems

Version Path
ring-sqa-0.1.6 lib/ring/sqa/alarm/cfg.rb
ring-sqa-0.1.5 lib/ring/sqa/alarm/cfg.rb
ring-sqa-0.1.4 lib/ring/sqa/alarm/cfg.rb