fix spec
add ruby version 2.0.0 and 2.1.0 to travis
replace deprecated code
remove unused and useless code

* unused variables
* useless return and self
* redundant curly braces
do not use :: for method calls
align the parameters of a method call
add space to comment
Merge pull request #5 from geniou/master

Fix specs and minor cleanup.