ruby 2.1 support, closes #23