From e8b1021cb6925b4469dad86d6c0b2cc21058c458 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 5 Oct 2022 13:19:04 +0100 Subject: [PATCH] DEV: Add faraday and faraday-retry as explicit dependencies (#18473) `Faraday` is very commonly used in official and third-party plugins, and we will likely be increasing our use of it in core. This commit adds it as a direct dependency and adds the official faraday-retry gem which is very commonly used (e.g. by Octokit). --- Gemfile | 3 +++ Gemfile.lock | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index e29c6737bed..baca43e5b26 100644 --- a/Gemfile +++ b/Gemfile @@ -272,6 +272,9 @@ gem 'maxminddb' gem 'rails_failover', require: false +gem 'faraday' +gem 'faraday-retry' + # workaround for faraday-net_http, see # https://github.com/ruby/net-imap/issues/16#issuecomment-803086765 gem 'net-http' diff --git a/Gemfile.lock b/Gemfile.lock index 65aa42ae53c..7347c11499d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -152,6 +152,8 @@ GEM faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) faraday-net_http (3.0.0) + faraday-retry (2.0.0) + faraday (~> 2.0) fast_blank (1.0.1) fast_xs (0.8.0) fastimage (2.2.6) @@ -551,6 +553,8 @@ DEPENDENCIES fabrication faker (~> 2.16) fakeweb + faraday + faraday-retry fast_blank fast_xs fastimage @@ -645,4 +649,4 @@ DEPENDENCIES yaml-lint BUNDLED WITH - 2.3.18 + 2.3.22