lib/omnibus/generator.rb in omnibus-3.1.1 vs lib/omnibus/generator.rb in omnibus-3.2.0.rc.1
- old
+ new
@@ -46,11 +46,11 @@
def create_project_files
template('Gemfile.erb', "#{target}/Gemfile", template_options)
template('gitignore.erb', "#{target}/.gitignore", template_options)
template('README.md.erb', "#{target}/README.md", template_options)
- template('omnibus.rb.example.erb', "#{target}/omnibus.rb.example", template_options)
+ template('omnibus.rb.erb', "#{target}/omnibus.rb", template_options)
end
def create_project_definition
template('project.rb.erb', "#{target}/config/projects/#{name}.rb", template_options)
end
@@ -122,10 +122,10 @@
# @return [Hash]
#
def template_options
@template_options ||= {
name: name,
- install_path: "/opt/#{name}",
+ install_dir: "/opt/#{name}",
}
end
end
end