rubyfy the spec