mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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:
parent
03b7b7d1bc
commit
e8b1021cb6
3
Gemfile
3
Gemfile
|
@ -272,6 +272,9 @@ gem 'maxminddb'
|
||||||
|
|
||||||
gem 'rails_failover', require: false
|
gem 'rails_failover', require: false
|
||||||
|
|
||||||
|
gem 'faraday'
|
||||||
|
gem 'faraday-retry'
|
||||||
|
|
||||||
# workaround for faraday-net_http, see
|
# workaround for faraday-net_http, see
|
||||||
# https://github.com/ruby/net-imap/issues/16#issuecomment-803086765
|
# https://github.com/ruby/net-imap/issues/16#issuecomment-803086765
|
||||||
gem 'net-http'
|
gem 'net-http'
|
||||||
|
|
|
@ -152,6 +152,8 @@ GEM
|
||||||
faraday-net_http (>= 2.0, < 3.1)
|
faraday-net_http (>= 2.0, < 3.1)
|
||||||
ruby2_keywords (>= 0.0.4)
|
ruby2_keywords (>= 0.0.4)
|
||||||
faraday-net_http (3.0.0)
|
faraday-net_http (3.0.0)
|
||||||
|
faraday-retry (2.0.0)
|
||||||
|
faraday (~> 2.0)
|
||||||
fast_blank (1.0.1)
|
fast_blank (1.0.1)
|
||||||
fast_xs (0.8.0)
|
fast_xs (0.8.0)
|
||||||
fastimage (2.2.6)
|
fastimage (2.2.6)
|
||||||
|
@ -551,6 +553,8 @@ DEPENDENCIES
|
||||||
fabrication
|
fabrication
|
||||||
faker (~> 2.16)
|
faker (~> 2.16)
|
||||||
fakeweb
|
fakeweb
|
||||||
|
faraday
|
||||||
|
faraday-retry
|
||||||
fast_blank
|
fast_blank
|
||||||
fast_xs
|
fast_xs
|
||||||
fastimage
|
fastimage
|
||||||
|
@ -645,4 +649,4 @@ DEPENDENCIES
|
||||||
yaml-lint
|
yaml-lint
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.3.18
|
2.3.22
|
||||||
|
|
Loading…
Reference in New Issue
Block a user