Sha256: fb43b9ae6cc9be910b92aec5093c0731e7580b9794913bcd1120a16da0ddf65c
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 KB
Contents
Description: The extension generator creates stubs for a new Kajam extension. The generator takes an extension name as its argument. The extension name may be given in CamelCase or under_score and should not be suffixed with 'Extension'. The generator creates an extension directory in vendor/extensions that includes <extension_name>_extension.rb, README and Rakefile files as well as db, lib, task, and test directories. Example: ./script/generate extension AssetManagement This will create: vendor/extensions/asset_management/app/controllers vendor/extensions/asset_management/app/helpers vendor/extensions/asset_management/app/models vendor/extensions/asset_management/app/views vendor/extensions/asset_management/db/migrate vendor/extensions/asset_management/lib/tasks vendor/extensions/asset_management/README vendor/extensions/asset_management/asset_management_extension.rb vendor/extensions/asset_management/lib/tasks/asset_management_extension_tasks.rake vendor/extensions/asset_management/spec/controllers vendor/extensions/asset_management/spec/models vendor/extensions/asset_management/spec/views vendor/extensions/asset_management/spec/helpers vendor/extensions/asset_management/Rakefile vendor/extensions/asset_management/spec/spec_helper.rb vendor/extensions/asset_management/spec/spec.opts
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kajam-1.0.3.rc2 | lib/generators/extension/USAGE |