From c51f1d70bcd7cf79a4b1d0e49263eb899490d9c1 Mon Sep 17 00:00:00 2001 From: Mo Seedat Date: Sun, 2 Oct 2022 23:06:53 +0100 Subject: [PATCH] Remove profiling tools from Gemfile --- Gemfile | 13 +++++-------- Gemfile.lock | 14 ++++++-------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/Gemfile b/Gemfile index f2684000d..a73db9ae5 100644 --- a/Gemfile +++ b/Gemfile @@ -76,17 +76,14 @@ group :development do # Access an interactive console on exception pages or by calling 'console' anywhere in the code. gem "web-console", ">= 4.1.0" - gem "rubocop-govuk", "4.3.0", require: false - gem "rubocop-performance", require: false - gem "rubocop-rails", require: false - # Display performance information such as SQL time and flame graphs for each request in your browser. # Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md gem "erb_lint", require: false - gem "flamegraph" - gem "memory_profiler" - gem "rack-mini-profiler" - gem "stackprof" + gem "rack-mini-profiler", "~> 2.0" + + gem "rubocop-govuk", "4.3.0", require: false + gem "rubocop-performance", require: false + gem "rubocop-rails", require: false end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 4f933458a..6a258f2a1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -170,7 +170,6 @@ GEM faker (2.23.0) i18n (>= 1.8.11, < 2) ffi (1.15.5) - flamegraph (0.9.5) globalid (1.0.0) activesupport (>= 5.0) govuk-components (3.2.1) @@ -210,7 +209,6 @@ GEM mini_mime (>= 0.1.1) marcel (1.0.2) matrix (0.4.2) - memory_profiler (1.0.0) method_source (1.0.0) mini_mime (1.1.2) minitest (5.16.3) @@ -270,7 +268,7 @@ GEM rack (2.2.4) rack-attack (6.6.1) rack (>= 1.0, < 3) - rack-mini-profiler (3.0.0) + rack-mini-profiler (2.3.4) rack (>= 1.2.0) rack-test (2.0.2) rack (>= 1.3) @@ -391,7 +389,6 @@ GEM simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) smart_properties (1.17.0) - stackprof (0.2.21) stimulus-rails (1.1.0) railties (>= 6.0.0) strscan (3.0.4) @@ -427,7 +424,11 @@ GEM zeitwerk (2.6.0) PLATFORMS + arm64-darwin-21 + x86_64-darwin-19 + x86_64-darwin-20 x86_64-darwin-21 + x86_64-linux DEPENDENCIES auto_strip_attributes @@ -444,14 +445,12 @@ DEPENDENCIES erb_lint factory_bot_rails faker - flamegraph govuk-components govuk_design_system_formbuilder govuk_markdown jsbundling-rails json-schema listen (~> 3.3) - memory_profiler notifications-ruby-client overcommit (>= 0.37.0) paper_trail @@ -463,7 +462,7 @@ DEPENDENCIES pry-byebug puma (~> 5.0) rack-attack - rack-mini-profiler + rack-mini-profiler (~> 2.0) rails (~> 7.0.2) redis roo @@ -476,7 +475,6 @@ DEPENDENCIES sentry-ruby sidekiq simplecov - stackprof stimulus-rails timecop (~> 0.9.4) tzinfo-data