lib/saber/server.rb in saber-0.0.6 vs lib/saber/server.rb in saber-0.0.7
- old
+ new
@@ -26,11 +26,11 @@
client.send Jabber::Presence.new
Saber.ui.say ">> Connected to xmpp with #{Rc.server.xmpp.jid}"
end
def send(files)
- $log.debug %~::send::\n #{files.join("\n")}~
+ $log.debug "SEND #{files}"
client.send Jabber::Message.new(Rc.client.xmpp.jid, files.join("\n"))
end
end
class DRbServer
@@ -52,10 +52,10 @@
Saber.ui.say ">> DRbSever listening on #{Rc.drb_uri}"
end
# drb. add a complete torrent.
def add(*names)
- $log.debug "::DRbServer add:: #{names.inspect}"
+ $log.debug "DRbServer-ADD #{names.inspect}"
files = build_files(*names)
saber_server.send(files)
end