Sha256: de608c9ab3e117a04262156aa11944ca8658773903a47c10ecc7b94e1cd9a95c
Contents?: true
Size: 1.58 KB
Versions: 9
Compression:
Stored size: 1.58 KB
Contents
# Generator to generate small init.rb plugin which is used in # conjunction with the masterview gem class MasterviewPluginGenerator < Rails::Generator::Base def initialize(runtime_args, runtime_options = {}) super end def manifest record do |m| m.directory 'vendor/plugins/masterview' m.directory 'vendor/plugins/masterview/directives' m.directory 'vendor/plugins/masterview/lib' m.directory 'vendor/plugins/masterview/lib/masterview' m.directory 'vendor/plugins/masterview/lib/masterview/extras' m.directory 'vendor/plugins/masterview/lib/masterview/extras/app' m.directory 'vendor/plugins/masterview/lib/masterview/extras/app/views' m.directory 'vendor/plugins/masterview/lib/masterview/extras/app/views/masterview' m.directory 'vendor/plugins/masterview/lib/masterview/extras/app/views/masterview/admin' m.directory 'vendor/plugins/masterview/tasks' m.directory 'config' m.directory 'config/masterview' m.directory 'config/masterview/environments' m.file 'empty.rhtml', 'vendor/plugins/masterview/lib/masterview/extras/app/views/masterview/admin/empty.rhtml' m.file 'init.rb', 'vendor/plugins/masterview/init.rb' m.file 'masterview.rake', 'vendor/plugins/masterview/tasks/masterview.rake' m.file 'settings.rb', 'config/masterview/settings.rb' m.file 'development.rb', 'config/masterview/environments/development.rb' m.file 'production.rb', 'config/masterview/environments/production.rb' end end protected def banner "Usage: #{$0} masterview_plugin" end end
Version data entries
9 entries across 9 versions & 1 rubygems