From 4239f5b31a1781da1761b26f23b34b32ec2dcb28 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Wed, 23 Jul 2025 19:32:51 +0200 Subject: [PATCH] Remove bullet gem --- Gemfile | 7 ------- Gemfile.lock | 5 ----- config/environments/development.rb | 11 ----------- config/environments/test.rb | 6 ------ 4 files changed, 29 deletions(-) diff --git a/Gemfile b/Gemfile index ce746208..614a2e95 100644 --- a/Gemfile +++ b/Gemfile @@ -52,7 +52,6 @@ gem 'jwt' group :development, :test do gem 'brakeman', require: false - gem 'bullet' gem 'bundler-audit', require: false gem 'debug', platforms: %i[mri mingw x64_mingw] gem 'dotenv-rails' @@ -79,9 +78,3 @@ group :development do gem 'foreman' gem 'rubocop-rails', require: false end - -# group :production do -# gem 'uglifier' -# end - -# gem 'sassc-rails' diff --git a/Gemfile.lock b/Gemfile.lock index c5a1fd55..4b955b5a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -113,9 +113,6 @@ GEM brakeman (7.0.2) racc builder (3.3.0) - bullet (8.0.8) - activesupport (>= 3.0.0) - uniform_notifier (~> 1.11) bundler-audit (0.9.2) bundler (>= 1.2.0, < 3) thor (~> 1.0) @@ -489,7 +486,6 @@ GEM unicode-display_width (3.1.4) unicode-emoji (~> 4.0, >= 4.0.4) unicode-emoji (4.0.4) - uniform_notifier (1.17.0) uri (1.0.3) useragent (0.16.11) warden (1.2.9) @@ -523,7 +519,6 @@ DEPENDENCIES aws-sdk-s3 (~> 1.177.0) bootsnap brakeman - bullet bundler-audit capybara chartkick diff --git a/config/environments/development.rb b/config/environments/development.rb index a5b3fce4..c940de0e 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -3,17 +3,6 @@ require 'active_support/core_ext/integer/time' Rails.application.configure do - unless ENV['SELF_HOSTED'] == 'true' - config.after_initialize do - Bullet.enable = true - Bullet.alert = true - Bullet.bullet_logger = true - Bullet.console = true - Bullet.rails_logger = true - Bullet.add_footer = true - end - end - # Settings specified here will take precedence over those in config/application.rb. # In the development environment your application's code is reloaded any time diff --git a/config/environments/test.rb b/config/environments/test.rb index b4884952..e138d076 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -8,12 +8,6 @@ require 'active_support/core_ext/integer/time' # and recreated between test runs. Don't rely on the data there! Rails.application.configure do - config.after_initialize do - Bullet.enable = true - Bullet.bullet_logger = true - Bullet.raise = true # raise an error if n+1 query occurs - end - # Settings specified here will take precedence over those in config/application.rb. # While tests run files are not watched, reloading is not necessary.