Sha256: d55682e9e35413b24ac84718a5cc40b529f1cf6633755efbde385536259dbd4d

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 KB

Contents

notifier_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "app", "notifiers", "notifier.rb.template") %>
  output_path: <%= File.join("app", "notifiers", "#{file_name}.rb") %>
text_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "app", "notifiers", "plain.erb.template") %>
  output_path: <%= File.join("app", "notifiers", "templates", file_name, "plain.erb") %>
html_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "app", "notifiers", "html.erb.template") %>
  output_path: <%= File.join("app", "notifiers", "templates", file_name, "html.erb") %>
<% if app_config.mack.testing_framework == "test_case" -%>
test_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "test", "notifiers", "test_case.rb.template") %>
  output_path: <%= File.join("test", "notifiers", "#{file_name}_test.rb") %>
<% elsif app_config.mack.testing_framework == "rspec" -%>
test_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "test", "notifiers", "rspec.rb.template") %>
  output_path: <%= File.join("test", "notifiers", "#{file_name}_spec.rb") %>
<% end -%>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mack-notifier-0.6.1 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.6.1.1 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.7.0.1 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.6.1.2 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.7.0 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.7.1 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.7.1.1 lib/mack-notifier/notifier_generator/manifest.yml