Merge pull request #1 from jlambert121/master

add travis config
fix for spec on ruby 1.8.7
Merge pull request #2 from jlambert121/ruby_187_spec_fix

fix for spec on ruby 1.8.7