~ubuntu-branches/debian/sid/unicorn/sid

« back to all changes in this revision

Viewing changes to test/rails/app-2.2.2/config/environment.rb

  • Committer: Package Import Robot
  • Author(s): Jérémy Bobbio, Hleb Valoshka, Jérémy Bobbio
  • Date: 2013-05-07 11:02:06 UTC
  • mfrom: (7.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130507110206-urgp5n2mwmkcsu5k
Tags: 4.6.2-2
[ Hleb Valoshka ]
* Change the way tests are run during package build.
* Bump Standards-Version to 3.9.4.
* Remove DM-Upload-Allowed.

[ Jérémy Bobbio ]
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- encoding: binary -*-
2
 
 
3
 
unless defined? RAILS_GEM_VERSION
4
 
  RAILS_GEM_VERSION = ENV['UNICORN_RAILS_VERSION']
5
 
end
6
 
 
7
 
# Bootstrap the Rails environment, frameworks, and default configuration
8
 
require File.join(File.dirname(__FILE__), 'boot')
9
 
 
10
 
Rails::Initializer.run do |config|
11
 
  config.frameworks -= [ :action_web_service, :action_mailer ]
12
 
  config.action_controller.session_store = :active_record_store
13
 
  config.action_controller.session = {
14
 
    :session_key => "_unicorn_rails_test.#{rand}",
15
 
    :secret => "#{rand}#{rand}#{rand}#{rand}",
16
 
  }
17
 
end