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).
This commit is contained in:
David Taylor 2022-10-05 13:19:04 +01:00 committed by GitHub
parent 03b7b7d1bc
commit e8b1021cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -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'

View File

@ -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