Skip to content

Commit

Permalink
fix: includes faraday retry
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Sep 30, 2022
1 parent 080aa00 commit 95684bd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
run: cat .env-example .env-dev-values > .env
- name: Load .env file
uses: xom9ikk/[email protected]
- name: Set up Ruby 3.1.0
- name: Set up Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.0
ruby-version: 3.1
bundler-cache: true
- name: Run linter for Ruby
run: bundle exec standardrb
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ source "https://rubygems.org"

gem "sinatra"
gem "faraday"
gem "faraday-retry"
gem "puma"
gem "omniauth"
gem "omniauth_openid_connect"
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,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)
hashdiff (1.0.1)
hashie (5.0.0)
httpclient (2.8.3)
Expand Down Expand Up @@ -166,6 +168,7 @@ PLATFORMS
DEPENDENCIES
byebug
faraday
faraday-retry
net-smtp
omniauth
omniauth_openid_connect
Expand Down
1 change: 1 addition & 0 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require "omniauth_openid_connect"
require "csv"
require "faraday"
require "faraday/retry"
require_relative "./lib/monkey_httpclient"
require_relative "./lib/omniauth_setup"
require_relative "./lib/catalog_solr_client"
Expand Down

0 comments on commit 95684bd

Please sign in to comment.