Sha256: ead88e5076c2b4ad6149d00e69a498fd1d1cf7c82e3fb03382b10c33d7753fb0

Contents?: true

Size: 521 Bytes

Versions: 57

Compression:

Stored size: 521 Bytes

Contents

unless defined? RAILS_GEM_VERSION
  RAILS_GEM_VERSION = ENV['UNICORN_RAILS_VERSION']
end

# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|
  config.frameworks -= [ :action_web_service, :action_mailer ]
  config.action_controller.session_store = :active_record_store
  config.action_controller.session = {
    :session_key => "_unicorn_rails_test.#{rand}",
    :secret => "#{rand}#{rand}#{rand}#{rand}",
  }
end

Version data entries

57 entries across 19 versions & 1 rubygems

Version Path
unicorn-0.91.0 test/rails/app-2.2.2/config/environment.rb
unicorn-0.91.0 test/rails/app-2.1.2/config/environment.rb
unicorn-0.91.0 test/rails/app-2.0.2/config/environment.rb
unicorn-0.90.0 test/rails/app-2.2.2/config/environment.rb
unicorn-0.90.0 test/rails/app-2.0.2/config/environment.rb
unicorn-0.90.0 test/rails/app-2.1.2/config/environment.rb
unicorn-0.8.4 test/rails/app-2.2.2/config/environment.rb
unicorn-0.8.4 test/rails/app-2.0.2/config/environment.rb
unicorn-0.8.4 test/rails/app-2.1.2/config/environment.rb
unicorn-0.8.2 test/rails/app-2.0.2/config/environment.rb
unicorn-0.8.2 test/rails/app-2.1.2/config/environment.rb
unicorn-0.8.2 test/rails/app-2.2.2/config/environment.rb
unicorn-0.8.3 test/rails/app-2.0.2/config/environment.rb
unicorn-0.8.3 test/rails/app-2.2.2/config/environment.rb
unicorn-0.8.3 test/rails/app-2.1.2/config/environment.rb
unicorn-0.9.0 test/rails/app-2.1.2/config/environment.rb
unicorn-0.9.0 test/rails/app-2.2.2/config/environment.rb
unicorn-0.9.0 test/rails/app-2.0.2/config/environment.rb
unicorn-0.9.1 test/rails/app-2.1.2/config/environment.rb
unicorn-0.9.1 test/rails/app-2.2.2/config/environment.rb