Sha256: c37e3c1672235ba74f513c63471c0a2edd484a98e4501e613e80a496860a0baa

Contents?: true

Size: 746 Bytes

Versions: 4

Compression:

Stored size: 746 Bytes

Contents

PROJECT_NAME = "clearance"
DO_NOT_REPLY = "donotreply@example.com" 

RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION
require File.join(File.dirname(__FILE__), 'boot')
require 'md5' # Need this up here to generate the session[:secret] value down there

Rails::Initializer.run do |config|
  config.load_paths += Dir.glob(File.join(RAILS_ROOT, 'vendor', 'gems', '*', 'lib'))
  config.time_zone = 'Eastern Time (US & Canada)'
  config.action_controller.session = {
    :session_key => "_#{PROJECT_NAME}_session",
    :secret      => [PROJECT_NAME, 'random', 'words', 'here'].map {|k| Digest::MD5.hexdigest(k) }.join
  }

  config.gem "haml"
  config.gem 'thoughtbot-shoulda', :lib => 'shoulda', :source => 'http://gems.github.com'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hashrocket-clearance-0.4.0 test/rails_root/config/environment.rb
hashrocket-clearance-0.4.1 test/rails_root/config/environment.rb
hashrocket-clearance-0.4.2 test/rails_root/config/environment.rb
hashrocket-clearance-0.4.3 test/rails_root/config/environment.rb