summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2008-10-25 04:37:31 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2008-10-25 04:37:31 +0000
commitbcde2f4dce7a3d6842a45a5c6082cad2132b7a25 (patch)
tree4b5b5881a1ae8918d581878ee461a2c3cfd606e4
parent48ae6f38e121e72472e74e64e5b2e8d1366e032d (diff)
downloadredmine-bcde2f4dce7a3d6842a45a5c6082cad2132b7a25.tar.gz
redmine-bcde2f4dce7a3d6842a45a5c6082cad2132b7a25.zip
Renamed the .rb files in the plugin_generator to end in .erb. The .rb was
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
-rw-r--r--lib/generators/redmine_plugin/redmine_plugin_generator.rb6
-rw-r--r--lib/generators/redmine_plugin/templates/README.rdoc (renamed from lib/generators/redmine_plugin/templates/README)0
-rw-r--r--lib/generators/redmine_plugin/templates/init.rb.erb (renamed from lib/generators/redmine_plugin/templates/init.rb)0
-rw-r--r--lib/generators/redmine_plugin/templates/test_helper.rb.erb (renamed from lib/generators/redmine_plugin/templates/test_helper.rb)0
4 files changed, 3 insertions, 3 deletions
diff --git a/lib/generators/redmine_plugin/redmine_plugin_generator.rb b/lib/generators/redmine_plugin/redmine_plugin_generator.rb
index 666386abd..bd161a5d7 100644
--- a/lib/generators/redmine_plugin/redmine_plugin_generator.rb
+++ b/lib/generators/redmine_plugin/redmine_plugin_generator.rb
@@ -22,10 +22,10 @@ class RedminePluginGenerator < Rails::Generator::NamedBase
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
diff --git a/lib/generators/redmine_plugin/templates/README b/lib/generators/redmine_plugin/templates/README.rdoc
index 7a31a890e..7a31a890e 100644
--- a/lib/generators/redmine_plugin/templates/README
+++ b/lib/generators/redmine_plugin/templates/README.rdoc
diff --git a/lib/generators/redmine_plugin/templates/init.rb b/lib/generators/redmine_plugin/templates/init.rb.erb
index 1ffcd7bb8..1ffcd7bb8 100644
--- a/lib/generators/redmine_plugin/templates/init.rb
+++ b/lib/generators/redmine_plugin/templates/init.rb.erb
diff --git a/lib/generators/redmine_plugin/templates/test_helper.rb b/lib/generators/redmine_plugin/templates/test_helper.rb.erb
index bd1ed0c5d..bd1ed0c5d 100644
--- a/lib/generators/redmine_plugin/templates/test_helper.rb
+++ b/lib/generators/redmine_plugin/templates/test_helper.rb.erb