lib/mimi/cli/app_generator.rb in mimi-0.1.0 vs lib/mimi/cli/app_generator.rb in mimi-0.1.1
- old
+ new
@@ -12,13 +12,20 @@
'config/manifest.yml' => 'config/manifest.yml',
'lib/file_name.rb' => 'lib/#{file_dirname}/#{file_basename}.rb',
'lib/file_name/application.rb' => 'lib/#{file_name}/application.rb',
'lib/file_name/version.rb' => 'lib/#{file_name}/version.rb',
'lib/boot.rb' => 'lib/boot.rb',
+ 'spec/fixtures/' => 'spec/fixtures/',
+ 'spec/lib/app_name_spec.rb' => 'spec/lib/#{app_name}_spec.rb',
+ 'spec/lib/app_name/' => 'spec/lib/#{app_name}/',
+ 'spec/support/envvars.rb' => 'spec/support/envvars.rb',
+ 'spec/support/fixtures.rb' => 'spec/support/fixtures.rb',
+ 'spec/spec_helper.rb' => 'spec/spec_helper.rb',
'Gemfile' => 'Gemfile',
'Rakefile' => 'Rakefile',
'app.env' => '.env',
- 'app.gitignore' => '.gitignore'
+ 'app.gitignore' => '.gitignore',
+ 'app.rspec' => '.rspec'
}
FILE_MAPPINGS_EXEC = ['bin/start']
APP_TEMPLATE_PATH = Pathname.new(__FILE__).dirname.join('template')