summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-20 19:53:50 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-20 19:53:50 -0600
commit78644d412df7274072e3a3d4ad0873437554781b (patch)
treed73f29f19790f7dde2023974e47610f8c4f07f7a /config/environments
parent9aa71bb4bfa345da9514bf6bb251985af0b8758e (diff)
Añade unsafe autocorrects de rubocop
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb2
-rw-r--r--config/environments/production.rb4
-rw-r--r--config/environments/test.rb2
3 files changed, 7 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 51fe51d..2ee6f75 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'active_support/core_ext/integer/time'
Rails.application.configure do
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 4eaf901..db0c605 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'active_support/core_ext/integer/time'
Rails.application.configure do
@@ -76,7 +78,7 @@ Rails.application.configure do
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new "app-name")
if ENV['RAILS_LOG_TO_STDOUT'].present?
- logger = ActiveSupport::Logger.new(STDOUT)
+ logger = ActiveSupport::Logger.new($stdout)
logger.formatter = config.log_formatter
config.logger = ActiveSupport::TaggedLogging.new(logger)
end
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 5f6cef4..8f3f63c 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'active_support/core_ext/integer/time'
# The test environment is used exclusively to run your application's