Skip to content

Commit 8eeb090

Browse files
committed
remove bullet now that we have prosopite
1 parent a9506f5 commit 8eeb090

4 files changed

Lines changed: 0 additions & 21 deletions

File tree

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
@@ -115,9 +115,6 @@ GEM
115115
bugsnag (6.28.0)
116116
concurrent-ruby (~> 1.0)
117117
builder (3.3.0)
118-
bullet (8.1.0)
119-
activesupport (>= 3.0.0)
120-
uniform_notifier (~> 1.11)
121118
bundler-audit (0.9.3)
122119
bundler (>= 1.2.0)
123120
thor (~> 1.0)
@@ -666,7 +663,6 @@ GEM
666663
unicode-display_width (3.2.0)
667664
unicode-emoji (~> 4.1)
668665
unicode-emoji (4.2.0)
669-
uniform_notifier (1.18.0)
670666
useragent (0.16.11)
671667
view_component (4.2.0)
672668
actionview (>= 7.1.0)
@@ -711,7 +707,6 @@ DEPENDENCIES
711707
blueprinter
712708
brakeman
713709
bugsnag
714-
bullet
715710
bundler-audit
716711
byebug
717712
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)