Sha256: d8458e7e3cae19610204d0e198704366fa1615bf24be643210e6d4e06bf59242
Contents?: true
Size: 1005 Bytes
Versions: 7
Compression:
Stored size: 1005 Bytes
Contents
module Cream::Generators module Config module Helpers ORM_MAP = { :data_mapper => 'dm-devise', :mongo_mapper => 'mm-devise', :mongoid => 'rails3-mongoid-devise' } def execute command logger.debug command run command end def strategy options[:strategy] end def logfile options[:logfile] end def default_roles options[:default_roles] ? '--default-roles' : '--no-default-roles' end def roles options[:roles].join(' ') end def orm options[:orm] end def roles_config? options[:roles_config] end def permission_config? options[:permission_config] end def admin_user? options[:admin] end def here File.dirname(__FILE__) end def root_dir File.dirname(__FILE__).up(4) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems