added ruby 2.0 support