Sha256: ee8e6de9d69f001239ec929412ca7b6c2717d189c22b3a98615adf092299f53e

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

# This is where you would override any of the default Mack configuration settings,
# as well as create your own settings. The configuration settings for your environment
# can be dumped out using this rake task:
# 
#   rake mack:dump:config#<environment>
# 
# Configuration parameters can be used in your application like such:
# 
#   configatron.<setting_name>
# 
# Nested parameters can be defined using ::.
# 
# Examples:
# default.rb: 
#   configatron.default_time_limit: <%%= 15.minutes %>
#   configatron.api.timeout_limit: <%%= 15.seconds %>
# 
# configatron.default_time_limit # => 900
# configatron.api.timeout_limit # => 15

configatron.mack.session_id = '_<%= @options['app'].downcase %>_session_id'
configatron.mack.testing_framework = '<%= @options["testing_framework"] %>'
configatron.default_secret_key = '<%= String.randomize(80) %>'

# Mack provides RJS support through mack-javascript gem.
# In order to have RJS support, you will need to perform the following steps:
# 1.  Uncomment the code below, and make sure that the framework is the one you want to use
# 2.  run:  rake generate:javascript
# configatron.mack.js_framework = '<%= @options["js_framework"] %>'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mack-0.8.3 lib/mack/generators/mack_application_generator/templates/config/configatron/default.rb.template
mack-0.8.3.1 lib/mack/generators/mack_application_generator/templates/config/configatron/default.rb.template