causing rdoc to try to document them and fail.
* Updated the generator's manifest to use the new files
* Renamed template README to README.rdoc
#2011
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1949
e93f8b46-1217-0410-a6f0-
8f06a7374b81
m.directory "#{plugin_path}/lang"
m.directory "#{plugin_path}/test"
- m.template 'README', "#{plugin_path}/README"
- m.template 'init.rb', "#{plugin_path}/init.rb"
+ m.template 'README.rdoc', "#{plugin_path}/README.rdoc"
+ m.template 'init.rb.erb', "#{plugin_path}/init.rb"
m.template 'en.yml', "#{plugin_path}/lang/en.yml"
- m.template 'test_helper.rb', "#{plugin_path}/test/test_helper.rb"
+ m.template 'test_helper.rb.erb', "#{plugin_path}/test/test_helper.rb"
end
end
end
+++ /dev/null
-= <%= file_name %>
-
-Description goes here
--- /dev/null
+= <%= file_name %>
+
+Description goes here
+++ /dev/null
-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
--- /dev/null
+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
+++ /dev/null
-# Load the normal Rails helper
-require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper')
-
-# Ensure that we are using the temporary fixture path
-Engines::Testing.set_fixture_path
--- /dev/null
+# Load the normal Rails helper
+require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper')
+
+# Ensure that we are using the temporary fixture path
+Engines::Testing.set_fixture_path