Skip to content

Commit

Permalink
309 -> 3010 in code constants
Browse files Browse the repository at this point in the history
  • Loading branch information
paneq committed Aug 23, 2011
1 parent 1d1281d commit 3de7623
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/dummy3010/config.ru
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
run Dummy309::Application
run Dummy3010::Application
2 changes: 1 addition & 1 deletion test/dummy3010/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)

module Dummy309
module Dummy3010
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
Expand Down
2 changes: 1 addition & 1 deletion test/dummy3010/config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)

# Initialize the rails application
Dummy309::Application.initialize!
Dummy3010::Application.initialize!
2 changes: 1 addition & 1 deletion test/dummy3010/config/environments/development.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require File.expand_path( File.join(File.dirname(__FILE__), '..', '..', '..', 'support', "defined_middleware") )

Dummy309::Application.configure do
Dummy3010::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# In the development environment your application's code is reloaded on
Expand Down
2 changes: 1 addition & 1 deletion test/dummy3010/config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Dummy309::Application.configure do
Dummy3010::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# The production environment is meant for finished, "live" apps.
Expand Down
2 changes: 1 addition & 1 deletion test/dummy3010/config/environments/test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Dummy309::Application.configure do
Dummy3010::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# The test environment is used exclusively to run your application's
Expand Down
2 changes: 1 addition & 1 deletion test/dummy3010/config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
Dummy309::Application.config.secret_token = '902766a1d9f631bce4d27ad72bf0b4e79704271e4929b30401371307cb76f5b1c402aa1ba2e0a0a8ae89b25d9d87c86443f60daa653ce0dd1fa9357e81a0bb38'
Dummy3010::Application.config.secret_token = '902766a1d9f631bce4d27ad72bf0b4e79704271e4929b30401371307cb76f5b1c402aa1ba2e0a0a8ae89b25d9d87c86443f60daa653ce0dd1fa9357e81a0bb38'
4 changes: 2 additions & 2 deletions test/dummy3010/config/initializers/session_store.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.

Dummy309::Application.config.session_store :cookie_store, :key => '_dummy309_session'
Dummy3010::Application.config.session_store :cookie_store, :key => '_dummy309_session'

# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# Dummy309::Application.config.session_store :active_record_store
# Dummy3010::Application.config.session_store :active_record_store
2 changes: 1 addition & 1 deletion test/dummy3010/config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Dummy309::Application.routes.draw do
Dummy3010::Application.routes.draw do
match "/empty", :to => "empty#index"
match "/root", :to => "root#index"

Expand Down

0 comments on commit 3de7623

Please sign in to comment.