Skip to content

Commit

Permalink
add faraday middeware
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Jan 31, 2023
1 parent a7a5f9d commit e83725a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ gem 'net-ldap', require: "net/ldap"
gem 'breadcrumbs_on_rails'
gem 'cancancan'

# To use retry middleware with Faraday v2.0+
gem 'faraday-retry'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ GEM
faraday-http-cache (2.4.1)
faraday (>= 0.8)
faraday-net_http (3.0.2)
faraday-retry (2.0.0)
faraday (~> 2.0)
fast_gettext (2.2.0)
ffi (1.15.5)
fiber-local (1.0.0)
Expand Down Expand Up @@ -414,6 +416,7 @@ DEPENDENCIES
dartsass-rails
factory_bot_rails
faker
faraday-retry
friendly_id (~> 5.5.0)
git
gitable
Expand Down

0 comments on commit e83725a

Please sign in to comment.