Sha256: f3e1e1dbef4e079ba5e1fa88da19a6a36bd23845ef685d64480f39a6d2f54cc7

Contents?: true

Size: 738 Bytes

Versions: 3

Compression:

Stored size: 738 Bytes

Contents

models_directory:
  type: directory
  output_path: <%= File.join("app", "models") %>
model_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "model.rb.template") %>
  output_path: <%= File.join("app", "models", "#{@name_singular}.rb") %>
  
<% if testing_framework == "test_case" %>
test_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "test.rb.template") %>
  output_path: <%= File.join("test", "models", "#{@name_singular}_test.rb") %>
<% elsif testing_framework == "rspec" %>
test_template:
  type: file
  template_path: <%= File.join(templates_directory_path, "rspec.rb.template") %>
  output_path: <%= File.join("test", "models", "#{@name_singular}_spec.rb") %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mack-active_record-0.8.2 lib/mack-active_record/model_generator/manifest.yml
mack-active_record-0.8.3 lib/mack-active_record/model_generator/manifest.yml
mack-active_record-0.8.3.1 lib/mack-active_record/model_generator/manifest.yml