Merge pull request #7847 from betagouv/update_profiler_stuff

chore: bump les gems de profilage
This commit is contained in:
LeSim 2022-10-06 17:13:43 +02:00 committed by GitHub
commit 7de9d76aa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View file

@ -113,6 +113,7 @@ group :development do
gem 'brakeman', require: false gem 'brakeman', require: false
gem 'haml-lint' gem 'haml-lint'
gem 'letter_opener_web' gem 'letter_opener_web'
gem 'memory_profiler'
gem 'rack-mini-profiler' gem 'rack-mini-profiler'
gem 'rails-erd', require: false # generates `doc/database_models.pdf` gem 'rails-erd', require: false # generates `doc/database_models.pdf`
gem 'rubocop', require: false gem 'rubocop', require: false
@ -120,6 +121,7 @@ group :development do
gem 'rubocop-rails', require: false gem 'rubocop-rails', require: false
gem 'rubocop-rspec', require: false gem 'rubocop-rspec', require: false
gem 'scss_lint', require: false gem 'scss_lint', require: false
gem 'stackprof'
gem 'web-console' gem 'web-console'
end end

View file

@ -418,6 +418,7 @@ GEM
rest-client (>= 2.0.0) rest-client (>= 2.0.0)
marcel (1.0.2) marcel (1.0.2)
matrix (0.4.2) matrix (0.4.2)
memory_profiler (1.0.0)
method_source (1.0.0) method_source (1.0.0)
mime-types (3.3.1) mime-types (3.3.1)
mime-types-data (~> 3.2015) mime-types-data (~> 3.2015)
@ -508,7 +509,7 @@ GEM
rack (2.2.4) rack (2.2.4)
rack-attack (6.5.0) rack-attack (6.5.0)
rack (>= 1.0, < 3) rack (>= 1.0, < 3)
rack-mini-profiler (2.3.1) rack-mini-profiler (3.0.0)
rack (>= 1.2.0) rack (>= 1.2.0)
rack-oauth2 (1.19.0) rack-oauth2 (1.19.0)
activesupport activesupport
@ -713,6 +714,7 @@ GEM
actionpack (>= 5.2) actionpack (>= 5.2)
activesupport (>= 5.2) activesupport (>= 5.2)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
stackprof (0.2.21)
strong_migrations (0.8.0) strong_migrations (0.8.0)
activerecord (>= 5.2) activerecord (>= 5.2)
strscan (3.0.3) strscan (3.0.3)
@ -873,6 +875,7 @@ DEPENDENCIES
logstash-event logstash-event
mailjet mailjet
matrix matrix
memory_profiler
mina mina
net-imap net-imap
net-pop net-pop
@ -918,6 +921,7 @@ DEPENDENCIES
spreadsheet_architect spreadsheet_architect
spring spring
spring-commands-rspec spring-commands-rspec
stackprof
strong_migrations strong_migrations
timecop timecop
turbo-rails turbo-rails

View file

@ -1,3 +1,4 @@
if Rails.env.development? if Rails.env.development?
Rack::MiniProfiler.config.show_total_sql_count = true Rack::MiniProfiler.config.show_total_sql_count = true
Rack::MiniProfiler.config.skip_paths = [/vite-dev.*/]
end end