github/github-services — pull request #344 by jpmckinney (2012-06-06 02:34:58+00:00)
Title: Ruby 1.9 compatibility

[SystemTimer isn't needed in Ruby 1.9.](http://ph7spot.com/musings/system-timer)

> Update: system_timer is only relevant if you are running Ruby 1.8. You do not need it if you are running Ruby 1.9, JRuby, Rubinius or MacRuby. Actually using system_timer with one of these Ruby interpreters would not even make any sense since, as explained in this article, system_timer is designed to workaround a fundamental limitation of the threading implementation in Ruby M.R.I. 1.8 (green threads).

The latest version of xmpp4r-simple is missing this three-year old commit for Ruby 1.9 compatibility: https://github.com/blaine/xmpp4r-simple/commit/92e2cd0002ec3a9a38506527e1a3a2d622408626

I also had to add a magic encoding comment. The specs now pass.