Sha256: 537ec7f9ab099cea4a5874e2cf7108d12ea0b1cafceb365433332f698c09f773
Contents?: true
Size: 793 Bytes
Versions: 3
Compression:
Stored size: 793 Bytes
Contents
module Cream::Generators module Config module Cream def cream_configure cream_gems cream_initializer cream_locale end def cream_gems gem_name = ORM_MAP[orm] gem gem_name if gem_name gem 'cream' run "bundle install" end def cream_initializer create_initializer_file :cream do %Q{ Cream.setup do |config| config.roles = #{roles.inspect} end } end def cream_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
3 entries across 3 versions & 1 rubygems