Sha256: 3190cdf80759389f25712a7d23c6be6931697f59aa36661477d49dc51bad46b2

Contents?: true

Size: 1.17 KB

Versions: 8

Compression:

Stored size: 1.17 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 configatron.mack.testing_framework.to_s == "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 configatron.mack.testing_framework.to_s == "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

8 entries across 8 versions & 1 rubygems

Version Path
mack-notifier-0.8.0 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.8.0.2 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.8.0.1 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.8.0.101 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.8.1 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.8.3 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.8.3.1 lib/mack-notifier/notifier_generator/manifest.yml
mack-notifier-0.8.2 lib/mack-notifier/notifier_generator/manifest.yml