lib/welaika_suspenders/app_builder.rb in welaika-suspenders-1.2.7 vs lib/welaika_suspenders/app_builder.rb in welaika-suspenders-1.2.8

- old
+ new

@@ -96,11 +96,11 @@ remove_file 'app/assets/javascripts/application.js' copy_file 'import_common_javascripts', 'app/assets/javascripts/application.js.coffee' end def setup_presenters - copy_file 'presenters.rb', 'config/initializers/basic_presenter.rb' + copy_file 'presenters.rb', 'config/initializers/showoff.rb' end def use_postgres_config_template template 'postgresql_database.yml.erb', 'config/database.yml', :force => true @@ -208,26 +208,29 @@ end def gitignore_files concat_file 'suspenders_gitignore', '.gitignore' [ + 'app/assets/images', 'app/models', 'app/presenters', - 'app/assets/images', + 'app/services', 'db/migrate', 'log', - 'spec/support', - 'spec/lib', - 'spec/models', - 'spec/views', 'spec/controllers', 'spec/features', 'spec/helpers', + 'spec/lib', + 'spec/models', 'spec/presenters', + 'spec/services', + 'spec/support', 'spec/support/matchers', 'spec/support/mixins', - 'spec/support/shared_examples' + 'spec/support/shared_contexts' + 'spec/support/shared_examples', + 'spec/views', ].each do |dir| empty_directory_with_gitkeep dir end end @@ -303,5 +306,6 @@ def simplecov_init IO.read find_in_source_paths('simplecov_init.rb') end end end +