Skip to content

Commit

Permalink
Change application namespace from Epdx to Citizenry to avoid the clas…
Browse files Browse the repository at this point in the history
…sic "name of the website vs. name of the open source project" issues
  • Loading branch information
reidab committed Oct 12, 2010
1 parent acf0e05 commit f56ebd7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__) require File.expand_path('../config/application', __FILE__)
require 'rake' require 'rake'


Epdx::Application.load_tasks Citizenry::Application.load_tasks
2 changes: 1 addition & 1 deletion config.ru
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application. # This file is used by Rack-based servers to start the application.


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


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


# Initialize the rails application # Initialize the rails application
Epdx::Application.initialize! Citizenry::Application.initialize!
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
Epdx::Application.configure do Citizenry::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb # Settings specified here will take precedence over those in config/environment.rb


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


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


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


Epdx::Application.config.session_store :cookie_store, :key => '_epdx_session' Citizenry::Application.config.session_store :cookie_store, :key => '_citizenry_session'


# Use the database for sessions instead of the cookie-based default, # Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information # which shouldn't be used to store highly confidential information
# (create the session table with "rake db:sessions:create") # (create the session table with "rake db:sessions:create")
# Epdx::Application.config.session_store :active_record_store # Citizenry::Application.config.session_store :active_record_store
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
Epdx::Application.routes.draw do Citizenry::Application.routes.draw do


root :to => "site#index" root :to => "site#index"


Expand Down

0 comments on commit f56ebd7

Please sign in to comment.