Use the new name in code comments
This commit is contained in:
@@ -2,9 +2,10 @@
|
|||||||
|
|
||||||
###### Application monitoring services ######
|
###### Application monitoring services ######
|
||||||
#
|
#
|
||||||
# By default Consul supports the Errbit self-hosted error monitoring service,
|
# By default Consul Democracy supports the Errbit self-hosted error monitoring
|
||||||
# through the Airbrake gem. That means Consul also supports using Airbrake as
|
# service, through the Airbrake gem. That means Consul Democracy also supports
|
||||||
# an external service to monitor errors and application performance.
|
# using Airbrake as an external service to monitor errors and application
|
||||||
|
# performance.
|
||||||
#
|
#
|
||||||
# Here are some other services which can be used to monitor application errors
|
# Here are some other services which can be used to monitor application errors
|
||||||
# and performance.
|
# and performance.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Override CONSUL and Foundation settings in this file.
|
// Override CONSUL DEMOCRACY and Foundation settings in this file.
|
||||||
//
|
//
|
||||||
// For example, override the brand color to #123456 with:
|
// For example, override the brand color to #123456 with:
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
// CONSUL Settings
|
// CONSUL DEMOCRACY Settings
|
||||||
// -----------------------------
|
// -----------------------------
|
||||||
//
|
//
|
||||||
// Table of Contents:
|
// Table of Contents:
|
||||||
//
|
//
|
||||||
// 1. Foundation settings overrides
|
// 1. Foundation settings overrides
|
||||||
// 2. CONSUL variables
|
// 2. CONSUL DEMOCRACY variables
|
||||||
// 3. Foundation overrides depending on CONSUL variables
|
// 3. Foundation overrides depending on CONSUL DEMOCRACY variables
|
||||||
// 4. Foundation fixes
|
// 4. Foundation fixes
|
||||||
|
|
||||||
// 1. Foundation settings overrides
|
// 1. Foundation settings overrides
|
||||||
@@ -50,8 +50,8 @@ $orbit-caption-background: #eee;
|
|||||||
|
|
||||||
$show-header-for-stacked: true !default;
|
$show-header-for-stacked: true !default;
|
||||||
|
|
||||||
// 2. CONSUL variables
|
// 2. CONSUL DEMOCRACY variables
|
||||||
// --------------------
|
// -----------------------------
|
||||||
|
|
||||||
$body-margin: calc(50vw - #{$global-width / 2}) !default;
|
$body-margin: calc(50vw - #{$global-width / 2}) !default;
|
||||||
$full-width-margin: unquote("#{$global-width / 2} - 50vw") !default;
|
$full-width-margin: unquote("#{$global-width / 2} - 50vw") !default;
|
||||||
@@ -147,8 +147,8 @@ $sdg-colors: (
|
|||||||
17: #19486a
|
17: #19486a
|
||||||
) !default;
|
) !default;
|
||||||
|
|
||||||
// 3. Foundation overrides depending on CONSUL variables
|
// 3. Foundation overrides depending on CONSUL DEMOCRACY variables
|
||||||
// -----------------------------------------------------
|
// ---------------------------------------------------------------
|
||||||
|
|
||||||
$anchor-color: $brand !default;
|
$anchor-color: $brand !default;
|
||||||
$anchor-color-hover: darken($anchor-color, 20%) !default;
|
$anchor-color-hover: darken($anchor-color, 20%) !default;
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ class Setting
|
|||||||
|
|
||||||
# Change this code when you'd like to add settings that aren't
|
# Change this code when you'd like to add settings that aren't
|
||||||
# already present in the database. These settings will be added when
|
# already present in the database. These settings will be added when
|
||||||
# first installing CONSUL, when deploying code with Capistrano, or
|
# first installing CONSUL DEMOCRACY, when deploying code with Capistrano,
|
||||||
# when manually executing the `settings:add_new_settings` task.
|
# or when manually executing the `settings:add_new_settings` task.
|
||||||
#
|
#
|
||||||
# If a setting already exists in the database, changing its value in
|
# If a setting already exists in the database, changing its value in
|
||||||
# this file will have no effect unless the task `rake db:seed` is
|
# this file will have no effect unless the task `rake db:seed` is
|
||||||
@@ -15,15 +15,15 @@ class Setting
|
|||||||
# so will overwrite the values of all existing settings in the
|
# so will overwrite the values of all existing settings in the
|
||||||
# database, so use with care.
|
# database, so use with care.
|
||||||
#
|
#
|
||||||
# The tests in the spec/ folder rely on CONSUL's default settings, so
|
# The tests in the spec/ folder rely on CONSUL DEMOCRACY's default
|
||||||
# it's recommended not to change the default settings in the test
|
# settings, so it's recommended not to change the default settings
|
||||||
# environment.
|
# in the test environment.
|
||||||
def defaults
|
def defaults
|
||||||
if Rails.env.test?
|
if Rails.env.test?
|
||||||
consul_defaults
|
consul_defaults
|
||||||
else
|
else
|
||||||
consul_defaults.merge({
|
consul_defaults.merge({
|
||||||
# Overwrite default CONSUL settings or add new settings here
|
# Overwrite default CONSUL DEMOCRACY settings or add new settings here
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ module Consul
|
|||||||
config.action_view.form_with_generates_remote_forms = false
|
config.action_view.form_with_generates_remote_forms = false
|
||||||
|
|
||||||
# Keep using AES-256-CBC for message encryption in case it's used
|
# Keep using AES-256-CBC for message encryption in case it's used
|
||||||
# in any CONSUL installations
|
# in any CONSUL DEMOCRACY installations
|
||||||
config.active_support.use_authenticated_message_encryption = false
|
config.active_support.use_authenticated_message_encryption = false
|
||||||
|
|
||||||
# Keep using the classic autoloader until we decide how custom classes
|
# Keep using the classic autoloader until we decide how custom classes
|
||||||
@@ -125,7 +125,7 @@ module Consul
|
|||||||
config.time_zone = "Madrid"
|
config.time_zone = "Madrid"
|
||||||
config.active_job.queue_adapter = :delayed_job
|
config.active_job.queue_adapter = :delayed_job
|
||||||
|
|
||||||
# CONSUL specific custom overrides
|
# CONSUL DEMOCRACY specific custom overrides
|
||||||
# Read more on documentation:
|
# Read more on documentation:
|
||||||
# * English: https://github.com/consuldemocracy/consuldemocracy/blob/master/CUSTOMIZE_EN.md
|
# * English: https://github.com/consuldemocracy/consuldemocracy/blob/master/CUSTOMIZE_EN.md
|
||||||
# * Spanish: https://github.com/consuldemocracy/consuldemocracy/blob/master/CUSTOMIZE_ES.md
|
# * Spanish: https://github.com/consuldemocracy/consuldemocracy/blob/master/CUSTOMIZE_ES.md
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
# Add the :consul tag to tests which make sense in the original
|
# Add the :consul tag to tests which make sense in the original
|
||||||
# version of CONSUL but don't make sense in your application due to
|
# version of CONSUL DEMOCRACY but don't make sense in your application
|
||||||
# the custom changes you've implemented.
|
# due to the custom changes you've implemented.
|
||||||
#
|
#
|
||||||
# Using this tag will help maintaining the test suite when doing
|
# Using this tag will help maintaining the test suite when doing custom
|
||||||
# custom changes and when upgrading to a newer version of CONSUL
|
# changes and when upgrading to a newer version of CONSUL DEMOCRACY
|
||||||
config.filter_run_excluding consul: true
|
config.filter_run_excluding consul: true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user