From 94971489d11895a5dc25b5e7c01e41e1b9a16b54 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Sun, 28 Jul 2019 22:42:50 +0200 Subject: [PATCH] Adding autogenerated plugin files command: rails generate redmine_plugin body_tracking --- README.rdoc | 3 +++ config/locales/en.yml | 3 +++ config/routes.rb | 2 ++ init.rb | 8 ++++++++ test/test_helper.rb | 2 ++ 5 files changed, 18 insertions(+) create mode 100644 README.rdoc create mode 100644 config/locales/en.yml create mode 100644 config/routes.rb create mode 100644 init.rb create mode 100644 test/test_helper.rb diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000..a1d1486 --- /dev/null +++ b/README.rdoc @@ -0,0 +1,3 @@ += body_tracking + +Description goes here diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..642b07f --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,3 @@ +# English strings go here for Rails i18n +en: + # my_label: "My label" diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..1803173 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,2 @@ +# Plugin's routes +# See: http://guides.rubyonrails.org/routing.html diff --git a/init.rb b/init.rb new file mode 100644 index 0000000..eb5371f --- /dev/null +++ b/init.rb @@ -0,0 +1,8 @@ +Redmine::Plugin.register :body_tracking do + name 'Body Tracking plugin' + author 'Author name' + description 'This is a plugin for Redmine' + version '0.0.1' + url 'http://example.com/path/to/plugin' + author_url 'http://example.com/about' +end diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..54685d3 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,2 @@ +# Load the Redmine helper +require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')