Skip to content

Instantly share code, notes, and snippets.

D, [2009-06-03T17:03:02.975315 #32267] DEBUG -- : << <message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple22543b60' xmlns='jabber:client'><x xmlns='jabber:x:event'></x><active xmlns='http://jabber.org/protocol/chatstates'></active></message>
D, [2009-06-03T17:03:02.975569 #32267] DEBUG -- : PARSING: (<message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple22543b60' xmlns='jabber:client'><x xmlns='jabber:x:event'></x><active xmlns='http://jabber.org/protocol/chatstates'></active></message>)
D, [2009-06-03T17:03:02.976023 #32267] DEBUG -- : START ELEM: ({:uri=>"jabber:client", :prefix=>nil, :ns=>{nil=>"jabber:client"}, :elem=>"message", :attrs=>{"from"=>"nolan@localhost/Eee", "id"=>"purple22543b60", "to"=>"utterance.localhost", "type"=>"chat"}})
D, [2009-06-03T17:03:02.976785 #32267] DEBUG -- : START ELEM: ({:uri=>"jabber:x:event", :prefix=>nil, :ns=>{nil=>"jabber:x:event"}, :elem=>"x", :attrs=>{}})
D, [2009-06-03T17:03:02.977483 #32267] DEBUG -- : END E
require "rubygems"
require "blather/client"
module Test
extend Blather::DSL
setup("user@localhost/test", "secret", "localhost", 5222)
#setup("component.localhost", "secret", "localhost", 5347)
when_ready do
D, [2009-05-28T12:43:21.585216 #1607] DEBUG -- :
------------------------------
D, [2009-05-28T12:43:21.585576 #1607] DEBUG -- : << <presence type='subscribe' to='utterance.localhost' from='nolan@localhost' id='9821' xmlns='jabber:client'><nick xmlns='http://jabber.org/protocol/nick'>nolan</nick><x xmlns='vcard-temp:x:update'></x><c ver='c9YhHDC8qrp1wOzPTQHysAgnAeY=' hash='sha-1' node='http://gajim.org' xmlns='http://jabber.org/protocol/caps'></c><status>I would like to add you to my contact list.</status></presence>
D, [2009-05-28T12:43:21.585849 #1607] DEBUG -- : PARSING: (<presence type='subscribe' to='utterance.localhost' from='nolan@localhost' id='9821' xmlns='jabber:client'><nick xmlns='http://jabber.org/protocol/nick'>nolan</nick><x xmlns='vcard-temp:x:update'></x><c ver='c9YhHDC8qrp1wOzPTQHysAgnAeY=' hash='sha-1' node='http://gajim.org' xmlns='http://jabber.org/protocol/caps'></c><status>I would like to add you to my contact list.</status></presence>)
<iq xmlns="jabber:client" to="utterance.localhost" type="get" id="2590">
<vCard xmlns="vcard-temp" />
</iq>
@ndarilek
ndarilek / Rakefile
Created November 17, 2008 22:57
Point and laugh as I awkwardly try to bring Authlogic to Waves!
#!/usr/bin/env ruby
#
# Warning: This file is clobbered when you update your
# application with the waves script. Accordingly, you may
# wish to keep your tasks in .rb or .rake files in lib/tasks
require 'rubygems'
WAVES = "#{File.dirname(__FILE__)}/.." unless defined? WAVES