Add configuration for travis-ci.org and add build status icon to README.
Merge http://github.com/ged/ruby-pg
Avoid warning about deprecated expect{ }.should.
Async connection test seems to be a bit racy on 1.8.7. So allow CONNECTION_OK, too.
Replace Encoding::KOI8_U by Encoding::KOI8_R to allow testing with PostgreSQL 8.3.
Skip some tests that do not run on PostgreSQL<9.0
Adjust PGError test to also match PostgreSQL 8.3
Don't do parameter test with 'keepalives' on PostgreSQL<9.0
Remove duplicated test.

It is equally defined in result_spec.rb.
Add wrappers to blocking functions and callbacks in order to release
the GVL of ruby 1.9 as long as not in ruby code.

This allowes better concurrency in threaded applications.
Avoid fork() in specs.

fork() is not implemented on windows and jruby.

On Rubinius fork() blocks in these tests or raises 'server closed
the connection unexpectedly' after the test.
Refactor different variants of waiting for the connection socket.

Reduce the 4 variants of waiting to only 2 which are used by both

This also fixes 'Bad file descriptor' respectively wrong behaviour
of #wait_for_notify() on Windows and fixes timeout handling of

Make use of rb_thread_fd_select() on Ruby 1.9, to avoid deprecation
warnings on rb_thread_select().
Fix race in threading spec.
conn#socket() can not be used with IO.for_fd() on Windows.
Link the travis build status icon to ged's repository.
Free memory allocated per rb_fd_init().
Merge pull request #4 from larskanis/for_ged

A bunch of cool stuff from Lars Kanis.