yong / stropheruby forked from flamontagne/stropheruby
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
6afa09f
Xueyong Zhi (author)
Mon Oct 19 20:23:34 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
.autotest | Wed Dec 10 06:48:44 -0800 2008 | |
| |
History.txt | Wed Dec 10 06:22:42 -0800 2008 | |
| |
Manifest.txt | Thu Apr 16 08:36:58 -0700 2009 | |
| |
PostInstall.txt | Thu Dec 11 08:36:36 -0800 2008 | |
| |
README.stropheruby | Wed Apr 01 21:55:05 -0700 2009 | |
| |
README.txt | Fri Apr 24 14:48:16 -0700 2009 | |
| |
Rakefile | Mon Oct 19 20:23:34 -0700 2009 | |
| |
examples/ | Fri Apr 24 14:38:46 -0700 2009 | |
| |
ext/ | Mon Oct 19 20:23:34 -0700 2009 | |
| |
lib/ | Wed Dec 10 06:22:42 -0800 2008 | |
| |
stropheruby.gemspec | Mon Oct 19 20:23:34 -0700 2009 | |
| |
test/ | Wed Dec 10 06:22:42 -0800 2008 |
README.txt
== OVERVIEW Stropheruby is a ruby bindings for Strophe, a C library for writing XMPP clients. This is a fork of flamontagne's stropheruby (http://github.com/flamontagne/stropheruby/tree/master) with the following improvements: * A patched version of libstrophe (trunk) is included. So there is no extra library to install. * (libstrophe) Fixed a timeout issue on Mac OSX: http://groups.google.com/group/strophe-dev/browse_thread/thread/ef4cb19785020fb6 * (libstrophe) Fixed basic auth: http://groups.google.com/group/strophe-dev/browse_thread/thread/b770f72c83d1a0b9 * (libstrophe) Changed xmpp_run_once's return code so that the application can tell if an error or timeout occurs * (libstrophe) Better error reporting for login failure * (libstrophe) If no password given, do not login. This will give 'register' a chance to run * (stropheruby) Added send_raw_string method * (stropheruby) Detect login failure * (stropheruby) Fixed a resource leak * (stropheruby) Added wrapper class for xmpp_stream_error_t (StropheRuby::StreamError) == INSTALLATION sudo gem sources -a http://gems.github.com sudo gem install yong-stropheruby For Rails app, add this line in your config/environment.rb: config.gem "yong-stropheruby", :source => "http://gems.github.com", :lib => "strophe_ruby" == EXAMPLE See examples/xmpp_client.rb
