deshabilitar cosas que no usamos

This commit is contained in:
f 2020-02-25 21:23:39 -03:00
parent bd19b30d5c
commit aba59a473c
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
6 changed files with 28 additions and 13 deletions

View file

@ -45,10 +45,12 @@ group :development do
gem 'capistrano-bundler', require: false gem 'capistrano-bundler', require: false
gem 'capistrano-rails', require: false gem 'capistrano-rails', require: false
gem 'capistrano-rbenv', require: false gem 'capistrano-rbenv', require: false
gem 'derailed_benchmarks'
gem 'ed25519' gem 'ed25519'
gem 'rubocop-rails' gem 'rubocop-rails'
gem 'spring' gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0' gem 'spring-watcher-listen', '~> 2.0.0'
gem 'stackprof'
gem 'yard' gem 'yard'
end end

View file

@ -48,6 +48,7 @@ GEM
ast (2.4.0) ast (2.4.0)
bcrypt (3.1.13) bcrypt (3.1.13)
bcrypt_pbkdf (1.0.1) bcrypt_pbkdf (1.0.1)
benchmark-ips (2.7.2)
bootsnap (1.4.5) bootsnap (1.4.5)
msgpack (~> 1.0) msgpack (~> 1.0)
builder (3.2.4) builder (3.2.4)
@ -68,6 +69,15 @@ GEM
concurrent-ruby (1.1.6) concurrent-ruby (1.1.6)
crass (1.0.6) crass (1.0.6)
database_cleaner (1.8.3) database_cleaner (1.8.3)
derailed_benchmarks (1.6.0)
benchmark-ips (~> 2)
get_process_mem (~> 0)
heapy (~> 0)
memory_profiler (~> 0)
rack (>= 1)
rake (> 10, < 14)
ruby-statistics (>= 2.1)
thor (>= 0.19, < 2)
ed25519 (1.2.4) ed25519 (1.2.4)
erubi (1.9.0) erubi (1.9.0)
factory_bot (5.1.1) factory_bot (5.1.1)
@ -76,8 +86,11 @@ GEM
factory_bot (~> 5.1.0) factory_bot (~> 5.1.0)
railties (>= 4.2.0) railties (>= 4.2.0)
ffi (1.12.2) ffi (1.12.2)
get_process_mem (0.2.5)
ffi (~> 1.0)
globalid (0.4.2) globalid (0.4.2)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
heapy (0.1.4)
hkdf (0.3.0) hkdf (0.3.0)
i18n (1.8.2) i18n (1.8.2)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
@ -96,6 +109,7 @@ GEM
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
marcel (0.3.3) marcel (0.3.3)
mimemagic (~> 0.3.2) mimemagic (~> 0.3.2)
memory_profiler (0.9.14)
method_source (0.9.2) method_source (0.9.2)
mimemagic (0.3.4) mimemagic (0.3.4)
mini_mime (1.0.2) mini_mime (1.0.2)
@ -163,6 +177,7 @@ GEM
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 0.72.0) rubocop (>= 0.72.0)
ruby-progressbar (1.10.1) ruby-progressbar (1.10.1)
ruby-statistics (2.1.1)
ruby_dep (1.5.0) ruby_dep (1.5.0)
spring (2.1.0) spring (2.1.0)
spring-watcher-listen (2.0.1) spring-watcher-listen (2.0.1)
@ -179,6 +194,7 @@ GEM
sshkit (1.20.0) sshkit (1.20.0)
net-scp (>= 1.1.2) net-scp (>= 1.1.2)
net-ssh (>= 2.8.0) net-ssh (>= 2.8.0)
stackprof (0.2.15)
thor (1.0.1) thor (1.0.1)
thread_safe (0.3.6) thread_safe (0.3.6)
tzinfo (1.2.6) tzinfo (1.2.6)
@ -207,6 +223,7 @@ DEPENDENCIES
capistrano-rails capistrano-rails
capistrano-rbenv capistrano-rbenv
database_cleaner database_cleaner
derailed_benchmarks
ed25519 ed25519
factory_bot_rails factory_bot_rails
jbuilder (~> 2.5) jbuilder (~> 2.5)
@ -219,6 +236,7 @@ DEPENDENCIES
spring spring
spring-watcher-listen (~> 2.0.0) spring-watcher-listen (~> 2.0.0)
sqlite3 sqlite3
stackprof
validate_url validate_url
webpush webpush
yard yard

View file

@ -7,12 +7,7 @@ require 'rails'
require 'active_model/railtie' require 'active_model/railtie'
require 'active_job/railtie' require 'active_job/railtie'
require 'active_record/railtie' require 'active_record/railtie'
require 'active_storage/engine'
require 'action_controller/railtie' require 'action_controller/railtie'
require 'action_mailer/railtie'
require 'action_view/railtie'
require 'action_cable/engine'
# require "sprockets/railtie"
require 'rails/test_unit/railtie' require 'rails/test_unit/railtie'
# Require the gems listed in Gemfile, including any gems # Require the gems listed in Gemfile, including any gems

View file

@ -33,12 +33,12 @@ Rails.application.configure do
# Store uploaded files on the local file system (see # Store uploaded files on the local file system (see
# config/storage.yml for options) # config/storage.yml for options)
config.active_storage.service = :local # config.active_storage.service = :local
# Don't care if the mailer can't send. # Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false # config.action_mailer.raise_delivery_errors = false
config.action_mailer.perform_caching = false # config.action_mailer.perform_caching = false
# Print deprecation notices to the Rails logger. # Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log config.active_support.deprecation = :log

View file

@ -37,7 +37,7 @@ Rails.application.configure do
# Store uploaded files on the local file system (see # Store uploaded files on the local file system (see
# config/storage.yml for options) # config/storage.yml for options)
config.active_storage.service = :local # config.active_storage.service = :local
# Mount Action Cable outside main process or domain # Mount Action Cable outside main process or domain
# config.action_cable.mount_path = nil # config.action_cable.mount_path = nil
@ -64,7 +64,7 @@ Rails.application.configure do
# config.active_job.queue_adapter = :resque # config.active_job.queue_adapter = :resque
# config.active_job.queue_name_prefix = "miniloom-api_#{Rails.env}" # config.active_job.queue_name_prefix = "miniloom-api_#{Rails.env}"
config.action_mailer.perform_caching = false # config.action_mailer.perform_caching = false
# Ignore bad email addresses and do not raise email delivery errors. # Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate # Set this to true and configure the email server for immediate

View file

@ -34,14 +34,14 @@ Rails.application.configure do
# Store uploaded files on the local file system in a temporary # Store uploaded files on the local file system in a temporary
# directory # directory
config.active_storage.service = :test # config.active_storage.service = :test
config.action_mailer.perform_caching = false # config.action_mailer.perform_caching = false
# Tell Action Mailer not to deliver emails to the real world. # Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the # The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array. # ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test # config.action_mailer.delivery_method = :test
# Print deprecation notices to the stderr. # Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr config.active_support.deprecation = :stderr