Add data generator
Support MRI, JRuby