Ruby gem for domain repository