[Ruby] Add Rakefile and Gemfile (#4448)

* Add Rakefile, Gemfile, and update client generator

* Update sample
This commit is contained in:
Ezekiel Templin
2016-12-22 05:37:12 -08:00
committed by wing328
parent d52f5a3133
commit e189388371
8 changed files with 38 additions and 13 deletions

View File

@@ -250,6 +250,8 @@ public class RubyClientCodegen extends DefaultCodegen implements CodegenConfig {
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
supportingFiles.add(new SupportingFile("gitignore.mustache", "", ".gitignore"));
supportingFiles.add(new SupportingFile("Rakefile.mustache", "", "Rakefile"));
supportingFiles.add(new SupportingFile("Gemfile.mustache", "", "Gemfile"));
// test files should not be overwritten
writeOptional(outputFolder, new SupportingFile("rspec.mustache", "", ".rspec"));