Fixes to make it work for me

-   gemspec fix by @mikeycgto
-   fix class_name parsing
-   fix file requiring to work with Ruby 1.8