diff options
Diffstat (limited to 'railties/lib/rails_generator/generators/components/plugin/templates')
5 files changed, 16 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/README b/railties/lib/rails_generator/generators/components/plugin/templates/README new file mode 100644 index 0000000000..d727641340 --- /dev/null +++ b/railties/lib/rails_generator/generators/components/plugin/templates/README @@ -0,0 +1,4 @@ +<%= class_name %> +<%= "=" * class_name.size %> + +Description goes here
\ No newline at end of file diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/init.rb b/railties/lib/rails_generator/generators/components/plugin/templates/init.rb new file mode 100644 index 0000000000..ada2eece96 --- /dev/null +++ b/railties/lib/rails_generator/generators/components/plugin/templates/init.rb @@ -0,0 +1 @@ +# Include hook code here
\ No newline at end of file diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb b/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb new file mode 100644 index 0000000000..1fa5b9028f --- /dev/null +++ b/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb @@ -0,0 +1 @@ +# <%= class_name %>
\ No newline at end of file diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake b/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake new file mode 100644 index 0000000000..5222b22c27 --- /dev/null +++ b/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake @@ -0,0 +1,4 @@ +# desc "Explaining what the task does" +# task :<%= file_name %> do +# # Task goes here +# end
\ No newline at end of file diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb b/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb new file mode 100644 index 0000000000..44e4b54c2e --- /dev/null +++ b/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb @@ -0,0 +1,6 @@ +class <%= class_name %>Test < Test::Unit::TestCase + # Replace this with your real tests. + def test_truth + assert true + end +end |