Merge pull request #2 from leondewey/master

Ruby 1.8.7 fix
Bump release to 0.4.0 for Swagger output. Rails 2 no longer supported.
Fixed typo