Allow Ruby versions higher than 2.0.x

Replace regex' checking for 2\.0 with checks for 2\. preventing
Ruby 1.8 behavior in 2.1 and up.
Merge pull request #143 from sempervictus/ruby_21_compat

Allow Ruby versions higher than 2.0.x