Sha256: 34f151181f8a919cbb44a5c3f97522b7120008c831f9792fbe57e3fe9e1cb72a

Contents?: true

Size: 836 Bytes

Versions: 44

Compression:

Stored size: 836 Bytes

Contents

Workarea.configure do |config|
  # Basic site info
  config.site_name = '<%= app_name.titleize %>'

  config.host = {
    'test' => 'www.example.com',
    'development' => 'localhost:3000',
    'production' => 'www.<%= app_name.dasherize %>.com' # TODO
  }[Rails.env]

  config.email_to = {
    'test'        => "#{config.site_name} <customerservice@example.com>",
    'development' => "#{config.site_name} <customerservice@<%= app_name %>.test>",
    'production'  => "#{config.site_name} <customerservice@<%= app_name.dasherize %>.com>" # TODO
  }[Rails.env]

  config.email_from =  {
    'test'        => "#{config.site_name} <noreply@example.com>",
    'development' => "#{config.site_name} <noreply@<%= app_name %>.test",
    'production'  => "#{config.site_name} <noreply@<%= app_name.dasherize %>.com>" # TODO
  }[Rails.env]
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
workarea-core-3.4.28 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.5 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.27 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.4 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.26 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.3 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.25 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.2 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.24 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.1 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.23 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.22 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.0 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.21 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.0.beta.1 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.20 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.19 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.18 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.17 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.4.16 lib/generators/workarea/install/templates/initializer.rb.erb