Sha256: ba6594460881b3dc3b69f3ee682b12e0b3259ce819fcd2e2471b896f3d3c0d4a

Contents?: true

Size: 578 Bytes

Versions: 7

Compression:

Stored size: 578 Bytes

Contents

module Cream::Generators 
  module Config
    module Cream
      def cream_gems
        gem_name = ORM_MAP[orm]      
        gem gem_name if gem_name        
        
        gem 'devise'
        gem 'cancan'          
        gem 'cream'
        run "bundle install"
      end      
      
      def configure_locale
        src = File.expand_path "config/locales/en.yml".path.up(2)
        # src = "config/locales/en.yml"
        logger.debug "configure_locale, copy from: #{src}"            
        copy_file src, "config/locales/cream.en.yml"
      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/cream_config.rb
cream-0.6.0 lib/generators/cream/config/modules/cream_config.rb
cream-0.5.10 lib/generators/cream/config/modules/cream_config.rb
cream-0.5.9 lib/generators/cream/config/modules/cream_config.rb
cream-0.5.8 lib/generators/cream/config/modules/cream_config.rb
cream-0.5.7 lib/generators/cream/config/modules/cream_config.rb
cream-0.5.6 lib/generators/cream/config/modules/cream_config.rb