Sha256: f8c615e6746a583e78df4e469cefc7fbd3a924670dd64a5ff17784f21c8bc6e6

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

module Cream::Generators 
  module Config
    module Roles
      def configure_roles_gems
        gem "roles_#{orm}"
      end

      def configure_roles
        command = "rails g #{orm}:roles --strategy #{strategy} --roles #{roles} #{default_roles}"
        logger.debug command
        run command
      end      
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cream-0.6.1 lib/generators/cream/config/modules/roles_config.rb
cream-0.6.0 lib/generators/cream/config/modules/roles_config.rb
cream-0.5.10 lib/generators/cream/config/modules/roles_config.rb
cream-0.5.9 lib/generators/cream/config/modules/roles_config.rb
cream-0.5.8 lib/generators/cream/config/modules/roles_config.rb
cream-0.5.7 lib/generators/cream/config/modules/roles_config.rb
cream-0.5.6 lib/generators/cream/config/modules/roles_config.rb