From eb1156b592955cc4e5043d8e570baac2064b854f Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Fri, 21 Jun 2013 07:19:10 -0300 Subject: [PATCH] Configured to Mezuro --- .ruby-gemset | 2 +- Rakefile | 2 +- config/application.rb | 2 +- config/environment.rb | 2 +- config/environments/development.rb | 2 +- config/environments/production.rb | 2 +- config/environments/test.rb | 2 +- config/initializers/secret_token.rb | 2 +- config/initializers/session_store.rb | 2 +- config/routes.rb | 2 +- db/schema.rb | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.ruby-gemset b/.ruby-gemset index c2be25b..90a3ae8 100644 --- a/.ruby-gemset +++ b/.ruby-gemset @@ -1 +1 @@ -base-rails-app +mezuro-standalone diff --git a/Rakefile b/Rakefile index 7056de6..d3193b6 100644 --- a/Rakefile +++ b/Rakefile @@ -3,4 +3,4 @@ require File.expand_path('../config/application', __FILE__) -BaseRailsApp::Application.load_tasks +Mezuro::Application.load_tasks diff --git a/config/application.rb b/config/application.rb index 18e858f..f01dce8 100644 --- a/config/application.rb +++ b/config/application.rb @@ -6,7 +6,7 @@ require 'rails/all' # you've limited to :test, :development, or :production. Bundler.require(:default, Rails.env) -module BaseRailsApp +module Mezuro 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/environment.rb b/config/environment.rb index b1cb2a8..183d3ce 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -2,4 +2,4 @@ require File.expand_path('../application', __FILE__) # Initialize the Rails application -BaseRailsApp::Application.initialize! +Mezuro::Application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb index d018140..de62cae 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,4 +1,4 @@ -BaseRailsApp::Application.configure do +Mezuro::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 c1391a9..f5791f9 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,4 +1,4 @@ -BaseRailsApp::Application.configure do +Mezuro::Application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. diff --git a/config/environments/test.rb b/config/environments/test.rb index 292eb76..771668d 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,4 +1,4 @@ -BaseRailsApp::Application.configure do +Mezuro::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/secret_token.rb b/config/initializers/secret_token.rb index 06635ff..cfbfbd1 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -9,4 +9,4 @@ # Make sure your secret_key_base is kept private # if you're sharing your code publicly. -BaseRailsApp::Application.config.secret_key_base = '911af0f72528665828e90df909cbb42098b26a622cdc41456f89020a89c861b8f7b8c4c94924e2c791e5be6c8996453fd8ea99ab5b6c054a292b735518ef9e17' +Mezuro::Application.config.secret_key_base = '911af0f72528665828e90df909cbb42098b26a622cdc41456f89020a89c861b8f7b8c4c94924e2c791e5be6c8996453fd8ea99ab5b6c054a292b735518ef9e17' diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index f08b8cb..4332651 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,3 +1,3 @@ # Be sure to restart your server when you modify this file. -BaseRailsApp::Application.config.session_store :cookie_store, key: '_base_rails_app_session' +Mezuro::Application.config.session_store :cookie_store, key: '_mezuro_session' diff --git a/config/routes.rb b/config/routes.rb index aac2ef5..e98b5c3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,4 @@ -BaseRailsApp::Application.routes.draw do +Mezuro::Application.routes.draw do # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes". diff --git a/db/schema.rb b/db/schema.rb index b5e6a79..4dfbb16 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,8 +9,8 @@ # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # -# It's strongly recommended to check this file into your version control system. +# It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(:version => 0) do +ActiveRecord::Schema.define(version: 0) do end -- libgit2 0.21.2