lib/grape_press/files.rb in grape_press-0.0.2 vs lib/grape_press/files.rb in grape_press-0.0.3

- old
+ new

@@ -22,10 +22,10 @@ end def generate_app_files template File.join('templates', 'app', 'application.rb.erb'), File.join(app_name, 'app', 'application.rb') template File.join('templates', 'app', 'api', 'api.rb.erb'), File.join(app_name, 'app', 'api', 'api.rb') - template File.join('templates', 'app', 'api', 'v1', 'api.rb.erb'), File.join(app_name, 'app', 'api', 'v1', 'api.rb') + template File.join('templates', 'app', 'api', "versioned", 'api.rb.erb'), File.join(app_name, 'app', 'api', "v#{api_version}", 'api.rb') end def generate_bin_files template File.join('templates', 'bin', 'console.erb'), File.join(app_name, 'bin', 'console') chmod File.join(app_name, 'bin', 'console'), 0755