summaryrefslogtreecommitdiffstats
path: root/lib/generators
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-11 06:09:48 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-11 06:09:48 +0000
commitfd2af060a9b43358b549d6f3bea95ed9eef65de6 (patch)
tree0fe79d5723492766189b6636f002c3be53d2c35f /lib/generators
parentea2e5d959fedcdbddf898a6147afaf625d583890 (diff)
downloadredmine-fd2af060a9b43358b549d6f3bea95ed9eef65de6.tar.gz
redmine-fd2af060a9b43358b549d6f3bea95ed9eef65de6.zip
remove trailing white-spaces from lib/generators/redmine_plugin/redmine_plugin_generator.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9217 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/generators')
-rw-r--r--lib/generators/redmine_plugin/redmine_plugin_generator.rb6
1 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 9b0db2255..cf5444e24 100644
--- a/lib/generators/redmine_plugin/redmine_plugin_generator.rb
+++ b/lib/generators/redmine_plugin/redmine_plugin_generator.rb
@@ -1,13 +1,13 @@
class RedminePluginGenerator < Rails::Generator::NamedBase
attr_reader :plugin_path, :plugin_name, :plugin_pretty_name
-
+
def initialize(runtime_args, runtime_options = {})
super
@plugin_name = "redmine_#{file_name.underscore}"
@plugin_pretty_name = plugin_name.titleize
@plugin_path = "vendor/plugins/#{plugin_name}"
end
-
+
def manifest
record do |m|
m.directory "#{plugin_path}/app/controllers"
@@ -22,7 +22,7 @@ class RedminePluginGenerator < Rails::Generator::NamedBase
m.directory "#{plugin_path}/lang"
m.directory "#{plugin_path}/config/locales"
m.directory "#{plugin_path}/test"
-
+
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"