diff --git a/Gemfile b/Gemfile index 7e011db..3c3d724 100644 --- a/Gemfile +++ b/Gemfile @@ -35,7 +35,7 @@ gem 'sinatra', '~> 2.0.2', require: nil gem 'whenever', '~> 0.9.4', require: false gem 'airbrake', '~> 7.1.1' -gem 'newrelic_rpm', '~> 4.2.0.334' +gem 'newrelic_rpm', '~> 6.15.0' gem 'feedjira', '~> 2.2.0' gem 'http', '~> 4.0.0' diff --git a/Gemfile.lock b/Gemfile.lock index a9f176c..22ddd46 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -42,7 +42,7 @@ GEM i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) - addressable (2.7.0) + addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) airbrake (7.1.1) airbrake-ruby (~> 2.5) @@ -91,9 +91,9 @@ GEM dry-container (0.8.0) concurrent-ruby (~> 1.0) dry-configurable (~> 0.1, >= 0.1.3) - dry-core (0.6.0) + dry-core (0.7.1) concurrent-ruby (~> 1.0) - dry-inflector (0.2.0) + dry-inflector (0.2.1) dry-logic (1.2.0) concurrent-ruby (~> 1.0) dry-core (~> 0.5, >= 0.5) @@ -132,10 +132,10 @@ GEM faraday_middleware (>= 0.9) loofah (>= 2.0) sax-machine (>= 1.0) - ffi (1.15.1) + ffi (1.15.3) flickraw (0.9.10) - globalid (0.4.2) - activesupport (>= 4.2.0) + globalid (0.5.1) + activesupport (>= 5.0) grape (1.3.3) activesupport builder @@ -190,13 +190,13 @@ GEM net-scp (3.0.0) net-ssh (>= 2.6.5, < 7.0.0) net-ssh (6.1.0) - newrelic_rpm (4.2.0.334) + newrelic_rpm (6.15.0) nio4r (2.5.7) nokogiri (1.11.7) mini_portile2 (~> 2.5.0) racc (~> 1.4) parallel (1.20.1) - parser (3.0.1.1) + parser (3.0.2.0) ast (~> 2.4.1) pry (0.14.1) coderay (~> 1.1) @@ -279,25 +279,25 @@ GEM rubocop-ast (>= 1.2.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.7.0) + rubocop-ast (1.8.0) parser (>= 3.0.1.1) - rubocop-performance (1.11.3) + rubocop-performance (1.11.4) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.10.1) + rubocop-rails (2.11.3) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.7.0, < 2.0) - rubocop-rake (0.5.1) - rubocop - rubocop-rspec (2.3.0) + rubocop-rake (0.6.0) + rubocop (~> 1.0) + rubocop-rspec (2.4.0) rubocop (~> 1.0) rubocop-ast (>= 1.1.0) ruby-progressbar (1.11.0) - ruby2_keywords (0.0.4) + ruby2_keywords (0.0.5) ruby_dep (1.5.0) sax-machine (1.3.2) - searchgov_style (0.1.8) + searchgov_style (0.1.9) rubocop (= 1.8.1) rubocop-performance (~> 1.9) rubocop-rails (~> 2.9) @@ -358,7 +358,7 @@ GEM addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff - websocket-driver (0.7.4) + websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) whenever (0.9.7) @@ -386,7 +386,7 @@ DEPENDENCIES jbuilder (~> 2.6.4) listen (>= 3.0.5, < 3.2) mock_redis (~> 0.17.3) - newrelic_rpm (~> 4.2.0.334) + newrelic_rpm (~> 6.15.0) pry-rails puma (~> 5.3) rails (~> 5.2.0) diff --git a/config/newrelic.yml b/config/newrelic.yml index ee35e0a..b8e15b9 100644 --- a/config/newrelic.yml +++ b/config/newrelic.yml @@ -178,6 +178,11 @@ common: &default_settings # implications if your memcached keys are sensitive # capture_memcache_keys: true + # Newrelic recommends setting this to true if possible. They default + # to false because it can interfere with other gems which monkey + # patch ActiveRecord. See the release notes for newrelic_rpm 6.5.0. + backport_fast_active_record_connection_lookup: true + # Application Environments # ------------------------------------------ # Environment-specific settings are in this section.