Run tests on Ruby 2.0 and remove deprecation warning

Enumerator.new is deprecated in favor of #to_enum.
Merge pull request #8 from carlosantoniodasilva/ruby20-remove-warnings

Run tests on Ruby 2.0 and remove deprecation warning