Renaming it to Catarse
Esse commit está contido em:
+1
-1
@@ -4,5 +4,5 @@
|
||||
require File.expand_path('../config/application', __FILE__)
|
||||
require 'rake'
|
||||
|
||||
Nonameyet::Application.load_tasks
|
||||
Catarse::Application.load_tasks
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Nonameyet</title>
|
||||
<title>Catarse</title>
|
||||
<%= stylesheet_link_tag :all %>
|
||||
<%= javascript_include_tag :defaults %>
|
||||
<%= csrf_meta_tag %>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# This file is used by Rack-based servers to start the application.
|
||||
|
||||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
run Nonameyet::Application
|
||||
run Catarse::Application
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ require 'rails/all'
|
||||
# you've limited to :test, :development, or :production.
|
||||
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
||||
|
||||
module Nonameyet
|
||||
module Catarse
|
||||
class Application < Rails::Application
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
# Application configuration should go into files in config/initializers
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
development:
|
||||
adapter: postgresql
|
||||
encoding: utf-8
|
||||
database: nonameyet_development
|
||||
database: catarse_development
|
||||
pool: 5
|
||||
username: nonameyet
|
||||
username: catarse
|
||||
password:
|
||||
|
||||
# Connect on a TCP socket. Omitted by default since the client uses a
|
||||
@@ -37,16 +37,16 @@ development:
|
||||
test:
|
||||
adapter: postgresql
|
||||
encoding: utf-8
|
||||
database: nonameyet_test
|
||||
database: catarse_test
|
||||
pool: 5
|
||||
username: nonameyet
|
||||
username: catarse
|
||||
password:
|
||||
|
||||
production:
|
||||
adapter: postgresql
|
||||
encoding: utf-8
|
||||
database: nonameyet_production
|
||||
database: catarse_production
|
||||
pool: 5
|
||||
username: nonameyet
|
||||
username: catarse
|
||||
password:
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
require File.expand_path('../application', __FILE__)
|
||||
|
||||
# Initialize the rails application
|
||||
Nonameyet::Application.initialize!
|
||||
Catarse::Application.initialize!
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Nonameyet::Application.configure do
|
||||
Catarse::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/environment.rb
|
||||
|
||||
# In the development environment your application's code is reloaded on
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Nonameyet::Application.configure do
|
||||
Catarse::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/environment.rb
|
||||
|
||||
# The production environment is meant for finished, "live" apps.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Nonameyet::Application.configure do
|
||||
Catarse::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/environment.rb
|
||||
|
||||
# The test environment is used exclusively to run your application's
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
# 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.
|
||||
Nonameyet::Application.config.secret_token = '8f3af8dc08112fa30556493dffc1e8ce971209c8e40f41499ba5c7b8fc62fd1a40418451cffba9a18fdfb19e04b891fc671d183934bcafbd314553462524e71f'
|
||||
Catarse::Application.config.secret_token = '8f3af8dc08112fa30556493dffc1e8ce971209c8e40f41499ba5c7b8fc62fd1a40418451cffba9a18fdfb19e04b891fc671d183934bcafbd314553462524e71f'
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Nonameyet::Application.config.session_store :cookie_store, :key => '_nonameyet_session'
|
||||
Catarse::Application.config.session_store :cookie_store, :key => '_catarse_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 "rake db:sessions:create")
|
||||
# Nonameyet::Application.config.session_store :active_record_store
|
||||
# Catarse::Application.config.session_store :active_record_store
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Nonameyet::Application.routes.draw do
|
||||
Catarse::Application.routes.draw do
|
||||
# The priority is based upon order of creation:
|
||||
# first created -> highest priority.
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário