summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin/templates/init.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/redmine_plugin/templates/init.rb')
-rw-r--r--lib/generators/redmine_plugin/templates/init.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/generators/redmine_plugin/templates/init.rb b/lib/generators/redmine_plugin/templates/init.rb
new file mode 100644
index 000000000..1ffcd7bb8
--- /dev/null
+++ b/lib/generators/redmine_plugin/templates/init.rb
@@ -0,0 +1,8 @@
+require 'redmine'
+
+Redmine::Plugin.register :<%= plugin_name %> do
+ name '<%= plugin_pretty_name %> plugin'
+ author 'Author name'
+ description 'This is a plugin for Redmine'
+ version '0.0.1'
+end