Added Ruby 2.1.0 compatibility
Merge pull request #420 from diowa/ruby210

Added Ruby 2.1.0 compatibility