Skip to content

Commit 7f624e8

Browse files
committed
remove bullet now that we have prosopite
1 parent ac2c9e3 commit 7f624e8

File tree

4 files changed

+0
-21
lines changed

4 files changed

+0
-21
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ gem "wicked" # Multi-step form wizard for Rails
6363

6464
group :development, :test do
6565
gem "brakeman" # Security inspection
66-
gem "bullet" # Detect and fix N+1 queries
6766
gem "prosopite" # N+1 query detection via SQL pattern analysis
6867
gem "byebug", platforms: %i[mri mingw x64_mingw] # Debugger console
6968
gem "dotenv-rails" # Environment variable management

Gemfile.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ GEM
116116
bugsnag (6.28.0)
117117
concurrent-ruby (~> 1.0)
118118
builder (3.3.0)
119-
bullet (8.1.0)
120-
activesupport (>= 3.0.0)
121-
uniform_notifier (~> 1.11)
122119
bundler-audit (0.9.3)
123120
bundler (>= 1.2.0)
124121
thor (~> 1.0)
@@ -669,7 +666,6 @@ GEM
669666
unicode-display_width (3.2.0)
670667
unicode-emoji (~> 4.1)
671668
unicode-emoji (4.2.0)
672-
uniform_notifier (1.18.0)
673669
useragent (0.16.11)
674670
view_component (4.2.0)
675671
actionview (>= 7.1.0)
@@ -714,7 +710,6 @@ DEPENDENCIES
714710
blueprinter
715711
brakeman
716712
bugsnag
717-
bullet
718713
bundler-audit
719714
byebug
720715
capybara

config/environments/development.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@
6868
# Raises error for missing translations.
6969
# config.i18n.raise_on_missing_translations = true
7070

71-
config.after_initialize do
72-
Bullet.enable = true
73-
Bullet.console = true
74-
Bullet.rails_logger = true
75-
Bullet.bullet_logger = true
76-
end
77-
7871
# Prosopite N+1 query detection
7972
config.prosopite_enabled = true
8073
config.prosopite_min_n_queries = 5 # More lenient for development

config/environments/test.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@
6363
# Raises error for missing translations.
6464
config.i18n.raise_on_missing_translations = true
6565

66-
config.after_initialize do
67-
Bullet.enable = true
68-
Bullet.console = true
69-
Bullet.bullet_logger = true
70-
Bullet.rails_logger = true
71-
# Bullet.raise = true # TODO https://github.com/rubyforgood/casa/issues/2441
72-
end
73-
7466
# Prosopite N+1 query detection
7567
config.prosopite_enabled = true
7668
config.prosopite_min_n_queries = 2 # Stricter for tests

0 commit comments

Comments
 (0)