<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,8 +3,6 @@ Manifest.txt
 PostInstall.txt
 README.rdoc
 Rakefile
-Rakefile.save
-Rakefile.save.1
 lib/xmppbot.rb
 lib/xmppbot/bot.rb
 lib/xmppbot/message.rb</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 
 # Generate all the Rake tasks
 # Run 'rake -T' to see list of generated tasks (from gem root directory)
-$hoe = Hoe.new('xmppbot', '0.0.2') do |p|
+$hoe = Hoe.new('xmppbot', '0.0.3') do |p|
   p.developer('Fran&#231;ois Lamontagne', 'flamontagne@gmail.com')
   p.changes              = p.paragraphs_of(&quot;History.txt&quot;, 0..1).join(&quot;\n\n&quot;)
   p.rubyforge_name       = p.name # TODO this is default value</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -7,4 +7,5 @@ require 'xmppbot/message'
 require 'xmppbot/presence'
 require 'xmppbot/other'
 module XMPPBot
+  VERSION=&quot;0.0.3&quot;
 end</diff>
      <filename>lib/xmppbot.rb</filename>
    </modified>
    <modified>
      <diff>@@ -32,7 +32,7 @@ module XMPPBot
                 
         @ctx.loop_status=1
         while @ctx.loop_status == 1
-          StropheRuby::EventLoop.run_once(@ctx,1)
+            StropheRuby::EventLoop.run_once(@ctx,1)
         end
       
         #shutdown down strophe and wake up the calling thread
@@ -98,6 +98,11 @@ module XMPPBot
       end
     end
     
+    #send raw data to the stream
+    def send_raw(str)
+      Thread.new{@conn.send_raw_string(str)}
+    end
+    
     #You have to call this after a successful connection to notify everyone that you are online.
     #This is called the &quot;initial presence&quot; (see 5.1.1 at http://xmpp.org/rfcs/rfc3921.html)
     def announce_presence
@@ -123,7 +128,7 @@ module XMPPBot
     private        
     #Internal method that send the actual StropheRuby::Stanza object to the stream
     def send_stanza(stanza)
-      @conn.send(stanza)
+      Thread.new{@conn.send(stanza)}
       @last_send=Time.now
     end
     
@@ -143,4 +148,4 @@ module XMPPBot
       end
     end                
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/xmppbot/bot.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>pkg/xmppbot-0.0.1.gem</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1.tgz</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/History.txt</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/Manifest.txt</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/PostInstall.txt</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/README.rdoc</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/Rakefile</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/lib/xmppbot.rb</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/script/console</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/script/destroy</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/script/generate</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/test/test_helper.rb</filename>
    </removed>
    <removed>
      <filename>pkg/xmppbot-0.0.1/test/test_xmppbot.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>fa602ac3bd293b25cd2fddcf2207eb466ec74a33</id>
    </parent>
  </parents>
  <author>
    <name>Frank</name>
    <email>flamontagne@gmail.com</email>
  </author>
  <url>http://github.com/flamontagne/xmppbot/commit/cabbf7cf3d13b5d36854c8d321a568a5576494d0</url>
  <id>cabbf7cf3d13b5d36854c8d321a568a5576494d0</id>
  <committed-date>2009-05-16T19:35:41-07:00</committed-date>
  <authored-date>2009-05-16T19:35:41-07:00</authored-date>
  <message>add send_raw method</message>
  <tree>6150c224966c5e97d18a6ba89df99660fb7dea25</tree>
  <committer>
    <name>Frank</name>
    <email>flamontagne@gmail.com</email>
  </committer>
</commit>
