diff --git a/Rakefile b/Rakefile index 98fc067..2c0ea64 100644 --- a/Rakefile +++ b/Rakefile @@ -4,4 +4,4 @@ require File.expand_path('../config/application', __FILE__) -Simpledns::Application.load_tasks +Entrydns::Application.load_tasks diff --git a/config.ru b/config.ru index c8650ad..4fefa79 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,4 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) -run Simpledns::Application +run Entrydns::Application diff --git a/config/application.rb b/config/application.rb index 7bcebeb..214983f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -9,7 +9,7 @@ if defined?(Bundler) # Bundler.require(:default, :assets, Rails.env) end -module Simpledns +module Entrydns class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers diff --git a/config/database.yml.sample b/config/database.yml.sample index 81ecca7..b68f8a3 100644 --- a/config/database.yml.sample +++ b/config/database.yml.sample @@ -22,7 +22,7 @@ production: adapter: mysql2 encoding: utf8 reconnect: false - database: simpledns_production + database: entrydns_production pool: 5 username: root password: root diff --git a/config/deploy.rb b/config/deploy.rb index 4299a88..f0a0d82 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,6 +1,6 @@ require 'bundler/capistrano' -set :application, 'simpledns' +set :application, 'entrydns' set :domain, 'zooz.dyndns.org' set :repository, "ssh://#{domain}/home/clyfe/dev/#{application}.git" set :deploy_to, '/srv/www/apps/entrydns' diff --git a/config/environment.rb b/config/environment.rb index 7c798a6..d4e6183 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -2,4 +2,4 @@ require File.expand_path('../application', __FILE__) # Initialize the rails application -Simpledns::Application.initialize! +Entrydns::Application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb index c336287..3e1042c 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,4 +1,4 @@ -Simpledns::Application.configure do +Entrydns::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 diff --git a/config/environments/production.rb b/config/environments/production.rb index a80fc57..0784c53 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,4 +1,4 @@ -Simpledns::Application.configure do +Entrydns::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded between requests @@ -58,12 +58,12 @@ Simpledns::Application.configure do # Send deprecation notices to registered listeners config.active_support.deprecation = :notify - config.action_mailer.default_url_options = { :host => 'simpledns.heroku.com' } + config.action_mailer.default_url_options = { :host => 'entrydns.com' } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => 587, - :domain => 'simpledns.heroku.com', + :domain => 'entrydns.com', :user_name => 'simpledns.office', :password => 'jablonskis', :authentication => 'plain', diff --git a/config/environments/test.rb b/config/environments/test.rb index 19aca52..c4f3400 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,4 +1,4 @@ -Simpledns::Application.configure do +Entrydns::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 diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 027a7c7..cd36ec6 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -4,7 +4,7 @@ Devise.setup do |config| # ==> Mailer Configuration # Configure the e-mail address which will be shown in Devise::Mailer, # note that it will be overwritten if you use your own mailer class with default "from" parameter. - config.mailer_sender = "office@simpledns.net" + config.mailer_sender = "office@entrydns.net" # Configure the class responsible to send e-mails. # config.mailer = "Devise::Mailer" diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index d1c5c3b..d252475 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -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. -Simpledns::Application.config.secret_token = '0ce1f02a4b3fc4d1a1c8d22973b21e8589e9314dc338294953f0b985e3f44f12c8af74f2d9ba6f7c7bdb736c4efc5ea3f8135e23b1a036d033cd23331383ac75' +Entrydns::Application.config.secret_token = '0ce1f02a4b3fc4d1a1c8d22973b21e8589e9314dc338294953f0b985e3f44f12c8af74f2d9ba6f7c7bdb736c4efc5ea3f8135e23b1a036d033cd23331383ac75' diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 57dcbed..802254b 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,8 +1,8 @@ # Be sure to restart your server when you modify this file. -Simpledns::Application.config.session_store :cookie_store, key: '_simpledns_session' +Entrydns::Application.config.session_store :cookie_store, key: '_entrydns_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") -# Simpledns::Application.config.session_store :active_record_store +# Entrydns::Application.config.session_store :active_record_store diff --git a/config/nginx.conf.sample b/config/nginx.conf.sample index 440eb31..dd7089e 100644 --- a/config/nginx.conf.sample +++ b/config/nginx.conf.sample @@ -3,7 +3,7 @@ server { server_name domain.com; location / { - root /var/www/apps/simpledns/current/public; + root /var/www/apps/entrydns/current/public; passenger_enabled on; } } diff --git a/config/routes.rb b/config/routes.rb index e31f9b4..52681cb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,4 @@ -Simpledns::Application.routes.draw do +Entrydns::Application.routes.draw do devise_for :users