From 838e5a50beb605041adee1b82bab34ca886bb781 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 19 Sep 2021 02:56:17 +0000 Subject: [PATCH] Bump airbrake from 7.4.0 to 11.0.3 Note we're using `config.performance_stats = false` because enabling it was causing a huge performance hit; pages were about 2-4 times slower and some tests failed since requests took longer than Capybara's default max wait time. Errbit also recommends disabling this option since Errbit doesn't handle performance stats. Bumps [airbrake](https://github.com/airbrake/airbrake) from 7.4.0 to 11.0.3. - [Release notes](https://github.com/airbrake/airbrake/releases) - [Changelog](https://github.com/airbrake/airbrake/blob/master/CHANGELOG.md) - [Commits](https://github.com/airbrake/airbrake/compare/v7.4.0...v11.0.3) --- updated-dependencies: - dependency-name: airbrake dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 10 ++++++---- config/initializers/errbit.rb | 2 ++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 21e26bceb..e6e02572d 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ gem "rails", "5.2.6" gem "acts-as-taggable-on", "~> 8.1.0" gem "acts_as_votable", "~> 0.13.1" gem "ahoy_matey", "~> 3.2.0" -gem "airbrake", "~> 7.4.0" +gem "airbrake", "~> 11.0.3" gem "ancestry", "~> 4.1.0" gem "audited", "~> 5.0.1" gem "autoprefixer-rails", "~> 8.2.0" diff --git a/Gemfile.lock b/Gemfile.lock index eee6b097e..bdd9d6b45 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -53,9 +53,10 @@ GEM device_detector geocoder (>= 1.4.5) safely_block (>= 0.2.1) - airbrake (7.4.0) - airbrake-ruby (~> 2.12) - airbrake-ruby (2.12.0) + airbrake (11.0.3) + airbrake-ruby (~> 5.1) + airbrake-ruby (5.2.1) + rbtree3 (~> 0.5) airbrussh (1.4.0) sshkit (>= 1.6.1, != 1.7.0) akami (1.3.1) @@ -505,6 +506,7 @@ GEM rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) + rbtree3 (0.6.0) recipient_interceptor (0.3.0) mail redcarpet (3.5.1) @@ -690,7 +692,7 @@ DEPENDENCIES acts-as-taggable-on (~> 8.1.0) acts_as_votable (~> 0.13.1) ahoy_matey (~> 3.2.0) - airbrake (~> 7.4.0) + airbrake (~> 11.0.3) ancestry (~> 4.1.0) audited (~> 5.0.1) autoprefixer-rails (~> 8.2.0) diff --git a/config/initializers/errbit.rb b/config/initializers/errbit.rb index e9b2ccfbe..588b5f4f0 100644 --- a/config/initializers/errbit.rb +++ b/config/initializers/errbit.rb @@ -9,6 +9,8 @@ Airbrake.configure do |config| if config.host.blank? || config.project_id.blank? || config.project_key.blank? config.ignore_environments += [Rails.env] end + + config.performance_stats = false end Airbrake.add_filter do |notice|