Sha256: 077585d359ae9756f070aefa416e0aea566695e736ede8901b769fa44d46fbc4
Contents?: true
Size: 496 Bytes
Versions: 4
Compression:
Stored size: 496 Bytes
Contents
module Ring class SQA class Alarm class UDP2IRC def send message, channel=CFG.irc.channel url = Paste.add message[:long] msg = [@password, channel, message[:short], url].join ' ' msg += "\0" while msg.size % 16 > 0 UDPSocket.new.send msg, 0, @host, @port.to_i end private def initialize host=CFG.irc.host, port=CFG.irc.port, password=CFG.irc.password @host = host @port = port @password = password end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ring-sqa-0.0.21 | lib/ring/sqa/alarm/udp2irc.rb |
ring-sqa-0.0.20 | lib/ring/sqa/alarm/udp2irc.rb |
ring-sqa-0.0.19 | lib/ring/sqa/alarm/udp2irc.rb |
ring-sqa-0.0.18 | lib/ring/sqa/alarm/udp2irc.rb |