Permalink
Browse files

Mailer Generator updates & cleanup (#725)

* Mailer generators now differentiate between RSpec and Minitest

* Creates a mailer on the rake integration test

* Gutted the application architecture generators
  • Loading branch information...
mereghost committed Feb 1, 2017
1 parent 34662ad commit 3b61ddd415bd9bb7a6eeda568c34daca5d3f7e28
Showing with 69 additions and 712 deletions.
  1. +1 −1 lib/hanami/commands/generate/mailer.rb
  2. +0 −4 lib/hanami/generators/application/app/.env.development.tt
  3. +0 −4 lib/hanami/generators/application/app/.env.test.tt
  4. 0 lib/hanami/generators/application/app/.gitignore
  5. +0 −1 lib/hanami/generators/application/app/.gitkeep
  6. +0 −56 lib/hanami/generators/application/app/Gemfile.tt
  7. +0 −12 lib/hanami/generators/application/app/Rakefile.minitest.tt
  8. +0 −9 lib/hanami/generators/application/app/Rakefile.rspec.tt
  9. +0 −1 lib/hanami/generators/application/app/apps/.gitkeep.tt
  10. +0 −8 lib/hanami/generators/application/app/capybara.rb.rspec.tt
  11. +0 −3 lib/hanami/generators/application/app/config.ru.tt
  12. +0 −347 lib/hanami/generators/application/app/config/application.rb.tt
  13. +0 −4 lib/hanami/generators/application/app/config/environment.rb.tt
  14. 0 lib/hanami/generators/application/app/config/initializers/.gitkeep
  15. +0 −5 lib/hanami/generators/application/app/config/routes.rb.tt
  16. +0 −1 lib/hanami/generators/application/app/db/.gitkeep
  17. BIN lib/hanami/generators/application/app/favicon.ico
  18. +0 −11 lib/hanami/generators/application/app/features_helper.rb.minitest.tt
  19. +0 −12 lib/hanami/generators/application/app/features_helper.rb.rspec.tt
  20. +0 −2 lib/hanami/generators/application/app/gitignore.tt
  21. +0 −4 lib/hanami/generators/application/app/gitignore_with_db.tt
  22. +0 −3 lib/hanami/generators/application/app/gitignore_with_sqlite.tt
  23. +0 −4 lib/hanami/generators/application/app/hanamirc.tt
  24. +0 −35 lib/hanami/generators/application/app/lib/app_name.rb.tt
  25. +0 −1 lib/hanami/generators/application/app/lib/chirp/entities/.gitkeep
  26. +0 −1 lib/hanami/generators/application/app/lib/chirp/repositories/.gitkeep
  27. +0 −2 lib/hanami/generators/application/app/rspec.rspec.tt
  28. 0 lib/hanami/generators/application/app/schema.sql.tt
  29. +0 −7 lib/hanami/generators/application/app/spec_helper.rb.minitest.tt
  30. +0 −104 lib/hanami/generators/application/app/spec_helper.rb.rspec.tt
  31. +0 −10 lib/hanami/generators/application/app/templates/application.html.erb.tt
  32. +0 −7 lib/hanami/generators/application/app/templates/application.html.haml.tt
  33. +0 −8 lib/hanami/generators/application/app/templates/application.html.slim.tt
  34. +0 −7 lib/hanami/generators/application/app/views/application_layout.rb.tt
  35. 0 lib/hanami/generators/mailer/{mailer_spec.rb.tt → mailer_spec.rb.minitest.tt}
  36. +5 −0 lib/hanami/generators/mailer/mailer_spec.rb.rspec.tt
  37. +58 −37 spec/integration/cli/generate/mailer_spec.rb
  38. +5 −1 spec/integration/rake/with_rspec_spec.rb
@@ -50,7 +50,7 @@ def initialize(options, name)
# @since 0.x.x
# @api private
def map_templates
add_mapping("mailer_spec.rb.tt", mailer_spec_path)
add_mapping("mailer_spec.rb.#{test_framework.framework}.tt", mailer_spec_path)
add_mapping("mailer.rb.tt", mailer_path)
add_mapping("template.txt.tt", txt_template_path)
add_mapping("template.html.tt", html_template_path)

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 3b61ddd

Please sign in to comment.