Sha256: e6b5cc58ea617cff8b903ee9b39237784af4ae247d28a361f55c383f06b065fb

Contents?: true

Size: 689 Bytes

Versions: 9

Compression:

Stored size: 689 Bytes

Contents

xml = %q{<message to="zinzobot@jabber.org" type="chat" from="misprime@gmail.com/0722DD1D" id="purplec3b098f8">\n  <active xmlns="http://jabber.org/protocol/chatstates"/>\n  <body>Hullo! \t  \t\t\t\t \t \t \t   \t \t  \t   \t\t  \t </body>\n  <html xmlns="http://jabber.org/protocol/xhtml-im">\n    <body xmlns="http://www.w3.org/1999/xhtml">\n      <p><span style="color: #fd7c00;">Hullo!</span> \t  \t\t\t\t \t \t \t   \t \t  \t   \t\t  \t </p>\n    </body>\n  </html>\n  <nos:x xmlns:nos="google:nosave" value="disabled"/>\n  <arc:record xmlns:arc="http://jabber.org/protocol/archive" otr="false"/>\n</message>"}

Blather::Stanza::Message.import(Nokogiri::XML.fragment(xml).children[0])

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
safubot-0.0.9 spec/fixtures/xmpp/message
safubot-0.0.8 spec/fixtures/xmpp/message
safubot-0.0.7 spec/fixtures/xmpp/message
safubot-0.0.6 spec/fixtures/xmpp/message
safubot-0.0.5 spec/fixtures/xmpp/message
safubot-0.0.4 spec/fixtures/xmpp/message
safubot-0.0.3 spec/fixtures/xmpp/message
safubot-0.0.2 spec/fixtures/xmpp/message
safubot-0.0.1 spec/fixtures/xmpp/message