Sha256: 890152e85525211fa46e0979ad118fd874817a78f9fa578a51f32b831b4747ea
Contents?: true
Size: 1.25 KB
Versions: 2
Compression:
Stored size: 1.25 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.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' end end protected def banner "Usage: #{$0} masterview_plugin" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
masterview_plugin_generator-0.1.3 | masterview_plugin_generator.rb |
masterview_plugin_generator-0.1.5 | masterview_plugin_generator.rb |