Add specs
Make specs pass on Ruby 1.9
Merge pull request #1 from sferik/ruby_1.9

Make code work on Ruby 1.9